Skip to content

Invalid parameter partition error when running on other slurm clusters #254

@Lola-W

Description

@Lola-W

Hi team,

I'm trying to adapt the pipeline for our use on the TSCC cluster here at UCSD, which also uses SLURM. And I encountered a configuration error indicates that our partition is not in the allowed list:

ERROR ~ Unable to parse config file: 'template.config'
 Invalid parameter partition. Valid values: [F16, F32, F72, F72_3TB]. 

The error seems to came from a schema validation that restricts the partition parameter to a specific list ([F16, F32, F72, F72_3TB]), while our cluster uses different partition names, such as condo.

I modified the template.config :

partition = 'F72'

as below

params {
    partition = 'condo'
    clusterOptions = '-N 1 -t 24:00:00 -q condo -A ourAccount --output=./log/slurm-%j.out'
}

and ran with nextflow run main.nf -c template.config in an interactive console.

I'm wondering what the recommended approach is for overriding the partition schema for different SLURM clusters. I also searched the codebase to understand where the [F16, ...] list was defined but couldn't immediately locate it. Any guidance on better configuring this pipeline would be greatly appreciated. Thank you for your help!

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