Skip to content

BUG: run_experiment is broken #15

@JamesOwers

Description

@JamesOwers

but weirdly, my run_experiment script is broken

getopts appears to have changed behaviour

all examples where you want to supply slurm args are wrong, you now need to insert a -- between normal and slurm args to avoid error

e.g.
BAD

run_experiment -b example/slurm_arrayjob.sh -e example/experiments.txt \\
  -m 12 --cpus-per-task=4 --gres=gpu:1 --mem=8000

GOOD

run_experiment -b example/slurm_arrayjob.sh -e example/experiments.txt \\
  -m 12 -- --cpus-per-task=4 --gres=gpu:1 --mem=8000

Update all usage examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions