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
d3c8ed02
Commit
d3c8ed02
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
4-digits node number everywhere and doxygen documentation fix.
parent
231eb533
No related branches found
No related tags found
2 merge requests
!136
Master
,
!107
Code timing and verbosity
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/engine.c
+4
-3
4 additions, 3 deletions
src/engine.c
with
4 additions
and
3 deletions
src/engine.c
+
4
−
3
View file @
d3c8ed02
...
...
@@ -1170,7 +1170,7 @@ void engine_print(struct engine *e) {
else
counts
[
task_type_count
]
+=
1
;
#ifdef WITH_MPI
printf
(
"[%0
3
i] %s engine_print: task counts are [ %s=%i"
,
e
->
nodeID
,
printf
(
"[%0
4
i] %s engine_print: task counts are [ %s=%i"
,
e
->
nodeID
,
clocks_get_timeofday
(),
taskID_names
[
0
],
counts
[
0
]);
#else
printf
(
"%s engine_print: task counts are [ %s=%i"
,
clocks_get_timeofday
(),
...
...
@@ -1831,6 +1831,7 @@ static bool hyperthreads_present(void) {
* @param timeEnd Time at the end of the simulation.
* @param dt_min Minimal allowed timestep (unsed with fixdt policy)
* @param dt_max Maximal allowed timestep
* @param verbose Is this #engine talkative ?
*/
void
engine_init
(
struct
engine
*
e
,
struct
space
*
s
,
float
dt
,
int
nr_threads
,
...
...
@@ -1927,7 +1928,7 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads,
if
(
nodeID
==
0
)
{
#ifdef WITH_MPI
printf
(
"[%0
3
i] %s engine_init: cpu map is [ "
,
nodeID
,
printf
(
"[%0
4
i] %s engine_init: cpu map is [ "
,
nodeID
,
clocks_get_timeofday
());
#else
printf
(
"%s engine_init: cpu map is [ "
,
clocks_get_timeofday
());
...
...
@@ -2106,7 +2107,7 @@ void engine_print_policy(struct engine *e) {
#ifdef WITH_MPI
if
(
e
->
nodeID
==
0
)
{
printf
(
"[000] %s engine_policy: engine policies are [ "
,
printf
(
"[000
0
] %s engine_policy: engine policies are [ "
,
clocks_get_timeofday
());
for
(
int
k
=
1
;
k
<
32
;
k
++
)
if
(
e
->
policy
&
(
1
<<
k
))
printf
(
" %s "
,
engine_policy_names
[
k
+
1
]);
...
...
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