plumed error rerated to its library "libplumedKernel.so"

1,046 views
Skip to first unread message

kimu handexyin

unread,
Mar 30, 2021, 1:57:34 AM3/30/21
to PLUMED users
Dear all,
I executed these commands and installed plumed successfully according to this screenshot;

 $./configure --prefix /misc/home/ikuma/plumed-2.6.1
 $make 
 $make install

plumed.png
But when I try run plumed, it fails as the bellow;

$ plumed
plumed : error while loading shared libraries: libplumedKernel.so: cannot open sheared object files: No such file or directory

I followed instructions on the attached screenshot, meaning;

 1. add /misc/home/ikuma/plumed-2.6.1/bin to $PATH
 2. add /misc/home/ikuma/plumed-2.6.1/lib to $PATH
 3. set PLUMED_KERNEL=/misc/home/ikuma/plumed-2.6.1/lib/libplumedKernel.so as an environmental variable
 4. save these settings in my .bashrc and activate it using $ source

But the same error message happens.
Does anyone know what I should do?

Best Regards,
kimu
 

Giovanni Bussi

unread,
Mar 30, 2021, 2:48:16 AM3/30/21
to plumed...@googlegroups.com
You should add /misc/home/ikuma/plumed-2.6.1/lib to LD_LIBRARY_PATH I think

Giovanni

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/4dfdc5f5-97d6-4134-ace9-7e0730cf5e50n%40googlegroups.com.

kimu handexyin

unread,
Mar 31, 2021, 8:39:52 PM3/31/21
to PLUMED users
Dear Giovanni,

Thank you for your advise.
I added /misc/home/ikuma/plumed-2.6.1/lib to LD_LIBRARY_PATH, and the error message doesn`t happen now, but a new error appears;

$ plumed
plumed : error while loading shared libraries: libmpi_cxx.so.1: cannot open sheared object files: No such file or directory

Do anyone know what I should do next ? Do I have to find the directory where "libmpi_cxx.so.1" is stored? 

Best Regards, 
kimu


2021年3月30日火曜日 15:48:16 UTC+9 giovann...@gmail.com:

Giovanni Bussi

unread,
Apr 1, 2021, 8:28:22 AM4/1/21
to plumed...@googlegroups.com
Yes, you have to find where the library is and add that path to LD_LIBRARY_PATH.

The standard way (at least in my institute) to manage software installed in non canonical paths is to write modulefiles that allow you to add specific paths to PATH and LD_LIBRARY_PATH (and also to INCLUDE and LIBRARY_PATH, if they are library that should be used in other programs) using commands such as `module load openmpi`.

Giovanni

Reply all
Reply to author
Forward
0 new messages