Skip to content

Commit aa261e5

Browse files
author
Spencer Bryngelson
committed
fix: don't set MPICH_GPU_SUPPORT_ENABLED for frontier_amd
AMD flang on Frontier uses AFAR/ROCm GPU-aware MPI, not Cray's GTL. The module loading script explicitly unsets MPICH_GPU_SUPPORT_ENABLED. Setting it via gpu_env causes 'GTL library is not linked' errors. Only frontier.mako (CCE) needs this variable.
1 parent 11e5d7f commit aa261e5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

toolchain/templates/frontier_amd.mako

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
mpi_config = {
66
"binary": "srun",
77
"flags": ["--unbuffered", "--cpus-per-task", "7"],
8-
"env": {"MPICH_GPU_SUPPORT_ENABLED": "0"},
9-
"gpu_env": {"MPICH_GPU_SUPPORT_ENABLED": "1"},
8+
"env": {},
109
"gpu_flags": [],
1110
}
1211
%>

0 commit comments

Comments
 (0)