From: Berk Hess Date: Sun, 21 Jun 2015 06:17:21 +0000 (+0200) Subject: Avoid GPU selection with GPU emulation X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=ef0530a575ac74fe7f3e7d35e38c733136d17c0b;p=alexxy%2Fgromacs.git Avoid GPU selection with GPU emulation Change-Id: Iee5949fa11419b0c1344edb6c85ab475baa77719 --- 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);