carputils
Doxygen code documentation for the python framework controlling openCARP
carputils
machines
wopr
Classes
|
Variables
carputils.machines.wopr Namespace Reference
Classes
class
Wopr
Run jobs on SCI GPU cluster wopr.
More...
Variables
string
TEMPLATE
Variable Documentation
◆
TEMPLATE
string carputils.machines.wopr.TEMPLATE
Initial value:
1
=
"""#!/bin/bash --login
2
#PBS -N {jobID:.15s}
3
#PBS -l nodes={nnodes}:ppn={ppn}
4
#PBS -l walltime={walltime}
5
6
SCRATCH_DIR=/usr/sci/cluster/username/$USER/$PBS_JOBID
7
8
# make sure the scratch directory is created
9
mkdir -p $SCRATCH_DIR
10
11
# copy datafiles from directory where I typed qsub, to scratch directory
12
cp -r $PBS_O_WORKDIR/* $SCRATCH_DIR/
13
14
#change to the scratch directory
15
cd $SCRATCH_DIR
16
17
# Set the number of threads to 1
18
# This prevents any system libraries from automatically
19
# using threading.
20
export OMP_NUM_THREADS=1
21
22
"""
Generated by
1.8.13