libimf.so problem

Submitted by niqbal on Tue, 12/14/2010 - 15:27

Hi every one,
I am a new user of LIGGGHTS. I have installed it and working on it for a couple of weeks. Now when I am running my input script, it is giving me the following error.
"error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory"
What this libimf.so shared object is? Why it is missing now while every thing was fine a few days before?
I have tried to recompile it but is giving errors
Thanks in advance.
Naved

ckloss's picture

ckloss | Tue, 12/14/2010 - 15:44

This seems to be a compiler problem, LIGGGHTS does not have lib dependencies except e.g. if you run with FFTs for solving electrostatic interactions on a grid or link to any of the libs in the /lib directory.
Ask your system admin

Christoph

raguelmoon's picture

raguelmoon | Wed, 12/15/2010 - 02:40

Hi Naved,
Have you installed mpi before installation LIGGGHTS? If yes then please search the lib file and put the whole path in the end of bash ( gedit /etc/bashrc for fedora) like this:

export LD_LIBRARY_PATH=/path of your lib

I think you can find the file in mpi directory.
It will work fine...
Cheers,
Ram

Ram

niqbal | Wed, 12/15/2010 - 16:00

Thanks for your reply. I have figure it out by sourcing the files mentioned in the above post, Yes I have installed mpi before installation of LIGGGHTS during the installation of OpenFOAM, but every thing was working fine (LIGGGHTS+OpenFOAM+CFDEM). But I do not know what happened to the system (I could not figure out the reason) that the LIGGGHTS was giving me th above error. But now its ok.
Naveed

niqbal | Wed, 12/15/2010 - 15:54

Hi Christoph,
Thanks for your reply, I have solved the problem by sourcing the following files. (writing in my .bashrc file)
source /local/intel/bin/ifortvars.sh intel64
source /local/intel/bin/iccvars.sh intel64
Might be it will be helpful for some one encountering the same problem.
Regards,
Naveed