Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
e2fa7aee
Commit
e2fa7aee
authored
Nov 02, 2019
by
Matthieu Schaller
Browse files
Do not let the synchronization work over MPI. Print the limiter parameters on startup
parent
95acd968
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
e2fa7aee
...
...
@@ -560,6 +560,8 @@ int main(int argc, char *argv[]) {
error
(
"Cannot reconstruct m-poles every step over MPI (yet)."
);
if
(
with_timestep_limiter
)
error
(
"Can't run with time-step limiter over MPI (yet)"
);
if
(
with_timestep_sync
)
error
(
"Can't run with time-step synchronization over MPI (yet)"
);
#ifdef WITH_LOGGER
error
(
"Can't run with the particle logger over MPI (yet)"
);
#endif
...
...
src/engine_marktasks.c
View file @
e2fa7aee
...
...
@@ -978,8 +978,6 @@ int engine_marktasks(struct engine *e) {
const
ticks
tic
=
getticks
();
int
rebuild_space
=
0
;
message
(
"MARKTASKS"
);
/* Run through the tasks and mark as skip or not. */
size_t
extra_data
[
3
]
=
{(
size_t
)
e
,
(
size_t
)
rebuild_space
,
(
size_t
)
&
e
->
sched
};
threadpool_map
(
&
e
->
threadpool
,
engine_marktasks_mapper
,
s
->
tasks
,
s
->
nr_tasks
,
...
...
src/hydro_properties.c
View file @
e2fa7aee
...
...
@@ -225,6 +225,9 @@ void hydro_props_print(const struct hydro_props *p) {
if
(
p
->
h_max
!=
hydro_props_default_h_max
)
message
(
"Maximal smoothing length allowed: %.4f"
,
p
->
h_max
);
message
(
"Maximal time-bin difference between neighbours: %d"
,
time_bin_neighbour_max_delta_bin
);
if
(
p
->
max_smoothing_iterations
!=
hydro_props_default_max_iterations
)
message
(
"Maximal iterations in ghost task set to %d (default is %d)"
,
p
->
max_smoothing_iterations
,
hydro_props_default_max_iterations
);
...
...
@@ -293,6 +296,9 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) {
p
->
hydrogen_mass_fraction
);
io_write_attribute_f
(
h_grpsph
,
"Hydrogen ionization transition temperature"
,
p
->
hydrogen_ionization_temperature
);
io_write_attribute_i
(
h_grpsph
,
"Maximal time-bin difference between neighbours"
,
time_bin_neighbour_max_delta_bin
);
/* Write out the implementation-dependent viscosity parameters
* (see hydro/SCHEME/hydro_parameters.h for this implementation) */
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment