Difference between revisions of "MPICH2"
From HCL
(New page: <code class="command">echo</code> "MPD_SECRETWORD=<code class="replace">secret</code>" > $HOME/.mpd.conf}} {{Term|location=frontend|cmd=<code class="command">chmod</code> 600 $HOME/.mpd.co...) |
(No difference)
|
Revision as of 09:00, 21 April 2010
echo
"MPD_SECRETWORD=secret
" > $HOME/.mpd.conf}}
Template:Term
Then you can use a script like this to launch mpd/mpirun:
NODES=`uniq < $OAR_NODEFILE | wc -l | tr -d ' '`
NPROCS=`wc -l < $OAR_NODEFILE | tr -d ' '`
mpdboot --rsh=oarsh --totalnum=$NODES --file=$OAR_NODEFILE
sleep 1
mpirun -n $NPROCS mpich2binary