... | ... | @@ -45,20 +45,21 @@ The field maps from the *FIELDMAPS* directory are linked to the directory where |
|
|
*SGE_RAM* contains the number of GB of RAM that each CPU will allocate (if not specified, default is 4). If there is not enough memory available on one node, the node will not be fully loaded. Instead the number of CPU's will be distributed on as many nodes as needed to fulfil the RAM requirement. Merlin has nodes with 64 and 128 GB of RAM. Each node has 16 CPU's.
|
|
|
|
|
|
|
|
|
# Here a snippet of a data and tmpl file (*foo.data*)
|
|
|
# This is a snippet of a data and tmpl file (*foo.data*)
|
|
|
|
|
|
\# This is a comment
|
|
|
Q -1 # the charge
|
|
|
NPART 100000 # the number of simulation particles
|
|
|
...
|
|
|
CORES 1 # how many cores are used by OPAL
|
|
|
*
|
|
|
|
|
|
`Q -1 \ # the charge`
|
|
|
|
|
|
`NPART 100000 \ # the number of simulation particles `
|
|
|
|
|
|
`CORES 2 \# how many cores are used by OPAL `
|
|
|
|
|
|
|
|
|
The corresponding part of the template (*foo.tmpl*) file would look like:
|
|
|
|
|
|
*
|
|
|
beam1: BEAM, PARTICLE=ELECTRON, pc=P0, NPART=_NPART_, BFREQ=BFREQ, BCURRENT=BCURRENT, CHARGE=_Q_;
|
|
|
*
|
|
|
`beam1: BEAM, PARTICLE=ELECTRON, pc=P0, NPART=\_NPART\_, BFREQ=BFREQ, BCURRENT=BCURRENT, CHARGE=\_Q\_;`
|
|
|
|
|
|
|
|
|
You can run the *runOPAL.py* script without arguments, if the two files (*foo.tmpl* and *foo.data*) are present, a directory *foo* will be
|
|
|
created and all files for the simulation are either copied or linked to that directory. The simulation is then started from this directory
|
... | ... | |