[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Adding GPUs to machine resources



On Thu, Mar 27, 2014 at 09:32:19PM -0500, Nathan Yehle wrote:
> We use this gpu config at the CHTC, you might try changing to
> percents instead of those values:
> NUM_SLOTS=1
> NUM_SLOTS_TYPE_1=1
> SLOT_TYPE_1_PARTITIONABLE=true
> SLOT_TYPE_1 = cpus=100%,disk=100%,swap=100%,gpus=100%
> ASSIGN_CPU_AFFINITY=true
> MACHINE_RESOURCE_INVENTORY_GPUs = $(LIBEXEC)/condor_gpu_discovery
> -properties
> ENVIRONMENT_FOR_AssignedGPUs = CUDA_VISIBLE_DEVICES, GPU_DEVICE_ORDINAL
> 
> we use the above htcondor config with $CondorVersion: 8.1.4 Feb 10
> 2014 BuildID: 227751 $
>  along with these cuda rpms
> [nyehle@gpu-3 config.d]$ rpm -qa | grep cuda
> cuda-headers-5-5-5.5-22.x86_64
> cuda-documentation-5-5-5.5-22.x86_64
> cuda-repo-rhel6-5.5-0.x86_64
> cuda-license-5-5-5.5-22.x86_64
> cuda-extra-libs-5-5-5.5-22.x86_64
> cuda-core-5-5-5.5-22.x86_64
> cuda-misc-5-5-5.5-22.x86_64
> cuda-5-5-5.5-22.x86_64
> cuda-command-line-tools-5-5-5.5-22.x86_64
> cuda-visual-tools-5-5-5.5-22.x86_64
> cuda-samples-5-5-5.5-22.x86_64
> cuda-core-libs-5-5-5.5-22.x86_64
> 
> I've never tried it with debian good luck.

Debian Jessie (which currently comes with CUDA 5.5 as well), with the 
Wheezy package of Condor 8.1.4, seems to work.
Further investigations are on the way.

- S