Locking a task to a particular GPU

BobMALCS
BobMALCS
Joined: 13 Aug 10
Posts: 20
Credit: 54539336
RAC: 0
Topic 196789

If I have 2 (or more for that matter) GPUs, either same or different model, on a system, is it possible to ensure that Einstein@h (for example) runs only on a particular GPU.

BobM

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 92

Locking a task to a particular GPU

Yes, with the BOINC 7.0 option in the client configuration file cc_config.xml

You'll want to exclude the GPU you do not want to use at Einstein.

BobMALCS
BobMALCS
Joined: 13 Aug 10
Posts: 20
Credit: 54539336
RAC: 0

Jord, thanks for the pointer.

Jord, thanks for the pointer. That's the info I needed.

I will, I assume, also need 1.

Just one minor grumble. It would have been easier, for me at least, if I could just have entered Einstein@Home rather than entering each as there are, at the moment, five of them and they could be changed at any time.

Thanks again,

BobM

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

RE: Just one minor grumble.

Quote:
Just one minor grumble. It would have been easier, for me at least, if I could just have entered Einstein@Home rather than entering each as there are, at the moment, five of them and they could be changed at any time.


You can just enter Einstein@Home, you don't have to enter any entries, same as you don't have to enter a entry if you only have GPUs from one Vendor,

Einstein only has one Sub-project that uses GPUs, why would you want to enter five entries?

Quote:

Don't use the given GPU for the given project. If is not specified, exclude all GPUs of the given type. is required if your computer has more than one type of GPU; otherwise it can be omitted. specifies the short name of an application (i.e. the element within the element in client_state.xml). If specified, only tasks for that app are excluded. You may include multiple elements. New in 6.13

project_URL
[N]
[nvidia|ati|intel_gpu]
[appname]

Claggy

BobMALCS
BobMALCS
Joined: 13 Aug 10
Posts: 20
Credit: 54539336
RAC: 0

Jord, Had another look at

Jord,

Had another look at the Configuration file syntax. It would seem, from the syntax, that appname is optional. I would assume then that if it is omitted then project_URL effectively specifies all the apps in the project. The way the explantion is stated seemed, to me, to imply that all apps had to be specified individually.

By the way, I assume the project_url is actually in the client_state.xml file.

regards,
BobM

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 92

http://einstein.phys.uwm.edu


http://einstein.phys.uwm.edu 1

The above cc_config.xml file, when placed in your BOINC Data directory, would exclude GPU1 from being used here. Only GPU0 would then be used.

BobMALCS
BobMALCS
Joined: 13 Aug 10
Posts: 20
Credit: 54539336
RAC: 0

Jord, All sorted now.

Jord,

All sorted now. Thanks for the help.

BobM

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 92

Yay. :-) You're welcome.

Yay. :-)
You're welcome.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.