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
#!/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