Skip to content
Snippets Groups Projects

[WIP] Adaptive output: logger

Closed Loic Hausammann requested to merge logger into master
+ 1508
28
Compare changes
  • Side-by-side
  • Inline
Files
+ 4
4
@@ -419,7 +419,7 @@ int main(int argc, char *argv[]) {
/* Broadcast the parameter file */
MPI_Bcast(params, sizeof(struct swift_params), MPI_BYTE, 0, MPI_COMM_WORLD);
#endif
/* Check that we can write the snapshots by testing if the output
* directory exists and is searchable and writable. */
char basename[PARSER_MAX_LINE_SIZE];
@@ -619,9 +619,9 @@ int main(int argc, char *argv[]) {
if (myrank == 0) clocks_gettime(&tic);
struct engine e;
engine_init(&e, &s, params, nr_nodes, myrank, nr_threads, N_total[0],
N_total[1], with_aff, engine_policies, talking, &reparttype, &us,
&prog_const, &hydro_properties, &gravity_properties, &potential,
&cooling_func, &sourceterms);
N_total[1], with_aff, engine_policies, talking, &reparttype,
&us, &prog_const, &hydro_properties, &gravity_properties,
&potential, &cooling_func, &sourceterms);
if (myrank == 0) {
clocks_gettime(&toc);
message("engine_init took %.3f %s.", clocks_diff(&tic, &toc),
Loading