This section of the forum is no longer actively monitored. We are working on a support migration plan that we will share here shortly. Apologies for this inconvenience.
Test for job failure
I wrote an LSF backend and my WDL task is using more memory than I requested from LSF (from within a task) and so LSF kills the job. The problem is that the 'job' is the 'script' written by cromwell and the 'rc' file cannot be written since LSF kills the job.
In this case cromwell cannot detect job failure and so hangs forever. How do I integrate LSF such that cromwell can detect job failure? If LSF submits the script and the 'rc' file is only written from within the script then it can never be written if LSF kills the job.