diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp --- a/openmp/runtime/src/kmp_runtime.cpp +++ b/openmp/runtime/src/kmp_runtime.cpp @@ -7315,6 +7315,10 @@ __kmp_init_serial = TRUE; + if (__kmp_version) { + __kmp_print_version_1(); + } + if (__kmp_settings) { __kmp_env_print(); } diff --git a/openmp/runtime/src/kmp_settings.cpp b/openmp/runtime/src/kmp_settings.cpp --- a/openmp/runtime/src/kmp_settings.cpp +++ b/openmp/runtime/src/kmp_settings.cpp @@ -6362,10 +6362,6 @@ #endif /* KMP_AFFINITY_SUPPORTED */ - if (__kmp_version) { - __kmp_print_version_1(); - } - // Post-initialization step: some env. vars need their value's further // processing if (string != NULL) { // kmp_set_defaults() was called