Skip to content

Commit

Permalink
Nicholson/frontier worldshared cpe23.12 (#151)
Browse files Browse the repository at this point in the history
* Frontier build with cpe/23.12, and amd-only stack. Expect poor performance from flang.

* Frontier build with mixed compilers and cpe/23.12, amd/5.7.1 and gcc-native/12.3.

* Added [email protected] spec back to the Frontier spack.yaml.

* Apply pre-commmit fixes

---------

Co-authored-by: nkoukpaizan <[email protected]>
  • Loading branch information
nkoukpaizan and nkoukpaizan authored Aug 1, 2024
1 parent 791006a commit 73445da
Show file tree
Hide file tree
Showing 6 changed files with 221 additions and 209 deletions.
14 changes: 8 additions & 6 deletions buildsystem/clang-hip/crusher/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ module reset

# System modules
module load PrgEnv-gnu-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-mixed/5.7.1
module load rocm/5.7.1
module load gcc-native/12.3
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 73445da

Please sign in to comment.