Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDC
cats
Commits
c5a50603
Commit
c5a50603
authored
Dec 21, 2022
by
Andreas Gattringer
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cats/cats.c
+3
-2
3 additions, 2 deletions
src/cats/cats.c
with
3 additions
and
2 deletions
src/cats/cats.c
+
3
−
2
View file @
c5a50603
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment