Instructions to run Trajectum at Nikhef

From ALICE Wiki
Revision as of 15:05, 7 May 2025 by Nkoster@nikhef.nl (talk | contribs) (Created page with "'''<u><big>NOTE: This page is still work in progress!</big></u>''' == Packages installed == The packages needed to configure trajectum are stored at: /project/alice/trajectu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NOTE: This page is still work in progress!

Packages installed

The packages needed to configure trajectum are stored at: /project/alice/trajectum_packages

In this directory you find:

  • LHAPDF-6.5.4
  • fastjet-3.4.2
  • gemini_2024.8.8
  • pythia8309
  • smash
  • autoconf-archive

All users read and execute.

Access to Trajectum source code

In order to work on Trajectum you need to be part of the trajectum repository at codeberg.org

If you want you can request acces by creating an account, with your usename including: FirstnameLastname

Then send an email to nkoster@nikhef.nl including your username to get access.

Setting up Trajectum

The following steps can be used alongside the description of setting up Trajectum in the README file of the source code.

Execute the following commands:

source /cvmfs/alice.cern.ch/etc/login.sh

source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_107 x86_64-el9-gcc14-opt

export PKG_CONFIG=/usr/bin/pkg-config

Go to /data/alice/<yourNikhefusername> (or any other preferred directory)

Clone the Trajectum source code:

git clone https://codeberg.org/Trajectum/Trajectum.git  

This will create a Trajectum directory, in this directory execute:

./configure --with-lhapdf-prefix=/project/alice/trajectum_packages --with-fastjet-prefix=/project/alice/trajectum_packages --with-pythia-prefix=/project/alice/trajectum_packages/pythia8309 --with-gemini-prefix=/project/alice/trajectum_packages

Then execute (still in the Trajectum directory) make

Executing collide

In order to run collide you need to set:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/alice/trajectum_packages/pythia8309/lib/:project/alice/trajectum_packages/lib/

followed by:

export GINPUT=/project/alice/trajectum_packages/share/gemini/

Within the Trajectum directory change to src/

In the src directory execute

./collide ../parfiles/collisionpp.par

collisionpp.par is an example file with parameter setting for a pp collision. You can use all the example parameter files in parfiles/

This command should output 5 files starting with pp. (This does not work yet)

--> (For Panos) The error occurs when executing ./collide ../parfiles/collisionpp.par

Error: ./collide: error while loading shared libraries: libGemini.so: cannot open shared object file: No such file or directory