Difference between revisions of "HOWTO Run Gluex Software with a GCC 8 module"

From GlueXWiki
Jump to: navigation, search
(Created page with "The following assumes that you are using the bash shell. tcsh can be used as well with appropriate modifications. == Log into the ifarm at JLab == == Enable GCC 8 == modul...")
 
(Enable GCC 8)
 
Line 6: Line 6:
  
 
  module use /apps/modulefiles
 
  module use /apps/modulefiles
  module load gcc/8.3.0
+
  module load gcc/8.4.0
 
  export CC=`which gcc`
 
  export CC=`which gcc`
 
  export CXX=`which g++`
 
  export CXX=`which g++`

Latest revision as of 15:59, 14 November 2023

The following assumes that you are using the bash shell. tcsh can be used as well with appropriate modifications.

Log into the ifarm at JLab

Enable GCC 8

module use /apps/modulefiles
module load gcc/8.4.0
export CC=`which gcc`
export CXX=`which g++`

This sets you up to use GCC 8.3.0. To check, to a "gcc --version".

Set Up the GlueX Environment

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

This is no different than usual.

Run hd_root

hd_root

You should see the usage message. From this point forward, things should be like a normal session on the ifarm, except that not all of the packages you normally see on the ifarm proper are available in the container.

--marki (talk) 21:25, 17 July 2021 (EDT)