Quickstart:
- Use your package manager (or module system) to install some MPI package, FFTW, and CMake.
- Check submodules are downloaded with
git submodule update --init --recursive
. - Compile by running
./build-hermes-generic.sh
. Uses CMake, and compiles BOUT++, which also downloads and installs SUNDIALS. - Run the simulation with
run-example.sh
. The script uses 4 MPI processes - the run command in the script is 1 line, so if you want to use a different number of cores, etc. either edit the script or copy/edit the line. - Create an animation of the results by running
./animate.py
. As written writes the animation toanimation.gif
. Commented out line in the script shows an interactive animation instead.- To use this script, need to install the
xbout
package with eitherconda
orpip
.
- To use this script, need to install the