-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current predict output is very informative, but not super useful as input to sbatch. A user would have to capture the output, parse out the time and memory, then make their own sbatch command. Some options I'm thinking about:
- Set an environment variable to hold the sbatch options. Then the user would invoke like
sbatch $SLURMISE_ESTIMATES script.sbatch
- Set two variables, one for time and one for memory
- Add a parsable option to output
TIME|MEMORY
or similar to simplify extracting with a bash-ism
Overall, it feels a little clunky to have to determine which command will run, predict the resources, then submit the command. Maybe including an example of dynamically building the sbatch script or something in the readme will be helpful as well.
Metadata
Metadata
Assignees
Labels
No labels