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

Classes

class  Mephisto
 Run on the local Mephisto GPU cluster. More...
 

Variables

string TEMPLATE
 

Variable Documentation

◆ TEMPLATE

string carputils.machines.mephisto.TEMPLATE
Initial value:
1 = """#!/bin/sh -f
2 #$ -V
3 #$ -cwd
4 #$ -j y
5 #$ -pe mpi {nnode}
6 #$ -N {jobID}
7 #$ -o {jobID}.$JOB_ID
8 
9 # write ranks and slots
10 rank=0;
11 while read line; do
12 for i in {pinlist}; do
13 echo "rank" $rank"="$line "slot="$i
14 let "rank += 1"
15 done
16 done < $TMPDIR/machines > $TMPDIR/rankfile
17 cat $TMPDIR/rankfile
18 """