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
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
25 December 2018
UID
ibm10787715