GPU still not supported for folding on MacOS client?

Post requests to add new GPUs to the official whitelist here.

Moderators: Site Moderators, FAHC Science Team

jmenard
Posts: 5
Joined: Wed Apr 15, 2020 11:22 pm
Hardware configuration: iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
Location: Boston

Re: GPU still not supported for folding on MacOS client?

Post by jmenard »

So why am I able to use my GPU on my iMAC with BOINC but not with this effort? All of the above does not make sense to me if BOINC does this routinely.
iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: GPU still not supported for folding on MacOS client?

Post by Joe_H »

jmenard wrote:So why am I able to use my GPU on my iMAC with BOINC but not with this effort? All of the above does not make sense to me if BOINC does this routinely.
Because someone or group within the BOINC research network had the resources of time, money, etc. to do that. Just how many projects under BOINC are available to run on you Mac GPU under OS X, and how does that compare to the total number available through BOINC?
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
jmenard
Posts: 5
Joined: Wed Apr 15, 2020 11:22 pm
Hardware configuration: iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
Location: Boston

Re: GPU still not supported for folding on MacOS client?

Post by jmenard »

I don't know the exact number and the FAQ for that on BOINC (at least the one I found) had not been updated since 2015, but there are others based on my anecdotal trial of other BOINC projects. I had been primarily running SETI on my iMAC's and MacBook's with GPU's for a few years. I realize work would need to occur, I was responding since the tone of the thread implied it was not possible since Apple was focused on metal API. Thanks for your response, hopefully someone tackles this at some point but I understand the issue of getting resources.
iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
seegem
Posts: 3
Joined: Sat Apr 04, 2020 6:21 pm

Re: GPU still not supported for folding on MacOS client?

Post by seegem »

I personally hired a coder & engineer to enable Mac gpu compute for seti at home. It took a few months and I think cost about $10k (from what I recall). My understanding is that the effort would be greater given changes in Gpu hardware and OS X. I’m not a software engineer or I would have done it already :)
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: GPU still not supported for folding on MacOS client?

Post by Joe_H »

BOINC has many groups running projects through it, F@h is mainly 3 research groups located at three different locations - WUSTL, Temple and MSKCC. Altogether a few dozen people, and one paid software developer. There are a number of colleagues at other institutions who collaborate with them under the F@h Consortium around the world.

The COVID-19 response is resulting in some additional research groups joining and volunteer help in areas such as software, communication and web resources. What that may lead to in total remains to be seen, but there is work going on behind the scene on a number of different fronts.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
jmenard
Posts: 5
Joined: Wed Apr 15, 2020 11:22 pm
Hardware configuration: iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
Location: Boston

Re: GPU still not supported for folding on MacOS client?

Post by jmenard »

seegem wrote:I personally hired a coder & engineer to enable Mac gpu compute for seti at home. It took a few months and I think cost about $10k (from what I recall). My understanding is that the effort would be greater given changes in Gpu hardware and OS X. I’m not a software engineer or I would have done it already :)
Thx :!:
iMac (Retina 5K, 27-inch, 2019), 3.7 GHz 6-Core Intel Core i5, 48 GB 2667 MHz DDR4, Radeon Pro 580X 8 GB, Catalina
seegem
Posts: 3
Joined: Sat Apr 04, 2020 6:21 pm

Re: GPU still not supported for folding on MacOS client?

Post by seegem »

One of my greatest pleasures :)
durval
Posts: 15
Joined: Sun Apr 12, 2020 12:27 am

Re: GPU still not supported for folding on MacOS client?

Post by durval »

Hello @Joe_H, thanks for the great explanation (specially the "C" vs "G" part), now everything makes sense.

Too bad, I was hoping there were some "hidden" way for me to get my Mac GPUs here contributing to F@H -- but now I understand this is not the case :|

It would be great if the folder core for the Mac GPUs were to be made available sooner rather than later. I already volunteered to help with this (see here), please let me know if there's anything I can do to help it come along ASAP.

Cheers,
-- Durval.
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: GPU still not supported for folding on MacOS client?

Post by Joe_H »

Only "hidden" way at this point is booting a Mac into Linux or Windows. We will see if that changes.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
BjarneDMat
Posts: 1
Joined: Sun Apr 19, 2020 4:45 am

Re: GPU still not supported for folding on MacOS client?

Post by BjarneDMat »

I do think, that I'm 90% of the way to having GPU on MacOS :D

I've gone from :

Code: Select all

bjarne@MacPro 13:04:43 /Library/Application Support/FAHClient
$=> grep -A20 System logs/* | grep -v WU
logs/log-20200418-105137.txt:07:35:03:******************************* System ********************************
logs/log-20200418-105137.txt-07:35:03:        CPU: Intel(R) Xeon(R) CPU X5690 @ 3.47GHz
logs/log-20200418-105137.txt-07:35:03:     CPU ID: GenuineIntel Family 6 Model 44 Stepping 2
logs/log-20200418-105137.txt-07:35:03:       CPUs: 24
logs/log-20200418-105137.txt-07:35:03:     Memory: 96.00GiB
logs/log-20200418-105137.txt-07:35:03:Free Memory: 88.35GiB
logs/log-20200418-105137.txt-07:35:03:    Threads: POSIX_THREADS
logs/log-20200418-105137.txt-07:35:03: OS Version: 10.15
logs/log-20200418-105137.txt-07:35:03:Has Battery: false
logs/log-20200418-105137.txt-07:35:03: On Battery: false
logs/log-20200418-105137.txt-07:35:03: UTC Offset: 2
logs/log-20200418-105137.txt-07:35:03:        PID: 146
logs/log-20200418-105137.txt-07:35:03:        CWD: /Library/Application Support/FAHClient
logs/log-20200418-105137.txt-07:35:03:         OS: Darwin 19.4.0 x86_64
logs/log-20200418-105137.txt-07:35:03:    OS Arch: AMD64
logs/log-20200418-105137.txt-07:35:03:       GPUs: 0
logs/log-20200418-105137.txt-07:35:03:       CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
logs/log-20200418-105137.txt-07:35:03:             dlopen(libcuda.dylib, 1): image not found
logs/log-20200418-105137.txt-07:35:03:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
logs/log-20200418-105137.txt-07:35:03:             dlopen(libOpenCL.dylib, 1): image not found
logs/log-20200418-105137.txt-07:35:03:***********************************************************************
to :

Code: Select all

logs/log-20200418-110350.txt-10:51:39:       GPUs: 1
logs/log-20200418-110350.txt-10:51:39:      GPU 0: Bus:5 Slot:0 Func:0 AMD:4 Juniper [Radeon HD 5700 Series]
logs/log-20200418-110350.txt-10:51:39:       CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
logs/log-20200418-110350.txt-10:51:39:             dlopen(libcuda.dylib, 1): image not found
logs/log-20200418-110350.txt-10:51:39:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
logs/log-20200418-110350.txt-10:51:39:             dlopen(libOpenCL.dylib, 1): image not found
I've gotten here by installing MacPorts and pocl.
So, now F@H can see the GPU !but! it still can't see libOpenCL.dylib installed at /opt/local/lib/libOpenCL.dylib.
I tried :

Code: Select all

root@MacPro 12:55:31 /Volumes/Bjarne/test/pocl-1.5/build
#=> ln -s /usr/local/lib/libOpenCL.2.5.0.dylib /usr/lib/libOpenCL.dylib 
ln: /usr/lib/libOpenCL.dylib: Read-only file system
so I'm running into the system protection issue !if! F@H is looking for libOpenCL.dylib in /usr/lib
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: GPU still not supported for folding on MacOS client?

Post by PantherX »

Welcome to the F@H Forum BjarneDMat,

Please note that the client can detect the GPU in macOS. The issue is that there's no FahCore that can run on the macOS which can use your GPU. Hence, the "workaround" is to boot into Windows or Linux where the correct FahCore can run on the OS.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Post Reply