Advanced search

Message boards : Number crunching : GPUGRID Linux tasks / Linux in Windows (WSL)

Author Message
zooxit
Send message
Joined: 4 Jul 21
Posts: 14
Credit: 288,663,226
RAC: 1,379,184
Level
Asn
Scientific publications
wat
Message 57846 - Posted: 16 Nov 2021 | 16:27:53 UTC

Hi,
I know it might not make much sense but...

Is it possible to run Linux-GPUtasks in an instance of Linux that is running in WSL on Windows 11?
I tried it but only CPU tasks where running. I suppose that WSL-Linux was using the graphic card, since I could run BOINC manager in a GUI form.

Any thoughts?

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 660
Credit: 4,815,767,994
RAC: 61,421
Level
Arg
Scientific publications
wat
Message 57847 - Posted: 16 Nov 2021 | 16:48:16 UTC - in response to Message 57846.
Last modified: 16 Nov 2021 | 16:56:38 UTC

[s]looks like you need to sign up for the Nvidia developer program and request the Nvidia CUDA driver for WSL[/s]

https://developer.nvidia.com/cuda/wsl

EDIT,

no need to sign up for a program, just get the drivers here: https://developer.nvidia.com/cuda/wsl/download

follow the install directions here: https://docs.nvidia.com/cuda/wsl-user-guide/index.html

pay particular attention to section 2.3. only install the driver in the Windows host environment. do not install any driver inside your WSL install.
____________

micropro
Send message
Joined: 4 Feb 20
Posts: 8
Credit: 674,423
RAC: 626
Level
Gly
Scientific publications
wat
Message 57848 - Posted: 16 Nov 2021 | 17:01:27 UTC - in response to Message 57846.
Last modified: 16 Nov 2021 | 17:02:53 UTC

I don't know much as far as the WSL on Windows is concerned but I bet you'll lose on performance even with short tasks on CPU.

I don't know how they have implemented this system on Windows but for other projects I took a step back on reinstalled Win10 dure to lesser performance

Now, be "as close as possible" to the hardware, I'm running Linux waiting for WU to crunch from GPUGRID.

My thought is that WSL is like a kind of a virtualization and therefore you cannot access all functionnalies of your hardware as easily (if only possible) as if it was running as your host (Win11 in this case, your main system).

Why do you think I'm running Ubuntu directly? ;)

I've always wondered if it was at least possible to crunch using CPU with a WSL Linux. Now I don't have to try it anymore, thanks for sharing your experience!

I know it doesn't help you crunching as you'd like.
I just hope someone will confirm (or better, deny, I'd be surprise) what I've said.

Best regards,

micropro

EDIT : my answer come second. Didn't know there was even drivers which could be installed.

zooxit
Send message
Joined: 4 Jul 21
Posts: 14
Credit: 288,663,226
RAC: 1,379,184
Level
Asn
Scientific publications
wat
Message 57851 - Posted: 16 Nov 2021 | 22:48:39 UTC

Thanks for the replies.
Ian&Steve C.: I will try it next week (busy times now) and report whether it works.

Post to thread

Message boards : Number crunching : GPUGRID Linux tasks / Linux in Windows (WSL)

//