knotkit/parallel.cmd

21 lines
451 B
Batchfile
Raw Permalink Normal View History

# mpi job, runtime max 5days
2012-09-18 02:36:18 +02:00
#PBS -l nodes=3:ppn=4,walltime=150:00:00
# xxx PBS -l mem=80gb
#
# sends mail if the process aborts, when it begins, and
# when it ends (abe)
#PBS -m abe
#
module load openmpi/gcc
# go to the directory with the program
cd $HOME/src/knotkit
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u/cseed/llvm-3.1/lib
export LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
# and run it
numprocs=`wc -l <${PBS_NODEFILE}`
mpiexec -np $numprocs ./mpimain