This guide shows the steps required for creating a complete deployment of the OpenCMT software for develpment and tests.
System setup
The basic requirement for the next recipe is working on a clean Virtual Machine with CentOS 7 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 install wget epel-release sudo yum -y update
Install the CA certificate required by the internal software repositories
sudo yum -y localinstall http://artifacts.pd.infn.it/packages/CAP/misc/CentOS7/noarch/ca_TERENA-SSL-CA-3-1.0-1.el7.centos.noarch.rpm
Install the metadata for the internal software repositories (GEANT4, and CMT)
sudo wget -O /etc/yum.repos.d/geant4.repo http://artifacts.pd.infn.it/packages/MUOTOM/repos/centos7/geant4.repo sudo wget -O /etc/yum.repos.d/cmt.repo http://artifacts.pd.infn.it/packages/MUOTOM/repos/centos7/cmt.repo
Install the tools and libraries required by the CMT software
sudo yum -y install git gcc-c++ make cmake3 geant4-vmc-devel cmt-ulib-devel root-graf3d-eve xorg-x11-xauth
Since the GEANT4 package does not contain the particle data sets, download the required file from central repository
sudo geant4-dataset-download
The data for tests are available via NFS, add this row to the file /etc/fstab
10.64.18.250:/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