Cheung, Samson H. (ARC-TN)[Computer Sciences Corporation]
2015-10-05 20:07:59 UTC
Hello,
I encounter the following error while I am installing PyCUDA (doing make). The command I use is
%> python configure.py --boost-compiler=gcc-4.9.2
I also tried
%> python configure.py \
--boost-inc-dir=/nasa/pkgsrc/2015Q2/include/boost \
--boost-lib-dir=/nasa/pkgsrc/2015Q2/lib \
--boost-python-libname=boost-python-1.58.0 \
--boost-compiler=gcc-4.9.2
. . . < the error > . . .
. . .
gcc -pthread -Wno-unused-result -pipe -I/usr/include -I/nasa/pkgsrc/2015Q2/include/db4 -I/nasa/pkgsrc/2015Q2/include -I/nasa/pkgsrc/2015Q2/include/ncurses -O3 -DNDEBUG -fPIC -DHAVE_CURAND=1 -DBOOST_ALL_NO_LIB=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_BUILD_DLL=1 -DPYGPU_PACKAGE=pycuda -DBOOST_THREAD_DONT_USE_CHRONO=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/nasa/cuda/7.0/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/include/python3.4 -c bpl-subset/bpl_subset/libs/system/src/error_code.cpp -o build/temp.linux-x86_64-3.4/bpl-subset/bpl_subset/libs/system/src/error_code.o
gcc -pthread -Wno-unused-result -pipe -I/usr/include -I/nasa/pkgsrc/2015Q2/include/db4 -I/nasa/pkgsrc/2015Q2/include -I/nasa/pkgsrc/2015Q2/include/ncurses -O3 -DNDEBUG -fPIC -DHAVE_CURAND=1 -DBOOST_ALL_NO_LIB=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_BUILD_DLL=1 -DPYGPU_PACKAGE=pycuda -DBOOST_THREAD_DONT_USE_CHRONO=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/nasa/cuda/7.0/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/include/python3.4 -c bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp -o build/temp.linux-x86_64-3.4/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o
In file included from /nasa/pkgsrc/2015Q2/include/boost/atomic/atomic.hpp:19:0,
from /nasa/pkgsrc/2015Q2/include/boost/atomic.hpp:12,
from /nasa/pkgsrc/2015Q2/include/boost/thread/pthread/once_atomic.hpp:20,
from /nasa/pkgsrc/2015Q2/include/boost/thread/once.hpp:20,
from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7:
/nasa/pkgsrc/2015Q2/include/boost/atomic/capabilities.hpp:22:63: fatal error: pycudaboost/atomic/detail/caps_gcc_atomic.hpp: No such file or directory
#include BOOST_ATOMIC_DETAIL_HEADER(boost/atomic/detail/caps_)
^
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
I would be graceful if someone can give me some hint!
Thanks,
~Samson
I encounter the following error while I am installing PyCUDA (doing make). The command I use is
%> python configure.py --boost-compiler=gcc-4.9.2
I also tried
%> python configure.py \
--boost-inc-dir=/nasa/pkgsrc/2015Q2/include/boost \
--boost-lib-dir=/nasa/pkgsrc/2015Q2/lib \
--boost-python-libname=boost-python-1.58.0 \
--boost-compiler=gcc-4.9.2
. . . < the error > . . .
. . .
gcc -pthread -Wno-unused-result -pipe -I/usr/include -I/nasa/pkgsrc/2015Q2/include/db4 -I/nasa/pkgsrc/2015Q2/include -I/nasa/pkgsrc/2015Q2/include/ncurses -O3 -DNDEBUG -fPIC -DHAVE_CURAND=1 -DBOOST_ALL_NO_LIB=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_BUILD_DLL=1 -DPYGPU_PACKAGE=pycuda -DBOOST_THREAD_DONT_USE_CHRONO=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/nasa/cuda/7.0/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/include/python3.4 -c bpl-subset/bpl_subset/libs/system/src/error_code.cpp -o build/temp.linux-x86_64-3.4/bpl-subset/bpl_subset/libs/system/src/error_code.o
gcc -pthread -Wno-unused-result -pipe -I/usr/include -I/nasa/pkgsrc/2015Q2/include/db4 -I/nasa/pkgsrc/2015Q2/include -I/nasa/pkgsrc/2015Q2/include/ncurses -O3 -DNDEBUG -fPIC -DHAVE_CURAND=1 -DBOOST_ALL_NO_LIB=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_BUILD_DLL=1 -DPYGPU_PACKAGE=pycuda -DBOOST_THREAD_DONT_USE_CHRONO=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/nasa/cuda/7.0/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/lib/python3.4/site-packages/numpy/core/include -I/home3/old_home3/scheung/opt/python3.4.3/include/python3.4 -c bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp -o build/temp.linux-x86_64-3.4/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o
In file included from /nasa/pkgsrc/2015Q2/include/boost/atomic/atomic.hpp:19:0,
from /nasa/pkgsrc/2015Q2/include/boost/atomic.hpp:12,
from /nasa/pkgsrc/2015Q2/include/boost/thread/pthread/once_atomic.hpp:20,
from /nasa/pkgsrc/2015Q2/include/boost/thread/once.hpp:20,
from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7:
/nasa/pkgsrc/2015Q2/include/boost/atomic/capabilities.hpp:22:63: fatal error: pycudaboost/atomic/detail/caps_gcc_atomic.hpp: No such file or directory
#include BOOST_ATOMIC_DETAIL_HEADER(boost/atomic/detail/caps_)
^
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
I would be graceful if someone can give me some hint!
Thanks,
~Samson