Project Preferences for GPU

Questions and Answers : Issue Discussion : Project Preferences for GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Dataman
Avatar

Send message
Joined: 1 Jul 20
Posts: 32
Credit: 22,436,564
RAC: 0
Message 702 - Posted: 26 Oct 2020, 14:34:36 UTC

I have my MLC Project Preferences set as:

Use CPU = No
Use NVIDIA GPU = Yes

On BOINC startup I get the following messages for MLC:

10/26/2020 7:07:34 AM | MLC@Home | URL https://www.mlcathome.org/mlcathome/; Computer ID 311; resource share 100
10/26/2020 7:07:34 AM | MLC@Home | Not using CPU: project preferences
10/26/2020 7:07:34 AM | MLC@Home | Not using NVIDIA GPU: project preferences

This is happening across multiple machines (Win10 & Ubuntu) set to accept MLC GPU wu's.
ID: 702 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 462
Credit: 21,406,548
RAC: 0
Message 703 - Posted: 26 Oct 2020, 15:41:58 UTC - in response to Message 702.  

Hmm.. I'll look into it. It's possible that change to disable GPU in prefs by default messed something up :/ .
ID: 703 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
floyd

Send message
Joined: 24 Jul 20
Posts: 30
Credit: 3,485,605
RAC: 0
Message 704 - Posted: 26 Oct 2020, 16:01:49 UTC - in response to Message 703.  

It's possible that change to disable GPU in prefs by default messed something up
Seems so. For me the scheduler says
<no_cpu>0</no_cpu>
<no_cuda>0</no_cuda>
when I thought I had CPU on and NV off.
ID: 704 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 462
Credit: 21,406,548
RAC: 0
Message 705 - Posted: 26 Oct 2020, 23:17:22 UTC

I changed it back for now, sorry Dataman. I'll look at other ways to change the default than what I tried.
ID: 705 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dataman
Avatar

Send message
Joined: 1 Jul 20
Posts: 32
Credit: 22,436,564
RAC: 0
Message 706 - Posted: 27 Oct 2020, 0:07:59 UTC - in response to Message 705.  

No worries pianoman. Apparently it is still not working.

10/26/2020 4:49:02 PM | MLC@Home | URL https://www.mlcathome.org/mlcathome/; Computer ID 311; resource share 100
10/26/2020 4:49:02 PM | MLC@Home | Not using CPU: project preferences
10/26/2020 4:49:02 PM | MLC@Home | Not using NVIDIA GPU: project preferences

I rebooted the machine to make sure everything cleared. Checked the MLC preferences are still the same; CPU/No GPU/Yes. Started BOINC. Same result. Actually I cannot verify that it originally worked even before you made the first change as I just accidentally noticed these messages this morning when I rebooted a machine for another reason.

Cheers
ID: 706 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 462
Credit: 21,406,548
RAC: 0
Message 707 - Posted: 27 Oct 2020, 1:22:14 UTC - in response to Message 706.  
Last modified: 27 Oct 2020, 1:23:20 UTC

Maybe you should try manually re-setting the prefs (as in say "edit prefs" and toggle them, then click save) the way you want them again?

I know that at least my test user can set CPU = off, NVidia = on, and have it honor those.
Finally got my first GPU WU served up by the project running on my test machine now.

Of course, the issue now is GPU WUs need lots more ram and disk space compared to CPU ones. but that's an issue for another thread .
ID: 707 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dataman
Avatar

Send message
Joined: 1 Jul 20
Posts: 32
Credit: 22,436,564
RAC: 0
Message 708 - Posted: 27 Oct 2020, 1:42:47 UTC - in response to Message 707.  

Maybe you should try manually re-setting the prefs (as in say "edit prefs" and toggle them, then click save) the way you want them again?

Been there, done that ... got the T-shirt. No joy. I will wait and see what happens when you start sending out wu's. Should be apparent then.
ID: 708 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
floyd

Send message
Joined: 24 Jul 20
Posts: 30
Credit: 3,485,605
RAC: 0
Message 715 - Posted: 27 Oct 2020, 8:53:25 UTC

For me it works as expected now. Looks like whatever was changed only affected display of that particular setting in the UI, not the actual value.
ID: 715 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dataman
Avatar

Send message
Joined: 1 Jul 20
Posts: 32
Credit: 22,436,564
RAC: 0
Message 716 - Posted: 27 Oct 2020, 12:31:54 UTC

I removed MLC and reinstalled it and it looks OK now. Looks like I will have to do that 24 more times. :(
ID: 716 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
floyd

Send message
Joined: 24 Jul 20
Posts: 30
Credit: 3,485,605
RAC: 0
Message 718 - Posted: 27 Oct 2020, 12:58:52 UTC

Dataman, you mentioned restarting BOINC or rebooting the computer, but all that does not update the client's settings. It needs to contact the project for that. Do a project update if you want to force it, or just wait for a routine contact during normal operation.
ID: 718 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
d_worms

Send message
Joined: 7 Jan 21
Posts: 2
Credit: 9,594
RAC: 0
Message 1052 - Posted: 23 Jan 2021, 6:24:35 UTC

Manually resetting preferences did work for me




link to website www.whocalledmeoz.info
ID: 1052 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Issue Discussion : Project Preferences for GPU

©2022 MLC@Home Team
A project of the Cognition, Robotics, and Learning (CORAL) Lab at the University of Maryland, Baltimore County (UMBC)