Forum > Linux
SETI MB CUDA for Linux
Jason G:
--- Quote from: riofl on 14 Jul 2009, 08:48:58 am ---...
<coproc>
<type>CUDA</type>
<count>2</count>
</coproc>
...
--- End quote ---
Start by changing the orange #2 to a 1. This tag specifies how many GPUs the application (each instance) uses. AFAIK so far they only ever use 1. Other stuff, I'm sure some more Linux savvy people can help you with.
Jason
Claggy:
--- Quote from: riofl on 14 Jul 2009, 08:48:58 am ---When I start Boinc, it reports 2 Tesla cards instead of the proper ones. Older boincs properly identify both cards. If this were just a naming problem I could live with this but....
With the above coproc statement set to 1,
When I do a ps ax to look at my process list this is what I see:
7987 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
7988 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
and it uses the GTX285 for both simultaneously!
When I have the coproc statement set to 2, it uses the Tesla only and runs only 1 process. it has both device numbers but the GTX285 is not used:
10170 ? RNLl 0:07 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0 --device 1
How can I get this to do the right thing and provide me with processes like these using both cards?
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 1
How can I fix this? I know others are using 2 cards successfully.
--- End quote ---
Because Boinc versions greater than 6.6.25 only use the most cabable, use a cc_config.xml with this in it:
<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>
See How do I configure my client using the cc_config.xml file?
for more options and debug flags.
Claggy
riofl:
--- Quote from: Claggy on 14 Jul 2009, 03:12:00 pm ---
--- Quote from: riofl on 14 Jul 2009, 08:48:58 am ---When I start Boinc, it reports 2 Tesla cards instead of the proper ones. Older boincs properly identify both cards. If this were just a naming problem I could live with this but....
With the above coproc statement set to 1,
When I do a ps ax to look at my process list this is what I see:
7987 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
7988 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
and it uses the GTX285 for both simultaneously!
When I have the coproc statement set to 2, it uses the Tesla only and runs only 1 process. it has both device numbers but the GTX285 is not used:
10170 ? RNLl 0:07 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0 --device 1
How can I get this to do the right thing and provide me with processes like these using both cards?
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 1
How can I fix this? I know others are using 2 cards successfully.
--- End quote ---
Because Boinc versions greater than 6.6.25 only use the most cabable, use a cc_config.xml with this in it:
<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>
See How do I configure my client using the cc_config.xml file?
for more options and debug flags.
Claggy
--- End quote ---
Thanks for the reply! See my item #6 I do have that set in cc_config.
riofl:
--- Quote from: Jason G on 14 Jul 2009, 02:08:16 pm ---
--- Quote from: riofl on 14 Jul 2009, 08:48:58 am ---...
<coproc>
<type>CUDA</type>
<count>2</count>
</coproc>
...
--- End quote ---
Start by changing the orange #2 to a 1. This tag specifies how many GPUs the application (each instance) uses. AFAIK so far they only ever use 1. Other stuff, I'm sure some more Linux savvy people can help you with.
Jason
--- End quote ---
I agree, but if I do not set it to 2, then it feeds 2 workunits simultaneously to my GTX which is my device 0. my process list shows
7987 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
7988 ? RNLl 0:01 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0
by setting it to 2, it fools seti app into using only the tesla which is at the end of the device parameter list and it only feeds 1 wu at a time. so for now until i find out how to get boinc to set the second app to device 1, this is the most efficient setting. it gives this:
10170 ? RNLl 0:07 setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu --device 0 --device 1
and the app parses things out and finds device 1 at the end so it uses that and ignores device 0.
i need to somehow make boinc recognize that there are 2 individual cards not the same in the system which they broke. it used to do that... and then to assign an individual seti app to each device.
i have a feel ing this is broken boinc source and i *really* do not want to take the time to dig through to find where it discovers the devices, fix that and then fix the device assignments. my work load for work does not allow me that time needed :( . they had it working to report proper devices in an earlier version, and then it looks like someone decided to place the report on 2 lines and that broke it. however the device assignments were messed up even in that early version ( 6.6.20 i think it was).
i was hoping some kind of screwball configuration magic workaround would force it to do what i need, but i am beginning to doubt that.
riofl:
Got it working! the formula to make 2 devices work simultaneously in linux is to use, of all things, the ancient 6.4.5 boinc! the device reporter is still borked. it reports 2 teslas instead of 1 gtx and 1 tesla, but it feeds 1 wu to each device like it is supposed to.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version