File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,11 @@ Upon returning from :code:`SCR_Need_checkpoint`,
271271and it is set to :code: `0 ` otherwise.
272272The call returns the same value in :code: `flag ` on all processes.
273273
274+ Various configuration settings determine the conditions
275+ in which :code: `SCR_Need_checkpoint ` sets :code: `flag ` to 1.
276+ See :code: `SCR_CHECKPOINT_INTERVAL `, :code: `SCR_CHECKPOINT_SECONDS `,
277+ and :code: `SCR_CHECKPOINT_OVERHEAD ` in :ref: `sec-config `.
278+
274279SCR_Start_output
275280^^^^^^^^^^^^^^^^
276281
Original file line number Diff line number Diff line change @@ -3092,15 +3092,6 @@ int SCR_Need_checkpoint(int* flag)
30923092 }
30933093 }
30943094 }
3095-
3096- /* no way to determine whether we need to checkpoint, so always say yes */
3097- if (!* flag &&
3098- scr_checkpoint_interval <= 0 &&
3099- scr_checkpoint_seconds <= 0 &&
3100- scr_checkpoint_overhead <= 0 )
3101- {
3102- * flag = 1 ;
3103- }
31043095 }
31053096
31063097 /* rank 0 broadcasts the decision */
You can’t perform that action at this time.
0 commit comments