mpiexec.8B 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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 mpiexec 8B "12 October 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B mpiexec
  39. \- run MPI programs under PBS on Linux
  40. .SH SYNOPSIS
  41. .B mpiexec
  42. .B mpiexec
  43. --version
  44. .SH DESCRIPTION
  45. The PBS
  46. .B mpiexec
  47. command provides the standard mpiexec interface on a system
  48. running supported versions of Performance Suite.
  49. If executed on a different system, it will assume
  50. it was invoked by mistake. In this case it will use the value of
  51. .B PBS_O_PATH
  52. to search for the correct mpiexec. If one is found, the PBS
  53. .B mpiexec
  54. will
  55. exec it.
  56. The PBS
  57. .B mpiexec
  58. calls the HPE SGI mpirun(1). The name of the array to use when invoking
  59. mpirun is user-specifiable via the
  60. .B PBS_MPI_SGIARRAY
  61. environment variable.
  62. It is transparent to the user; MPI jobs submitted outside of PBS will
  63. run as they would normally. MPI jobs can be launched across multiple
  64. HPE SGI machines. PBS will manage, track, and cleanly terminate multi-host MPI
  65. jobs. PBS users can run MPI jobs within specific partitions.
  66. If CSA has been configured and enabled, PBS will collect accounting
  67. information on all tasks launched by an MPI job. CSA information will
  68. be associated with the PBS job ID that invoked it, on each execution
  69. host.
  70. If the
  71. .B PBS_MPI_DEBUG
  72. environment variable's value has a nonzero
  73. length, PBS will write debugging information to standard output.
  74. .SH USAGE
  75. The PBS
  76. .B mpiexec
  77. command presents the mpiexec interface described in section
  78. "4.1 Portable MPI Process Startup" of the "MPI-2: Extensions
  79. to the Message-Passing Interface" document in
  80. http://www.mpi-forum.org/docs/mpi-20-html/node42.htm
  81. .SH OPTIONS
  82. .IP "--version" 8
  83. The
  84. .B mpiexec
  85. command returns its PBS version information and exits.
  86. This option can only be used alone.
  87. .SH REQUIREMENTS
  88. System running a supported version of Performance Suite.
  89. PBS uses HPE SGI's mpirun(1) command to launch MPI jobs. HPE SGI's mpirun
  90. must be in the standard location.
  91. The location of
  92. .B pbs_attach()
  93. on each node of a multinode MPI job
  94. must be the same as it is on the mother superior node.
  95. In order to run multihost jobs, the HPE SGI Array Services must be
  96. correctly configured. HPE SGI systems communicating via HPE SGI's Array
  97. Services must all use the same version of the sgi-arraysvcs package.
  98. HPE SGI systems communicating via HPE SGI's Array Services must have been
  99. configured to interoperate with each other using the default array.
  100. See HPE SGI's array_services(5) man page.
  101. .SH ENVIRONMENT VARIABLES
  102. The PBS
  103. .B mpiexec
  104. script sets the
  105. .B PBS_CPUSET_DEDICATED
  106. environment variable to assert exclusive use of the resources in the
  107. assigned cpuset.
  108. The PBS
  109. .B mpiexec
  110. checks the
  111. .B PBS_MPI_DEBUG
  112. environment variable. If
  113. this variable has a nonzero length, debugging information is written.
  114. If the
  115. .B PBS_MPI_SGIARRAY
  116. environment variable is present, the PBS
  117. .B mpiexec
  118. will use its value as the name of the array to use when
  119. invoking mpirun.
  120. The
  121. .B PBS_ENVIRONMENT
  122. environment variable is used to determine whether
  123. .B mpiexec
  124. is being called from within a PBS job.
  125. The PBS
  126. .B mpiexec
  127. uses the value of
  128. .B PBS_O_PATH
  129. to search for the correct
  130. .B mpiexec
  131. if it was invoked by mistake.
  132. .SH PATH
  133. PBS'
  134. .B mpiexec
  135. is located in
  136. .I PBS_EXEC/bin/mpiexec.
  137. .SH SEE ALSO
  138. The
  139. .B PBS Professional Administrator's Guide
  140. .LP
  141. HPE SGI man pages:
  142. HPE SGI's mpirun(1),
  143. HPE SGI's mpiexec_mpt(1),
  144. HPE SGI's array_services(5)
  145. .LP
  146. PBS man pages:
  147. pbs_attach(8B)