pbs_mpihp(8B)
pbs_mpihp(8B) β run an MPI application in a PBS job with HP MPI π
okay bestie, welcome to the manual page for pbs_mpihp β that's the PBS command in section 8B that runs your MPI app in a PBS job with HP MPI. it's giving "mpirun but make it PBS" and we're gonna walk through it together, no cap β¨
πΈ NAME πΈ
pbs_mpihp β run an MPI application in a PBS job with HP MPI.
β¨ SYNOPSIS β¨
pbs_mpihp [-h <host>] [-np <number>] [<other HP mpirun options>]
<program> [<args>]
pbs_mpihp [<HP mpirun options>] -f <appfile> [-- [<extra_args>]]
pbs_mpihp --version
π DESCRIPTION π
okay so the PBS command pbs_mpihp replaces the standard mpirun command in a PBS HP MPI job, for executing programs. it's a front end to the HP MPI version of mpirun β iconic behavior, honestly π«Ά
When pbs_mpihp is invoked from a PBS job, it processes the command line arguments, then calls standard HP mpirun to actually start the MPI ranks. The ranks created are mapped onto CPUs on the vnodes allocated to the PBS job. The environment variable MPI_REMSH is set to $PBS_EXEC/bin/pbs_tmrsh. This causes the processes that are created to become part of the PBS job. slay π
The path to standard HP mpirun is found by checking to see if a link exists with the name PBS_EXEC/etc/pbs_mpihp. If this link exists, it points to standard HP mpirun. If it does not exist, a call to mpirun -version is made to determine whether it is HP mpirun. If so, the call is made to "mpirun" without an absolute path. If HP mpirun cannot be found, an error is output, all temp files are cleaned up and the script exits with value 127. not the vibe, but important to know π
If pbs_mpihp is invoked from outside a PBS job, it passes all of its arguments directly to standard HP mpirun without further processing.
π Configuration π
When HP MPI is wrapped with pbs_mpihp, "rsh" is the default used to start the mpids. If you wish to use "ssh" or something else, be sure to set the following in $PBS_HOME/pbs_environment:
PBS_RSHCOMMAND=ssh
or put the following in the job script:
export PBS_RSHCOMMAND=<rsh_cmd>
π¦ USAGE π¦
Usage is the same as for HP mpirun.
pbs_mpihp <program> allows one executable to be specified.
pbs_mpihp -f <appfile> uses an appfile to list multiple executables. The format is described in the HP mpirun man page. If this form is used from inside a PBS job, the file is read to determine what executables are to be run and how many processes are started for each.
π¨ Executingpbs_mpihpwith the-clientoption is not supported under PBS.
π OPTIONS π
All options except the following are passed directly to HP mpirun with no modification.
-clientβ Not supported. π«-f <appfile>β The specified appfile is read bypbs_mpihp.-h <host>β Ignored bypbs_mpihp.-l <user>β Ignored bypbs_mpihp.-np <number>β Specifies the number of processes to run on the PBS vnodes.--versionβ Thepbs_mpihpcommand returns its PBS version information and exits. This option can only be used alone. β οΈ
π EXIT VALUES π
127β If HPmpiruncannot be found
π SEE ALSO π
π cute sign-off bestie: this page is source/version Local, dated 6 May 2020, and it's the pbs_mpihp(8B) manual. now go run your MPI app and remember: you're the main character of this job, fr fr π«Άπ
π
π¦ 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