will relaunch the job with status 'C' if the calculation is not complete successfully
but overall, this only works for PBS system, so more comprehensive solution is needed in the future.