HOWTO Run Gluex Software with GCC 8 in a CentOS 7 Container

From GlueXWiki
Revision as of 20:48, 17 July 2021 by Marki (Talk | contribs)

Jump to: navigation, search

Log into the ifarm at JLab

Enable Singularity

module use /apps/modulefiles
module load singularity/3.7.1

Enter the Singularity Container

container_file=/group/halld/www/halldweb/html/dist/gluex_centos-7.7.1908_sng3.8_gxi2.20.sif
singularity shell --cleanenv --bind /group/halld $container_file

Set Up to Use Developers Toolset 8

scl enable devtoolset-8 bash

Set Up the GlueX Environment

source /group/halld/Software/build_scripts/gluex_env_boot_jlab.sh
gxenv $HALLD_VERSIONS/version_beta_1.0.xml

Run hd_root

hd_root