christopherwharrop / rocoto

Rocoto Workflow Management System
Apache License 2.0
21 stars 16 forks source link

Fix bug with SLURM if scontrol gives unexpected results #14

Closed travissluka closed 6 years ago

travissluka commented 6 years ago

In trying to get rocoto working on the University of Maryland supercomputer (which uses SLURM), I found that the scripts were breaking because "scontrol show job" was giving unparsable output. In particular, some of the unused key/value pairs had no value, e.g the last line of the output from "scontrol show job" for us shows "Power=", which the ruby script couldn't handle. I've modified so that keys without a value are handled.

This should address the issues Steve Penny had when trying to get it working on UMD's computer.

christopherwharrop commented 6 years ago

Thank you for the bug fix!