Hello,I would like to use mpi with cmake. I have created a file called FindMPI.cmake which I enclose here.
When I type:
cmake ../hell
I obtain:
-- Found Boost: /usr/include -- Found Xerces: /usr/lib/libxerces-c.so -- Found MPI: /usr/lib/libmpi.so-- Found LibXml++: /usr/lib/libxml++-2.6.so;/usr/lib/libxml2.so;/usr/lib/libglibmm-2.4.so;/usr/lib/libgobject-2.0.so;/usr/lib/libsigc-2.0.so
-- smoke/CMakelists.txt: forcing inclusion of test project -- Configuring done -- Generating done -- Build files have been written to: /home/sofia/build But when I try to compile doing:
make dike_test
I obtain some errors, I enclose you the file. Do you what is the problem? Thank you very much.Sofia
No virus found in this outgoing message Checked by PC Tools AntiVirus (4.0.0.26 - 10.100.007). http://www.pctools.com/free-antivirus/
FindMPI.cmake
Description: Binary data
CMakeFiles/dike_test.dir/main.cpp.o:main.cpp:(.text+0x2f1): more undefined references to `tw_groups' follow CMakeFiles/dike_test.dir/main.cpp.o: In function `main': main.cpp:(.text+0x347): undefined reference to `tw_nlevels' main.cpp:(.text+0x356): undefined reference to `tw_group_starts' main.cpp:(.text+0x35b): undefined reference to `tw_nlevels' main.cpp:(.text+0x368): undefined reference to `tw_first_worker' main.cpp:(.text+0x36d): undefined reference to `tw_level' main.cpp:(.text+0x378): undefined reference to `tw_group_starts' main.cpp:(.text+0x37e): undefined reference to `tw_level' main.cpp:(.text+0x395): undefined reference to `tw_groups' main.cpp:(.text+0x39b): undefined reference to `tw_level' main.cpp:(.text+0x3b1): undefined reference to `tw_group_rank' main.cpp:(.text+0x3bc): undefined reference to `tw_groups' main.cpp:(.text+0x3c1): undefined reference to `tw_level' main.cpp:(.text+0x3f0): undefined reference to `tw_parent' main.cpp:(.text+0x3f6): undefined reference to `tw_level' main.cpp:(.text+0x3fb): undefined reference to `tw_nlevels' main.cpp:(.text+0x409): undefined reference to `tw_group_starts' main.cpp:(.text+0x40e): undefined reference to `tw_level' main.cpp:(.text+0x41f): undefined reference to `tw_groups' main.cpp:(.text+0x424): undefined reference to `tw_level' main.cpp:(.text+0x434): undefined reference to `tw_group_rank' main.cpp:(.text+0x43f): undefined reference to `tw_groups' main.cpp:(.text+0x444): undefined reference to `tw_level' main.cpp:(.text+0x473): undefined reference to `tw_first_child' main.cpp:(.text+0x479): undefined reference to `tw_groups' main.cpp:(.text+0x47e): undefined reference to `tw_level' main.cpp:(.text+0x48f): undefined reference to `tw_groups' main.cpp:(.text+0x494): undefined reference to `tw_level' main.cpp:(.text+0x4c0): undefined reference to `tw_first_child' main.cpp:(.text+0x4cb): undefined reference to `tw_last_child' main.cpp:(.text+0x4d1): undefined reference to `tw_level' main.cpp:(.text+0x4d6): undefined reference to `tw_nlevels' main.cpp:(.text+0x4df): undefined reference to `tw_group_rank' main.cpp:(.text+0x4e4): undefined reference to `tw_rank' main.cpp:(.text+0x4ee): undefined reference to `tw_rank' main.cpp:(.text+0x4f4): undefined reference to `tw_groups' main.cpp:(.text+0x4f9): undefined reference to `tw_nlevels' main.cpp:(.text+0x506): undefined reference to `tw_procs' main.cpp:(.text+0x536): undefined reference to `tw_procs' main.cpp:(.text+0x540): undefined reference to `tw_rank' main.cpp:(.text+0x54a): undefined reference to `tw_single' main.cpp:(.text+0x550): undefined reference to `MPI_Wtick' main.cpp:(.text+0x555): undefined reference to `tw_rank' main.cpp:(.text+0x57e): undefined reference to `tw_nlevels' main.cpp:(.text+0x593): undefined reference to `tw_nlevels' main.cpp:(.text+0x5b5): undefined reference to `tw_level' main.cpp:(.text+0x5ba): undefined reference to `tw_nlevels' main.cpp:(.text+0x5c4): undefined reference to `tw_single' main.cpp:(.text+0x5d0): undefined reference to `tw_nlevels' main.cpp:(.text+0x5e5): undefined reference to `tw_nlevels' main.cpp:(.text+0x5f2): undefined reference to `tw_rank' main.cpp:(.text+0x60f): undefined reference to `tw_groups' main.cpp:(.text+0x618): undefined reference to `tw_groups' main.cpp:(.text+0x625): undefined reference to `tw_group_starts' main.cpp:(.text+0x62e): undefined reference to `tw_group_starts' main.cpp:(.text+0x63b): undefined reference to `MPI_Finalize' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Set_name(char const*)': main.cpp:(.text._ZN3MPI8Datatype8Set_nameEPKc[MPI::Datatype::Set_name(char const*)]+0x17): undefined reference to `MPI_Type_set_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Set_attr(int, void const*)': main.cpp:(.text._ZN3MPI8Datatype8Set_attrEiPKv[MPI::Datatype::Set_attr(int, void const*)]+0x1e): undefined reference to `MPI_Type_set_attr' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_name(char*, int&) const': main.cpp:(.text._ZNK3MPI8Datatype8Get_nameEPcRi[MPI::Datatype::Get_name(char*, int&) const]+0x1e): undefined reference to `MPI_Type_get_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_envelope(int&, int&, int&, int&) const': main.cpp:(.text._ZNK3MPI8Datatype12Get_envelopeERiS1_S1_S1_[MPI::Datatype::Get_envelope(int&, int&, int&, int&) const]+0x2c): undefined reference to `MPI_Type_get_envelope' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_contents(int, int, int, int*, int*, MPI::Datatype*) const': main.cpp:(.text._ZNK3MPI8Datatype12Get_contentsEiiiPiS1_PS0_[MPI::Datatype::Get_contents(int, int, int, int*, int*, MPI::Datatype*) const]+0x4b): undefined reference to `MPI_Type_get_contents' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_attr(int, void*) const': main.cpp:(.text._ZNK3MPI8Datatype8Get_attrEiPv[MPI::Datatype::Get_attr(int, void*) const]+0x25): undefined reference to `MPI_Type_get_attr' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Delete_attr(int)': main.cpp:(.text._ZN3MPI8Datatype11Delete_attrEi[MPI::Datatype::Delete_attr(int)]+0x17): undefined reference to `MPI_Type_delete_attr' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Dup() const': main.cpp:(.text._ZNK3MPI8Datatype3DupEv[MPI::Datatype::Dup() const]+0x1b): undefined reference to `MPI_Type_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_subarray(int, int const*, int const*, int const*, int) const': main.cpp:(.text._ZNK3MPI8Datatype15Create_subarrayEiPKiS2_S2_i[MPI::Datatype::Create_subarray(int, int const*, int const*, int const*, int) const]+0x40): undefined reference to `MPI_Type_create_subarray' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Pack_size(int, MPI::Comm const&) const': main.cpp:(.text._ZNK3MPI8Datatype9Pack_sizeEiRKNS_4CommE[MPI::Datatype::Pack_size(int, MPI::Comm const&) const]+0x2f): undefined reference to `MPI_Pack_size' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Unpack(void const*, int, void*, int, int&, MPI::Comm const&) const': main.cpp:(.text._ZNK3MPI8Datatype6UnpackEPKviPviRiRKNS_4CommE[MPI::Datatype::Unpack(void const*, int, void*, int, int&, MPI::Comm const&) const]+0x44): undefined reference to `MPI_Unpack' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Pack(void const*, int, void*, int, int&, MPI::Comm const&) const': main.cpp:(.text._ZNK3MPI8Datatype4PackEPKviPviRiRKNS_4CommE[MPI::Datatype::Pack(void const*, int, void*, int, int&, MPI::Comm const&) const]+0x44): undefined reference to `MPI_Pack' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Commit()': main.cpp:(.text._ZN3MPI8Datatype6CommitEv[MPI::Datatype::Commit()]+0x10): undefined reference to `MPI_Type_commit' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_true_extent(int&, int&) const': main.cpp:(.text._ZNK3MPI8Datatype15Get_true_extentERiS1_[MPI::Datatype::Get_true_extent(int&, int&) const]+0x1e): undefined reference to `MPI_Type_get_true_extent' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_extent(int&, int&) const': main.cpp:(.text._ZNK3MPI8Datatype10Get_extentERiS1_[MPI::Datatype::Get_extent(int&, int&) const]+0x1e): undefined reference to `MPI_Type_get_extent' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Get_size() const': main.cpp:(.text._ZNK3MPI8Datatype8Get_sizeEv[MPI::Datatype::Get_size() const]+0x17): undefined reference to `MPI_Type_size' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_resized(int, int) const': main.cpp:(.text._ZNK3MPI8Datatype14Create_resizedEii[MPI::Datatype::Create_resized(int, int) const]+0x29): undefined reference to `MPI_Type_create_resized' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_indexed_block(int, int, int const*) const': main.cpp:(.text._ZNK3MPI8Datatype20Create_indexed_blockEiiPKi[MPI::Datatype::Create_indexed_block(int, int, int const*) const]+0x30): undefined reference to `MPI_Type_create_indexed_block' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_hvector(int, int, int) const': main.cpp:(.text._ZNK3MPI8Datatype14Create_hvectorEiii[MPI::Datatype::Create_hvector(int, int, int) const]+0x30): undefined reference to `MPI_Type_create_hvector' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_hindexed(int, int const*, int const*) const': main.cpp:(.text._ZNK3MPI8Datatype15Create_hindexedEiPKiS2_[MPI::Datatype::Create_hindexed(int, int const*, int const*) const]+0x31): undefined reference to `MPI_Type_create_hindexed' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_indexed(int, int const*, int const*) const': main.cpp:(.text._ZNK3MPI8Datatype14Create_indexedEiPKiS2_[MPI::Datatype::Create_indexed(int, int const*, int const*) const]+0x31): undefined reference to `MPI_Type_indexed' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_vector(int, int, int) const': main.cpp:(.text._ZNK3MPI8Datatype13Create_vectorEiii[MPI::Datatype::Create_vector(int, int, int) const]+0x30): undefined reference to `MPI_Type_vector' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Datatype::Create_contiguous(int) const': main.cpp:(.text._ZNK3MPI8Datatype17Create_contiguousEi[MPI::Datatype::Create_contiguous(int) const]+0x22): undefined reference to `MPI_Type_contiguous' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Prequest::Start()': main.cpp:(.text._ZN3MPI8Prequest5StartEv[MPI::Prequest::Start()]+0x10): undefined reference to `MPI_Start' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Grequest::Complete()': main.cpp:(.text._ZN3MPI8Grequest8CompleteEv[MPI::Grequest::Complete()]+0x10): undefined reference to `MPI_Grequest_complete' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Get_status() const': main.cpp:(.text._ZNK3MPI7Request10Get_statusEv[MPI::Request::Get_status() const]+0x1f): undefined reference to `MPI_Request_get_status' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Get_status(MPI::Status&) const': main.cpp:(.text._ZNK3MPI7Request10Get_statusERNS_6StatusE[MPI::Request::Get_status(MPI::Status&) const]+0x25): undefined reference to `MPI_Request_get_status' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Cancel() const': main.cpp:(.text._ZNK3MPI7Request6CancelEv[MPI::Request::Cancel() const]+0x10): undefined reference to `MPI_Cancel' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Free()': main.cpp:(.text._ZN3MPI7Request4FreeEv[MPI::Request::Free()]+0x10): undefined reference to `MPI_Request_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Test()': main.cpp:(.text._ZN3MPI7Request4TestEv[MPI::Request::Test()]+0x1f): undefined reference to `MPI_Test' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Test(MPI::Status&)': main.cpp:(.text._ZN3MPI7Request4TestERNS_6StatusE[MPI::Request::Test(MPI::Status&)]+0x21): undefined reference to `MPI_Test' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Wait()': main.cpp:(.text._ZN3MPI7Request4WaitEv[MPI::Request::Wait()]+0x18): undefined reference to `MPI_Wait' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Request::Wait(MPI::Status&)': main.cpp:(.text._ZN3MPI7Request4WaitERNS_6StatusE[MPI::Request::Wait(MPI::Status&)]+0x1a): undefined reference to `MPI_Wait' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Clone() const': main.cpp:(.text._ZNK3MPI9Intercomm5CloneEv[MPI::Intercomm::Clone() const]+0x18): undefined reference to `MPI_Comm_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Intracomm()': main.cpp:(.text._ZN3MPI9IntracommC2Ev[MPI::Intracomm::Intracomm()]+0xd): undefined reference to `MPI::Comm::Comm()' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Is_inter() const': main.cpp:(.text._ZNK3MPI4Comm8Is_interEv[MPI::Comm::Is_inter() const]+0x17): undefined reference to `MPI_Comm_test_inter' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Is_initialized()': main.cpp:(.text._ZN3MPI14Is_initializedEv[MPI::Is_initialized()]+0xd): undefined reference to `MPI_Initialized' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Intracomm(ompi_communicator_t*)': main.cpp:(.text._ZN3MPI9IntracommC1EP19ompi_communicator_t[MPI::Intracomm::Intracomm(ompi_communicator_t*)]+0xf): undefined reference to `MPI::Comm::Comm()' main.cpp:(.text._ZN3MPI9IntracommC1EP19ompi_communicator_t[MPI::Intracomm::Intracomm(ompi_communicator_t*)]+0x32): undefined reference to `ompi_mpi_comm_null' main.cpp:(.text._ZN3MPI9IntracommC1EP19ompi_communicator_t[MPI::Intracomm::Intracomm(ompi_communicator_t*)]+0x58): undefined reference to `MPI_Comm_test_inter' main.cpp:(.text._ZN3MPI9IntracommC1EP19ompi_communicator_t[MPI::Intracomm::Intracomm(ompi_communicator_t*)]+0x69): undefined reference to `ompi_mpi_comm_null' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Clone() const': main.cpp:(.text._ZNK3MPI9Intracomm5CloneEv[MPI::Intracomm::Clone() const]+0x19): undefined reference to `MPI_Comm_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Map(int, int const*, bool const*) const': main.cpp:(.text._ZNK3MPI8Cartcomm3MapEiPKiPKb[MPI::Cartcomm::Map(int, int const*, bool const*) const]+0x6b): undefined reference to `MPI_Cart_map' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Get_dim() const': main.cpp:(.text._ZNK3MPI8Cartcomm7Get_dimEv[MPI::Cartcomm::Get_dim() const]+0x17): undefined reference to `MPI_Cartdim_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Cartcomm(ompi_communicator_t* const&)': main.cpp:(.text._ZN3MPI8CartcommC1ERKP19ompi_communicator_t[MPI::Cartcomm::Cartcomm(ompi_communicator_t* const&)]+0x35): undefined reference to `ompi_mpi_comm_null' main.cpp:(.text._ZN3MPI8CartcommC1ERKP19ompi_communicator_t[MPI::Cartcomm::Cartcomm(ompi_communicator_t* const&)]+0x5d): undefined reference to `MPI_Topo_test' main.cpp:(.text._ZN3MPI8CartcommC1ERKP19ompi_communicator_t[MPI::Cartcomm::Cartcomm(ompi_communicator_t* const&)]+0x7c): undefined reference to `ompi_mpi_comm_null' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Sub(bool const*)': main.cpp:(.text._ZN3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool const*)]+0x17): undefined reference to `MPI_Cartdim_get' main.cpp:(.text._ZN3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool const*)]+0x72): undefined reference to `MPI_Cart_sub' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Clone() const': main.cpp:(.text._ZNK3MPI8Cartcomm5CloneEv[MPI::Cartcomm::Clone() const]+0x19): undefined reference to `MPI_Comm_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Graphcomm(ompi_communicator_t* const&)': main.cpp:(.text._ZN3MPI9GraphcommC1ERKP19ompi_communicator_t[MPI::Graphcomm::Graphcomm(ompi_communicator_t* const&)]+0x35): undefined reference to `ompi_mpi_comm_null' main.cpp:(.text._ZN3MPI9GraphcommC1ERKP19ompi_communicator_t[MPI::Graphcomm::Graphcomm(ompi_communicator_t* const&)]+0x5d): undefined reference to `MPI_Topo_test' main.cpp:(.text._ZN3MPI9GraphcommC1ERKP19ompi_communicator_t[MPI::Graphcomm::Graphcomm(ompi_communicator_t* const&)]+0x7c): undefined reference to `ompi_mpi_comm_null' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Clone() const': main.cpp:(.text._ZNK3MPI9Graphcomm5CloneEv[MPI::Graphcomm::Clone() const]+0x19): undefined reference to `MPI_Comm_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_topology() const': main.cpp:(.text._ZNK3MPI4Comm12Get_topologyEv[MPI::Comm::Get_topology() const]+0x17): undefined reference to `MPI_Topo_test' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Shift(int, int, int&, int&) const': main.cpp:(.text._ZNK3MPI8Cartcomm5ShiftEiiRiS1_[MPI::Cartcomm::Shift(int, int, int&, int&) const]+0x2c): undefined reference to `MPI_Cart_shift' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Get_coords(int, int, int*) const': main.cpp:(.text._ZNK3MPI8Cartcomm10Get_coordsEiiPi[MPI::Cartcomm::Get_coords(int, int, int*) const]+0x25): undefined reference to `MPI_Cart_coords' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Get_cart_rank(int const*) const': main.cpp:(.text._ZNK3MPI8Cartcomm13Get_cart_rankEPKi[MPI::Cartcomm::Get_cart_rank(int const*) const]+0x1e): undefined reference to `MPI_Cart_rank' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Cartcomm::Get_topo(int, int*, bool*, int*) const': main.cpp:(.text._ZNK3MPI8Cartcomm8Get_topoEiPiPbS1_[MPI::Cartcomm::Get_topo(int, int*, bool*, int*) const]+0x6b): undefined reference to `MPI_Cart_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Map(int, int const*, int const*) const': main.cpp:(.text._ZNK3MPI9Graphcomm3MapEiPKiS2_[MPI::Graphcomm::Map(int, int const*, int const*) const]+0x2d): undefined reference to `MPI_Graph_map' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Get_neighbors(int, int, int*) const': main.cpp:(.text._ZNK3MPI9Graphcomm13Get_neighborsEiiPi[MPI::Graphcomm::Get_neighbors(int, int, int*) const]+0x25): undefined reference to `MPI_Graph_neighbors' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Get_neighbors_count(int) const': main.cpp:(.text._ZNK3MPI9Graphcomm19Get_neighbors_countEi[MPI::Graphcomm::Get_neighbors_count(int) const]+0x1e): undefined reference to `MPI_Graph_neighbors_count' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Get_topo(int, int, int*, int*) const': main.cpp:(.text._ZNK3MPI9Graphcomm8Get_topoEiiPiS1_[MPI::Graphcomm::Get_topo(int, int, int*, int*) const]+0x2c): undefined reference to `MPI_Graph_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Graphcomm::Get_dims(int*, int*) const': main.cpp:(.text._ZNK3MPI9Graphcomm8Get_dimsEPiS1_[MPI::Graphcomm::Get_dims(int*, int*) const]+0x1e): undefined reference to `MPI_Graphdims_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int, int*)': main.cpp:(.text._ZN3MPI9Intracomm14Spawn_multipleEiPPKcPS3_PKiPKNS_4InfoEiPi[MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int, int*)]+0x5f): undefined reference to `MPI_Comm_spawn_multiple' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int)': main.cpp:(.text._ZN3MPI9Intracomm14Spawn_multipleEiPPKcPS3_PKiPKNS_4InfoEi[MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int)]+0x60): undefined reference to `MPI_Comm_spawn_multiple' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int, int*) const': main.cpp:(.text._ZNK3MPI9Intracomm5SpawnEPKcPS2_iRKNS_4InfoEiPi[MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int, int*) const]+0x51): undefined reference to `MPI_Comm_spawn' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int) const': main.cpp:(.text._ZNK3MPI9Intracomm5SpawnEPKcPS2_iRKNS_4InfoEi[MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int) const]+0x52): undefined reference to `MPI_Comm_spawn' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Connect(char const*, MPI::Info const&, int) const': main.cpp:(.text._ZNK3MPI9Intracomm7ConnectEPKcRKNS_4InfoEi[MPI::Intracomm::Connect(char const*, MPI::Info const&, int) const]+0x3b): undefined reference to `MPI_Comm_connect' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Accept(char const*, MPI::Info const&, int) const': main.cpp:(.text._ZNK3MPI9Intracomm6AcceptEPKcRKNS_4InfoEi[MPI::Intracomm::Accept(char const*, MPI::Info const&, int) const]+0x3b): undefined reference to `MPI_Comm_accept' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Create_graph(int, int const*, int const*, bool) const': main.cpp:(.text._ZNK3MPI9Intracomm12Create_graphEiPKiS2_b[MPI::Intracomm::Create_graph(int, int const*, int const*, bool) const]+0x40): undefined reference to `MPI_Graph_create' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Create_cart(int, int const*, bool const*, bool) const': main.cpp:(.text._ZNK3MPI9Intracomm11Create_cartEiPKiPKbb[MPI::Intracomm::Create_cart(int, int const*, bool const*, bool) const]+0x7a): undefined reference to `MPI_Cart_create' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Create_intercomm(int, MPI::Comm const&, int, int) const': main.cpp:(.text._ZNK3MPI9Intracomm16Create_intercommEiRKNS_4CommEii[MPI::Intracomm::Create_intercomm(int, MPI::Comm const&, int, int) const]+0x41): undefined reference to `MPI_Intercomm_create' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Split(int, int) const': main.cpp:(.text._ZNK3MPI9Intracomm5SplitEii[MPI::Intracomm::Split(int, int) const]+0x29): undefined reference to `MPI_Comm_split' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Split(int, int) const': main.cpp:(.text._ZNK3MPI9Intercomm5SplitEii[MPI::Intercomm::Split(int, int) const]+0x29): undefined reference to `MPI_Comm_split' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Create(MPI::Group const&) const': main.cpp:(.text._ZNK3MPI9Intracomm6CreateERKNS_5GroupE[MPI::Intracomm::Create(MPI::Group const&) const]+0x2c): undefined reference to `MPI_Comm_create' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Create(MPI::Group const&) const': main.cpp:(.text._ZNK3MPI9Intercomm6CreateERKNS_5GroupE[MPI::Intercomm::Create(MPI::Group const&) const]+0x2c): undefined reference to `MPI_Comm_create' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Exscan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const': main.cpp:(.text._ZNK3MPI9Intracomm6ExscanEPKvPviRKNS_8DatatypeERKNS_2OpE[MPI::Intracomm::Exscan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const]+0x47): undefined reference to `MPI_Exscan' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intracomm::Scan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const': main.cpp:(.text._ZNK3MPI9Intracomm4ScanEPKvPviRKNS_8DatatypeERKNS_2OpE[MPI::Intracomm::Scan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const]+0x47): undefined reference to `MPI_Scan' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Merge(bool)': main.cpp:(.text._ZN3MPI9Intercomm5MergeEb[MPI::Intercomm::Merge(bool)]+0x29): undefined reference to `MPI_Intercomm_merge' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Get_remote_group() const': main.cpp:(.text._ZNK3MPI9Intercomm16Get_remote_groupEv[MPI::Intercomm::Get_remote_group() const]+0x1b): undefined reference to `MPI_Comm_remote_group' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Intercomm::Get_remote_size() const': main.cpp:(.text._ZNK3MPI9Intercomm15Get_remote_sizeEv[MPI::Intercomm::Get_remote_size() const]+0x17): undefined reference to `MPI_Comm_remote_size' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Delete_attr(int)': main.cpp:(.text._ZN3MPI4Comm11Delete_attrEi[MPI::Comm::Delete_attr(int)]+0x17): undefined reference to `MPI_Attr_delete' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_attr(int, void*) const': main.cpp:(.text._ZNK3MPI4Comm8Get_attrEiPv[MPI::Comm::Get_attr(int, void*) const]+0x25): undefined reference to `MPI_Attr_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Set_attr(int, void const*) const': main.cpp:(.text._ZNK3MPI4Comm8Set_attrEiPKv[MPI::Comm::Set_attr(int, void const*) const]+0x1e): undefined reference to `MPI_Attr_put' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Abort(int)': main.cpp:(.text._ZN3MPI4Comm5AbortEi[MPI::Comm::Abort(int)]+0x17): undefined reference to `MPI_Abort' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Set_name(char const*)': main.cpp:(.text._ZN3MPI4Comm8Set_nameEPKc[MPI::Comm::Set_name(char const*)]+0x17): undefined reference to `MPI_Comm_set_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_name(char*, int&) const': main.cpp:(.text._ZNK3MPI4Comm8Get_nameEPcRi[MPI::Comm::Get_name(char*, int&) const]+0x1e): undefined reference to `MPI_Comm_get_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Disconnect()': main.cpp:(.text._ZN3MPI4Comm10DisconnectEv[MPI::Comm::Disconnect()]+0x10): undefined reference to `MPI_Comm_disconnect' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Reduce_scatter(void const*, void*, int*, MPI::Datatype const&, MPI::Op const&) const': main.cpp:(.text._ZNK3MPI4Comm14Reduce_scatterEPKvPvPiRKNS_8DatatypeERKNS_2OpE[MPI::Comm::Reduce_scatter(void const*, void*, int*, MPI::Datatype const&, MPI::Op const&) const]+0x47): undefined reference to `MPI_Reduce_scatter' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Allreduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const': main.cpp:(.text._ZNK3MPI4Comm9AllreduceEPKvPviRKNS_8DatatypeERKNS_2OpE[MPI::Comm::Allreduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const]+0x47): undefined reference to `MPI_Allreduce' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Reduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&, int) const': main.cpp:(.text._ZNK3MPI4Comm6ReduceEPKvPviRKNS_8DatatypeERKNS_2OpEi[MPI::Comm::Reduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&, int) const]+0x50): undefined reference to `MPI_Reduce' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Alltoallw(void const*, int const*, int const*, MPI::Datatype const*, void*, int const*, int const*, MPI::Datatype const*) const': main.cpp:(.text._ZNK3MPI4Comm9AlltoallwEPKvPKiS4_PKNS_8DatatypeEPvS4_S4_S7_[MPI::Comm::Alltoallw(void const*, int const*, int const*, MPI::Datatype const*, void*, int const*, int const*, MPI::Datatype const*) const]+0xcd): undefined reference to `MPI_Alltoallw' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Alltoallv(void const*, int const*, int const*, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI4Comm9AlltoallvEPKvPKiS4_RKNS_8DatatypeEPvS4_S4_S7_[MPI::Comm::Alltoallv(void const*, int const*, int const*, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const]+0x6b): undefined reference to `MPI_Alltoallv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Alltoall(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI4Comm8AlltoallEPKviRKNS_8DatatypeEPviS5_[MPI::Comm::Alltoall(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const]+0x50): undefined reference to `MPI_Alltoall' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Allgatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI4Comm10AllgathervEPKviRKNS_8DatatypeEPvPKiS8_S5_[MPI::Comm::Allgatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const]+0x5e): undefined reference to `MPI_Allgatherv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Allgather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI4Comm9AllgatherEPKviRKNS_8DatatypeEPviS5_[MPI::Comm::Allgather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const]+0x50): undefined reference to `MPI_Allgather' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Scatterv(void const*, int const*, int const*, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const': main.cpp:(.text._ZNK3MPI4Comm8ScattervEPKvPKiS4_RKNS_8DatatypeEPviS7_i[MPI::Comm::Scatterv(void const*, int const*, int const*, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const]+0x5f): undefined reference to `MPI_Scatterv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Scatter(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const': main.cpp:(.text._ZNK3MPI4Comm7ScatterEPKviRKNS_8DatatypeEPviS5_i[MPI::Comm::Scatter(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const]+0x57): undefined reference to `MPI_Scatter' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Gatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&, int) const': main.cpp:(.text._ZNK3MPI4Comm7GathervEPKviRKNS_8DatatypeEPvPKiS8_S5_i[MPI::Comm::Gatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&, int) const]+0x65): undefined reference to `MPI_Gatherv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Gather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const': main.cpp:(.text._ZNK3MPI4Comm6GatherEPKviRKNS_8DatatypeEPviS5_i[MPI::Comm::Gather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const]+0x57): undefined reference to `MPI_Gather' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Bcast(void*, int, MPI::Datatype const&, int) const': main.cpp:(.text._ZNK3MPI4Comm5BcastEPviRKNS_8DatatypeEi[MPI::Comm::Bcast(void*, int, MPI::Datatype const&, int) const]+0x37): undefined reference to `MPI_Bcast' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Barrier() const': main.cpp:(.text._ZNK3MPI4Comm7BarrierEv[MPI::Comm::Barrier() const]+0x10): undefined reference to `MPI_Barrier' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Free()': main.cpp:(.text._ZN3MPI4Comm4FreeEv[MPI::Comm::Free()]+0x10): undefined reference to `MPI_Comm_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_rank() const': main.cpp:(.text._ZNK3MPI4Comm8Get_rankEv[MPI::Comm::Get_rank() const]+0x17): undefined reference to `MPI_Comm_rank' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_size() const': main.cpp:(.text._ZNK3MPI4Comm8Get_sizeEv[MPI::Comm::Get_size() const]+0x17): undefined reference to `MPI_Comm_size' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Get_group() const': main.cpp:(.text._ZNK3MPI4Comm9Get_groupEv[MPI::Comm::Get_group() const]+0x1b): undefined reference to `MPI_Comm_group' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int) const': main.cpp:(.text._ZNK3MPI4Comm16Sendrecv_replaceEPviRKNS_8DatatypeEiiii[MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int) const]+0x54): undefined reference to `MPI_Sendrecv_replace' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int, MPI::Status&) const': main.cpp:(.text._ZNK3MPI4Comm16Sendrecv_replaceEPviRKNS_8DatatypeEiiiiRNS_6StatusE[MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int, MPI::Status&) const]+0x57): undefined reference to `MPI_Sendrecv_replace' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm8SendrecvEPKviRKNS_8DatatypeEiiPviS5_ii[MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int) const]+0x74): undefined reference to `MPI_Sendrecv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int, MPI::Status&) const': main.cpp:(.text._ZNK3MPI4Comm8SendrecvEPKviRKNS_8DatatypeEiiPviS5_iiRNS_6StatusE[MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int, MPI::Status&) const]+0x77): undefined reference to `MPI_Sendrecv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Recv_init(void*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm9Recv_initEPviRKNS_8DatatypeEii[MPI::Comm::Recv_init(void*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Recv_init' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Rsend_init(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm10Rsend_initEPKviRKNS_8DatatypeEii[MPI::Comm::Rsend_init(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Rsend_init' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Ssend_init(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm10Ssend_initEPKviRKNS_8DatatypeEii[MPI::Comm::Ssend_init(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Ssend_init' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Bsend_init(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm10Bsend_initEPKviRKNS_8DatatypeEii[MPI::Comm::Bsend_init(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Bsend_init' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Send_init(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm9Send_initEPKviRKNS_8DatatypeEii[MPI::Comm::Send_init(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Send_init' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Probe(int, int) const': main.cpp:(.text._ZNK3MPI4Comm5ProbeEii[MPI::Comm::Probe(int, int) const]+0x26): undefined reference to `MPI_Probe' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Probe(int, int, MPI::Status&) const': main.cpp:(.text._ZNK3MPI4Comm5ProbeEiiRNS_6StatusE[MPI::Comm::Probe(int, int, MPI::Status&) const]+0x28): undefined reference to `MPI_Probe' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Iprobe(int, int) const': main.cpp:(.text._ZNK3MPI4Comm6IprobeEii[MPI::Comm::Iprobe(int, int) const]+0x2d): undefined reference to `MPI_Iprobe' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Iprobe(int, int, MPI::Status&) const': main.cpp:(.text._ZNK3MPI4Comm6IprobeEiiRNS_6StatusE[MPI::Comm::Iprobe(int, int, MPI::Status&) const]+0x2f): undefined reference to `MPI_Iprobe' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Irecv(void*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm5IrecvEPviRKNS_8DatatypeEii[MPI::Comm::Irecv(void*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Irecv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Irsend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm6IrsendEPKviRKNS_8DatatypeEii[MPI::Comm::Irsend(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Irsend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Issend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm6IssendEPKviRKNS_8DatatypeEii[MPI::Comm::Issend(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Issend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Ibsend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm6IbsendEPKviRKNS_8DatatypeEii[MPI::Comm::Ibsend(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Ibsend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Isend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm5IsendEPKviRKNS_8DatatypeEii[MPI::Comm::Isend(void const*, int, MPI::Datatype const&, int, int) const]+0x49): undefined reference to `MPI_Isend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Rsend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm5RsendEPKviRKNS_8DatatypeEii[MPI::Comm::Rsend(void const*, int, MPI::Datatype const&, int, int) const]+0x3e): undefined reference to `MPI_Rsend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Ssend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm5SsendEPKviRKNS_8DatatypeEii[MPI::Comm::Ssend(void const*, int, MPI::Datatype const&, int, int) const]+0x3e): undefined reference to `MPI_Ssend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Bsend(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm5BsendEPKviRKNS_8DatatypeEii[MPI::Comm::Bsend(void const*, int, MPI::Datatype const&, int, int) const]+0x3e): undefined reference to `MPI_Bsend' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm4RecvEPviRKNS_8DatatypeEii[MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int) const]+0x46): undefined reference to `MPI_Recv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int, MPI::Status&) const': main.cpp:(.text._ZNK3MPI4Comm4RecvEPviRKNS_8DatatypeEiiRNS_6StatusE[MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int, MPI::Status&) const]+0x49): undefined reference to `MPI_Recv' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Comm::Send(void const*, int, MPI::Datatype const&, int, int) const': main.cpp:(.text._ZNK3MPI4Comm4SendEPKviRKNS_8DatatypeEii[MPI::Comm::Send(void const*, int, MPI::Datatype const&, int, int) const]+0x3e): undefined reference to `MPI_Send' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Free()': main.cpp:(.text._ZN3MPI5Group4FreeEv[MPI::Group::Free()]+0x10): undefined reference to `MPI_Group_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Range_excl(int, int const (*) [3]) const': main.cpp:(.text._ZNK3MPI5Group10Range_exclEiPA3_Ki[MPI::Group::Range_excl(int, int const (*) [3]) const]+0x29): undefined reference to `MPI_Group_range_excl' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Range_incl(int, int const (*) [3]) const': main.cpp:(.text._ZNK3MPI5Group10Range_inclEiPA3_Ki[MPI::Group::Range_incl(int, int const (*) [3]) const]+0x29): undefined reference to `MPI_Group_range_incl' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Excl(int, int const*) const': main.cpp:(.text._ZNK3MPI5Group4ExclEiPKi[MPI::Group::Excl(int, int const*) const]+0x29): undefined reference to `MPI_Group_excl' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Incl(int, int const*) const': main.cpp:(.text._ZNK3MPI5Group4InclEiPKi[MPI::Group::Incl(int, int const*) const]+0x29): undefined reference to `MPI_Group_incl' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Get_rank() const': main.cpp:(.text._ZNK3MPI5Group8Get_rankEv[MPI::Group::Get_rank() const]+0x17): undefined reference to `MPI_Group_rank' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Group::Get_size() const': main.cpp:(.text._ZNK3MPI5Group8Get_sizeEv[MPI::Group::Get_size() const]+0x17): undefined reference to `MPI_Group_size' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Op::Free()': main.cpp:(.text._ZN3MPI2Op4FreeEv[MPI::Op::Free()]+0x10): undefined reference to `MPI_Op_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)': main.cpp:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)]+0x17): undefined reference to `ompi_mpi_cxx_op_intercept' main.cpp:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)]+0x27): undefined reference to `MPI_Op_create' main.cpp:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)]+0x3c): undefined reference to `ompi_op_set_cxx_callback' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Errhandler::Free()': main.cpp:(.text._ZN3MPI10Errhandler4FreeEv[MPI::Errhandler::Free()]+0x10): undefined reference to `MPI_Errhandler_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Status::Set_cancelled(bool)': main.cpp:(.text._ZN3MPI6Status13Set_cancelledEb[MPI::Status::Set_cancelled(bool)]+0x1e): undefined reference to `MPI_Status_set_cancelled' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Status::Set_elements(MPI::Datatype const&, int)': main.cpp:(.text._ZN3MPI6Status12Set_elementsERKNS_8DatatypeEi[MPI::Status::Set_elements(MPI::Datatype const&, int)]+0x28): undefined reference to `MPI_Status_set_elements' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Status::Get_elements(MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI6Status12Get_elementsERKNS_8DatatypeE[MPI::Status::Get_elements(MPI::Datatype const&) const]+0x2a): undefined reference to `MPI_Get_elements' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Status::Is_cancelled() const': main.cpp:(.text._ZNK3MPI6Status12Is_cancelledEv[MPI::Status::Is_cancelled() const]+0x19): undefined reference to `MPI_Test_cancelled' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Status::Get_count(MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI6Status9Get_countERKNS_8DatatypeE[MPI::Status::Get_count(MPI::Datatype const&) const]+0x2a): undefined reference to `MPI_Get_count' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Set(char const*, char const*)': main.cpp:(.text._ZN3MPI4Info3SetEPKcS2_[MPI::Info::Set(char const*, char const*)]+0x1e): undefined reference to `MPI_Info_set' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Get_valuelen(char const*, int&) const': main.cpp:(.text._ZNK3MPI4Info12Get_valuelenEPKcRi[MPI::Info::Get_valuelen(char const*, int&) const]+0x25): undefined reference to `MPI_Info_get_valuelen' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Get_nthkey(int, char*) const': main.cpp:(.text._ZNK3MPI4Info10Get_nthkeyEiPc[MPI::Info::Get_nthkey(int, char*) const]+0x1e): undefined reference to `MPI_Info_get_nthkey' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Get_nkeys() const': main.cpp:(.text._ZNK3MPI4Info9Get_nkeysEv[MPI::Info::Get_nkeys() const]+0x17): undefined reference to `MPI_Info_get_nkeys' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Get(char const*, int, char*) const': main.cpp:(.text._ZNK3MPI4Info3GetEPKciPc[MPI::Info::Get(char const*, int, char*) const]+0x2c): undefined reference to `MPI_Info_get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Free()': main.cpp:(.text._ZN3MPI4Info4FreeEv[MPI::Info::Free()]+0x10): undefined reference to `MPI_Info_free' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Dup() const': main.cpp:(.text._ZNK3MPI4Info3DupEv[MPI::Info::Dup() const]+0x1b): undefined reference to `MPI_Info_dup' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Info::Delete(char const*)': main.cpp:(.text._ZN3MPI4Info6DeleteEPKc[MPI::Info::Delete(char const*)]+0x17): undefined reference to `MPI_Info_delete' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Set_name(char const*)': main.cpp:(.text._ZN3MPI3Win8Set_nameEPKc[MPI::Win::Set_name(char const*)]+0x17): undefined reference to `MPI_Win_set_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Set_attr(int, void const*)': main.cpp:(.text._ZN3MPI3Win8Set_attrEiPKv[MPI::Win::Set_attr(int, void const*)]+0x1e): undefined reference to `MPI_Win_set_attr' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Get_name(char*, int&) const': main.cpp:(.text._ZNK3MPI3Win8Get_nameEPcRi[MPI::Win::Get_name(char*, int&) const]+0x1e): undefined reference to `MPI_Win_get_name' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Delete_attr(int)': main.cpp:(.text._ZN3MPI3Win11Delete_attrEi[MPI::Win::Delete_attr(int)]+0x17): undefined reference to `MPI_Win_delete_attr' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Call_errhandler(int) const': main.cpp:(.text._ZNK3MPI3Win15Call_errhandlerEi[MPI::Win::Call_errhandler(int) const]+0x17): undefined reference to `MPI_Win_call_errhandler' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Wait() const': main.cpp:(.text._ZNK3MPI3Win4WaitEv[MPI::Win::Wait() const]+0x10): undefined reference to `MPI_Win_wait' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Unlock(int) const': main.cpp:(.text._ZNK3MPI3Win6UnlockEi[MPI::Win::Unlock(int) const]+0x17): undefined reference to `MPI_Win_unlock' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Test() const': main.cpp:(.text._ZNK3MPI3Win4TestEv[MPI::Win::Test() const]+0x17): undefined reference to `MPI_Win_test' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Start(MPI::Group const&, int) const': main.cpp:(.text._ZNK3MPI3Win5StartERKNS_5GroupEi[MPI::Win::Start(MPI::Group const&, int) const]+0x29): undefined reference to `MPI_Win_start' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Put(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI3Win3PutEPKviRKNS_8DatatypeEiiiS5_[MPI::Win::Put(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const]+0x57): undefined reference to `MPI_Put' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Post(MPI::Group const&, int) const': main.cpp:(.text._ZNK3MPI3Win4PostERKNS_5GroupEi[MPI::Win::Post(MPI::Group const&, int) const]+0x29): undefined reference to `MPI_Win_post' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Lock(int, int, int) const': main.cpp:(.text._ZNK3MPI3Win4LockEiii[MPI::Win::Lock(int, int, int) const]+0x25): undefined reference to `MPI_Win_lock' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Get_group() const': main.cpp:(.text._ZNK3MPI3Win9Get_groupEv[MPI::Win::Get_group() const]+0x1b): undefined reference to `MPI_Win_get_group' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Get(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const': main.cpp:(.text._ZNK3MPI3Win3GetEPKviRKNS_8DatatypeEiiiS5_[MPI::Win::Get(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const]+0x57): undefined reference to `MPI_Get' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Fence(int) const': main.cpp:(.text._ZNK3MPI3Win5FenceEi[MPI::Win::Fence(int) const]+0x17): undefined reference to `MPI_Win_fence' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Complete() const': main.cpp:(.text._ZNK3MPI3Win8CompleteEv[MPI::Win::Complete() const]+0x10): undefined reference to `MPI_Win_complete' CMakeFiles/dike_test.dir/main.cpp.o: In function `MPI::Win::Accumulate(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&, MPI::Op const&) const': main.cpp:(.text._ZNK3MPI3Win10AccumulateEPKviRKNS_8DatatypeEiiiS5_RKNS_2OpE[MPI::Win::Accumulate(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&, MPI::Op const&) const]+0x69): undefined reference to `MPI_Accumulate' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x14): undefined reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x24): undefined reference to `MPI::Win::Free()' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI9IntercommE[vtable for MPI::Intercomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI9GraphcommE[vtable for MPI::Graphcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI8CartcommE[vtable for MPI::Cartcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI9IntracommE[vtable for MPI::Intracomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI4CommE[vtable for MPI::Comm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' CMakeFiles/dike_test.dir/main.cpp.o:(.rodata._ZTVN3MPI8DatatypeE[vtable for MPI::Datatype]+0x3c): undefined reference to `MPI::Datatype::Free()' collect2: ld devolvió el estado de salida 1 make[3]: *** [sandbox/diked_test] Error 1 make[2]: *** [dike/test/CMakeFiles/dike_test.dir/all] Error 2 make[1]: *** [dike/test/CMakeFiles/dike_test.dir/rule] Error 2 make: *** [dike_test] Error 2