Pascal Dupuis <cdemi...@gmail.com> writes: > 2017-10-11 11:39 GMT+02:00 Pascal Dupuis <cdemi...@gmail.com>: >> Hello Andreas, >> >> As there is no pyopencl package in CentOS 7, I compiled it from the >> checkout sources on github. >> >> At first, compilation failed with lots of error. On Centos, software >> are rather conservatives, gcc is >> version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) . It seems that it >> does enable c++-2011 by default. This can easily be solved as: >> env CFLAGS="-std=c++11" make >> >> > > Hello, > > found the issue. > 1) I compiled pycuda. This creates '/etc/aksetup-defaults.py' with > CXXFLAGS = [] > 2) I compiled pyopencl. This reuses the defaults from > '/etc/aksetup-defaults.py' > > It seems pycuda doesn't require c++11, so it is unset. When compiling > pyopenc, it hangs.
Glad to hear you were able to sort out the issue. I've cc'd the list on this reply for archival. Best, Andreas _______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl