Submit a job with compute unit resource requirements

Submit a job with compute unit resource requirements.

Procedure

  1. Submit a job to run on a certain number of compute units or fewer using the keyword maxcus in the resource requirement cu string.

    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
  2. Submit a job to run balanced over the fewest possible compute units using the keyword balance in the resource requirement cu string.

    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

  3. Submit a job to run on compute units few or many available slots use the keyword pref.

    To submit a job to run on compute units with the fewest slots for example:

    bsub -R "cu[pref=minavail]" my_job