Skip to content

Commit

Permalink
updates to rzadams and rzvernal for mpi (#1362)
Browse files Browse the repository at this point in the history
* updates to rzadams and rzvernal for mpi

* add rzadams
  • Loading branch information
cyrush authored Aug 19, 2024
1 parent 786dbd1 commit 9d8fcf7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
19 changes: 19 additions & 0 deletions scripts/build_ascent/build_ascent_hip_rzadams.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module load cmake/3.24.2
module load craype-accel-amd-gfx940
module load rocmcc/6.1.2-magic

export MPICH_GPU_SUPPORT_ENABLED=1
export ROCM_ARCH=gfx942

export CC=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/bin/amdclang
export CXX=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/bin/amdclang++
export ROCM_PATH=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/

export enable_mpi="${enable_mpi:=ON}"
export enable_python="${enable_python:=ON}"
export build_caliper="${build_caliper:=true}"
export build_pyvenv="${bbuild_pyvenv:=true}"

./build_ascent_hip.sh


9 changes: 4 additions & 5 deletions scripts/build_ascent/build_ascent_hip_rzvernal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ module load rocmcc/6.1.2-magic
export MPICH_GPU_SUPPORT_ENABLED=1
export ROCM_ARCH=gfx90a

export CC=/opt/rocm-6.1.2/bin/amdclang
export CXX=/opt/rocm-6.1.2/bin/amdclang++
#export CFLAGS="-I${ROCM_PATH}/include"
#export CXXFLAGS="-I${ROCM_PATH}/include -Wno-pass-failed"
#export LDFLAGS="-L${ROCM_PATH}/lib -lamdhip64"
export CC=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/bin/amdclang
export CXX=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/bin/amdclang++
export ROCM_PATH=/usr/tce/packages/rocmcc/rocmcc-6.1.2-magic/

export enable_mpi="${enable_mpi:=ON}"
export enable_python="${enable_python:=ON}"
export build_caliper="${build_caliper:=true}"
export build_pyvenv="${bbuild_pyvenv:=true}"
Expand Down

0 comments on commit 9d8fcf7

Please sign in to comment.