hw_opt->userGpuTaskAssignment.c_str());
}
-void check_and_update_hw_opt_1(gmx_hw_opt_t *hw_opt,
- const t_commrec *cr,
- int nPmeRanks)
+void check_and_update_hw_opt_1(const gmx::MDLogger &mdlog,
+ gmx_hw_opt_t *hw_opt,
+ const t_commrec *cr,
+ int nPmeRanks)
{
/* Currently hw_opt only contains default settings or settings supplied
* by the user on the command line.
/* Check for OpenMP settings stored in environment variables, which can
* potentially be different on different MPI ranks.
*/
- gmx_omp_nthreads_read_env(&hw_opt->nthreads_omp, SIMMASTER(cr));
+ gmx_omp_nthreads_read_env(mdlog, &hw_opt->nthreads_omp);
/* Check restrictions on the user supplied options before modifying them.
* TODO: Put the user values in a const struct and preserve them.