| Summary: | Can't shrink a running job that used --nodes=minnodes-maxnodes | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Felix Abecassis <fabecassis> |
| Component: | Scheduling | Assignee: | Scott Hilton <shilton> |
| Status: | RESOLVED FIXED | QA Contact: | Danny Auble <dauble> |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | jbernauer, jblomqvist, lyeager |
| Version: | 20.11.8 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | NVIDIA (PSLA) | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | 21.08.2 22.05.0pre1 | |
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
Felix Abecassis
2021-08-09 20:53:40 MDT
Note that if there is another solution to this problem that doesn't require shrinking the job at runtime, then it would be even better. This does seem like a but to me. One other option available to you might be the use of constraint with a count. $ salloc --constraint="[css*4|css*2]" salloc: Granted job allocation 5137 $ echo $SLURM_JOB_NODELIST n[1-4] This requires you to specify "Feature=css" on each node in your slurm.conf. https://slurm.schedmd.com/sbatch.html#OPT_cluster-constraint I will have our engineering team look into the possible bug here. Jason, unfortunately we can't use that as we also use the new node_features/helper plugin (that we contributed), but a known limitation is that it can't support all the operators of the constraints DSL, see https://bugs.schedmd.com/show_bug.cgi?id=12286 Felix, We found and fixed the bug and it should be in 21.08.2. See commit 369502dfe8. -Scott |