IBM Support

Clarify "gtile" in the bsub -gpu option for affinity job

Question & Answer


Question

When specify LSB_GPU_NEW_SYNTAX=extend in the lsf.conf file, you can specify "gtile" in bsub -gpu option. The gtile option is to specify the number of GPUs to use per socket. 

Using "gtile" option with -gpu resources requirement for an affinity job, the CPU affinity should be same as after removing "-gpu" resource requirement, that means using "gtile" option will not has any impact about CPU affinity. 

For example:

The two jobs below will get the same CPU affinity.

bsub -R "affinity[thread(1,exclusive=(core,injob|intask))*2:cpubind=thread:distribute=pack]span[ptile=4]" -n4 -gpu "gtile='!':j_exclusive=no:mode=shared:mps=no:num=4" job_app

bsub -R "affinity[thread(1,exclusive=(core,injob|intask))*2:cpubind=thread:distribute=pack]span[ptile=4]" -n4  job_app

 

More information about "gtile" option please refer the following URL.

https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/lsf_command_ref/bsub.gpu.1.html

 

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSWRJV","label":"IBM Spectrum LSF"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 December 2018

UID

ibm10787715