30 novembre 2026 à 2 décembre 2026
IJCLab, Orsay
Fuseau horaire Europe/Paris

Software tutorial

In advance of the training session, please ensure that

  1. You have singularity/apptainer or docker (on Mac) installed and working
    • On your local system:
    • You should at a minimum be able to run either of the following commands and open a shell:
      • singularity run docker://alpine
      • docker run --rm -it alpine
  2. Download eic-shell:
    • Due to time and bandwidth limitations, this should be downloaded to your desired system before the live tutorial
    • From the system you use with singularity/apptainer or docker, make a folder called eic
    • From inside this directory:
      • Install by running the command:

        BASH

        curl --location https://get.epic-eic.org | bash
      • or you can save the file at https://get.epic-eic.org as install.sh and run this script by hand:

        BASH

        wget --output-document install.sh https://get.epic-eic.org
        bash install.sh
    • Depending upon how your filesystem is setup, you may need to specify a different temporary directory
      • By default, a directory in /tmp is used
      • Use the -t prefix to set a new temp directory
        • ./install.sh -t /home/...
      • Setup requires ~20 GB of free space
 
Callout

ROOT

It is strongly preferred (but not required) that you can run ROOT locally on your system. ROOT is installed within eic-shell, so you can process macros in eic-shell. However, viewing plots and files interactively in this manner is not straightforward. A local install to view interactive windows is generally very helpful.

See the CERN ROOT webpage for information on installing ROOT in a variety of ways on your system if it is not already installed.

If you have completed the numbered steps above, then you are ready for the tutorial. Additional information and training links are below:

  • Basic familiarity with Unix shell and Git
    • Software Carpentry Unix Shell training (recommended)
  • Basic familiarity with singularity and docker:
 
Callout

JLab/BNL Systems

If you are using the BNL SDCC or the JLab Farm, you may find the quick start info useful if you are new to these systems.

Singularity is provided by default on BNL SDCC and the JLab iFarm, check by trying the command singularity and verify that you get an info dump on the usage of the command. You can therefore skip step 1 of the instructions and just begin from “2. Download eic-shell:”…

 

 

 

 

For the tutorial, participants should ensure that MG5_aMC@NLO is installed and configured before the session, following the installation instructions provided below.
• First, ensure eic-shell shell is downloaded in Docker or otherwise using the complementary instructions provided.
• Open the EIC-shell terminal and execute cd /path/to/local/directory/local
• Clone the MG5_aMC repository (3.x branch) into a directory called MG5_aMC within local:
git clone –depth 1 –branch 3.x https://github.com/mg5amcnlo/mg5amcnlo.git MG5_aMC
• Check that the FC environment variable is not set to flang, which can cause compilation errors. Run unset FC in the terminal before launching MG5_aMC@NLO if needed.
• Verify that a simple test process can be generated and compiled successfully. From the MG5_aMC directory,
> ./bin/mg5_aMC
> generate e- p > e- c c~
> output DIR
> launch
• Next, to prepare for the showering of hard events and generation of HepMC files, again from the MG5_aMC
directory,
> ./bin/mg5_aMC
> install pythia8
• Exit from the prompt and ensure both LD_LIBRARY_PATH and PYTHIA8DATA are set to your HEP-Tools installation:
- export LD_LIBRARY_PATH="$PWD/HEPTools/pythia8/lib:$LD\LIBRARY\PATH"
- export PYTHIA8DATA="$PWD/HEPTools/pythia8/share/Pythia8/xmldoc"
NLOACCESS
• Make an account on https://nloaccess.in2p3.fr/tools/ by clicking on ’Request registration’. Enter your details and your registration will be approved manually by the NLOaccess team. To allow time for approval, please request an account in advance.