problems in installing plumed2.5.1 in Ubuntu 18.04

1,292 views
Skip to first unread message

Raffaela Cab

unread,
May 16, 2019, 2:32:08 PM5/16/19
to PLUMED users
HI,

I am having problems in installing plumed 2.5.1 in Ubuntu 18.
I am following the instructions from the link:


The steps with
1. ./configure --prefix=/usr/local
2. make -j 4
3. make install

after many trials look to be succesfull.
Unfortunately when write
plumed
I get the answer:
plumed: error while loading shared libraries: libplumedkernel.so: no such file or directory.

Can you please tell me how to proceed?

Thank you

Giovanni Bussi

unread,
May 16, 2019, 3:23:32 PM5/16/19
to plumed...@googlegroups.com
Check if the following file exists
/usr/local/libplumedKernel.so
(actually the K should be upper case. Did you make a mistake copying the error in the email text?)

If so, use this command
export LD_LIBRARY_PATH=/usr/local:$LD_LIBRARY_PATH
then launch the plumed executable.

Let us know if this works for you

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 post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/3b0fea31-cb8b-404e-8ee7-b0e61b51cb58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raffaela Cab

unread,
May 17, 2019, 1:50:13 AM5/17/19
to PLUMED users
Hi,

Thank you for your answer. 

I followed your advice, but it did not work.
plumed-2.5.1 $ls /usr/local/lib/
libplumed.a         libplumedWrapper.a  python2.7/
libplumedKernel.so  pkgconfig/          python3.6/
libplumed.so        plumed/             vmd/
plumed-2.5.1 $export LD_LIBRARY_PATH=/usr/local:$LD_LIBRARY_PATH
plumed-2.5.1 $plumed
plumed: error while loading shared libraries: libplumedKernel.so: cannot open shared object file: No such file or directory

Greetings
To unsubscribe from this group and stop receiving emails from it, send an email to plumed...@googlegroups.com.

Raffaela Cab

unread,
May 17, 2019, 2:14:06 AM5/17/19
to PLUMED users
Hi again,

The installation was sucessfull only after ensuring the installation of matheval was sucessfull and
including the matheval.h path into the configuration path:

sudo ./configure CPPFLAGS=-I/usr/include CC=mpicc CXX=mpicxx

Probably this link can be useful:

Thanks for asssistance.

Greetings!

Giovanni Bussi

unread,
May 17, 2019, 2:42:21 AM5/17/19
to plumed...@googlegroups.com
Sorry it should have been

export LD_LIBRARY_PATH=/usr/loca/libl:$LD_LIBRARY_PATH

Anyway, good that you fixed it. thanks!

Giovanni


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 https://groups.google.com/group/plumed-users.

Raffaela Cab

unread,
May 17, 2019, 2:43:47 AM5/17/19
to PLUMED users
Yes. I have located the files and included in the right path.
Your suggestions were very helpful.

Thanks

Alin Marin Elena

unread,
May 17, 2019, 8:13:10 AM5/17/19
to plumed...@googlegroups.com
Dear Raffa,

Path in export shall be /usr/local/lib
Not /usr/local

A

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 https://groups.google.com/group/plumed-users.
Reply all
Reply to author
Forward
0 new messages