carputils
Doxygen code documentation for the python framework controlling openCARP
Classes | Variables
carputils.machines.archer Namespace Reference

ARCHER platform script. More...

Classes

class  Archer
 Run jobs on the ARCHER UK National Supercomputing Service. More...
 

Variables

string TEMPLATE
 

Detailed Description

ARCHER platform script.

Variable Documentation

◆ TEMPLATE

string carputils.machines.archer.TEMPLATE
Initial value:
1 = """#!/bin/bash --login
2 #PBS -N {jobID:.15s}
3 #PBS -l select={nnode}
4 #PBS -l walltime={walltime}
5 #PBS -m bea
6 #PBS -M {email}
7 #PBS -A e348
8 
9 # Make sure any symbolic links are resolved to absolute path
10 export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)
11 
12 # Change to the directory that the job was submitted from
13 # (remember this should be on the /work filesystem)
14 cd $PBS_O_WORKDIR
15 
16 # Set the number of threads to 1
17 # This prevents any system libraries from automatically
18 # using threading.
19 export OMP_NUM_THREADS=1
20 
21 """