pbs_release_nodes.1B 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .\" Copyright (C) 1994-2018 Altair Engineering, Inc.
  2. .\" For more information, contact Altair at www.altair.com.
  3. .\"
  4. .\" This file is part of the PBS Professional ("PBS Pro") software.
  5. .\"
  6. .\" Open Source License Information:
  7. .\"
  8. .\" PBS Pro is free software. You can redistribute it and/or modify it under the
  9. .\" terms of the GNU Affero General Public License as published by the Free
  10. .\" Software Foundation, either version 3 of the License, or (at your option) any
  11. .\" later version.
  12. .\"
  13. .\" PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  14. .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. .\" FOR A PARTICULAR PURPOSE.
  16. .\" See the GNU Affero General Public License for more details.
  17. .\"
  18. .\" You should have received a copy of the GNU Affero General Public License
  19. .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. .\"
  21. .\" Commercial License Information:
  22. .\"
  23. .\" For a copy of the commercial license terms and conditions,
  24. .\" go to: (http://www.pbspro.com/UserArea/agreement.html)
  25. .\" or contact the Altair Legal Department.
  26. .\"
  27. .\" Altair’s dual-license business model allows companies, individuals, and
  28. .\" organizations to create proprietary derivative works of PBS Pro and
  29. .\" distribute them - whether embedded or bundled with other software -
  30. .\" under a commercial license agreement.
  31. .\"
  32. .\" Use of Altair’s trademarks, including but not limited to "PBS™",
  33. .\" "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  34. .\" trademark licensing policies.
  35. .\"
  36. .TH pbs_release_nodes 1B "18 May 2018" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_release_nodes
  39. \- release vnodes assigned to a PBS job
  40. .SH SYNOPSIS
  41. .B pbs_release_nodes
  42. [-j <job ID>] <vnode> [<vnode> [<vnode>] ...]
  43. .br
  44. .B pbs_release_nodes
  45. [-j <job ID>] -a
  46. .br
  47. .B pbs_release_nodes
  48. --version
  49. .SH DESCRIPTION
  50. You can use the
  51. .B pbs_release_nodes
  52. command to release no-longer-needed
  53. vnodes assigned to a running job, before the job would normally
  54. release them. These vnodes are then available for use by other jobs.
  55. You can specify the names of vnodes to be released, or you can release
  56. all vnodes not on the primary execution host that are assigned to a
  57. running job via the
  58. .I -a
  59. option.
  60. .B Caveats and Restrictions
  61. .br
  62. You can release only vnodes that are not on the primary execution
  63. host. You cannot release vnodes on the primary execution host.
  64. The job must be running (in the
  65. .I R
  66. state).
  67. The pbs_release_nodes command is not supported on vnodes tied to Cray
  68. X* series systems (vnodes whose
  69. .I vntype
  70. has the "cray_" prefix).
  71. The pbs_release_nodes command is not supported for vnodes managed by
  72. cpuset MoMs; partial release of vnodes may result in leftover cpusets.
  73. If cgroups support is enabled, and pbs_release_nodes is called to
  74. release some but not all the vnodes managed by a MoM, resources on
  75. those vnodes that are part of a cgroup are not released until the
  76. entire cgroup is released.
  77. .B Required Privilege
  78. .br
  79. This command can be run by the job owner, the PBS Manager, Operator,
  80. and Administrator, as well as root on Linux and Admin on Windows.
  81. .SH Options to pbs_release_nodes
  82. .IP "-a" 10
  83. Releases all job vnodes not on the primary execution host. Cannot be
  84. used with list of vnode names.
  85. .IP "-j <job ID>" 10
  86. Specifies the job ID for the job whose vnode(s) are to be released.
  87. .IP "(no options)" 10
  88. Without the
  89. .I -j
  90. option, pbs_release_nodes uses the value of the
  91. .I PBS_JOBID
  92. environment variable as the job ID of the job whose vnodes are to be released.
  93. .IP "--version" 10
  94. The pbs_release_nodes command returns its PBS version information and exits.
  95. This option can only be used alone.
  96. .SH Operands for pbs_release_nodes
  97. The pbs_release_nodes command can take as an operand a list of vnodes. Format:
  98. .br
  99. .I <vnode name> [<vnode name> [<vnode name>] ...]
  100. .br
  101. Cannot be used with the
  102. .I -a
  103. option.
  104. .SH Usage
  105. This command can be run at the command line, or called inside a job
  106. script, where it can use the value of the
  107. .I PBS_JOBID
  108. environment variable.
  109. You can release any vnode that appears in the job's
  110. .I exec_vnode
  111. attribute that is not on the primary execution host. You can release
  112. a particular set of a job's vnodes, or you can release all of a job's
  113. non-primary-execution-host vnodes.
  114. To release specific vnodes:
  115. .br
  116. .I pbs_release_nodes [-j <job ID>] <vnode name> [<vnode name>] ...]
  117. To release all of a jobÕs vnodes that are not on the primary execution host:
  118. .br
  119. .I pbs_release_nodes [-j <job ID>] -a