Unable to get BONIC to use only 1 GPU

Message boards : Questions and problems : Unable to get BONIC to use only 1 GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Raven Lunatic

Send message
Joined: 27 Sep 08
Posts: 10
Message 35280 - Posted: 18 Oct 2010, 18:34:47 UTC

Hi,

I have a PC with 2 GFX cards

GPU0 is a nVidia 9800GTX+ which I want BONIC to use.
GPU1 is a Passively cooled nVidia 9400 which I dont want Bonic to use.

I tried to follow the wiki to force bonic to leave my 9400 alone by creating a cc_config.xml file and saving it to my bonic install directory c:/Program Files/Bonic/.

<cc_config>
<log_flags>
</log_flags>
<options>
<<ignore_cuda_dev>1</ignore_cuda_dev>
</options>
</cc_config>

After saving, I clicked on the Advanced tab of Bonic and made it read the local config file but it has not worked. When I unsuspended the queued work CUDA apps continue to work on both GPU's. Can anyone see what I am doing wrong or point me in the right direction?
ID: 35280 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 35281 - Posted: 18 Oct 2010, 18:48:29 UTC - in response to Message 35280.  
Last modified: 18 Oct 2010, 18:49:29 UTC

You're got an extra < in the <<ignore_cuda_dev>1</ignore_cuda_dev> line

You don't say what version of Boinc you're using, you'll need Boinc 6.10.19 or later,
reading from the config file won't work for this, you'll need to fully restart Boinc.

Claggy
ID: 35281 · Report as offensive
Raven Lunatic

Send message
Joined: 27 Sep 08
Posts: 10
Message 35282 - Posted: 18 Oct 2010, 19:37:52 UTC

Thanks you for your reply. BONIC version installed is 6.10.58 Windows x64

cc_config.xml now looks like this.

<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_cuda_dev>1</ignore_cuda_dev>
</options>
</cc_config>

I rebooted and BONIC is still using both GFX cards. I also dont see anything in the message tab relating to disabling GPU1. Not sure why its not working.
ID: 35282 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 35283 - Posted: 18 Oct 2010, 20:03:49 UTC - in response to Message 35282.  

Sorry, i didn't notice, the cc_config.xml needs to placed in the Boinc Data directory, not the Program Install location,
the exact location is shown in your Startup messages, the folder is likely to be hidden, so you'll need to unhide it,

Claggy
ID: 35283 · Report as offensive
Raven Lunatic

Send message
Joined: 27 Sep 08
Posts: 10
Message 35287 - Posted: 18 Oct 2010, 20:41:58 UTC

Thank you so much!

Its working perfectly now and reporting GPU1 to be ignored in the start up messages. I Just need to make sure the 9400 hasn't melted anything important. :)

ID: 35287 · Report as offensive

Message boards : Questions and problems : Unable to get BONIC to use only 1 GPU

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.