Commit c6f6658
authored
feat: Set tmpspace with help of gres="tmpspace:10G" syntax (#444)
Set tmpspace with help of gres="tmpspace:10G" syntax
This is probably useful for only a few clusters [1], so the regex for
the tmpspace is limited to tmpspace only.
[1] at least on "UMC utrecht HPC" system
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* GRES specifications now accept optional size unit postfixes (T, G, M)
appended to numeric values, e.g., gpu:10G or tmpspace:10M. Validation
and error text updated to reflect the new accepted format.
* **Tests**
* Added unit test coverage verifying GRES entries with size unit
postfixes (e.g., tmpspace:10G).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent c4e3ec3 commit c6f6658
2 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
291 | | - | |
| 292 | + | |
| 293 | + | |
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
297 | | - | |
298 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
299 | 302 | | |
300 | 303 | | |
301 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
371 | 385 | | |
372 | 386 | | |
373 | 387 | | |
| |||
0 commit comments