Skip to content

Commit

Permalink
fix delta
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Wilfong committed Oct 10, 2024
1 parent 75f5e3b commit d67598c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion toolchain/modules
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ f-gpu craype-accel-amd-gfx90a
d NCSA Delta
d-all python/3.11.6
d-cpu gcc/11.4.0 openmpi
d-gpu nvhpc/22.11 openmpi+cuda/4.1.5+cuda cmake
d-gpu nvhpc/24.1 cuda/12.3.0 openmpi/4.1.5+cuda cmake
d-gpu CC=nvc CXX=nvc++ FC=nvfortran

c DoD Carpenter
Expand Down
4 changes: 2 additions & 2 deletions toolchain/templates/delta.mako
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cd - > /dev/null
echo

# Fixes Delta not being able to find core library file
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sw/spack/deltas11-2023-03/apps/linux-rhel8-zen3/nvhpc-22.11/openmpi-4.1.5-nzb4n4r/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sw/spack/deltas11-2023-03/apps/linux-rhel8-zen3/nvhpc-24.1/openmpi-4.1.5-zkiklxi/lib/

% for target in targets:
${helpers.run_prologue(target)}
Expand All @@ -46,7 +46,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sw/spack/deltas11-2023-03/apps/linux-rh
(set -x; ${profiler} "${target.get_install_binpath(case)}")
% else:
(set -x; ${profiler} \
mpirun -np ${nodes*tasks_per_node} \
srun --ntasks ${nodes*tasks_per_node} \
${' '.join([f"'{x}'" for x in ARG('--') ])} \
"${target.get_install_binpath(case)}")
% endif
Expand Down

0 comments on commit d67598c

Please sign in to comment.