diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-05-10 13:05:32 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-05-10 13:05:32 +0000 |
commit | 1dc241f1e6076c49be1a12f3097bb4b78f844d30 (patch) | |
tree | b8635f02de951c4566c2f6da93a57be23d6e7525 /schedule.ccl | |
parent | f5cd4be2537a978c11b22085deb63e1f93d91047 (diff) |
Schedule IOFlexIO_TerminateGH() at CCTK_TERMINATE.
Temporarily deschedule IOFlexIO_TerminationDumpGH() until the global Cactus
termination flag is broadcasted to all processors.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@121 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'schedule.ccl')
-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" } |