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.
[SOLVED] problem with abinit -ifort path for shared libs
Moderators: MMNSchmitt, gonze
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: problem with abinit
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... 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
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
Kind regards,
Alain
Re: problem with abinit
Thanks Dr.Alain, the problem was solved
Vanessa
Vanessa