pbs_tmrsh(8B)
π pbs_tmrsh β like, the whole manual, bestie
okay so this is a page from PBS Professional, manual section 8B, and it's about pbs_tmrsh. buckle up π
β¨ NAME β¨
pbs_tmrsh β the TM-enabled glow-up replacement for rsh/ssh, made for MPI implementations to use. yes, she's a stand-in, and yes, she serves π
β¨ SYNOPSIS β¨
pbs_tmrsh <hostname> [-l <username>] [-n] <command> [<args> ...]
pbs_tmrsh --version
β¨ DESCRIPTION β¨
so basically pbs_tmrsh tries to emulate an "rsh" connection to whatever host you name, and it does it through underlying calls to the Task Management (TM) API. that's the whole vibe β¨
real talk though: this program is meant to be used during MPI integration activities, and not by end-users. it's a backstage queen, not the main character π«Ά
running pbs_tmrsh <hostname> <command> causes a PBS task to be started on hostname running command. that's it, that's the tea β
πΈ Requirements for Environment Variables πΈ
the environment variables that the two MPI implementations use to point at the rsh work-alike β MPI_REMSH in the case of HP, and P4_RSHCOMMAND for MPICH β must be set in the job environment, and they have to point to the full path for pbs_tmrsh. no shortcuts, no vibes-based relative paths, fr fr π
also, the file $PBS_HOME/pbs_environment should contain an environment variable PATH that gets searched for the program executable. this applies to both Windows and Linux, no cap. that said, the expectation is that you'll specify a full path for the command anyway, so the PATH variable won't actually be needed π
β¨ OPTIONS β¨
-l <username>β tells it which username to execute the task under. but like, plot twist: if you use it, username must match the username that's running thepbs_tmrshcommand. no identity theft today bestie π-nβ a literal no-op π it exists purely for MPI implementations that expect to callrshwith the-noption. she's there for moral support only π--versionβ thepbs_tmrshcommand returns its PBS version info and then exits. and omg, this option can only be used alone. no friends, no extras, solo main character energy β
β¨ OPERANDS β¨
- command β specifies the command to be run as a PBS task. the actual assignment π
- hostname β specifies the host on which to run the PBS task. and yes, the hostname may be in IP-dot-address form, so
192.168.0.1-style is valid π»
β¨ Output and Error β¨
output and errors get written to the PBS job's output and error files, not to standard output/error. so don't go staring at your terminal wondering where it all went π«
the pbs_tmrsh command writes a diagnostic message to the PBS job's error file for each error occurrence. one message per oops π
β¨ EXIT STATUS β¨
the pbs_tmrsh program exits with the exit status of the remote command, or with 255 if an error occurred. why? because ssh works this way. that's literally the reason. we don't make the rules, we just inherit them ππ₯
β¨ SEE ALSO β¨
pbs_attach(8B), tm(3) β go read those too, iykyk π¦
π that's the whole page, bestie! this gem is from the Local manual, dated 6 May 2020, and distributed as part of PBS Professional. now go forth and configure your MPI integration correctly, periodt ππ
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms