LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-07-2011, 03:25 PM   #1
Lika
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Global Array Toolkit (ga-5.0.1) installation problem on OpenSuse 11.3


Hi all,

I have some problem during the instalation of Golbal Array Toolkit version 5.0.1 on linux OpenSuse 11.3. Here is the part of the config.log considering the error:


configure:4689: mpicc -V >&5
gcc: '-V' option must have argument
configure:4700: $? = 1
configure:4689: mpicc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4700: $? = 1
configure:4720: checking whether the C compiler works
configure:4742: mpicc conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi
collect2: ld returned 1 exit status

As you can see the ld cannot find lmpi. The problem is mpi libraries are not in the folder where ld looks for it (/usr/lib64/gcc/x86_64-suse-linux/4.5/). I found that mpi libraries are in other folder (usr/lib64/mpi/gcc/openmpi/lib64), so I made symlink to it:

ln -s usr/lib64/mpi/gcc/openmpi/lib64 lmpi

But it doesn't work again. I don't know what the problem is, and if I have correctly made symlink.
I would appreciate any kind of help.
Thanks in advance.

Best wishes,
Lika
 
Old 09-08-2011, 11:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
cannot find -lmpi
lmpi = libmpi.so → → openmpi-devel(-1.2.8-13.1.x86_64)

Not in your LD_LIBRARY_PATH, I think : /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so
Add it to the LD_LIBRARY_PATH , or use something like : cd <ga-5-1>/
&& export LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib64:/lib:/usr/lib
&& ./configure

The export command is temporary : Will reset to /lib:/usr/lib etc.
when you exit the terminal.

And by the way : Why not use the latest stable = GA 5.0.2
http://www.emsl.pnl.gov/docs/global/latest.shtml

..
 
1 members found this post helpful.
Old 09-16-2011, 04:19 AM   #3
Lika
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much. This works!
 
  


Reply



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
[newbie][php] global array pawelch Programming 3 05-20-2011 05:00 AM
Installation problem in globus toolkit 4.0.8 naveencse Linux - Software 1 07-04-2010 04:01 PM
create a global associative array variable inside a function of a bash script konsolebox Programming 3 07-14-2009 06:08 AM
problem on installation of openSUSE anurag1001 Linux - Newbie 1 04-12-2008 12:30 PM
help-globus toolkit installation regarding parani86 Linux - Newbie 2 01-21-2008 12:43 AM

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

All times are GMT -5. The time now is 08:57 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