Simple UserGuide for MPICH2

From SpeechWiki

Revision as of 23:18, 2 May 2010 by Pineking (Talk | contribs)
Jump to: navigation, search

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

Parallel environment on SGE:

[pineking@ifp-32 test]$ qconf -sp mpich
pe_name            mpich
slots              9999 
user_lists         NONE
xuser_lists        NONE
start_proc_args    /opt/gridengine/mpi/startmpi.sh -catch_rsh $pe_hostfile
stop_proc_args     /opt/gridengine/mpi/stopmpi.sh
allocation_rule    $fill_up
control_slaves     TRUE
job_is_first_task  FALSE 
urgency_slots      min
accounting_summary TRUE

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

Using MPI with qsub on ifp-32

More Details

Personal tools