diff --git a/examples/build_scripts/build_gaea_c5_gcc.sh b/examples/build_scripts/build_gaea_c5_gcc.sh index 87bac83a..ab30f58a 100644 --- a/examples/build_scripts/build_gaea_c5_gcc.sh +++ b/examples/build_scripts/build_gaea_c5_gcc.sh @@ -1,22 +1,18 @@ #!/usr/bin/env bash -# Example bash script to install Pace to run bare-metal on Gaea's c4 cluster +# Example bash script to install Pace to run bare-metal on Gaea's c5 cluster set -e -x # module load necessary system software +module use -a /usw/conda/modulefiles module rm PrgEnv-intel module load PrgEnv-gnu -module rm gcc -module load gcc/12.2.0 -module load boost/1.79.0 -module load python/3.11.7 - -export CC=`which gcc` -export CXX=`which g++` -export MPICC=`which mpicc` -export MPICXX=`which mpicxx` -export DACE_compiler_cpu_executable=${CXX} +module load gcc-native/12.3 +module load boost/1.85.0 +module load miniforge + +export DACE_compiler_cpu_executable='which g++' export GT4PY_EXTRA_COMPILE_ARGS="-O3 -ffast-math -fprefetch-loop-arrays -funroll-all-loops" export OPENMP_CPPFLAGS="-fopenmp -fopenmp-simd" export OPENMP_LDFLAGS="-fopenmp -fopenmp-simd"