Skip to content
Snippets Groups Projects
Commit 69f9d29b authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Flush stdout before starting to read ICs.

parent cb38bd49
No related branches found
No related tags found
No related merge requests found
...@@ -335,6 +335,8 @@ int main(int argc, char *argv[]) { ...@@ -335,6 +335,8 @@ int main(int argc, char *argv[]) {
char ICfileName[200] = ""; char ICfileName[200] = "";
parser_get_param_string(params, "InitialConditions:file_name", ICfileName); parser_get_param_string(params, "InitialConditions:file_name", ICfileName);
if (myrank == 0) message("Reading ICs from file '%s'", ICfileName); if (myrank == 0) message("Reading ICs from file '%s'", ICfileName);
fflush(stdout);
struct part *parts = NULL; struct part *parts = NULL;
struct gpart *gparts = NULL; struct gpart *gparts = NULL;
size_t Ngas = 0, Ngpart = 0; size_t Ngas = 0, Ngpart = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment