Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Follows the PBS Pro Design Document Guidelines.

[Status: DRAFT WIP ]

...

  • Change Control: Stable
  • Synopsis: This new option to "pbs_release_nodes" specifies a select statement that is a subset of the job submission (or qalter'ed) select statement which describes the the nodes/vnodes which are to be kept assigned with the job, while releasing the remaining sister nodes/vnodes. The nodes/vnodes released will then be made available for scheduling other jobs.  The resource list in a chunk spec of the sub select statement can be a partial one with respect to the full list in the corresponding chunk of the job submission (or qalter'ed) select statement.
  • Permission: as described in the Ref 1. above

...

$ qstat -f 120| egrep exec_vnode
exec_vnode = (nd_abc_1:ncpus=5)+(nd_abc_2:ncpus=5)+(nd_abc_4_bm:ncpus=1)+(nd_abc_5_bm:ncpus=1)

  • Using Partial Chunk Resource List :

The same result in the previous example can be achieved by using the below shorter select string where the resource list is partial one with respect to the original select supplied to qsub.

$ pbs_release_nodes -j 120 -k select=model=abc+2:bigmem=true

  • Errors and Return codes :
    • Cannot be used in conjunction "-a" option. If used so, pbs_release_nodes will print below error along with usage strings.

      pbs_release_nodes: -a and -k options cannot be used together

    • Cannot be used in conjunction with supplying host/vnode list arguments (<vnode> [<vnode> [<vnode>] ...]). If used so, pbs_release_nodes will print below error along with usage strings.

      pbs_release_nodes: cannot supply node list with -k option

    • <TBD> When the select statement supplied is not a sub statement of the job's qsub select statementargument string to "-k" option doesn't start with "select=" string
              pbs_release_nodes: only a "select=" string is valid in -k option
    • When the sub select statement supplied contains undefined resources
              pbs_release_nodes: Unknown resource: <undefined res name>
    • <TBD> List all other Failure scenarios, their return code and error messages

...

  • The "select" string parameter will be passed to "pbs_relnodesjob()" using its "extend" argument which is of type "char * "




...

OSS Site Map

Project Documentation Main Page

...