Installation and compilation
This document refers to an installation using Alma 9 and cvmfs.
Current LCG version is 104c, compiler is gcc 13.1.0, Python version is 3.9.12. This environment is in fact defined by the felix-distribution setup script, but it is used to compile and run all the applications. However, cmake can define a slightly different environment when compiling a particular package. The gcc compiler is always 13.1.0, so there are no conflicts at run time.
The following packages have been installed (using yum) on top of a default Alma 9 installation:
- librdmacm
- libuuid-devel
- zeromq-devel
The following python packages have been installed using pip on top of the python environment defined by the felix-distribution setup:
- cffi
- jinja2
- PyYAML
All the packages are installed as sub-folders of a single folder. We will assume that the folder is pointed by the env variable
ITK_DAQ_BASE
The choice of the folder location is free. At the end of the installation, a setup.sh script must be placed in $ITK_DAQ_BASE
#!/bin/bash
#
if [ -z "${ITK_DAQ_BASE}" ]
then
export ITK_DAQ_BASE=$(dirname $(readlink -f ${BASH_SOURCE[0]:-${(%):-%x}}))
fi
cd $ITK_DAQ_BASE
source felix-distribution/setup.sh
export PATH=${ITK_DAQ_BASE}/scripts:${PATH}
unset PYTHONPATH
source felix-env/bin/activate
# export PYTHONPATH=${ITK_DAQ_BASE}/felix-distribution-5.1/${BINARY_TAG}/ic-over-netio-From-NSW-Felixcore:${PYTHONPATH}
# export PYTHONPATH=${ITK_DAQ_BASE}/itk-felix-sw/installed/${BINARY_TAG}/lib:${PYTHONPATH}
# export PYTHONPATH=${ITK_DAQ_BASE}/felix-distribution-5.1/${BINARY_TAG}/itk-ic-over-netio-next:${PYTHONPATH}
export PYTHONPATH=${ITK_DAQ_BASE}/lpgbt-com-next/${BINARY_TAG}:${PYTHONPATH}
After login the environment can be set-up in this way:
source $ITK_DAQ_BASE/setup.sh