-
Notifications
You must be signed in to change notification settings - Fork 206
Does not compile on Mac OS X High sierra. #345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What GPU are you using? 2012 MacBook Pro's? I can't build this any more b/c I don't have an NVIDIA GPU-capable Mac. I am looking forward to eGPU support (hopefully soon). For reference, can you paste in the entire compiler output here? |
I am generally nervous about what version of nvcc works with which version of xcode that works with which version of the NVIDIA drivers etc. ... I've had a lot of problems with that in the past. |
Radeon Pro 560, the 2017 MBP's. |
Um, Radeon Pro? AMD's GPU? |
Yes, as far as I'm aware, the library should be able to compile, and run in emulation mode on the CPU, |
Oh. Wow. Um, we didn't know that. I'm really nervous this has nothing to do with "our" code and instead with the compiler-driver-vendorcompiler stack ... |
|
For posterity, can you post your compiler version and your NVIDIA tools version? |
Yes,
|
and which Gunrock branch you're using (master?). |
Master, as detailed in the official install guide. |
I want "which xcode version and which NVIDIA toolchain version". |
Oh sorry, It's With |
OK, well, i have the exact same setup. But https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html says that we need XCode 9.2. |
I thought it meant just the command-line tools. I'll try to install and see how it goes. |
NVIDIA (not just with OS X but with all compilers/platforms) has really really strict requirements about OS+compiler versions. Virtually every time we've had reported compiler issues, it's been because the user did not use the blessed compiler version. |
Must be a pain. Explains why Apple don't ship Nvidia graphics any more. |
It's not an Apple problem, it's all other OSes as well. Example from earlier this week: #343. It is evidently really really hard to integrate & validate a compiler (gcc/clang) with NVIDIA's compiler/driver. Apple no longer shipping NVIDIA graphics makes me sad too, but I think it's an orthogonal issue to the compiler issues. |
Off topic rant, but I think it might be related. Nvidia aren't very cooperative (Torvalds famously pulled a middle finger to them, Carmack called them the "The most unreasonable company he'd worked with"). Apple's whole pitch is providing a seamless experience (hence why |
Rolled back to |
I don't work with Mac and Mac compilation stuff, but it seems like a boost error. And we've seen that the most stable version of boost for us is 1.58.0. Could that maybe solve that error? |
Friend in the know took a look at this and made the following comment:
For the time being, @neoblizz's suggestion of using 1.58.0 is the right path forward, I think. |
I'll try to uninstall the brew version of boost and downgrade. |
@appetrosyan any luck with this? |
Nope. Downgraded boost, still compiles with the same error. Could be because the boost version installed by On another note, compiles fine on Archlinux with |
So right now I have a Mac (without an NVIDIA GPU) but I've stupidly? updated Xcode to latest so I can't build:
I do hope to reproduce this in the future when the compiler catches up, especially if/when Apple supports eGPUs from NVIDIA 🙏 because I have one ready to go, but fwiw, I use Macports & its boost. |
i meet the same problem when i compile caffe on MacOs with egpu, I think the reason should be the conflict between Xcode version and boost version, i am now trying to downgrade my boost version to check this problem, you guys have anything new? |
We have nothing new. It does not seem like Apple is interested in either supporting NVIDIA eGPUs or NVIDIA's latest toolchain. I'd like to see this fixed. I have two (useless) eGPUs at home and at work that I'm ready and willing to put through their paces with Gunrock. |
@jowens i have located the code raise the error, now checking the code line by line, it may take me a several days. |
HI. Just tried to compile the library, but the compilation of
... /dep/gunrock/CMakeFiles/gunrock.dir/app/bfs/./gunrock_generated_bfs_app.cu.o
fails with an unreasonably long error message.
I'm using Xcode Command Line Tools v 9.0, to bypass NVCC not supporting clang v 9.1.
The text was updated successfully, but these errors were encountered: