-
Notifications
You must be signed in to change notification settings - Fork 42
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
flux errors when parameters contain spaces #450
Comments
@aowen87 you could probbly use You can pass a list of the labels to use so you could do that as well and it wolud look nicer. @jwhite242 any suggestion? |
I have a temporary workaround by filling the spaces with underscores and then removing them right before they're used. It's a little clunky, but it gets us moving. |
Is that comment on the nested key actually correct? very odd that that would fix something like this as this seems like a more general parameter sanitizing issue that should break all schedulers (honestly still not sure what the point of using nested=false is given how resources get counted by flux when you turn it of..). I'll start working on a patch for that to auto replace spaces with underscores when making both the scripts and the workspace paths. I also definitely recommend charles' suggestion to make a more human friendly id string to put in the labels as double dashes are gross in paths. (similarly, slashes will get underscored so paths as parameter values don't cause other unhelpful side effects) |
It seemed to have fixed it in one of my runs, but I didn't spend much time verifying that. I thought it might be a useful observation. Thanks for jumping this! |
When doing a parameter sweep, we sometimes are sweeping over variables that contain spaces. Maestro will then create launch scripts that contain spaces in them, but it generally handles this just fine. On flux, this falls apart, and Maestro complains that it can't find the file.
Below is a simple reproducer that can be run with the following command on a flux machine:
foo.yaml
pgen.py
The text was updated successfully, but these errors were encountered: