|
#!/bin/sh
#Sample script for large MPI jobs (i.e. > 32 cores) on Axle
# Last modified 20 August 2010
# Ask for 64 processors
#BSUB -n 64
# 32 processors per host
#BSUB -R "span[ptile=32]"
# Wallclock time in HH:MM
#BSUB -W 5:00
# Job name
#BSUB -J "MyLargeParallelJob"
# Requires 500M of memory per MPI task
#BSUB -R "rusage[mem=500]"
# Output and error files
#BSUB -o lsf%J.o
#BSUB -e lsf%J.e
# Need to make our own machinefile
MACHINEFILE=mymacs.$LSB_JOBID
for i in `echo $LSB_HOSTS`
do
echo $i
done > $MACHINEFILE
# Run the program
mpirun -genv I_MPI_DEVICE rdma -machinefile $MACHINEFILE -n 64 ./a.out
|