Skip to content

Commit

Permalink
Updated c5 build script to match new methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalatino committed Jan 3, 2025
1 parent 1dbe5ab commit 3a45e80
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions examples/build_scripts/build_gaea_c5_gcc.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 3a45e80

Please sign in to comment.