CVMFS releases
ALICE software is compiled and published on CVMFS, for use on the Grid, Hyperloop and LEGO trains.
Adding a new architecture#
If you want to start publishing software for a new architecture (e.g. el9-x86_64), you need to do the following.
You can edit the contents of CVMFS by SSH'ing into cvmfs-alice.cern.ch, then running sudo -iu cvalice and starting a CVMFS transaction using cvmfs_server transaction alice.cern.ch.
- Make
/cvmfs/alice.cern.ch/bin/alienvhandle the new architecture. The usual procedure is to send a pull request to change the copy in ali-bot. This will run some tests on the changed script. Once merged into ali-bot, then deploy manually by copying the file to its path in CVMFS. - Add the new architecture to aliPublish.conf.
You will at least need to publish the
GCC-Toolchainandgrid-base-packagespackages, in addition to any physics packages you want to make available (likeO2PDPSuite). - Create a
BASE/1.0modulefile for the new architecture at/cvmfs/alice.cern.ch/el9-x86_64/Modules/modulefiles/BASE/1.0. The easiest way to do this is to copy the modulefile from an existing architecture and adjust it as necessary. - Create symlinks for GCC builds under
/cvmfs/alice.cern.ch/etc/toolchain/modulefiles/<arch>/Toolchain/. For this, you should run the publisher manually once (or wait for it to run via cron), so that GCC builds are available under/cvmfs/alice.cern.ch/<arch>/Modules/modulefiles/GCC-Toolchain/. For each desired GCC version, add a symlink/cvmfs/alice.cern.ch/etc/toolchain/modulefiles/<arch>/Toolchain/GCC-vX.Y.Zpointing to../../../../../<arch>/Modules/modulefiles/GCC-Toolchain/vX.Y.Z-N. - Create a
defaultsymlink for thegrid-base-packagesmodulefile under/cvmfs/alice.cern.ch/<arch>/Modules/modulefiles/grid-base-packages. If you've just builtgrid-base-packagesfor the first time for the new architecture, it'll be calledv1-1, so runln -s v1-1 /cvmfs/alice.cern.ch/<arch>/Modules/modulefiles/grid-base-packages/default.
When you're done, commit your changes by running cd (so that your shell isn't keeping a CVMFS directory open), then running cvmfs_server publish alice.cern.ch.
If you want to abort your changes, run cvmfs_server abort and confirm by typing y at the prompt instead.
Remember to re-enable the publisher in the crontab, if you disabled it earlier.