MPICH2

From HCL
Revision as of 09:05, 21 April 2010 by Root (talk | contribs)

Jump to: navigation, search

Settings for MPICH2 daemon:

$ echo "MPD_SECRETWORD=XXX" > ~/.mpd.conf
$ chmod 600 ~/.mpd.conf

Script for running application:

NODES=`uniq < $OAR_NODEFILE | wc -l | tr -d ' '`
NPROCS=`wc -l < $OAR_NODEFILE | tr -d ' '`
mpdboot --rsh=ssh --totalnum=$NODES --file=$OAR_NODEFILE
sleep 1
mpirun -n $NPROCS path_to_executable