Hello,
I was looking at running one of my existing NextFlow pipelines on an LSF cluster (OpenLava 2.2/3.x), but the current LsfExecutor.groovy seems to generate bsub commands in .command.run that OpenLava 2.2/3.1 doesn't understand.
In particular, it's trying to the set the CWD:
result << '-cwd' << task.workDir.toString()
...but the current versions of OpenLava's bsub don't support it. (It interprets it as a CPULIMIT specifier, the -c flag).
Job <3> is submitted to default queue <normal>.
vs.
bsub -I -cwd "/tmp" "ls /tmp"
wd: Bad CPULIMIT specification. Job not submitted.
The generated script:
#!/bin/bash
#BSUB -cwd /nfs/nextflow/work/4a/544a1111e5ba226fd60be0f9627282
#BSUB -o /nfs/nextflow/work/4a/544a1111e5ba226fd60be0f9627282/.command.log
#BSUB -J nf-startup_(1)
[etc.]
Is there any workaround? (Or am I missing something?)
Thanks,
Andrew