... | ... | @@ -59,16 +59,16 @@ 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_;`
|
|
|
|
|
|
|
|
|
# Running runOPAL.py
|
|
|
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
|
|
|
where also all results are stored.
|
|
|
|
|
|
== The general syntax is: ==
|
|
|
* The general syntax of runOPAL.py
|
|
|
|
|
|
|
|
|
`runOPAL.py [--restart-file=FILE [--restart-step=STEPNR | --restart-pos=POS]] [--test] [--block] [--keep] [--nobatch] [ATTR=SCANVALUE] {[ATTR=VALUE]}`
|
|
|
|
|
|
*
|
|
|
runOPAL.py [--restart-file=FILE [--restart-step=STEPNR | --restart-pos=POS]] [--test] [--block] [--keep] [--nobatch] [ATTR=SCANVALUE] {[ATTR=VALUE]}
|
|
|
*
|
|
|
|
|
|
* *--test* exercises everything except for the submission of the job.
|
|
|
* *--restart-pos* specifies the position (in meter) defining the restart of the simulation. If no data has been dumped at that position *runOpal* will use the nearest position stored in the restart file as restart position.
|
... | ... | |