Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.