
Ugh, tough one! For system level checkpoint this should work in Suspended state as well, but not for application level CP obviously. But we don't distinguish between them... And what state is the job if it resumes? Safest might be to not allow CP in suspended state then, as semantics is difficult to nail down for the various backends? Andre Quoting [Ceriel Jacobs] (Dec 14 2007):
From: Ceriel Jacobs <ceriel@cs.vu.nl> To: Andre Merzky <andre@merzky.net> CC: Thilo Kielmann <kielmann@cs.vu.nl>, Shantenu Jha <sjha@cct.lsu.edu>, Hartmut Kaiser <hartmut.kaiser@gmail.com>, SAGA RG <saga-rg@ogf.org> Subject: Re: spec
Hi,
here is another glitch:
the Job.checkpoint method has as Pre and Post conditions that the Job is in Running state. However, the Notes say that an IncorrectState exception is thrown when the job is not in Running or Suspended state. Can you checkpoint a job in suspended state?
Ceriel
-- No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced.