Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
a6fcb3b1
Commit
a6fcb3b1
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Improved greeting message
parent
f1c0f89c
No related branches found
No related tags found
2 merge requests
!310
Star particles and gparts links over MPI
,
!304
Star particle infrastructure
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/main.c
+9
-4
9 additions, 4 deletions
examples/main.c
with
9 additions
and
4 deletions
examples/main.c
+
9
−
4
View file @
a6fcb3b1
...
...
@@ -526,11 +526,16 @@ int main(int argc, char *argv[]) {
/* Get some info to the user. */
if
(
myrank
==
0
)
{
long
long
N_DM
=
N_total
[
1
]
-
N_total
[
2
]
-
N_total
[
0
];
message
(
"Running on %lld gas particles and %lld DM particles from t=%.3e until "
"t=%.3e with %d threads and %d queues (dt_min=%.3e, dt_max=%.3e)..."
,
N_total
[
0
],
N_total
[
1
],
e
.
timeBegin
,
e
.
timeEnd
,
e
.
nr_threads
,
e
.
sched
.
nr_queues
,
e
.
dt_min
,
e
.
dt_max
);
"Running on %lld gas particles, %lld star particles and %lld DM "
"particles (%lld gravity particles)"
,
N_total
[
0
],
N_total
[
2
],
N_total
[
1
]
>
0
?
N_DM
:
0
,
N_total
[
1
]);
message
(
"from t=%.3e until t=%.3e with %d threads and %d queues (dt_min=%.3e, "
"dt_max=%.3e)..."
,
e
.
timeBegin
,
e
.
timeEnd
,
e
.
nr_threads
,
e
.
sched
.
nr_queues
,
e
.
dt_min
,
e
.
dt_max
);
fflush
(
stdout
);
}
...
...
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