diff options
-rw-r--r-- | schedule.ccl | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/schedule.ccl b/schedule.ccl index 7ec2378..cafdf4f 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -8,30 +8,43 @@ schedule IOFlexIO_Startup at STARTUP after ( IOUtil_Startup Driver_Startup ) LANG:C } "Startup routine" +schedule IOFlexIO_TerminateGH at CCTK_TERMINATE +{ + LANG:C +} "Closing open IEEEIO files" + ######################################################################## ### register checkpointing routines ######################################################################## -if (checkpoint && checkpoint_ID) { - schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL { +if (checkpoint && checkpoint_ID) +{ + schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL + { LANG:C } "Initial data checkpoint routine" } -if (checkpoint && checkpoint_every > 0) { - schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT { +if (checkpoint && checkpoint_every > 0) +{ + schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT + { LANG:C } "Regular checkpoint routine" } -if (checkpoint) { - schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE { - LANG:C - } "Termination checkpoint routine" -} +#if (checkpoint && checkpoint_every > 0) +#{ +# schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE +# { +# LANG:C +# } "Termination checkpoint routine" +#} -if (! CCTK_Equals (recover, "no") && *recover_file) { - schedule IOFlexIO_RecoverParameters at CCTK_RECOVER_PARAMETERS { +if (! CCTK_Equals (recover, "no") && *recover_file) +{ + schedule IOFlexIO_RecoverParameters at CCTK_RECOVER_PARAMETERS + { LANG:C } "Parameter recovery routine" } |