Page 1 of 1

[SOLVED] problem with abinit -ifort path for shared libs

Posted: Fri Apr 08, 2011 3:10 pm
by vanessa
Dear users,

I installed the abinit-6.4.2 on my linux workstation and when I run abinit an error occurs:

./abinit: error while loading shared librairies: libifport.so.5: cannot open shared object file : no such file or directory .
I will be very grateful if anyone can help me.
Vanessa.

Re: problem with abinit

Posted: Fri Apr 08, 2011 11:15 pm
by Alain_Jacques
Hello Vanessa,

Not really the relevant forum for this kind of question. Anyway I'll move the topic later.
The error message mean that the loader doesn't find the libifport.so.5 library in the "standard" path where it looks for shared libraries. This particular library is part of Intel suite of compilers - the one you use to compile Abinit. You have to help the loader either by calling Intel's setup utility or by exporting LD_LIBRARY_PATH. First locate where the Intel compilers are installed - probably /opt/intel/Compiler/nn.n/nnn where n is according the version you installed. then do a

Code: Select all

source /opt/intel/Compiler/nn.n/nnn/bin/ifortvars.sh intel64
... actually you probably did the same to setup your development environment. This should work for compiler version up to 11.1; for 12, the path has changed to /opt/intel/composerxe-nnnn.n.nnn/bin/ifortvars.sh (again change n according to your setup)

Kind regards,

Alain

Re: problem with abinit

Posted: Mon Apr 11, 2011 12:35 pm
by vanessa
Thanks Dr.Alain, the problem was solved ;)
Vanessa