Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mache/spack/templates/pm-cpu_gnu_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries come first so that executables
# run during a build do not pick up the default
# cray-mpich's from /opt/cray/pe/lib64 instead.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/gnu/12.3/lib:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
cray-mpich:
externals:
Expand Down
5 changes: 4 additions & 1 deletion mache/spack/templates/pm-cpu_intel_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries come first so that executables
# run during a build do not pick up the default
# cray-mpich's from /opt/cray/pe/lib64 instead.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/intel/2022.1/lib:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
cray-mpich:
externals:
Expand Down
5 changes: 4 additions & 1 deletion mache/spack/templates/pm-cpu_nvidia_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,8 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries come first so that executables
# run during a build do not pick up the default
# cray-mpich's from /opt/cray/pe/lib64 instead.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/nvidia/23.3/lib:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
6 changes: 5 additions & 1 deletion mache/spack/templates/pm-gpu_gnugpu_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries (including the GTL) and CUDA come
# first so that executables run during a build do not pick
# up the default cray-mpich's from /opt/cray/pe/lib64,
# which need a different CUDA.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/gnu/12.3/lib:/opt/nvidia/hpc_sdk/Linux_x86_64/25.5/cuda/12.9/lib64:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
cuda:
externals:
Expand Down
6 changes: 5 additions & 1 deletion mache/spack/templates/pm-gpu_intelgpu_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries (including the GTL) and CUDA come
# first so that executables run during a build do not pick
# up the default cray-mpich's from /opt/cray/pe/lib64,
# which need a different CUDA.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/intel/2022.1/lib:/opt/nvidia/hpc_sdk/Linux_x86_64/25.5/cuda/12.9/lib64:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
cuda:
externals:
Expand Down
6 changes: 5 additions & 1 deletion mache/spack/templates/pm-gpu_nvidiagpu_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,9 @@ spack:
# libfabric module is already loaded, so reloading it as
# an external module restores nothing. The Cray wrappers
# link MPI into every executable, so the linker needs it.
LD_LIBRARY_PATH: "/opt/cray/libfabric/2.3.1/lib64"
# cray-mpich's libraries (including the GTL) and CUDA come
# first so that executables run during a build do not pick
# up the default cray-mpich's from /opt/cray/pe/lib64,
# which need a different CUDA.
LD_LIBRARY_PATH: "/opt/cray/pe/mpich/9.0.1/ofi/nvidia/23.3/lib:/opt/nvidia/hpc_sdk/Linux_x86_64/25.5/cuda/12.9/lib64:/opt/cray/libfabric/2.3.1/lib64"
buildable: false
Loading