Difference: MPICH2 (3 vs. 4)

Revision 401 Jul 2010 - RobAllan

Line: 1 to 1


-- RobAllan - 11 Feb 2010

As root (or installer), download source from http://www.mcs.anl.gov/research/projects/mpich2/ - ignore the older Web pages.

Downloaded and uncompressed into /panfs/usr/local/src/mpich2-1.2.1 on dl1.

Load appropriate compiler module, e.g. compiler/pgi/8.0-3

mkdir /panfs/usr/local/mpich-2-1.2.1/pgi

Note there is a bug in mpd.py which affects Centos-5.3 and equivalent SciLinux distros. See https://trac.mcs.anl.gov/projects/mpich2/ticket/974 . You can download the fix from https://trac.mcs.anl.gov/projects/mpich2/export/5923/mpich2/trunk/src/pm/mpd/mpd.py .

Put this in mpich2-1.2.1/src/pm/mpd/mpd.py

In source dir ./configure --prefix=/panfs/usr/local/mpich-2-1.2.1/pgi
In source dir ./configure CC=pgcc CXX=pgCC F77=pgf77 F90=pff90 -enable-f77 -enable -f90 --prefix=/panfs/usr/local/mpich-2-1.2.1/pgi
  make && make install

This should get you a working installation. Look at the README file and doc/installguide/install.pdf and run the tests using mpd.

Note on our dl1 system I could not run the tests from the head node. This is because mpdboot uses ssh and to connect back from a compute node to the head node with ssh requires a password - so it hangs. Log onto a compute node and do the tests there.

Finally, Streamline Computing have provided a nice script called mpich2sub to run jobs.

Finally, finally, I made modules like mpich/2-1.2.1/pgi to make things easier for users.

And before signing off - remember to tell users that they need a .mpi.conf file in their home directory, and also that they need to use mpich2sub instead of ompisub. \ No newline at end of file

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback