summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/CactusDefaultShutdown.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main/CactusDefaultShutdown.c b/src/main/CactusDefaultShutdown.c
index f04b87ec..422842cd 100644
--- a/src/main/CactusDefaultShutdown.c
+++ b/src/main/CactusDefaultShutdown.c
@@ -79,6 +79,10 @@ int CactusDefaultShutdown(tFleshConfig *config)
{
CCTK_Traverse(config->GH[conv_level], "CCTK_SHUTDOWN");
}
+
+ printf("--------------------------------------------------------------------------------\n");
+ printf("Done.\n");
+ fflush(stdout);
#ifdef CCTK_MPI
if(MPI_Active)
@@ -87,11 +91,5 @@ int CactusDefaultShutdown(tFleshConfig *config)
}
#endif
- if(myproc == 0)
- {
- printf("--------------------------------------------------------------------------------\n");
- printf("Done.\n");
- }
-
return 0;
}