-
Install gcc
brew install gcc
-
Install OpenMPI
brew install open-mpi
-
Clone epoch code to a different folder
git clone git clone --recursive https://github.com/Warwick-Plasma/epoch.git
-
navigate to epoch/SDF/utilities and activate environment (if using), e.g. for pyenv
pyenv shell <env-name>
-
Install sdf and sdf-helper
sudo ./build -r -s
-
Install with brew
brew install ffmpeg
-
Sphinx Documentation
pip install sphinx sphinx-book-theme
-
Run the
make_docs.sh
command./make_docs.sh
Documentation is available at https://jmsplank.github.io/hybrid-jp/ for the most recently pushed code.
The script ./make_docs.sh
will search through src/hybrid_jp
and automatically build documentation for it, as well as automatically start a python http.server
hosting the local docs on http://localhost:8000.
The built documentation is stored in docs/
, this is the directory served to github pages on push. The docs ARE NOT automatically updated on push, so you will need to run ./make_docs.sh
before pushing to github if the changes should be documented.