From cc4f25e77c4030a1d66725cb94e3495fc6d41fde Mon Sep 17 00:00:00 2001 From: Stan Moore Date: Tue, 27 Apr 2021 13:44:27 -0700 Subject: [PATCH] Fix typo in MVAPICH flag for Kokkos CUDA-Aware MPI --- src/KOKKOS/kokkos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KOKKOS/kokkos.cpp b/src/KOKKOS/kokkos.cpp index 3153e9a752..67202612a4 100644 --- a/src/KOKKOS/kokkos.cpp +++ b/src/KOKKOS/kokkos.cpp @@ -266,7 +266,7 @@ KokkosLMP::KokkosLMP(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp) #if defined(MPICH) && defined(MVAPICH2_VERSION) char* str; gpu_aware_flag = 0; - if ((str = getenv("MV2_ENABLE_CUDA"))) + if ((str = getenv("MV2_USE_CUDA"))) if ((strcmp(str,"1") == 0)) gpu_aware_flag = 1;