Simple UserGuide for MPICH2
From SpeechWiki
(Difference between revisions)
(→MPICH on ifp-32) |
|||
Line 11: | Line 11: | ||
MPICH2 F77: gfortran -O2 | MPICH2 F77: gfortran -O2 | ||
MPICH2 F90: f95 -O2 | MPICH2 F90: f95 -O2 | ||
+ | |||
+ | =Configuration= | ||
+ | add MPICH2 binary path to your PATH | ||
+ | export PATH=/cworkspace/ifp-32-2/hasegawa/pineking/programs/mpich2/bin:$PATH | ||
+ | Check we can find them: | ||
+ | which mpd | ||
+ | which mpiexec | ||
+ | which mpirun | ||
+ | |||
+ | MPI expects the configuration file in your home directory named /home/you/.mpd.conf (/etc/mpd.conf if root). It should contain one line: | ||
+ | secretword=<secretword> | ||
+ | |||
+ | where <secretword> is a password, that should not be your user password. Make it readable/writable only by you: | ||
+ | chmod 600 .mpd.conf | ||
=Example= | =Example= |
Revision as of 00:03, 12 January 2010
Contents |
MPICH2 on ifp-32
version and configure information:
[pineking@ifp-32 mpich2]$ mpich2version MPICH2 Version: 1.2.1 MPICH2 Release date: Unknown, built on Sun Jan 10 18:06:02 CST 2010 MPICH2 Device: ch3:nemesis MPICH2 configure: --prefix=/cworkspace/ifp-32-2/hasegawa/pineking/programs/mpich2/ --enable-cxx --enable-threads=multiple MPICH2 CC: gcc -O2 MPICH2 CXX: g++ -O2 MPICH2 F77: gfortran -O2 MPICH2 F90: f95 -O2
Configuration
add MPICH2 binary path to your PATH
export PATH=/cworkspace/ifp-32-2/hasegawa/pineking/programs/mpich2/bin:$PATH
Check we can find them:
which mpd which mpiexec which mpirun
MPI expects the configuration file in your home directory named /home/you/.mpd.conf (/etc/mpd.conf if root). It should contain one line:
secretword=<secretword>
where <secretword> is a password, that should not be your user password. Make it readable/writable only by you:
chmod 600 .mpd.conf