beautypg.com

HP XC System 2.x Software User Manual

Page 143

background image

date and time stamp: Submitted from host ,

to Queue ,CWD <$HOME>,

6 Processors Requested;

date and time stamp: Dispatched to 6 Hosts/Processors

<6*lsfhost.localdomain>;

date and time stamp: slurm_id=22;ncpus=6;slurm_alloc=n[13-15];

date and time stamp: Starting (Pid 11216);

date and time stamp: Done successfully.

The CPU time used is 0.0 seconds;

date and time stamp: Post job process done successfully;

Summary of time in seconds spent in various states by date and time

PEND

PSUSP

RUN

USUSP

SSUSP

UNKWN

TOTAL

11

0

7

0

0

0

18

A.8 Using a Resource Requirements String in an LSF Command

The following examples show how to use a resource requirement string in an LSF command.

Run

myjob

on an Alpha/AXP host or an HP XC host if one is available, but not both:

$ bsub -n 8 -R "ALPHA5 || SLINUX64" \

-ext "SLURM[nodes=4-4]" myjob

If

myjob

runs on an HP XC host, the

SLURM[nodes=4-4]

allocation option is applied.

If it runs on an Alpha/AXP host, the SLURM option is ignored.

Run

myjob

on any host type, and apply allocation options appropriately:

$ bsub-n 8 -R "type==any" \

-ext "SLURM[nodes=4-4];RMS[ptile=2]" myjob

If

myjob

runs on an HP XC host, the

SLURM[nodes=4-4]

option is applied. If

myjob

runs on an HP AlphaServer SC host, the RMS

ptile

option is applied. If it runs on any

other host type, the SLURM and RMS options are ignored.

Examples

A-9