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

BUG: run_experiment is broken #15

Open
JamesOwers opened this issue Jul 22, 2020 · 0 comments
Open

BUG: run_experiment is broken #15

JamesOwers opened this issue Jul 22, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@JamesOwers
Copy link
Owner

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

@JamesOwers JamesOwers added the bug Something isn't working label Jul 22, 2020
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

1 participant