std::stringon_success;//!< The profile to execute if it matches
std::stringon_failure;//!< The profile to execute if it does not match
std::stringon_timeout;//!< The profile to execute if no message is in the buffer (i.e. the scheduler has not answered in time). Can be omitted which will result that the job will wait until its walltime is reached.
doublepolltime;//!< The time to sleep between polling if on_timeout is not set.
xbt_assert(false,"Can only change the state of a running job to completed (successfully, failed, and killed)");
xbt_assert(false,"Can only change the state of a running job to completed (successfully, failed, and killed). State was %s",job_state_to_string(job->state).c_str());
}
break;
default:
xbt_assert(false,"Can only change the state of a submitted or running job.");
xbt_assert(false,"Can only change the state of a submitted or running job. State was %s",job_state_to_string(job->state).c_str());