![]() |
cannot find mpicc libraries
Hey all,
I am trying to compile some software written by a colleague in the lab that uses mpicc. When it is compiled on his account, it works fine, but fails on mine (on the same machine). When I type simply >mpicc I get the error /usr/lib64/mpi/mpi-openmpi-intel/usr/bin/mpicc: error while loading shared libraries: libintlc.so.5: cannot open shared object file: No such file or directory Can anyone suggest a fix? I am quite new to this, so I am hesitant to mess around in .bashrc or .aliases before I have a little more information. |
How about : locate libintlc.so.5
'libintlc.so.5' is a well known Intel file, and it looks like you have a special "mpi/mpi-openmpi-intel", where it could be included. ( Probably in /usr/lib64/mpi/mpi-openmpi-intel/usr/lib/ ? ) Suggest : export LD_LIBRARY_PATH=/usr/lib64/mpi/mpi-openmpi-intel/usr/lib && mpicc ... if that's the correct location. ... |
>locate libintlc.so.5
locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old /opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so.5 /home/diskless-usr/opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so.5 Not sure how to interpret this - is one of those the correct path it should be looking in? |
If you have root access : 1) su , 2) updatedb (or sudo updatedb)
.. to update the data base for 'locate'. But if you have no more copies of libintlc.so.5 then the installed file is /opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so.5 . ( /home/diskless-usr/opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so.5 looks just like a copy of the /opt/intel/Compiler/ files.) export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/056/lib/intel64 && mpicc ... should work. ... |
Hm, thanks, that turned out to be part of the solution. I also had to add various things to the PATH and INCLUDE environment variables.
|
All times are GMT -5. The time now is 06:44 PM. |