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

Classes

class  MarconiDebug
 Run jobs on the MARCONI HPC Cluster. More...
 
class  MarconiSlurm
 Run jobs on the MARCONI HPC Cluster. More...
 

Variables

string TEMPLATE
 

Variable Documentation

◆ TEMPLATE

string carputils.machines.marconi_slurm.TEMPLATE
Initial value:
1 = """#!/bin/bash
2 #SBATCH --job-name={jobID}
3 #SBATCH --nodes={nnode}
4 #SBATCH --ntasks-per-node=36
5 #SBATCH --partition={partition}
6 #SBATCH --account=Pra15_3333
7 #SBATCH --error={jobID}.err
8 #SBATCH --output={jobID}.out
9 #SBATCH --mail-type=ALL
10 #SBATCH --mail-user={email}
11 #SBATCH --time={walltime}
12 
13 # Make sure any symbolic links are resolved to absolute path
14 export SLURM_SUBMIT_DIR=$(readlink -f $SLURM_SUBMIT_DIR)
15 
16 # Change to the directory that the job was submitted from
17 # (remember this should be on the /work filesystem)
18 cd $SLURM_SUBMIT_DIR
19 
20 # Set the number of threads to 1
21 # This prevents any system libraries from automatically
22 # using threading.
23 export OMP_NUM_THREADS=1
24 
25 module load intel intelmpi
26 """