Last update:
Operating system
Start from an AlmaLinux9 machine (tested on AlmaLinux release 9.1 - Lime Lynx)
sudo yum -y install epel-release yum-utils wget git
sudo dnf config-manager --set-enabled crb
Setting yum repositories
sudo wget -O /etc/yum.repos.d/geant4.repo https://nexus.pd.infn.it/artifacts/repository/repo-files/geant4.repo
Some useful packages..
sudo
yum -y install binutils-devel boost-devel chrpath cmake doxygen
eigen3-devel emacs eog expat-devel freeglut-devel gcc gcc-c++ gedit
giflib-devel glibc-devel glibc-headers glibc-static glibc-utils graphviz
htop libjpeg-turbo-devel libpng-devel libquadmath-devel libSM-devel
libstdc++-devel libtiff-devel libX11-devel libXext-devel libXft-devel
libXmu-devel libXpm-devel make mesa-dri-drivers mlocate mysql
mysql-devel openmotif-devel patch python3-devel screen sshpass
subversion tbb-devel texlive texlive-multirow texlive-sectsty
texlive-tocloft texlive-xtab valgrind vim-enhanced xorg-x11-xauth
xrootd-devel zip zlib-devel
Framework
sudo
yum -y install clhep-devel geant4 geant4-devel gsl-devel HepMC3-devel
python3-root root root-gdml root-genvector root-geom root-geom-builder
root-geom-painter root-graf3d-eve root-graf3d-eve7 root-gui-browserv7
root-gui-fitpanel root-minuit2 root-roofit root-roofit-more root-smatrix
root-tmva root-tpython root-unuran
sudo geant4-dataset-download
Workarounds
sudo wget -O /usr/include/c++/11/x86_64-redhat-linux/32/bits/c++config.h https://raw.githubusercontent.com/MuonColliderSoft/MuonCollider-docker/master/AlmaLinux9/c%2B%2Bconfig.h
sudo wget -O /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h https://raw.githubusercontent.com/MuonColliderSoft/MuonCollider-docker/master/AlmaLinux9/c%2B%2Bconfig.h
Installation
Build setup
If you decide to follow these instructions and to install under /opt you need superuser privileges
sudo su -
Move to installation directory
cd /opt
git clone https://github.com/MuonColliderSoft/MuonCutil.git
cd /opt/MuonCutil && git checkout v02-08-MC
cd /opt
git clone https://github.com/MuonColliderSoft/iLCInstall.git
cd /opt/iLCInstall && git checkout v02-05-MC
Software installation
cd /opt/iLCInstall/
./ilcsoft-install /opt/MuonCutil/releases/v02-08-MC/release-base.cfg --install-prefix=/opt/ilcsoft -v -i
./ilcsoft-install /opt/MuonCutil/releases/v02-08-MC/release-muonc.cfg --install-prefix=/opt/ilcsoft -v -i
Post installation
Define the init file for profile
wget -O /etc/profile.d/ilcsoft.sh https://raw.githubusercontent.com/MuonColliderSoft/MuonCollider-docker/master/AlmaLinux9/profile.d_ilcsoft.sh
Install via rpms
Start from an AlmaLinux9 machine (tested on AlmaLinux release 9.1 - Lime Lynx)
sudo yum -y install epel-release yum-utils wget git
sudo dnf config-manager --set-enabled crb
Setting yum repository
sudo wget -O /etc/yum.repos.d/muoncollider.repo https://nexus.pd.infn.it/artifacts/repository/repo-files/mcsoft.repo
sudo wget -O /etc/yum.repos.d/geant4.repo https://nexus.pd.infn.it/artifacts/repository/repo-files/geant4.repo
Install the required packages
sudo
yum -y install muonc-base-installation
sudo geant4-dataset-download
BTW
- The geometry's path is: /usr/share/muonc-detector-geometry/MuColl_v1/MuColl_v1.xml
- The ACTs MatFile is: /usr/share/ACTSTracking/data/material-maps.json
- The ACTs TGeoFile is: /usr/share/ACTSTracking/data/MuColl_v1.root
NB After the installation you need to re-login into the pc in order to setup the environment.
Test
To check your installation you can use the following simple tests. You need again the utils repository, so (re)login as user and clone it again:
git clone https://github.com/MuonColliderSoft/MuonCutil.git
cd MuonCutil/SoftCheck/ && git checkout v02-08-MC
Simulation
ddsim
--compactFile
/opt/ilcsoft/muonc/detector-simulation/geometries/MuColl_v1/MuColl_v1.xml
--steeringFile sim_steer.py > sim.out
Reconstruction
Marlin
--InitDD4hep.DD4hepXMLFile=/opt/ilcsoft/muonc
/detector-simulation/geometries/MuColl_v1/MuColl_v1.xml
reco_steer.xml > reco.out
Event display
ced2go -t ced2go_steering.xml -d /opt/ilcsoft/muonc/detector-simulation/geometries/MuColl_v1/MuColl_v1.xml Output_REC.slcio