#!/bin/bash # Special PBS control comments #PBS -l nodes=4,walltime=60 # Set up the path PATH=/usr/local/stow/mpich-1.2.5..12-gm-nagware/bin:$PATH export PATH cd $HOME/.src/factor # Run the program mpirun -machinefile $PBS_NODEFILE -np $( wc -l < $PBS_NODEFILE ) factor-mpich 2305843009213693953