346 | | == Restricting advance reservation == |
347 | | In some deployments enabling advance reservation for the whole cluster is not desirable. In such cases one can limit advance reservation to particular partition by editing `/opt/plgrid/qcg/lib/qcg-comp/modules/python/reservation_maui.py` file and changing the following line: |
348 | | {{{ |
349 | | #!div style="font-size: 90%" |
350 | | {{{#!default |
351 | | cmd = "setres -x BYNAME -r PROCS=1" |
352 | | }}} |
353 | | }}} |
354 | | to |
355 | | {{{ |
356 | | #!div style="font-size: 90%" |
357 | | {{{#!default |
358 | | cmd = "setres -x BYNAME -r PROCS=1 -p wp4" |
359 | | }}} |
360 | | }}} |