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

From GlueXWiki
Revision as of 20:46, 17 July 2021 by Marki (Talk | contribs) (Created page with "== 0. Log into the ifarm at JLab == == 1. Enable Singularity == module use /apps/modulefiles module load singularity/3.7.1 == 2. Enter the Singularity Container == cont...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

0. Log into the ifarm at JLab

1. Enable Singularity

module use /apps/modulefiles
module load singularity/3.7.1

2. 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