8000 Does not compile on Mac OS X High sierra. · Issue #345 · gunrock/gunrock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Open
appetrosyan opened this issue Jun 28, 2018 · 29 comments
Open

Does not compile on Mac OS X High sierra. #345

appetrosyan opened this issue Jun 28, 2018 · 29 comments
Labels
🏭 build Compilation or build issues with cmake or make?

Comments

@appetrosyan
Copy link

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.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

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?

@appetrosyan appetrosyan changed the title DOes not compile on Mac OS X High sierra. Does not compile on Mac OS X High sierra. Jun 28, 2018
@jowens
Copy link
Contributor
jowens commented Jun 28, 2018 8000

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.

@appetrosyan
Copy link
Author

Radeon Pro 560, the 2017 MBP's.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

Um, Radeon Pro? AMD's GPU?

@appetrosyan
Copy link
Author

Yes, as far as I'm aware, the library should be able to compile, and run in emulation mode on the CPU,

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

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 ...

@appetrosyan
Copy link
Author
➜  dep git:(master) ✗ make                           
-- Boost version: 1.67.0
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   timer
--   chrono
-- Found OpenMP (-libomp)
CMake Warning at cmake/FindMetis.cmake:47 (MESSAGE):
  Metis was requested but support was not found, run `sudo apt-get install
  metis` or `/dep/install_metis.sh` for installation.
Call Stack (most recent call first):
  CMakeLists.txt:50 (include)


-- Project Added: bfs
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/app/GIT/gunrock/dep
[ 28%] Built target extern_openmp
[ 32%] Building NVCC (Device) object gunrock/CMakeFiles/gunrock.dir/app/bfs/gunrock_generated_bfs_app.cu.o
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103156; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103160; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103164; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103189; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103192; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103195; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103199; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103203; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103327; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103331; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103335; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103357; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx
8000
, line 103360; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103363; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103367; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103371; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103543; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103547; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103551; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103555; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103577; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103580; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103583; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103586; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103590; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103784; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103788; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103813; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103816; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103820; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103824; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103828; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103887; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103891; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103895; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103920; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103923; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103926; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103930; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 103934; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104058; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104062; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104066; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104088; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104091; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104094; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104098; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104102; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104273; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104277; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104281; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104285; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104307; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104310; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104313; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104316; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104320; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104545; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104549; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104570; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104573; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104577; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104581; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104585; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104821; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104825; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104846; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104849; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104853; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104857; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
ptxas /var/folders/sc/zj80rs5x28v7tc0fr_yl65y80000gn/T//tmpxft_000022eb_00000000-5_bfs_app.ptx, line 104861; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
/usr/local/include/boost/system/error_code.hpp:240:21: error: exception specification of overriding function is more lax than base version
virtual const char *name() const 
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/system_error:399:29: note: overridden virtual function is here
public: virtual const char *name() const noexcept = 0; 
                            ^
/usr/local/include/boost/system/error_code.hpp:250:42: error: exception specification of overriding function is more lax than base version
inline virtual std::__1::error_condition default_error_condition(int ev) const; 
                                         ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/system_error:400:25: note: overridden virtual function is here
virtual error_condition default_error_condition(int __ev) const noexcept; 
                        ^
/usr/local/include/boost/system/error_code.hpp:252:21: error: exception specification of overriding function is more lax than base version
inline virtual bool equivalent(int code, const std::__1::error_condition & condition) const; 
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/system_error:401:14: note: overridden virtual function is here
virtual bool equivalent(int __code, const error_condition & __condition) const noexcept; 
             ^
/usr/local/include/boost/system/error_code.hpp:254:21: error: exception specification of overriding function is more lax than base version
inline virtual bool equivalent(const std::__1::error_code & code, int condition) const; 
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/system_error:402:14: note: overridden virtual function is here
virtual bool equivalent(const error_code & __code, int __condition) const noexcept; 
             ^
4 errors generated.
CMake Error at gunrock_generated_bfs_app.cu.o.cmake:279 (message):
  Error generating file
  /Users/app/GIT/gunrock/dep/gunrock/CMakeFiles/gunrock.dir/app/bfs/./gunrock_generated_bfs_app.cu.o


make[2]: *** [gunrock/CMakeFiles/gunrock.dir/app/bfs/gunrock_generated_bfs_app.cu.o] Error 1
make[1]: *** [gunrock/CMakeFiles/gunrock.dir/all] Error 2
make: *** [all] Error 2

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

For posterity, can you post your compiler version and your NVIDIA tools version?

@appetrosyan
Copy link
Author

Yes,

➜  dep git:(master) ✗ clang -v 
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin
Found CUDA installation: /usr/local/cuda, version unknown

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

and which Gunrock branch you're using (master?).

@appetrosyan
Copy link
Author

Master, as detailed in the official install guide.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

I want "which xcode version and which NVIDIA toolchain version".

@appetrosyan
Copy link
Author

Oh sorry,

It's xcode Command Line Tools v 9.0 running on xcode 9.4.1.

With CUDA Driver Version: 396.64 and CUDA toolkit 9.2.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

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.

@appetrosyan
Copy link
Author

I thought it meant just the command-line tools.

I'll try to install and see how it goes.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

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.

@appetrosyan
Copy link
Author

Must be a pain. Explains why Apple don't ship Nvidia graphics any more.

@jowens
Copy link
Contributor
jowens commented Jun 28, 2018

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.

@appetrosyan
Copy link
Author

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 g++ actually calls clang), or It just works. With Nvidia things do tend to break often and usually not easy to fix. Going full AMD is hard to justify otherwise.

@appetrosyan
Copy link
Author

Rolled back to Xcode 9.2. Same problem, exact same error message.

@neoblizz
Copy link
Member

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?

@neoblizz neoblizz added the 🏭 build Compilation or build issues with cmake or make? label Jun 29, 2018
@jowens
Copy link
Contributor
jowens commented Jun 29, 2018

Friend in the know took a look at this and made the following comment:

it looks like it's a boost vs. OS issue, or maybe boost vs. dev-tools.

/usr/local/include/boost/system/error_code.hpp:240:21: error: exception specification of overriding function is more lax than base version
virtual const char *name() const 
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/system_error:399:29: note: overridden virtual function is here
public: virtual const char *name() const noexcept = 0; 

So, it looks like the dev tools (or whatever is supplying /Library/Developer/CommandLineTools) has started using noexcept, but the version of boost that you're using has not yet moved to that.

For the time being, @neoblizz's suggestion of using 1.58.0 is the right path forward, I think.

@appetrosyan
Copy link
Author

I'll try to uninstall the brew version of boost and downgrade.

@neoblizz
Copy link
Member

@appetrosyan any luck with this?

@appetrosyan
Copy link
Author
appetrosyan commented Jul 13, 2018

Nope. Downgraded boost, still compiles with the same error. Could be because the boost version installed by homebrew and the system-wide are different. Apple sure loves hardlinks.

On another note, compiles fine on Archlinux with AMD RX 480. Runs in enmulation mode, but still runs.

@jowens
Copy link
Contributor
jowens commented Jul 13, 2018

So right now I have a Mac (without an NVIDIA GPU) but I've stupidly? updated Xcode to latest so I can't build:

nvcc fatal   : The version ('90100') of the host compiler ('Apple clang') is not supported

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.

@BowieHsu
Copy link

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?

@jowens
Copy link
Contributor
jowens commented Dec 14, 2018

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.

@BowieHsu
Copy link

@jowens i have located the code raise the error, now checking the code line by line, it may take me a several days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏭 build Compilation or build issues with cmake or make?
Projects
None yet
Development

No branches or pull requests

4 participants
0