Use the bsub -network option to specify the network resource requirements for an IBM Parallel Environment (PE) job. If any network resource requirement is specified in the job, queue, or application profile, the job is treated as a PE job. PE jobs can only run on hosts where IBM PE pnsd daemon is running.
bsub –n2 –R "span[ptile=1]" –network "type=sn_single: usage=dedicated" poe /home/user1/mpi_prog
For this job running on hostA and hostB, each task will reserve 1 window. The window can be on network 1 of hostA and network 1 of hostB, or on network 2 of hostA and network 2 of hostB.
bsub –n 2 –network "type=sn_all: usage=dedicated" poe /home/user1/mpi_prog
For this job running on hostA, each task will reserve 2 windows (one window per network). The job totally reserves 4 windows on hostA. No other network job can run on hostA because all networks are dedicated for use by this job.
bsub –n 2 –R "span[ptile=1]" –network "type=sn_all: usage=dedicated]" poe /home/user1/mpi_prog
For this job running on hostA and hostB, each task will reserve 2 windows (one window per network). The job reserves 2 windows on hostA and two windows on hostB. No other network jobs can run on hostA and hostB because all networks on all hosts are dedicated for use by this job.
bsub –n2 –R "span[ptile=1]" –network "protocol=mpi,lapi: type=sn_all: instances=2: usage=shared" poe /home/user1/mpi_prog
For this job running on hostA and hostB, each task will reserve 8 windows (2*2*2), for 2 protocols, 2 instances and 2 networks. If enough network windows are available, other network jobs with usage=shared can run on hostA and hostB because networks used by this job are shared.