Skip to content

Commit

Permalink
removed some inane comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamOS committed May 14, 2024
1 parent 722083c commit d96d4b9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions setup_FNAL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ source /exp/dune/data/users/losulliv/spack/my_spack/setup-env.sh

# Load up a load of schtuff with spack, check if packages are loaded first
# - All the good stuff is built with gcc 12.2.0 toolchain, load newer cmake
# - Load root, geant4, clhep, expatn and edep-sim built with above toolchain
# - Load root, geant4, clhep, expat, and edep-sim built with above toolchain
# - We first check the list of loaded packages using grep to see if we have them loaded
# (e.g. already sourced this file) and load it with spack if not

spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup gcc..."; else echo "gcc already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup cmake..."; else echo "cmake already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup root..."; else echo "root already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup geant4..."; else echo "geant4 already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup clhep..."; else echo "clhep already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup expat..."; else echo "expat already loaded."; fi
spack load --list | grep "[email protected]" >/dev/null 2>&1 # # 0(true) if it's loaded, 1(false) otherwise
spack load --list | grep "[email protected]" >/dev/null 2>&1
if [ $? -ne 0 ]; then spack load [email protected]%[email protected] && echo "Setup edep-sim..."; else echo "edep-sim already loaded."; fi

export TMS_DIR=${PWD}
Expand Down

0 comments on commit d96d4b9

Please sign in to comment.