Skip to content

Commit

Permalink
Frontier build with cpe/23.12, and amd-only stack. Expect poor perfor…
Browse files Browse the repository at this point in the history
…mance from flang.
  • Loading branch information
nkoukpaizan committed Jul 26, 2024
1 parent 791006a commit a2d444f
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 223 deletions.
15 changes: 8 additions & 7 deletions buildsystem/clang-hip/crusher/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ export PROJ_DIR=/autofs/nccs-svm1_proj/eng145
module reset

# System modules
module load PrgEnv-gnu-amd
module load PrgEnv-amd
module load cpe/23.12
module load craype-x86-trento
module load craype-accel-amd-gfx90a
module load amd-mixed/5.6.0
module load gcc/12.2.0
module load cray-mpich/8.1.25
module load amd/5.7.1
module load rocm/5.7.1
module load cray-mpich/8.1.28
module load libfabric

# Consider changing to $(which clang) as for deception
export CC=/opt/rocm-5.6.0/llvm/bin/amdclang
export CXX=/opt/rocm-5.6.0/llvm/bin/amdclang++
export FC=/opt/rocm-5.6.0/llvm/bin/amdflang
export CC=/opt/rocm-5.7.1/llvm/bin/amdclang
export CXX=/opt/rocm-5.7.1/llvm/bin/amdclang++
export FC=/opt/rocm-5.7.1/llvm/bin/amdflang

export EXTRA_CMAKE_ARGS="$EXTRA_CMAKE_ARGS -DEXAGO_CTEST_LAUNCH_COMMAND='srun'"
export EXTRA_CMAKE_ARGS="$EXTRA_CMAKE_ARGS -DAMDGPU_TARGETS='gfx90a'"
2 changes: 1 addition & 1 deletion buildsystem/spack/crusher/env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Configure python
module load cray-python/3.9.12.1
module load cray-python/3.11.5

BASE=/lustre/orion/eng145/world-shared/$(whoami)

Expand Down
Loading

0 comments on commit a2d444f

Please sign in to comment.