Running jobs/fr: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
No edit summary
(Updating to match new version of source page)
Line 335: Line 335:
fi
fi


<div class="mw-translate-fuzzy">
# Resubmit if not all work has been done yet.
# Resubmit if not all work has been done yet.
# You must define the function end_is_not_reached().
# You must define the function end_is_not_reached().
Line 340: Line 341:
     sbatch ${BASH_SOURCE[0]}
     sbatch ${BASH_SOURCE[0]}
fi
fi
</div>


# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
Line 345: Line 347:
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
}}
}}
'''Please note:''' The test to determine whether to submit a followup job, abbreviated as <code>work_should_continue</code> in the above example, should be a ''positive test''. There may be a temptation to test for a stopping condition (e.g. is some convergence criterion met?) and submit a new job if the condition is ''not'' detected. But if some error arises that you didn't foresee, the stopping condition might never be met and your chain of jobs may continue indefinitely, doing nothing useful.


== Autres considérations ==  
== Autres considérations ==  
35,719

edits

Navigation menu