Skip to content

Commit

Permalink
Write thread count via logging, not cout.
Browse files Browse the repository at this point in the history
Co-authored-by: johnhg <johnhg@ucar.edu>
  • Loading branch information
mo-mglover and JohnHalleyGotway authored Nov 30, 2021
1 parent 7043995 commit dd8d8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/src/tools/core/grid_stat/grid_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ int main(int argc, char *argv[]) {
#pragma omp single
{
// Report number of threads if compiled with OpenMP
std::cout << "Running on " << omp_get_num_threads() << " threads.\n";
mlog << Debug(2) << "Running on " << omp_get_num_threads() << " threads.\n";
}
#endif

Expand Down

0 comments on commit dd8d8df

Please sign in to comment.