LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   missing mpicc when installing lam-mpi package (https://www.linuxquestions.org/questions/linux-software-2/missing-mpicc-when-installing-lam-mpi-package-771157/)

fatra2 11-24-2009 01:59 AM

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

jsquyres 11-24-2009 05:51 AM

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).

fatra2 11-24-2009 08:34 AM

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

jsquyres 11-25-2009 05:39 AM

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.

btmiller 11-27-2009 03:12 PM

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.


All times are GMT -5. The time now is 09:10 AM.