r***@blue.alter.pl
2016-02-07 19:50:31 UTC
Hi,
I've read on https://wiki.tiker.net/PyCuda/Installation/Linux
that "Boost C++ libraries are no longer a dependency of PyCUDA."
Also on Mac installation wiki it's written that you do not need boost for
pycuda.
Yet I'm unable to install pycuda WITHOUT boost on my system, is it
possible? How?
Or is it a bad wording, and boost on linux is needed to properly compile
and install pycuda.
I'm on ubuntu 15.10 with fresh MANUAL installation of cuda-7.5 which
works ok.
Here is error message during pycuda attempt:
***@black:~/pycuda-2015.1.3$ python setup.py build
running build
running build_py
running build_ext
building '_driver' extension
x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -O3 -DNDEBUG
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong
-Wformat -Werror=format-security -fPIC -DPYGPU_PYCUDA=1
-DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -Isrc/cpp
-I/usr/local/cuda-7.5/include
-I/usr/lib/python2.7/dist-packages/numpy/core/include
-I/usr/include/python2.7 -c src/cpp/cuda.cpp -o
build/temp.linux-x86_64-2.7/src/cpp/cuda.o
In file included from src/cpp/cuda.cpp:1:0:
src/cpp/cuda.hpp:30:32: fatal error: boost/shared_ptr.hpp: No such file
or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
--
r
I've read on https://wiki.tiker.net/PyCuda/Installation/Linux
that "Boost C++ libraries are no longer a dependency of PyCUDA."
Also on Mac installation wiki it's written that you do not need boost for
pycuda.
Yet I'm unable to install pycuda WITHOUT boost on my system, is it
possible? How?
Or is it a bad wording, and boost on linux is needed to properly compile
and install pycuda.
I'm on ubuntu 15.10 with fresh MANUAL installation of cuda-7.5 which
works ok.
Here is error message during pycuda attempt:
***@black:~/pycuda-2015.1.3$ python setup.py build
running build
running build_py
running build_ext
building '_driver' extension
x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -O3 -DNDEBUG
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong
-Wformat -Werror=format-security -fPIC -DPYGPU_PYCUDA=1
-DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -Isrc/cpp
-I/usr/local/cuda-7.5/include
-I/usr/lib/python2.7/dist-packages/numpy/core/include
-I/usr/include/python2.7 -c src/cpp/cuda.cpp -o
build/temp.linux-x86_64-2.7/src/cpp/cuda.o
In file included from src/cpp/cuda.cpp:1:0:
src/cpp/cuda.hpp:30:32: fatal error: boost/shared_ptr.hpp: No such file
or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
--
r