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

Classes

class  VSC3
 Run on VSC-3 at the Vienna Scientific Cluster. More...
 

Variables

string TEMPLATE
 

Variable Documentation

◆ TEMPLATE

string carputils.machines.vsc3.TEMPLATE
Initial value:
1 = """#!/bin/bash
2 #
3 #SBATCH -J {jobID}
4 #SBATCH -N {nnode}
5 #SBATCH --ntasks-per-node=16
6 #SBATCH --ntasks-per-core=1
7 #SBATCH --output {jobID}.out
8 #SBATCH --mail-type=ALL
9 #SBATCH --mail-user {email}
10 #SBATCH --time {walltime}
11 
12 # No Hybrid MPI/OpenMP
13 export OMP_NUM_THREADS=1
14 
15 # purge modules
16 module purge
17 
18 # load user defined bashrc which is assumed to have the correct modules
19 source {homePath}/.bashrc
20 
21 # when srun is used, you need to set:
22 # export I_MPI_PMI_LIBRARY=/cm/shared/apps/slurm/current/lib/libpmi.s
23 """