#! /bin/bash # Run this script as a user, e.g., tllim, to mpdboot (needed before running mpirun mpich2). # A file ~/mpd.hosts containing the nodes's name have assumed to existed. mv ~/.mpd.conf ~/.mpd.conf.orig touch ~/.mpd.conf echo 'MPD_SECRETWORD=mr45-j9z' ~/.mpd.conf chmod 600 ~/.mpd.conf /opt/mpich2/gnu/bin/mpdboot -n 18 -f ~/mpd.hosts ; /opt/mpich2/gnu/bin/mpdtrace -l