Skip to content
master
Go to file
Code

README.rst

https://travis-ci.org/PyCOMPLETE/PyHEADTAIL.svg?branch=master

PyHEADTAIL

CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.

PyHEADTAIL is written in C and Python. Currently, PyHEADTAIL is compatible with Python v3.6 or later.

Installation for Users

For using PyHEADTAIL without modifying the source code, we recommend to install the latest version via PyPI:

$ pip install PyHEADTAIL

Installation for Developers

For developers of PyHEADTAIL, we recommend to install a stand-alone package from the source code using git. For GPU usage, the developer version is required (the Makefile is included in the source code version only).

We recommend to use the Anaconda package manager to simplify installing. You can obtain it from anaconda.org .

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

$ make

And there you go, start using PyHEADTAIL!

$ cd ..

$ ipython

...

In [1]: import PyHEADTAIL

PyHEADTAIL v1.14.0

For a single installation of PyHEADTAIL we recommended to add the PyHEADTAIL path to your PYTHONPATH.

About

CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.