ENH: Allow global scaling of fsl_sub runtimes
fsl:exec
may pass a command and estimated runtime to fsl_sub
; the estimated runtime will affect which queue the command is scheduled on. If the estimated runtime (specified by the calling code) is incorrect, the command may be scheduled on an inappropriate queue, and killed prematurely.
Although the ( crudely ) estimated run-times in ( e.g. ) the feat
master script works in 99% of cases. For the 1% where they don't no simple solution exists to override the estimated run-time, short of modifying the script. This change introduces a new environment variable, FSL_QUEUE_TIME_SCALE
, which if present will multiply all run-times passed into fsl:exec
.
( see https://git.fmrib.ox.ac.uk/fsl/feat5/-/blob/master/feat#L584 for flameo )
e.g. if flameo subjobs are timing out ( usually the central slices ) then the estimated run-time needs to be increased for all slices for FEAT to run automatically.