From 9cf11251caabfd24c048b2857a1a07064bd3c4a7 Mon Sep 17 00:00:00 2001 From: Jean-Luc Fattebert Date: Mon, 16 Oct 2023 15:32:20 -0400 Subject: [PATCH] Update to use latest ELPA library version --- scripts/build_olcf_summit_gnu_elpa_essl.sh | 2 +- .../distributed2d/bml_diagonalize_distributed2d_typed.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_olcf_summit_gnu_elpa_essl.sh b/scripts/build_olcf_summit_gnu_elpa_essl.sh index 182fade14..f2805cfb7 100755 --- a/scripts/build_olcf_summit_gnu_elpa_essl.sh +++ b/scripts/build_olcf_summit_gnu_elpa_essl.sh @@ -37,7 +37,7 @@ export SCALAPACK_LIBRARIES=${SCALAPACK_LIBRARIES:="-L$OLCF_NETLIB_SCALAPACK_ROOT export BML_CUDA=${BML_CUDA:=yes} export BML_ELPA=${BML_ELPA:=yes} -export ELPA_DIR=${ELPA_DIR:=/ccs/proj/csc304/elpa} +export ELPA_DIR=${ELPA_DIR:=/ccs/proj/csc304/elpa/nvidia-gcc} export EXTRA_LINK_FLAGS=${EXTRA_LINK_FLAGS:="-lgfortran"} #use jsrun to run tests on a compute node diff --git a/src/C-interface/distributed2d/bml_diagonalize_distributed2d_typed.c b/src/C-interface/distributed2d/bml_diagonalize_distributed2d_typed.c index bf2fa1207..0785fcd42 100644 --- a/src/C-interface/distributed2d/bml_diagonalize_distributed2d_typed.c +++ b/src/C-interface/distributed2d/bml_diagonalize_distributed2d_typed.c @@ -380,7 +380,7 @@ void TYPED_FUNC( elpa_set(handle, "solver", ELPA_SOLVER_2STAGE, &error_elpa); assert(error_elpa == ELPA_OK); - elpa_set(handle, "gpu", 1, &error_elpa); + elpa_set(handle, "nvidia-gpu", 1, &error_elpa); assert(error_elpa == ELPA_OK); bml_matrix_t *Alocal = A->matrix;