#!/bin/bash # # LSF batch script to run an MPI application #BSUB -a tv #BSUB -P SCIS0006 # project code #BSUB -W 00:30 # wall-clock time (hrs:mins) #BSUB -n 160 # number of tasks in job #BSUB -R "span[ptile=16]" # run 16 MPI tasks per node #BSUB -J dynamico # job name #BSUB -o dynamico.%J.out # output file name in which %J is replaced by the job ID #BSUB -e dynamico.%J.err # error file name in which %J is replaced by the job ID ##BSUB -q small # queue #BSUB -q tutorial # queue #run the executable module unload netcdf module unload intel module load intel/16.0.2 module load netcdf-mpi/4.4.0 module load mkl/11.3.0 module load totalview/8.14.0-16 #totalview -mpi "poe - Linux" -np 40 ../../../DYNAMICO/bin/icosa_gcm.exe mpirun.lsf ../../../DYNAMICO/bin/icosa_gcm.exe #mpirun.lsf -cmdfile ./cmd_file.txt