Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad job name on LSF (too long, special chars?) #134

Closed
colindaven opened this issue Jun 2, 2023 · 3 comments
Closed

Bad job name on LSF (too long, special chars?) #134

colindaven opened this issue Jun 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@colindaven
Copy link

colindaven commented Jun 2, 2023

Description of the bug

Thanks for this nice pipeline, which is a valuable addition for RNA-seq.

It looks like the LSF scheduler does not like either the length of the job name, or the special characters in the job name

Local job submission works, just not LSF.

Command used and terminal output

[de/097cc9] Submitted process > NFCORE_DIFFERENTIALABUNDANCE:DIFFERENTIALABUNDANCE:VALIDATOR (samplesheet1.csv)
Error executing process > 'NFCORE_DIFFERENTIALABUNDANCE:DIFFERENTIALABUNDANCE:CUSTOM_MATRIXFILTER ([id:study])'

Caused by:
  Failed to submit process to grid scheduler for execution

Command executed [/mnt/path/nfcore_diffabund/nf-core-differentialabundance-1.2.0/workflow/./workflows/../modules/nf-core/custom/matrixfilter/templates/matrixfilter.R]:

  bsub

Command exit status:
  255

Command output:
  Bad job name. Job not submitted.

Relevant files

No response

System information

Local LSF HPC using singularity. Local job submission works, just not LSF.

Diff Abund ver 1.2.0.

@pinin4fjords
Copy link
Member

Thanks for the report, and for raising this. I feel like it's non-specific to this workflow though, and rather an issue with the Nextflow/ LSF interface (thank you for raising the other issue), so closing here.

@BEFH
Copy link

BEFH commented Mar 8, 2024

This is somewhat specific to this workflow. The issue is not the length of the job name but the fact that it has square brackets in the name, which is reserved for job arrays. I have a pull request here in Nextflow that will fix the issue:

nextflow-io/nextflow#4799

However, it is probably bad practice to use square brackets.

@BEFH
Copy link

BEFH commented Mar 10, 2024

My pull request that fixes this has been merged into the Nextflow repo and should be in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants