#endif
/* inform the user about the settings */
- if (SIMMASTER(cr) && bOMP)
+ if (bOMP)
{
#ifdef GMX_THREAD_MPI
const char *mpi_str="per tMPI thread";
/* for group scheme we print PME threads info only */
if (bFullOmpSupport)
{
- fprintf(stderr, "Using %d OpenMP thread%s %s\n",
- modth.gnth,modth.gnth > 1 ? "s" : "",
- cr->nnodes > 1 ? mpi_str : "");
+ md_print_info(cr, fplog, "Using %d OpenMP thread%s %s\n",
+ modth.gnth,modth.gnth > 1 ? "s" : "",
+ cr->nnodes > 1 ? mpi_str : "");
}
if (bSepPME && modth.gnth_pme != modth.gnth)
{
- fprintf(stderr, "Using %d OpenMP thread%s %s for PME\n",
- modth.gnth_pme,modth.gnth_pme > 1 ? "s" : "",
- cr->nnodes > 1 ? mpi_str : "");
+ md_print_info(cr, fplog, "Using %d OpenMP thread%s %s for PME\n",
+ modth.gnth_pme,modth.gnth_pme > 1 ? "s" : "",
+ cr->nnodes > 1 ? mpi_str : "");
}
}