Skip to content

Submission on LSF fails (Sanger cluster) #523

@jan-engelmann

Description

@jan-engelmann

Hello,
thank you for this tool!
Unfortunately, I am not able to run the LSF minimal example.
The documentation was not sufficient to solve the problem myself.

When running:

from psij import Job, JobSpec, JobExecutor

ex = JobExecutor.get_instance("lsf")

spec = JobSpec(executable="/bin/date")
job = Job(spec)

res = ex.submit(job)

I get:

SubmitException: 
Returning output by mail is not supported on this cluster.
Please use the -o option to write output to disk.
Request aborted by esub. Job not submitted.

I think this might be due to hard-coded lines in lsf.mustache

{{!since we redirect the output manually, below, tell LSF not to do its own thing, since it
only results in empty files that are not cleaned up}}
#BSUB -e /dev/null
#BSUB -o /dev/null

I am able to submit the generated script by specifying -o to bsub:

bsub -o output.log genreated_script.sh

Would really appreciate help on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions