HP XC How To Using PBS Professional™ on HP XC Clusters Version 1.
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Linux is a U.S. registered trademark of Linus Torvalds.
Contents Introduction Procedures Installing PBS Professional™ under HP XC ................................................................................................... 6 Planning the installation......................................................................................................................... 6 Performing installation actions specific to HP XC....................................................................................... 6 Configuring PBS Professional™ under HP XC......
Revision history Revision table Table 1 Revisions Date Edition Revision Oct 2005 V1.
Introduction PBS Professional™, distributed by Altair®, is an implementation of NASA’s Portable Batch System (PBS). It provides a workload management solution for high-performance computing systems and Linux clusters. For more information, and to download kits and documentation, refer to the distributor’s URL: http://www.altair.com/software/pbs_abo.
Procedures The following topics are covered in this XC How To: • Installation planning. • Installation actions specific to HP XC. • Configuration of PBS Professional™. • Replicating execution nodes and starting services. • User-level setup.
a. You can accept the default value offered for the PBS_HOME directory, which is /var/spool/PBS). b. When prompted for the type of PBS installation, select: option 1 ("Server, execution and commands"). c. If available, you may enter your license key(s) during the interactive installation. Otherwise, you can execute the script named/usr/pbs/etc/pbs_setlicense on the PBS server node after the installation is complete. (See the section titled Replicating execution nodes) d.
Configuring PBS Professional™ under HP XC Unless specified otherwise, all the following configuration commands should be entered from the PBS server (front-end node.) Configuring the OpenSSH scp utility By default, PBS Professional™ uses the rcp utility to copy files between nodes in the cluster. The default HP XC configuration disables rcp in favor of the more secure scp command provided by OpenSSH. To use PBS on XC, configure it to default to scp as follows: 1.
2. The following example shows typical entries in the file PBS_HOME/server_priv/nodes: n9 n8 n7 n6 3. pcpus=2 pcpus=2 pcpus=2 pcpus=2 . . . The PBS server node is automatically configured as an execution host. To prevent jobs from running on the server node: a. Do not list the server node in the file PBS_HOME/server_priv/nodes file b. Edit the file /etc/pbs.conf file on the server, changing the value of variable PBS_START_MOM to 0 (zero).
Starting the service daemons. Enter the following command to start the server, scheduler, and MOM daemons: # pdsh -w "x[n-n, N]" service pbs start Where the nodelist "x[n-n, N]" specifies the range of execution nodes (n-n), and also the PBS server node (N). For example, a valid nodelist is "n[1-49,100]". As for previous nodelists, the double quotation marks are required.
$ 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.