Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel build on Mac OS X #277

Closed
jbakosi opened this issue May 11, 2016 · 2 comments
Closed

Intel build on Mac OS X #277

jbakosi opened this issue May 11, 2016 · 2 comments

Comments

@jbakosi
Copy link

jbakosi commented May 11, 2016

Has anyone tried that before?

I get the following link errors:

Undefined symbols for architecture x86_64:
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS4_", referenced from:
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in gtest-all.cc.o
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_PKS6_ in gtest-all.cc.o
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_S6_ in gtest-all.cc.o
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev", referenced from:
      __ZN7testing8internal8FilePath12MakeFileNameERKS1_S3_iPKc in gtest-all.cc.o
      __ZNK7testing8internal8FilePath14RemoveFileNameEv in gtest-all.cc.o
      __ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESA_ in gtest-all.cc.o
      __ZN7testing8internal12UnitTestImpl14RecordPropertyERKNS_12TestPropertyE in gtest-all.cc.o
      __ZN7testing8internal24XmlUnitTestResultPrinter26RemoveInvalidXmlCharactersERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE in gtest-all.cc.o
      __ZN7testing8internal20StringStreamToStringEPNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE in gtest-all.cc.o
      __ZN112_INTERNAL_90__Volumes_Storage_jbakosi_code_quinoa_tpl_src_trilinos_commonTools_gtest_gtest_gtest_all_cc_63b69cd67testing8internal21FormatDeathTestOutputERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE in gtest-all.cc.o
      ...
ld: symbol(s) not found for architecture x86_64
make[6]: *** [commonTools/gtest/libgtest.12.4.2.dylib] Error 1
make[5]: *** [commonTools/gtest/CMakeFiles/gtest.dir/all] Error 2
make[5]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS4_", referenced from:
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_AllocationTracker.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_BasicAllocators.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_Error.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_HostSpace.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_hwloc.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_Shape.cpp.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in Kokkos_Threads_TaskPolicy.cpp.o
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev", referenced from:
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_AllocationTracker.cpp.o
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_BasicAllocators.cpp.o
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_Error.cpp.o
      __ZN6Kokkos9HostSpaceC1ERKNS0_19AllocationMechanismE in Kokkos_HostSpace.cpp.o
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_HostSpace.cpp.o
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_hwloc.cpp.o
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in Kokkos_Shape.cpp.o
      ...
ld: symbol(s) not found for architecture x86_64
make[6]: *** [packages/kokkos/core/src/libkokkoscore.12.4.2.dylib] Error 1
make[5]: *** [packages/kokkos/core/src/CMakeFiles/kokkoscore.dir/all] Error 2
Undefined symbols for architecture x86_64:
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS4_", referenced from:
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in create_inline_mesh.C.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in inline_mesh_desc.C.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in inline_mesh_driver_lt.C.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in legacy_inline_mesh_desc.C.o
      __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv in parse_routines.C.o
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_SB_ in parse_routines.C.o
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_PKS6_ in parse_routines.C.o
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev", referenced from:
      __ZN13PAMGEN_NEVADA22Brick_Inline_Mesh_Desc14Calc_IntervalsEv in brick_inline_mesh_desc.C.o
      __ZNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in create_inline_mesh.C.o
      __ZN13PAMGEN_NEVADA18Geometry_TransformC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS1_18basic_stringstreamIcS4_S6_EE in geometry_transform.C.o
      __ZNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in inline_mesh_desc.C.o
      __ZN13PAMGEN_NEVADA16Inline_Mesh_Desc14Calc_IntervalsEv in inline_mesh_desc.C.o
      __ZNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ej in inline_mesh_driver_lt.C.o
      __ZN13PAMGEN_NEVADA16Inline_Mesh_Desc14Calc_IntervalsEv in legacy_inline_mesh_desc.C.o
      ...
ld: symbol(s) not found for architecture x86_64
make[6]: *** [packages/pamgen/src/libpamgen.12.4.2.dylib] Error 1
make[5]: *** [packages/pamgen/src/CMakeFiles/pamgen.dir/all] Error 2
In file included from /Volumes/Storage/jbakosi/code/quinoa/tpl/src/trilinos/packages/zoltan/src/Utilities/DDirectory/DD_Hash2.c(80):
/Volumes/Storage/jbakosi/code/quinoa/tpl/src/trilinos/packages/zoltan/src/zz/murmur3.c(62): warning #3415: the "always_inline" attribute is ignored on non-inline functions
  static FORCE_INLINE uint32_t fmix32 ( uint32_t h )
         ^

In file included from /Volumes/Storage/jbakosi/code/quinoa/tpl/src/trilinos/packages/zoltan/src/zz/zz_hash.c(84):
/Volumes/Storage/jbakosi/code/quinoa/tpl/src/trilinos/packages/zoltan/src/zz/murmur3.c(62): warning #3415: the "always_inline" attribute is ignored on non-inline functions
  static FORCE_INLINE uint32_t fmix32 ( uint32_t h )
         ^

make[4]: *** [all] Error 2
@crtrott
Copy link
Member

crtrott commented May 11, 2016

I have not tried Intel compiler on MAC, but you might want to post this issue in the Trilinos repo instead. Doesn't seem to be a Kokkos specific problem (i.e. Pamgen shows the same thing). I also don't have an Intel compiler available on Mac to reproduce this.

@hcedwar
Copy link
Contributor

hcedwar commented May 11, 2016

Have you tried a stand-alone Kokkos build instead of a Trilinos build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants