pbs_tmrsh.8B 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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_tmrsh 8B "22 November 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_tmrsh
  39. - TM-enabled replacement for rsh/ssh for use by MPI implementations
  40. .SH SYNOPSIS
  41. .B pbs_tmrsh
  42. <hostname> [-l <username>] [-n] <command> [<args> ...]
  43. .br
  44. .B pbs_tmrsh
  45. --version
  46. .SH DESCRIPTION
  47. The
  48. .B pbs_tmrsh
  49. command attempts to emulate an "rsh" connection to the specified host,
  50. via underlying calls to the Task Management (TM) API. The program is
  51. intended to be used during MPI integration activities, and not by
  52. end-users.
  53. Running "pbs_tmrsh <hostname> <command>" causes a PBS task to be started
  54. on
  55. .I hostname
  56. running
  57. .I command.
  58. .B Requirements for Environment Variables
  59. .br
  60. The environment variables used by the two MPI implementations
  61. to point to the rsh work-alike (MPI_REMSH in the case of HP and
  62. P4_RSHCOMMAND for MPICH) must be set in the job environment
  63. and point to the full path for
  64. .B pbs_tmrsh.
  65. .LP
  66. The file $PBS_HOME/pbs_environment should contain an environment
  67. variable PATH in which to search for the program executable. This
  68. applies to both Windows and Linux. It is expected that a full path will
  69. be specified for the
  70. .I command
  71. and the PATH variable will not be needed.
  72. .SH OPTIONS
  73. .IP "-l <username>" 13
  74. Specifies the username under which to execute the task. If used,
  75. .I username
  76. must
  77. match the username running the
  78. .B pbs_tmrsh
  79. command.
  80. .IP "-n" 13
  81. A no-op; provided for MPI implementations that expect to call
  82. rsh with the
  83. .I -n
  84. option.
  85. .LP
  86. .IP "--version" 13
  87. The
  88. .B pbs_tmrsh
  89. command returns its PBS version information and exits.
  90. This option can only be used alone.
  91. .SH OPERANDS
  92. .IP command
  93. Specifies command to be run as a PBS task.
  94. .IP hostname
  95. Specifies host on which to run PBS task. The
  96. .I hostname
  97. may be in IP-dot-address form.
  98. .SH Output and Error
  99. Output and errors are written to the PBS job's output and error files,
  100. not to standard output/error.
  101. The
  102. .B pbs_tmrsh
  103. command writes a diagnostic message to the PBS job's error file for
  104. each error occurrence.
  105. .SH EXIT STATUS
  106. The
  107. .B pbs_tmrsh
  108. program exits with the exit status of the remote command or with
  109. 255 if an error occurred. This is because ssh works this way.
  110. .SH SEE ALSO
  111. The
  112. .I PBS Professional Administrator's Guide
  113. and the following manual pages:
  114. pbs_attach(8B), tm(3)