Hello everyone,
I met this puzzling situation. Before I compiled openmpi, my plumed was working fine. Now I need to work in parallel with GROMACS, so I deleted my old plumed and tried to compile the new plumed version, plumed2.1b, with mpi. But this time I met I errors at the make stage:
make[7]: mpic++: Command not found
make[7]: *** [Config.o] Error 127
make[7]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src/config'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src/config'
make[5]: *** [../config] Error 2
make[5]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src/lib'
make[4]: *** [dirs] Error 2
make[4]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src/lib'
make[2]: *** [lib] Error 2
make[2]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b/src'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/home/wlsong/Downloads/plumed-2.1b'
make: *** [all] Error 2
I added openmpi bin path to $PATH and lib path to LD_LIBRARY_PATH in the bashrc, and it looks right when I type mpic++. So I don't know why plumed says mpic++ is not found. Does anyone has any idea how to solve this? Thanks in advance.
Linda
Also attach my Makefile.conf here;
CC=gcc
FC=gfortran
LDF90=gfortran
CFLAGS=-g -O2
CXX=mpic++
CXXFLAGS=-O -fPIC -Wall -pedantic -ansi
CPPFLAGS=-I/usr/local/include
-DPACKAGE_NAME=\"PLUMED\" -DPACKAGE_TARNAME=\"plumed\"
-DPACKAGE_VERSION=\"2\" - DPACKAGE_STRING=\"PLUMED\ 2\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-D__PLUMED_INTERNAL_LAPACK=1 -D__PLUMED_INTERNAL_BLAS=1
-D__PLUMED_HAS_MOLFILE=1 - D__PLUMED_INTERNAL_MOLFILE_PLUGINS=1
-D__PLUMED_MPI=1 -D__PLUMED_HAS_CLOCK_GETTIME=1 -D__PLUMED_HAS_CREGEX=1
- D__PLUMED_HAS_DLOPEN=1 -D__PLUMED_HAS_EXECINFO=1
-D__PLUMED_HAS_ZLIB=1 -DNDEBUG=1 -D_REENTRANT=1
LDFLAGS=
DYNAMIC_LIBS=-lz -lrt -ldl -L/usr/local/lib -rdynamic
LIBS=-ldl
SOEXT=so
LD=mpic++
LDSO=mpic++ -shared
GCCDEP=mpic++
prefix=/usr/local