Skip to content

Commit

Permalink
Use CHPL_LLVM=system with CHPL_GPU=nvidia on ex test systems (#26308)
Browse files Browse the repository at this point in the history
Changes our test scripts to use CHPL_LLVM=system with CHPL_GPU=nvidia on
ex test systems, since Chapel works with the system LLVM (which is
currently LLVM 19). This should reduce the time spent running CUDA tests
on these systems

[Reviewed by @ShreyasKhandekar]
  • Loading branch information
jabraham17 authored Nov 22, 2024
2 parents ff5ca02 + 8ee1a52 commit fe1dfd4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion util/cron/test-gpu-ex-cuda-12.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source $CWD/common-hpe-cray-ex.bash

module load cudatoolkit # default is CUDA 12

export CHPL_LLVM=bundled # CUDA 12 is only supported with bundled LLVM
export CHPL_LLVM=system
export CHPL_COMM=none
export CHPL_LOCALE_MODEL=gpu
export CHPL_LAUNCHER_PARTITION=griz256
Expand Down
2 changes: 1 addition & 1 deletion util/cron/test-gpu-ex-cuda-12.interop.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module load cuda/12.4 # default is CUDA 12.5
# This can be removed once we use CUDA 12.5
export CHPL_LIB_PATH="/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/math_libs/lib64:$CHPL_LIB_PATH"

export CHPL_LLVM=bundled # Using bundled LLVM since that's safer
export CHPL_LLVM=system
export CHPL_TEST_GPU=true
export CHPL_LAUNCHER_PARTITION=griz256
export CHPL_NIGHTLY_TEST_DIRS="gpu/interop/"
Expand Down
2 changes: 1 addition & 1 deletion util/cron/test-gpu-ex-cuda-12.ofi.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source $CWD/common-hpe-cray-ex.bash

module load cudatoolkit # default is CUDA 12

export CHPL_LLVM=bundled # CUDA 12 is only supported with bundled LLVM
export CHPL_LLVM=system
export CHPL_COMM=ofi
export CHPL_LOCALE_MODEL=gpu
export CHPL_LAUNCHER_PARTITION=griz256
Expand Down
2 changes: 1 addition & 1 deletion util/cron/test-gpu-ex-cuda-12.specialization.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source $CWD/common-hpe-cray-ex.bash

module load cudatoolkit # default is CUDA 12

export CHPL_LLVM=bundled # Using bundled LLVM since that's safer
export CHPL_LLVM=system
export CHPL_COMM=none
export CHPL_LOCALE_MODEL=gpu
export CHPL_LAUNCHER_PARTITION=griz256
Expand Down
2 changes: 1 addition & 1 deletion util/cron/test-perf.gpu-ex-cuda-12.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source $CWD/common-hpe-cray-ex.bash

module load cudatoolkit # default is CUDA 12

export CHPL_LLVM=bundled # Using bundled LLVM since that's safer
export CHPL_LLVM=system
export CHPL_COMM=none
export CHPL_LOCALE_MODEL=gpu
export CHPL_LAUNCHER_PARTITION=griz256
Expand Down
2 changes: 1 addition & 1 deletion util/cron/test-perf.gpu-ex-cuda-12.um.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source $CWD/common-hpe-cray-ex.bash

module load cudatoolkit # default is CUDA 12

export CHPL_LLVM=bundled # Using bundled LLVM since that's safer
export CHPL_LLVM=system
export CHPL_COMM=none
export CHPL_LOCALE_MODEL=gpu
export CHPL_LAUNCHER_PARTITION=griz256
Expand Down

0 comments on commit fe1dfd4

Please sign in to comment.