From ef0530a575ac74fe7f3e7d35e38c733136d17c0b Mon Sep 17 00:00:00 2001 From: Berk Hess Date: Sun, 21 Jun 2015 08:17:21 +0200 Subject: [PATCH] Avoid GPU selection with GPU emulation Change-Id: Iee5949fa11419b0c1344edb6c85ab475baa77719 --- src/gromacs/gmxlib/gmx_detect_hardware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxlib/gmx_detect_hardware.cpp b/src/gromacs/gmxlib/gmx_detect_hardware.cpp index 249ad4d3d6..711e83e674 100644 --- a/src/gromacs/gmxlib/gmx_detect_hardware.cpp +++ b/src/gromacs/gmxlib/gmx_detect_hardware.cpp @@ -1138,7 +1138,7 @@ void gmx_select_gpu_ids(FILE *fplog, const t_commrec *cr, sfree(checkres); } - else + else if (getenv("GMX_EMULATE_GPU") == NULL) { pick_compatible_gpus(&hwinfo_g->gpu_info, gpu_opt); set_gpu_ids(gpu_opt, cr->nrank_pp_intranode, cr->rank_pp_intranode); -- 2.22.0