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

Classes

class  BwUniCluster
 Run on BwUniCluster 2.0 Info https://wiki.bwhpc.de/e/Category:BwUniCluster_2.0. More...
 

Variables

string TEMPLATE
 

Variable Documentation

◆ TEMPLATE

string carputils.machines.bwunicluster.TEMPLATE
Initial value:
1 = """#!/usr/bin/bash
2 
3 #SBATCH --job-name={jobID}
4 #SBATCH --nodes={nnode}
5 #SBATCH --ntasks={nproc}
6 #SBATCH --cpus-per-task=1
7 #SBATCH --output={jobID}.out
8 #SBATCH --error={jobID}.err
9 #SBATCH --mail-type=ALL
10 #SBATCH --mail-user={email}
11 #SBATCH --time={walltime}
12 #SBATCH --partition={partition}
13 
14 source {config}
15 
16 # No Hybrid MPI/OpenMP
17 export OMP_NUM_THREADS=1
18 
19 """