OSC / ood_core

Open OnDemand core library
https://osc.github.io/ood_core/
MIT License
9 stars 25 forks source link

slurm won't execute an open file #802

Open johrstrom opened 1 year ago

johrstrom commented 1 year ago

We've just been alerted to an issue where the script.sh script hasn't been written completely or at least the file handle to write it is still open and slurm wont execute it.

So ... slurm will not execute this entry because something still has an open write to it and we haven't flushed the cache completely. https://github.com/OSC/ood_core/blob/531a1f3c876c729bfc2958344d503c5526b22e9d/lib/ood_core/batch_connect/template.rb#L299

┆Issue is synchronized with this Asana task by Unito