{
int npppn;
char th_or_proc[STRLEN], th_or_proc_plural[STRLEN], pernode[STRLEN];
- gmx_bool btMPI, bMPI, bMaxMpiThreadsSet, bNthreadsAuto, bEmulateGPU;
+ gmx_bool btMPI, bMPI, bNthreadsAuto, bEmulateGPU;
assert(hwinfo);
assert(cr);
/* GPU emulation detection is done later, but we need here as well
* -- uncool, but there's no elegant workaround */
bEmulateGPU = (getenv("GMX_EMULATE_GPU") != NULL);
- bMaxMpiThreadsSet = (getenv("GMX_MAX_MPI_THREADS") != NULL);
if (hwinfo->gpu_info.n_dev_compatible > 0)
{
could automatically start. */
gmx_fatal(FARGS,
"%d GPU%s provided, but only %d PP thread-MPI thread%s coud be started.\n"
- "%s requires one PP tread-MPI thread per GPU; use fewer GPUs%s.",
+ "%s requires one PP tread-MPI thread per GPU; use fewer GPUs.",
ngpu_use, gpu_use_plural,
npppn, th_or_proc_plural,
- ShortProgram(), bMaxMpiThreadsSet ? "\nor allow more threads to be used" : "");
+ ShortProgram());
}
if (!hw_opt->gpu_opt.bUserSet && npppn < ngpu_comp)
limited the number GPUs used. */
md_print_warn(cr, fplog,
"NOTE: %d GPU%s were detected, but only %d PP thread-MPI thread%s can be started.\n"
- " %s can use one GPU per PP tread-MPI thread, so only %d GPU%s will be used.%s\n",
+ " %s can use one GPU per PP tread-MPI thread, so only %d GPU%s will be used.\n",
ngpu_comp, gpu_comp_plural,
npppn, th_or_proc_plural,
ShortProgram(), npppn,
- npppn > 1 ? "s" : "",
- bMaxMpiThreadsSet ? "\n Also, you can allow more threads to be used by increasing GMX_MAX_MPI_THREADS" : "");
+ npppn > 1 ? "s" : "");
}
}