--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at http://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/91c51ff8-1fe9-40ba-b051-aa578662c6a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
./configure --prefix=/home/model/MD-SOFTWARE/plumed-2.1.2-install CXX=g++ CC=gcc CPPFLAGS="-I/usr/lib64/mpi/gcc/openmpi/include" LDFLAGS="-L/usr/lib64/mpi/gcc/openmpi/lib64 -D__PLUMED_MPI"
Thanks againTo view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/0a305e6b-477f-4a7a-88cc-1000d8cf47c9%40googlegroups.com.
./configure --prefix=/home/model/MD-SOFTWARE/plumed-2.1.2-install CXX=g++ CC=gcc CPPFLAGS="-I/usr/lib64/mpi/gcc/openmpi/include" LDFLAGS="-lmpi_cxx -lmpi -L/usr/lib64/mpi/gcc/openmpi/lib64 -Wl,-rpath,/usr/lib64/mpi/gcc/openmpi/lib64"
When I compile it dies at the following point when starting on plumed-runtime:-g++ ../main/main.o ../wrapper/Plumed.o
-o plumed-runtime -ldl
../main/main.o: In function `main':
main.cpp:(.text+0x43): undefined reference to `MPI_Init'
main.cpp:(.text+0xac): undefined reference to `ompi_mpi_comm_world'
main.cpp:(.text+0xb1): undefined reference to `MPI_Comm_dup'
main.cpp:(.text+0xf3): undefined reference to `MPI_Finalize'
../main/main.o: In function `MPI::Intercomm::Clone() const':
main.cpp:(.text._ZNK3MPI9Intercomm5CloneEv[_ZNK3MPI9Intercomm5CloneEv]+0xe):
undefined reference to `MPI_Comm_dup'
../main/main.o: In function `MPI::Win::Set_name(char const*)':
main.cpp:(.text._ZN3MPI3Win8Set_nameEPKc[_ZN3MPI3Win8Set_nameEPKc]+0x9):
undefined reference to `MPI_Win_set_name'
../main/main.o: In function `MPI::Win::Set_attr(int, void const*)':
main.cpp:(.text._ZN3MPI3Win8Set_attrEiPKv[_ZN3MPI3Win8Set_attrEiPKv]+0x9):
undefined reference to `MPI_Win_set_attr'
../main/main.o: In function `MPI::Win::Get_name(char*, int&) const':
main.cpp:(.text._ZNK3MPI3Win8Get_nameEPcRi[_ZNK3MPI3Win8Get_nameEPcRi]+0x9):
undefined reference to `MPI_Win_get_name'
../main/main.o: In function `MPI::Win::Delete_attr(int)':
main.cpp:(.text._ZN3MPI3Win11Delete_attrEi[_ZN3MPI3Win11Delete_attrEi]+0x9):
undefined reference to `MPI_Win_delete_attr'
../main/main.o: In function `MPI::Win::Call_errhandler(int) const':
main.cpp:(.text._ZNK3MPI3Win15Call_errhandlerEi[_ZNK3MPI3Win15Call_errhandlerEi]+0x9):
undefined reference to `MPI_Win_call_errhandler'
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/59a6eaae-6385-4893-aa3a-281a159e6649%40googlegroups.com.