Can I allocate one project to each of two GPUs?

Message boards : GPUs : Can I allocate one project to each of two GPUs?
Message board moderation

To post messages, you must log in.

AuthorMessage
Peter Hucker
Avatar

Send message
Joined: 6 Oct 06
Posts: 609
United Kingdom
Message 93246 - Posted: 20 Oct 2019, 17:51:47 UTC

I'm running Milkyway (which is double precision floating point), and Einstein (which is single precision). One of my GPUs has vastly better double precision (but single is more similar), so I'd like to put Milkyway on that and Einstein on the other. Any way to do this?
ID: 93246 · Report as offensive
Peter Hucker
Avatar

Send message
Joined: 6 Oct 06
Posts: 609
United Kingdom
Message 93247 - Posted: 20 Oct 2019, 18:36:25 UTC

Just answered my own question. I found the manual I didn't know existed for config files:
https://boinc.berkeley.edu/wiki/Client_configuration

I added the following to the options section of cc_config:
<exclude_gpu>
<url>http://einstein.phys.uwm.edu/</url>
<device_num>1</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://milkyway.cs.rpi.edu/milkyway/</url>
<device_num>0</device_num>
</exclude_gpu>

Hence Einstein is prohibited from using GPU 1, and Milkyway is prohibited from using GPU 0, so they have to go to the correct one for their floating point precision type.
ID: 93247 · Report as offensive

Message boards : GPUs : Can I allocate one project to each of two GPUs?

Copyright © 2020 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.