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

MULTIBINIT, aTDEP, ANADDB, optics, cut3d, mrg* postprocessors

Moderators: MMNSchmitt, gonze

Locked
vanessa
Posts: 7
Joined: Fri Apr 08, 2011 2:25 pm

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

Post by vanessa » Fri Apr 08, 2011 3:10 pm

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.

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: problem with abinit

Post by Alain_Jacques » Fri Apr 08, 2011 11:15 pm

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

vanessa
Posts: 7
Joined: Fri Apr 08, 2011 2:25 pm

Re: problem with abinit

Post by vanessa » Mon Apr 11, 2011 12:35 pm

Thanks Dr.Alain, the problem was solved ;)
Vanessa

Locked