-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build_ascent caliper + hip support (#1359)
* update rzvernal build recipe * caliper build for rocm, fix for kokkos path * update rzvernal recipe * improve py module install path for pyenv case
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
module load cmake/3.24.2 | ||
module load craype-accel-amd-gfx90a | ||
module load rocm/5.2.3 | ||
module load cray-mpich | ||
module load rocmcc/6.1.2-magic | ||
|
||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
export ROCM_ARCH=gfx90a | ||
#export CC=$(which cc) | ||
#export CXX=$(which CC) | ||
#export FTN=$(which ftn) | ||
|
||
export CC=/opt/rocm-5.2.3/llvm/bin/amdclang | ||
export CXX=/opt/rocm-5.2.3/llvm/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=/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 enable_python="${enable_python:=ON}" | ||
export build_caliper="${build_caliper:=true}" | ||
export build_pyvenv="${bbuild_pyvenv:=true}" | ||
|
||
./build_ascent_hip.sh | ||
|
||
|