CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.
Currently only a git-clone of the repository is supported. The available zip files on github are missing the versioning and will not allow ./install to work.
Installation of PyHEADTAIL on linux (having git installed) is straight forward.
- Clone the repository in a local folder:
$ git clone https://github.com/PyCOMPLETE/PyHEADTAIL
- Go to the folder and run the installation script:
$ cd PyHEADTAIL
And there you go, start using PyHEADTAIL!
$ cd ..
In : import PyHEADTAIL
Please use the pre-push script 'pre-push.py' if you want to contribute to the repository. It only lets you push to the develop and master branch if no unit tests fail.
To install (creates a symlink): ln -s ../../pre-push.py .git/hooks/pre-push