Skip to content
Snippets Groups Projects
Commit c5a50603 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

defer printing of run time information to after logging initialisation

parent b25b4153
No related branches found
No related tags found
No related merge requests found
...@@ -80,10 +80,11 @@ int main(int argc, char **argv) ...@@ -80,10 +80,11 @@ int main(int argc, char **argv)
#ifdef USEMPI #ifdef USEMPI
mpi_init(argc, argv); mpi_init(argc, argv);
#endif #endif
print_version_info();
print_runtime_information(argc, argv);
struct program_options options = check_cats_main_arguments(argc, argv); struct program_options options = check_cats_main_arguments(argc, argv);
logging_initialize(options.default_log_level, &global.time_info, options.log_file, options.quiet); logging_initialize(options.default_log_level, &global.time_info, options.log_file, options.quiet);
print_version_info();
print_runtime_information(argc, argv);
#ifdef USEMPI #ifdef USEMPI
mpi_update(); mpi_update();
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment