Skip to content

--slurm-extra-param: expected one argument #202

@OrangeyO2

Description

@OrangeyO2

Hello

I am trying to run the pipeline in a hpc cluster setting and I want to pass some extra parameters to sbatch.
My command is
caper hpc submit ...
--slurm-extra-param " --mail-type=END --mail-type=FAIL --mail-user=email@address"

As per previous issue #27 I included a space in front of the first dash inside the double quotes.

The command works fine without the --slurm-extra-param but as soon as I include that last bit, I instantly get an error with the usage listed as well as the "expected one argument" error.

usage: caper run [-h] [-c CONF] [-D]
...
caper run: error: argument --slurm-extra-param: expected one argument

It would be great if I could get some help on this, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions