LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2011, 09:16 AM   #1
KBriggs
Member
 
Registered: Jun 2009
Posts: 35

Rep: Reputation: 15
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.
 
Old 01-06-2011, 09:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
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.

...
 
Old 01-06-2011, 10:18 AM   #3
KBriggs
Member
 
Registered: Jun 2009
Posts: 35

Original Poster
Rep: Reputation: 15
>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?
 
Old 01-06-2011, 11:14 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
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.
...
 
Old 01-06-2011, 01:01 PM   #5
KBriggs
Member
 
Registered: Jun 2009
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
intel compiler, intel mpi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
missing mpicc when installing lam-mpi package fatra2 Linux - Software 4 11-27-2009 04:12 PM
mpicc: command not found ArthurHuang Programming 1 08-05-2006 05:51 PM
Where can I find the libraries? clau_bolson Mandriva 1 11-08-2005 08:40 PM
cant find these libraries linuxmandrake Linux - Software 2 06-28-2005 03:19 PM
Can't find any libraries..? Halz Linux - Software 1 04-25-2002 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration