Skip to content

Commit e36cc8f

Browse files
committed
feat(toolchain-elpa): add nvidia-cub and cusolver flag for elpa-gpu
1 parent ce8d0d4 commit e36cc8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

toolchain/scripts/stage3/install_elpa.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ case "$with_elpa" in
141141
--with-cuda-path=${CUDA_PATH:-${CUDA_HOME:-/CUDA_HOME-notset}} \
142142
--enable-nvidia-gpu-kernels=$([ "$TARGET" = "nvidia" ] && echo "yes" || echo "no") \
143143
--with-NVIDIA-GPU-compute-capability=$([ "$TARGET" = "nvidia" ] && echo "sm_$ARCH_NUM" || echo "sm_70") \
144+
--enable-nvidia-cub --with-cusolver \
144145
OMPI_MCA_plm_rsh_agent=/bin/false \
145146
FC=${MPIFC} \
146147
CC=${MPICC} \
@@ -172,6 +173,7 @@ case "$with_elpa" in
172173
--enable-nvidia-gpu-kernels=$([ "$TARGET" = "nvidia" ] && echo "yes" || echo "no") \
173174
--with-cuda-path=${CUDA_PATH:-${CUDA_HOME:-/CUDA_HOME-notset}} \
174175
--with-NVIDIA-GPU-compute-capability=$([ "$TARGET" = "nvidia" ] && echo "sm_$ARCH_NUM" || echo "sm_70") \
176+
--enable-nvidia-cub --with-cusolver \
175177
FC=${MPIFC} \
176178
CC=${MPICC} \
177179
CXX=${MPICXX} \

0 commit comments

Comments
 (0)