Mpich1sub.sh

From UMIACS
Revision as of 16:13, 14 September 2009 by Xhe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
#!/bin/bash
# Special PBS control comments
#PBS -l nodes=8,walltime=60

# Set up the path
PATH=/usr/local/stow/mpichgm-1.2.7p1-20/bin:$PATH
export $PATH

cd ~/mpich1test/
echo $PBS_NODEFILE
# Run the program
mpirun -np $( wc -l < $PBS_NODEFILE ) ./alltoall-mpich1