CODARcode / cheetah

CODAR Experiment Harness
Other
7 stars 6 forks source link

status reports NOT STARTED when jobs have been canceled befire running #212

Open chuckatkins opened 4 years ago

chuckatkins commented 4 years ago

Related to #205

After jobs are submitted but before they run then cheetah reports the status as "NOT STARTED". If the job is then canceled before starting then cheetah continues to report "NOT STARTED" and never reaches the "DONE" state.

mw70 commented 4 years ago

Could you clarify? Are you talking about the status of the cheetah process, or the status of one of the runs/experiments inside the sweep group that cheetah created? If it's the experiment, DONE doesn't seem to be the correct status for what you're reporting here. You defined an experiment in the sweep group, and then you canceled the execution of that particular experiment at some time. Since Cheetah offers the chance to rerun sweep groups to complete a campaign if you ran out of time, etc., marking a not-yet-run instance as DONE when it just hasn't run yet would cause problems.