From 69f9d29bc3e9f3b7b5b4787d197f5375268b848a Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 27 Aug 2016 14:25:23 +0100 Subject: [PATCH] Flush stdout before starting to read ICs. --- examples/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/main.c b/examples/main.c index 7dcfee8547..c2d3e3b8b9 100644 --- a/examples/main.c +++ b/examples/main.c @@ -335,6 +335,8 @@ int main(int argc, char *argv[]) { char ICfileName[200] = ""; parser_get_param_string(params, "InitialConditions:file_name", ICfileName); if (myrank == 0) message("Reading ICs from file '%s'", ICfileName); + fflush(stdout); + struct part *parts = NULL; struct gpart *gparts = NULL; size_t Ngas = 0, Ngpart = 0; -- GitLab