LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-24-2009, 01:59 AM   #1
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
missing mpicc when installing lam-mpi package


Hello,

I have been setting up a beowulf cluster at home. I have a bunch of old machines, and thought they could help out with some way.

I have the beowulf running perfectly. The machines can talk to each other. Everything looks great.

I decided to use lam as my message passing interface. I installed the latest lam-mpi package (using yum). I also installed the latest openmpi package. After all that, I still cannot find any of the mpicc, mpiCC, mpic++, or mpif77 command on my machine. The others, like mpirun, mpiexec, lamexec are present and running. I find this very peculiar, and thought you guys could give me a hand.

I am running this cluster on Fedora 10.

Cheers
 
Old 11-24-2009, 05:51 AM   #2
jsquyres
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
You should probably use the Open MPI packages, not the LAM/MPI packages. LAM has not been updated in years; it's in "critical bug fix only" mode. Open MPI is where all the active development is occurring.

As for why you can't find mpicc and friends, it depends on where those packages installed those binaries. Sometimes packagers make a separate "devel" package that has the wrapper compilers -- check and see if those are available to you (e.g., openmpi-devel or something like that).
 
Old 11-24-2009, 08:34 AM   #3
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Original Poster
Rep: Reputation: 35
But I did install the openmpi package, and still can't find the mpicc family bin. I guess I will try it again, maybe with the tarball instead.

Cheers
 
Old 11-25-2009, 05:39 AM   #4
jsquyres
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
Did you read the 2nd half of my reply about the "devel" packages?

Installing from tarball would also fix it, but then you lose the benefit of having packaged installs.
 
Old 11-27-2009, 03:12 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Also, Red Hat and derivatives sometimes like to put symlinks in /etc/alternatives for commands that are part of more than one package (e.g. mpirun could be installed by the openmpi or lammpi packages). This makles them rather difficult to track down. Have you tried doing "rpm -q --filesbypkg openmpi-devel" to see what was actually installed and where it went?

Personally, I like to compile MPI from source and stick it on an NFS filesystem so I know for a fact all nodes are using the exact same version.
 
  


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
lamboot problem in LAM/MPI Abhishek Agarwal Linux - General 2 11-07-2006 02:40 AM
lamboot problem in LAM/MPI Abhishek Agarwal Programming 1 11-06-2006 08:04 AM
lamboot problem in LAM/MPI Abhishek Agarwal Linux - Newbie 1 11-06-2006 08:03 AM
stupid question on LAM/MPI funkymunky Programming 2 10-17-2003 11:41 AM
Lam/mpi Rex_chaos Linux - General 0 08-29-2001 11:00 AM

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

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