HP XC System Software Administration Guide Version 3.0

When the LSF daemons have started up and synchronized their data with the rest of the LSF cluster, the
lshosts and bhosts commands should display all the nodes with their appropriate values and indicate
that they are ready for use:
$ lshosts
HOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCES
plain LINUX86 PC1133 23.1 2 248M 1026M Yes ()
xclsf SLINUX6 Intel_EM 60.0 256 3456M - Yes (slurm)
$ bhosts
HOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSV
plain ok - 2 0 0 0 0 0
xclsf ok - 256 0 0 0 0 0
Sample Running Jobs
Example A-1. As a User on a non-HP XC node Launching to a Linux IA32 Resource As a User on a non-HP
XC node Launching to a Linux IA32 Resource
$ bsub -I -n1 -R type=LINUX86 hostname
Job <411> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on plain>>
plain
Example A-2. As a User on a non-HP XC node Launching to an HP XC Resource As a User on a non-HP
XC node Launching to an HP XC Resource
$ bsub -I -n1 -R type=SLINUX64 hostname
Job <412> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
xc127
Example A-3. As a User on the non-HP XC Node Launching a Parallel Job As a User on the non-HP XC
Node Launching a Parallel Job
$ bsub -I -n6 -R type=SLINUX64 srun hostname
Job <413> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
/home/test/.lsbatch/1113947197.413: line 8: srun: command not found
$ bsub -I -n6 -R type=SLINUX64 /opt/hptc/bin/srun hostname
Job <414> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
xc3
xc3
xc2
xc2
xc1
xc1
Note that srun was not found because the user's $PATH did not include /opt/hptc/bin, which is specific
to the HP XC system. There are several standard ways to address this if necessary (add /opt/hptc/bin
to the default $PATH on the non-HP XC node; or create a soft link to the srun command from /usr/bin
on all the nodes in the HP XC system).
Example A-4. As a User on the HP XC Node Launching to a Linux IA32 Resource As a User on the HP XC
Node Launching to a Linux IA32 Resource
$ bsub -I -n1 -R type=LINUX86 hostname
Job <415> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on plain>>
plain
180 Installing LSF-HPC for SLURM into an Existing Standard LSF Cluster