[Beowulf] problem of mpich-1.2.7p1

Gus Correa gus at ldeo.columbia.edu
Thu Feb 4 08:35:37 PST 2010

Hi Christian

If you already set up passwordless ssh across the nodes
OpenMPI will probably get you up and running faster than MPICH2.

OpenMPI is very easy to install, say, with gcc, g++, and
gfortran (make sure you have them installed on your main machine,
use Ubuntu apt-get, if you don't have them).
Just configure with something like this:

./configure --prefix=/your/OpenMPI/install/dir CC=gcc CXX=g++ 
F77=gfortran FC=gfortran

You can add optimization flags if you want, but their defaults are good.
This will give you the C,C++,Fortran 77, and Fortran 90 MPI bindings.

You can install OpenMPI a NFS mounted directory, and set your PATH
LD_LIBRARY_PATH, and MANPATH on your .bashrc/.cshrc file to point
also to the OpenMPI sub-directories.
This way you do a single install, no need to install on the other
computer nodes also.
A more laborious alternative is to install on all nodes.

For details check the README file and their FAQ:

I prefer OpenMPI because it is easier to handle and is more
flexible, but that is a matter of personal taste and needs.

I hope this helps.
Gus Correa

PS - If this is a Beowulf discussion, please Cc. your messages
to Bewoulf <beowulf at beowulf.org>.

christian suhendra wrote:
> yes..the input is on the txt file..matrix A an matrix B
> i didn't send you the file because its to large. and i can't attached it 
> from my PC..
> oh thanks..
> i will try to use mpich2 or openmpi..
> what do you prefer of this mpich2 or openmpi??
> i mean for easy configuration,,,..
> thank you very much Mr.gus
> regards
> christian

More information about the Beowulf mailing list