Using PBS Professional on HP XC

$ cat id_dsa.pub >>authorized_keys
$ chmod go-rwx authorized_keys
After all above steps are complete, users are able to submit jobs as in a standard PBS Professional
installation.
Running HP MPI tasks
The PBS Professional distribution contains a wrapper script named pbs_mpihp that is used for
running HP MPI jobs. The wrapper script uses information about the current PBS Professional
allocation to construct a command line and optionally, an appfile suitable for HP MPI. The wrapper
also sets the MPI_REMSH environment variable to the PBS Professional remote shell utility named
pbs_tmrsh. This remote shell allows PBS Professional to keep track of communication between MPI
processes on different nodes.
To use the wrapper, replace the standard mpirun script, calling the pbs_mpihp wrapper instead in
HP MPI job launch scripts. Two sample launch scripts are presented in the following examples:
% cat launch
#!/bin/sh
#PBS -l select=4:ncpus=2
/usr/pbs/bin/pbs_mpihp -np 8 <other MPI options> ./a.out
% cat launch
#!/bin/sh
#PBS -l select=4:ncpus=2
/usr/pbs/bin/pbs_mpihp -np 8 <other MPI options> -f appfile
The PBS Professional documentation for pbs_mpihp recommends replacing the HP MPI mpirun
command with a symlink to pbs_mpihp in order to make the presence of PBS Professional completely
transparent to the users of HP MPI. On clusters where PBS Pro is the only active queuing system, this
transparency might be desirable. However, administrators of mixed SLURM and PBS Professional
clusters must first determine if this configuration is appropriate for their needs. For more information,
consult the pbs_mpihp reference (man) page, and the PBS Professional Administrator's Guide.