Difference between revisions of "HOWTO Run Gluex Software with GCC 8 in a CentOS 7 Container"

From GlueXWiki
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
== 0. Log into the ifarm at JLab ==
+
== Log into the ifarm at JLab ==
  
== 1. Enable Singularity ==
+
== Enable Singularity ==
  
 
  module use /apps/modulefiles
 
  module use /apps/modulefiles
 
  module load singularity/3.7.1
 
  module load singularity/3.7.1
  
== 2. Enter the Singularity Container ==
+
== Enter the Singularity Container ==
  
 
  container_file=/group/halld/www/halldweb/html/dist/gluex_centos-7.7.1908_sng3.8_gxi2.20.sif
 
  container_file=/group/halld/www/halldweb/html/dist/gluex_centos-7.7.1908_sng3.8_gxi2.20.sif

Revision as of 20:48, 17 July 2021

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