High-performance orbit-following code for fusion plasma physics and engineering.
New (and old) users are welcome to join our weekly meetings or Slack channel to discuss their research and plans with regards to ASCOT5.
This repository is maintained by ASCOT team in Aalto University and VTT Technical Research Centre of Finland.
Clone the repository:
git clone git@github.com:ascot4fusion/ascot5.git
Requirements
- C compiler
- HDF5
- OpenMP
- Python3 (pre- and postprocessing)
- MPI (optional)
- VTK (optional, for 3D wall visualization)
For running ASCOT5 on this platform and performing pre- and post-processing on another platform:
cd ascot5
make ascot5_main
The binary is located at build/ascot5_main
.
For full installation both ascot5_main and libascot.so are needed:
cd ascot5
make ascot5_main
make libascot
Useful even for minimal installation; it provides command-line tools for updating simulation options.
Create a virtual environment (optional but recommended), activate it, and install a5py
:
cd ..
virtualenv -p python3 --system-site-packages ascotenv
source ascotenv/bin/activate
pip install -e ascot5/
When working on issues:
- Create a branch named
feature/<issuenumber>-branchname
for feature requests - Create a branch named
bugfix/<issuenumber>-branchname
for bug fixes.