pbs_relnodesjob.3B 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_relnodesjob 3B "6 November 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_relnodesjob
  39. - release some or all of the non-primary-execution-host vnodes assigned to a PBS job
  40. .SH SYNOPSIS
  41. #include <pbs_error.h>
  42. .br
  43. #include <pbs_ifl.h>
  44. .sp
  45. .B int pbs_relnodesjob (int connect, char *job_id, char *node_list, char *extend)
  46. .SH DESCRIPTION
  47. Issue a batch request to release some or all of the vnodes not on the primary
  48. execution host that are assigned to a batch job.
  49. .LP
  50. A
  51. .I "RelnodesJob"
  52. batch request is generated and sent to the server over the connection
  53. specified by
  54. .I connect,
  55. which is the return value of \f3pbs_connect\f1().
  56. .LP
  57. The argument,
  58. .I job_id,
  59. identifies the job whose vnodes are to be released;
  60. it is specified in the form:
  61. .RS 4
  62. .I "<sequence number>.<server>"
  63. .RE
  64. .LP
  65. The parameter,
  66. .I node_list,
  67. is a list of vnode names separated by plus signs ("+") whose parent MoM is not the
  68. MoM on the primary execution host. If
  69. .I node_list
  70. is NULL, it refers to all the vnodes that are not on the primary
  71. execution host that are assigned to the job.
  72. The parameter,
  73. .I extend,
  74. is reserved for implementation-defined extensions.
  75. .SH "SEE ALSO"
  76. pbs_connect(3B)
  77. .SH DIAGNOSTICS
  78. When the
  79. .B pbs_relnodesjob()
  80. function has been completed successfully by a batch server, the routine will
  81. return 0 (zero).
  82. Otherwise, a non-zero error is returned. The error number is also set
  83. in pbs_errno.