This guide shows the steps required for creating a complete deployment of the OpenCMT software for develpment and tests.
Setup for Alma Linux 9
System setup
The basic requirement for the next recipe is working on a clean Virtual Machine with Alma Linux 9 operating system. These steps must be executed by root:
Be sure to have an updated version of the system, with the EPEL extension enabled:
sudo yum -y update sudo yum -y install epel-release yum-utils wget sudo yum-config-manager --set-enabled appstream crb extras plus
Install the metadata for the internal software repositories (GEANT4, and CMT):
sudo wget -O /etc/yum.repos.d/muotom.repo https://nexus.pd.infn.it/artifacts/repository/repo-files/muotom.repo
Install the tools and libraries required by the CMT software:
sudo yum install git gcc-c++ make cmake doxygen geant4-devel root-graf3d-eve root-geom-builder root-geom-painter root-geom-webviewer xorg-x11-xauth mesa-dri-drivers pcl-devel
Since the GEANT4 package does not contain the particle data sets, download the required files from central repository:
sudo geant4-dataset-download
Storage setup
The data for tests are available via NFS, add this row to the file /etc/fstab
cld-storage-01.pd.infn.it:/data/brickOpenstack/muon-steel/sdb /mnt/muotom-data nfs defaults 0 0
then create the directory and mount the endpoint
sudo mkdir -p /mnt/muotom-data sudo chmod a+rx /mnt/muotom-data sudo mount -a
Virtual Machines with AlmaLinux 9 are available in the Cloud Veneto infrastructure, within project Muon Tomography.
If the activity requires a considerable amount of resources, the project grants access to dedicated flavors: muon_CPU-12_RAM-64GB and muon_48cores500GB25GB.