Dear all,
After compiled LAMMPS w/h MEAM potentail, I tried to test it using exmaple files at example directory.
But I got following error:
./lmp_nano: error while loading shared libraries: libmpich.so.1.0: cannot open shared object file: No such file or directory
What does it mean?
How do I solve this libmpich.so.1.0 error?
Thanks.
HeeSung
Dear all,
After compiled LAMMPS w/h MEAM potentail, I tried to test it using exmaple
files at example directory.
But I got following error:
./lmp_nano: error while loading shared libraries: libmpich.so.1.0: cannot
open shared object file: No such file or directory
What does it mean?
that you either didn't install mpich properly or
didn't use mpirun correctly. this is not a LAMMPS problem
and you can get a lot of useful information by sticking
this error message into google.
How do I solve this libmpich.so.1.0 error?
by understanding how shared or dynamical libraries work
and then taking the corresponding countermeasures (e.g.
fixing the installation or setting LD_LIBRARY_PATH or
whatever else may be needed).
have a look at, e.g.,
http://www.dwheeler.com/program-library/Program-Library-HOWTO/x36.html
cheers,
axel.
Thank.
Does it mean that I have to compile LAMMPS again?
Thanks.
HeeSung
Thank.
Does it mean that I have to compile LAMMPS again?
not necessarily. only if you'd recompile mpich to not
use shared libraries. in many cases putting the missing
library into a directory that is searched by the dynamical
linker or setting LD_LIBRARY_PATH appropriately should
do the trick.
cheers,
axel.