Skip to content
Discussion options

You must be logged in to vote

clusterOptions is a process directive so doesn't belong in the executor scope.

Instead in your nextflow.config try:

process {
    clusterOptions = { task.executor == 'lsf' ? '-m "myserver"' : null }
}

executor {
  name = 'lsf'
  //name = 'local'
  perJobMemLimit = true
  queue = 'default'
  memory = '60 GB'
  cpus = 16
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@colindaven
Comment options

Answer selected by colindaven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3358 on November 07, 2022 13:58.