Submit a job with compute unit resource requirements.
To submit a job which will run over 4 or fewer compute units of type rack for example:
bsub -R "cu[type=rack:maxcus=4]" my_job
To submit a job which will run evenly distributed over the fewest compute units and use a total of 64 slots, for example:
bsub -n 64 -R "cu[balance]" my_job
Possible resource allocations (in order of preference) are:
64 slots on 1 enclosure
32 slots on 2 enclosures
22 slots on 1 enclosure and 21 slots on 2 enclosures
16 slots on 4 enclosures
To submit a job to run on compute units with the fewest slots for example:
bsub -R "cu[pref=minavail]" my_job