Projects/INSPECT/ShaCoNEMO-ORCA1-ARCHER: run_nemo.pbs

File run_nemo.pbs, 625 bytes (added by annette, 3 years ago)
Line 
1#!/bin/bash --login
2
3#PBS -N nemo
4#PBS -l select=4
5#PBS -l walltime=00:20:00
6#PBS -A n02-cms
7#PBS -q short
8#PBS -j oe
9
10# Make sure any symbolic links are resolved to absolute path
11export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)               
12
13# Change to the directory that the job was submitted from
14# (remember this should be on the /work filesystem)
15cd $PBS_O_WORKDIR
16
17# Set the number of threads to 1
18#   This prevents any system libraries from automatically
19#   using threading.
20export OMP_NUM_THREADS=1
21
22# Launch the parallel job
23#   Using 1536 MPI processes and 24 MPI processes per node
24aprun -n 96  -N 24 ./opa