qrerun.1B 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 qrerun 1B "18 December 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B qrerun
  39. - requeue a PBS job
  40. .SH SYNOPSIS
  41. .B qrerun
  42. [-W force]
  43. <job ID> [<job ID> ...]
  44. .br
  45. .B qrerun
  46. --version
  47. .SH DESCRIPTION
  48. If possible, kills the specified job(s), then requeues each job in the
  49. execution queue from which it was run.
  50. The
  51. .B qrerun
  52. command can be used on jobs, job arrays, subjobs, and ranges of subjobs.
  53. If you give a job array identifier as an argument, the job array is
  54. returned to its initial state at submission time, or to its altered
  55. state if it has been qaltered. All of that job array's subjobs are
  56. requeued, which includes those that are currently running, and those
  57. that are completed and deleted. If a you give a subjob or range as an
  58. argument, those subjobs are requeued.
  59. .B Restrictions
  60. .br
  61. If a job is marked as not rerunnable,
  62. .B qrerun
  63. neither kills nor requeues the job. See the
  64. .I -r
  65. option for the
  66. .B qsub
  67. and
  68. .B qalter
  69. commands, and the
  70. .I Rerunable
  71. job attribute.
  72. The
  73. .B qrerun
  74. command cannot requeue a job or subjob which is not running, is held,
  75. or is suspended.
  76. .B Required Privilege
  77. .br
  78. PBS Manager or Operator privilege is required to use this command.
  79. .SH OPTIONS
  80. .IP "-W force" 8
  81. The job is to be requeued even if the vnode on which the job is
  82. executing is unreachable, or if the job's substate is
  83. .I provisioning.
  84. .IP "--version" 8
  85. The
  86. .B qrerun
  87. command returns its PBS version information and exits.
  88. This option can only be used alone.
  89. .SH OPERANDS
  90. The qrerun
  91. command accepts one or more
  92. .I job ID
  93. operands of the form:
  94. .RS 4
  95. .I <sequence number>[.<server name>][@<server name>]
  96. .br
  97. .I <sequence number>[][.<server name>][@<server name>]
  98. .br
  99. .I <sequence number>[<index>][.<server name>][@<server name>]
  100. .br
  101. .I <sequence number>[<index start>-<index end>][.<server name>]
  102. .br
  103. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ [@<server name>]
  104. .RE
  105. Note that some shells require that you enclose a job array identifier in
  106. double quotes.
  107. .br
  108. .SH STANDARD ERROR
  109. The
  110. .B qrerun
  111. command writes a diagnostic message to standard error for
  112. each error occurrence.
  113. .SH EXIT STATUS
  114. .IP Zero 8
  115. Upon successful processing of all operands
  116. .IP "Greater than zero" 8
  117. Upon failure to process any operand
  118. .SH SEE ALSO
  119. The
  120. .I PBS Professional User's Guide,
  121. the
  122. .I PBS Professional Administrator's Guide,
  123. .br
  124. qsub(1B), qalter(1B), pbs_alterjob(3B), pbs_rerunjob(3B)