adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
84 stars 100 forks source link

WinPb: Change compiler parameter for NVidia cuda toolkit silent installation #3582

Closed AswathySK closed 3 weeks ago

AswathySK commented 4 weeks ago

The silent installation for NVIDIA toolkit is not successful. the playbook run gets executed successfully but the NVIDIA GPU Computing Toolkit folder is not getting created and therefore the CUDA_HOME variable is not getting set causing build compiles to throw error saying CUDA_HOME not found.

The NVidia official documentation mentions nvcc_9.1 as the compiler to be used. After the change the NVIDIA GPU Computing Toolkit folder is getting created successfully. https://docs.nvidia.com/cuda/archive/9.1/cuda-installation-guide-microsoft-windows/index.html

C:\temp\cuda_9.1.85_win10_network.exe -s nvcc_9.1 nvml_dev_9.1

I have only done testing on windows 10,11, 2016,2019 and 2022. I am not sure how it is for Windows 7,8 and Server 2008,2012

Reference ticket: https://github.com/adoptium/infrastructure/issues/3581

Checklist
karianna commented 4 weeks ago

Will need to resolve:

TASK [MSVS_2022 : Download Visual Studio Community 2022] *** fatal: [127.0.0.1]: FAILED! => {"changed": false, "checksum_src": "8653debb099fe571c681c7f06334e703ea801168590787a727faef61e0cffc42", "dest": "C:\temp\vs_community22.exe", "elapsed": 0, "msg": "The checksum for https://aka.ms/vs/17/release/vs_Community.exe did not match '25ce0b366052fdd7eabe151b96c1c781c75e26cb228c9acda71cfe20d1415176', it was '8653debb099fe571c681c7f06334e703ea801168590787a727faef61e0cffc42'", "status_code": 200, "url": "https://aka.ms/vs/17/release/vs_Community.exe"}

and rerun the the Windows playbooks