Summary
Sources: https://gitlab.psi.ch/OPAL/src (OPAL)
Sources: https://gitlab.psi.ch/OPAL/pyOPALTools (pyOPALTools)
License: GPL-3.0 (both)
Documentation: https://gitlab.psi.ch/OPAL/src/wikis/home (OPAL)
Documentation: https://gitlab.psi.ch/OPAL/pyOPALTools/wikis/home (pyOPALTools)
Samples: software/opal/2021.1/LaserEmission-1
Sample batch script: /software/opal/2021.1/sbatch-opal.sh
module: module load maxwell opal
OPAL (Object Oriented Parallel Accelerator Library) is a parallel open source tool for charged-particle optics in linear accelerators and rings, including 3D space charge.
Using opal on Maxwell
Use the opal module to setup the environment. The opal-installation is based on the binary installer. A vanilla python 3.10 installation including pyOPALTools has been added. /software/opal/2021.1/sbatch-opal.sh is an example batch script.
module load maxwell opal which {mpirun,opal,python3} /software/opal/2021.1/bin/mpirun /software/opal/2021.1/bin/opal /software/opal/pyOPALTools/bin/python3 # run the sample mkdir -p $HOME/OPAL-Test cd $HOME/OPAL-Test # the batch-script create a local copy of the sample cp /software/opal/2021.1/sbatch-opal.sh . # customize the batch script as needed and submit, run takes about a minute sbatch sbatch-opal.sh