PARTONS  
PARtonic Tomography Of Nucleon Software
Download PARTONS

Source code

The sources of PARTONS include four sub-projects. These are:

  • elementary-utils: utility software (dependency for PARTONS);
  • numa: numerical analysis C++ routines (dependency for PARTONS);
  • partons: the PARTONS library;
  • partons-example: executable of PARTONS with examples (not mandatory).

The sources are accessible:

  • via our GitLab repositories;
  • via the Git command line tool:
    cd /path/to/some/directory
    GIT_SSL_NO_VERIFY=true git clone https://drf-gitlab.cea.fr/partons/core/elementary-utils.git --branch release-v4 --depth 1
    GIT_SSL_NO_VERIFY=true git clone https://drf-gitlab.cea.fr/partons/core/numa.git --branch release-v4 --depth 1
    GIT_SSL_NO_VERIFY=true git clone https://drf-gitlab.cea.fr/partons/core/partons.git --branch release-v4 --depth 1
    GIT_SSL_NO_VERIFY=true git clone https://drf-gitlab.cea.fr/partons/core/partons-example.git --branch release-v4 --depth 1
    The option --branch is needed to checkout the specific tagged version from the release branch. The option GIT_SSL_NO_VERIFY=true is needed because the CEA certificate is often not recognized. The option --depth 1 can be used to download only the tagged commit and nothing else from the git history.
  • via the following links:
    Version Status elementary-utils numa partons partons-example
    4.0
    Latest version
    tar.gz tar.gz tar.gz tar.gz
    3.0
    Old
    tar.gz tar.gz tar.gz tar.gz
    2.0
    Old
    tar.gz tar.gz tar.gz tar.gz
    1.0
    Old
    tar.gz tar.gz tar.gz tar.gz

Virtual machine

You can also download our pre-configured virtual machine (see the VM tutorial):

Version Date PARTONS version Image Size
User 20/07/2023 4.0 Download 3.2 GB

The Developer version has a set-up development environment in Eclipse to start contributing to the PARTONS project, and has more packages installed, which makes the image heavier.

Docker

Docker images containing PARTONS with its runtime environment are available via DockerHub, see here. The basic usage is the following:

  • pull the image (by default containing the latest version of PARTONS)
    docker pull partons/partons
  • run interactively
    docker run -it --rm partons/partons
  • use image as executable: run specific scenario (here: 'myScenario.xml') stored in your host (here: in 'ABSOLUTEPATH/MYDIR' directory)
    docker run -it --rm -v ABSOLUTEPATH/MYDIR:/root/workspace/partons-example/scenarios partons/partons myScenario.xml

For more details please see Docker manual.