| Summary: | Possibility to define multiple partitions in S*_PARTITION environment variables | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | CSC sysadmins <csc-slurm-tickets> |
| Component: | Configuration | Assignee: | Brian Christiansen <brian> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | CC: | brian, da |
| Version: | 14.03.9 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | CSC - IT Center for Science | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 14.11.0 15.08.0pre1 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
CSC sysadmins
2014-10-22 21:09:09 MDT
This is fixed in the following commit: https://github.com/SchedMD/slurm/commit/46c8fb7a86d2ebfc95faa06e00ca23d9eb16be78 The following is example output: compy$ SINFO_PARTITION=debug1 sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug1 up infinite 2 idle compy[1-2] compy$ SINFO_PARTITION=debug1,debug3 sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug1 up infinite 2 idle compy[1-2] debug3 up infinite 2 idle compy[5-6] compy$ SINFO_PARTITION=debug1,debug3 sinfo -p debug PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug* up infinite 10 idle compy[1-10] compy$ SINFO_PARTITION=debug1,debug3 sinfo -p debug,debug2 PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug* up infinite 10 idle compy[1-10] debug2 up infinite 2 idle compy[3-4] compy$ SINFO_PARTITION=debug1,debug3 sinfo -p debug,debug2 -a PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug* up infinite 10 idle compy[1-10] debug1 up infinite 2 idle compy[1-2] debug2 up infinite 2 idle compy[3-4] debug3 up infinite 2 idle compy[5-6] hidden up infinite 2 idle compy[5-6] Updated commit to make -a and -p overwrite environment variables but not override each other on the command line. https://github.com/SchedMD/slurm/commit/e58bb7c573ee833935b9f51289e987d3ec3cee12 ex. brian@compy:~/slurm/14.11/compy$ SINFO_PARTITION=debug1 SINFO_ALL=1 sinfo sinfo: error: Conflicting options, SINFO_ALL and SINFO_PARTITION, specified. Please choose one or the other. brian@compy:~/slurm/14.11/compy$ SINFO_PARTITION=debug1 sinfo -a PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug* up infinite 10 idle compy[1-10] debug1 up infinite 2 idle compy[1-2] debug2 up infinite 2 idle compy[3-4] debug3 up infinite 2 idle compy[5-6] hidden up infinite 2 idle compy[5-6] brian@compy:~/slurm/14.11/compy$ SINFO_PARTITION=debug1 sinfo -p debug2,debug3 PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug2 up infinite 2 idle compy[3-4] debug3 up infinite 2 idle compy[5-6] brian@compy:~/slurm/14.11/compy$ SINFO_PARTITION=debug1 sinfo -p debug2,debug3 -a sinfo: error: Conflicting options, -a and -p, specified. Please choose one or the other. brian@compy:~/slurm/14.11/compy$ SINFO_ALL=1 sinfo -p debug2 PARTITION AVAIL TIMELIMIT NODES STATE NODELIST debug2 up infinite 2 idle compy[3-4] |