Running setiathome/astropulse on AMD rx 560 problem

Questions and Answers : Unix/Linux : Running setiathome/astropulse on AMD rx 560 problem
Message board moderation

To post messages, you must log in.

AuthorMessage
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 59,874,438
RAC: 40,220
United States
Message 1961751 - Posted: 24 Oct 2018, 20:19:50 UTC

I am using Ubuntu 18.10 and have set the preferences for seti and astropulse to use both GPU and CPU. When the seti ap runs it uses CPU only while astropulse runs on the GPU. Since astropulse units only download rarely the GPU is mostly idle. I am using ROCm for the opencl computing. I tried the mesa clover driver first but that resulted in compute errors. Can I run seti on the AMD rx 560 GPU?

My computer is: 8598471
ID: 1961751 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15144
Credit: 4,359,945
RAC: 689
Netherlands
Message 1961767 - Posted: 24 Oct 2018, 22:14:42 UTC - in response to Message 1961751.  

Only with a supported OpenCL driver, and Mesa sure isn't it.
Apart from that, when looking at your account, it comes with errors at the top of the page. According to the developer this is because you may have set something someplace (cc_config.xml maybe) that makes your GPU show up as "Baffin [Radeon RX 550 640SP / RX 560/560X]" with the square brackets '[]'. That breaks things in the code of the page as there a lot of things are done in square brackets. If you want to fix this, please use parentheses '()' instead.
ID: 1961767 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 59,874,438
RAC: 40,220
United States
Message 1961786 - Posted: 25 Oct 2018, 0:27:21 UTC - in response to Message 1961767.  

Only with a supported OpenCL driver, and Mesa sure isn't it.
Apart from that, when looking at your account, it comes with errors at the top of the page. According to the developer this is because you may have set something someplace (cc_config.xml maybe) that makes your GPU show up as "Baffin [Radeon RX 550 640SP / RX 560/560X]" with the square brackets '[]'. That breaks things in the code of the page as there a lot of things are done in square brackets. If you want to fix this, please use parentheses '()' instead.


That is the string shown by 'clinfo' so it must be the way ROCm reports my GPU. I can't think of any way to fix it since changing that string in the xml files seems to have no effect. Is that why seti won't use my GPU even though astropulse does?
ID: 1961786 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15144
Credit: 4,359,945
RAC: 689
Netherlands
Message 1962102 - Posted: 27 Oct 2018, 8:38:11 UTC - in response to Message 1961786.  

No, because the code checks if your GPU is Intel, NVIDIA, AMD or other generic and appoints the right platform (CUDA, OpenCL) accordingly. Mesa OpenCL isn't supported here, plain and simple. But whether Multibeam can run under ROCm is more something you have to ask in the Number Crunching forum (that's where the Linux Gurus live, although most of them will be running NVIDIA)
ID: 1962102 · Report as offensive
Paul

Send message
Joined: 17 May 99
Posts: 71
Credit: 42,944,885
RAC: 11,233
United States
Message 1971122 - Posted: 19 Dec 2018, 23:22:14 UTC - in response to Message 1962102.  

Mesa OpenCL isn't supported here, plain and simple.


Rats. That is too bad because it used to work. I got two good years in of GPU computing for SETI with my AMD 7870s on OSS stack. So, that is a change from previous compatibility.
ID: 1971122 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 11514
Credit: 1,159,711,666
RAC: 563,863
United States
Message 1971126 - Posted: 20 Dec 2018, 0:22:23 UTC - in response to Message 1971122.  

I think the person you need to ask for help is Ben

He was the person that was compiling his own app for ROCm and from his Hosts results page he seems to be producing valid results.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1971126 · Report as offensive

Questions and Answers : Unix/Linux : Running setiathome/astropulse on AMD rx 560 problem


 
©2020 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.