Errors When Using make to build Lammps with Plumed - Cluster

72 views
Skip to first unread message

Tyler Schmidt

unread,
Sep 18, 2022, 1:16:26 PM9/18/22
to PLUMED users
Hello all, 

I am having this odd error when trying to compile Lammps with Plumed. 
I can build it locally on my Linux desktop using make, but when I am trying to repeat the process on the university's cluster, I am getting this error. (See bellow)
I have built Plumed 2.6.x for Lammps on the cluster before, but I can't remember the trick I did to get Lammps to compile. 
Currently, I have Plumed 2.7.4 built and the Plumed executable works (kind of) / is in my path, but it returns this error. 
See the two errors below. 
Any and all help would be appreciated. 

Thank you,
Tyler Schmidt


Lammps compiling error:
mpicxx -g -O3 -std=c++11  -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64   -I../../lib/plumed/includelink  -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1     -c ../nstencil_full_ghost_bin_3d.cpp
../fix_plumed.cpp:39:35: fatal error: plumed/wrapper/Plumed.h: No such file or directory
 #include "plumed/wrapper/Plumed.h"
                                   ^
compilation terminated.
mpicxx -g -O3 -std=c++11  -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64   -I../../lib/plumed/includelink  -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1     -c ../dump_custom.cpp
make[1]: *** [fix_plumed.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/work/afwallace/lammps_TDS_15Sept2022_PLUMED/lammps_plumed/src/Obj_mpi'
make: *** [mpi] Error 2



Plumed Executable error:
plumed: error while loading shared libraries: libplumedKernel.so: cannot open shared object file: No such file or directory



Reply all
Reply to author
Forward
0 new messages