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
yum -y install wget epel-release yum -y update
Install the CA certificate required by the internal software repositories
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)
wget -O /etc/yum.repos.d/geant4.repo http://artifacts.pd.infn.it/packages/MUOTOM/repos/centos7/geant4.repo 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
yum -y install git gcc-c++ make cmake3 geant4-vmc-devel cmt-ulib-devel root-graf3d-eve
Since the GEANT4 package does not contain the particle data sets, download the required file from central repository
geant4-dataset-download
Virtual Machines with CentOS 7 are available in the Cloud Veneto infrastructure