Tools: check GRIB_OMP_THREADS is defined

This commit is contained in:
Shahram Najm 2021-03-29 16:57:49 +01:00
parent 2fc59e677b
commit 86e98744de
1 changed files with 2 additions and 0 deletions

View File

@ -44,7 +44,9 @@ static void print_debug_info(grib_context* context)
grib_context_log(context, GRIB_LOG_DEBUG, "HAVE_LIBPNG=%d", HAVE_LIBPNG);
grib_context_log(context, GRIB_LOG_DEBUG, "HAVE_AEC=%d", aec);
grib_context_log(context, GRIB_LOG_DEBUG, "HAVE_ECCODES_THREADS=%d", GRIB_PTHREADS);
#ifdef GRIB_OMP_THREADS
grib_context_log(context, GRIB_LOG_DEBUG, "HAVE_ECCODES_OMP_THREADS=%d", GRIB_OMP_THREADS);
#endif
grib_context_log(context, GRIB_LOG_DEBUG, "HAVE_MEMFS=%d", memfs);
}