468 | | Read this section only if the system is configured in such way that not all nodes are accesible using any queue/user. In such case you should provide nodes filter expression in the sysconfig file (`/opt/plgrid/qcg/etc/qcg-comp/sysconfig/qcg-compd`). |
| 468 | Read this section only if the system is configured in such way that not all nodes are accesible using any queue/user. In such case you should provide nodes filter expression in the sysconfig file (`/opt/plgrid/qcg/etc/qcg-comp/sysconfig/qcg-compd`). Examples: |
| 469 | * Provide information about nodes that was taged with `qcg` property |
| 470 | {{{ |
| 471 | export QCG_NODE_FILTER=properties:qcg |
| 472 | }}} |
| 473 | * Provide information about all nodes except those tagged as `gpgpu` |
| 474 | {{{ |
| 475 | export QCG_NODE_FILTER=properties:~gpgpu |
| 476 | }}} |
| 477 | * Provide information only about resources that have `hp` as the `epoch` value: |
| 478 | {{{ |
| 479 | export QCG_NODE_FILTER=resources_available.epoch:hp |
| 480 | }}} |
| 481 | In general the `QCG_NODE_FILTER` must adheres the following syntax: |
| 482 | {{{ |
| 483 | pbsnodes-attr:regular-expression |
| 484 | }}} |
| 485 | or if you want to give negative meaning (i.e. all nodes except those matching the expression) |
| 486 | {{{ |
| 487 | pbsnodes-attr:~regular-expression |
| 488 | }}} |