OnRampOrg / onramp

OnRamp to Parallel Computing - an educational web portal for learning to use parallel systems.
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Need to be able to catch when there is an error in launching a job #103

Open ssfoley opened 8 years ago

ssfoley commented 8 years ago

An ill-formed or empty batchscript should result in some kind of error for the user.

Expected Behavior

We should get something like schedule failed (-3).

Current Behavior

Nothing happens. The job stays in the preprocessing (2) state.

Possible Solution

Look into how the schedule failed state is caught and how to catch errors from schedulers. If this is hard, maybe a timeout that is triggered if the job isn't in a queued, running, completed, or error state.

Steps to Reproduce (for bugs)

  1. create a broken batchscript to see how it breaks and how it can be caught manually
  2. have OnRamp generate the broken batchscript
  3. launch a job that will create a broken batchscript and try to run it 4.

    Context

Your Environment

┆Issue is synchronized with this Asana task