Fix typo in MVAPICH flag for Kokkos CUDA-Aware MPI

This commit is contained in:
Stan Moore
2021-04-27 13:44:27 -07:00
parent 3455172f7d
commit cc4f25e77c

View File

@ -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;