Skip to content

Commit

Permalink
Avoid hard-coding CC/CXX in setup.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Jul 24, 2024
1 parent a541080 commit eed18e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions experiment/frontier/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module swap $LMOD_FAMILY_PRGENV PrgEnv-gnu
module load rocm/6.0.0
module unload darshan-runtime

export CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++

export USE_HIP=1
export CONDUIT=ofi-slingshot11

Expand Down
2 changes: 2 additions & 0 deletions experiment/perlmutter/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module load PrgEnv-gnu
module load cpe-cuda
module load cudatoolkit

export CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++

export USE_CUDA=1
export CONDUIT=ofi-slingshot11

Expand Down
2 changes: 2 additions & 0 deletions experiment/sapling/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ export THREADS=20

module load cuda

export CC=gcc CXX=g++

export USE_CUDA=1
export CONDUIT=ibv

Expand Down
2 changes: 1 addition & 1 deletion experiment/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi

pushd legion/language
# setup_env.py pins everything now, so don't need to pin explicitly here
DEBUG=0 CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++ USE_GASNET=1 REALM_NETWORKS=gasnetex ./scripts/setup_env.py --cmake --extra="-DCMAKE_INSTALL_PREFIX=$PWD/../install" --install -j${THREADS:-16}
DEBUG=0 USE_GASNET=1 REALM_NETWORKS=gasnetex ./scripts/setup_env.py --cmake --extra="-DCMAKE_INSTALL_PREFIX=$PWD/../install" --install -j${THREADS:-16}
popd

extra_cxxflags=
Expand Down

0 comments on commit eed18e0

Please sign in to comment.