Well, it looks like some tweaking of my --boost-inc-dir parameters found the header file for me. Apparently, I needed the full-path for my home directory instead of ~/. However, when compiling I now get an internal compiler error from gcc, as follows:
[EMAIL PROTECTED]:~/pycuda> make ctags -R src || true /usr/bin/python setup.py build running build running build_py running build_ext building '_driver' extension gcc -pthread -fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O3 -DNDEBUG -fPIC -Isrc/cpp -I/home/infinite/pool/include/boost-1_36/ -I/usr/local/cuda/include -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c src/wrapper/wrap_cudadrv.cpp -o build/temp.linux-x86_64-2.5/src/wrapper/wrap_cudadrv.o src/wrapper/wrap_cudadrv.cpp: In function 'void init_module__driver()': src/wrapper/wrap_cudadrv.cpp:270: warning: deprecated conversion from string constant to 'char*' src/wrapper/wrap_cudadrv.cpp:274: warning: deprecated conversion from string constant to 'char*' src/wrapper/wrap_cudadrv.cpp:275: warning: deprecated conversion from string constant to 'char*' src/wrapper/wrap_cudadrv.cpp:276: warning: deprecated conversion from string constant to 'char*' src/wrapper/wrap_cudadrv.cpp:277: warning: deprecated conversion from string constant to 'char*' gcc -pthread -fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O3 -DNDEBUG -fPIC -Isrc/cpp -I/home/infinite/pool/include/boost-1_36/ -I/usr/local/cuda/include -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c src/wrapper/tools.cpp -o build/temp.linux-x86_64-2.5/src/wrapper/tools.o /home/infinite/pool/include/boost-1_36/boost/type_traits/detail/cv_traits_impl.hpp: In instantiation of 'const bool boost::detail::cv_traits_imp<<unnamed>::memory_pool<<unnamed>::cuda_allocator>*>::is_const': /home/infinite/pool/include/boost-1_36/boost/type_traits/is_const.hpp:53: instantiated from 'boost::is_const<<unnamed>::memory_pool<<unnamed>::cuda_allocator> >' /home/infinite/pool/include/boost-1_36/boost/python/detail/cv_category.hpp:31: instantiated from 'boost::python::detail::cv_category<<unnamed>::memory_pool<<unnamed>::cuda_allocator> >' /home/infinite/pool/include/boost-1_36/boost/python/detail/unwind_type.hpp:58: instantiated from 'typename Generator::result_type boost::python::detail::unwind_ptr_type(U*, Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::memory_pool<<unnamed>::cuda_allocator>]' /home/infinite/pool/include/boost-1_36/boost/python/detail/unwind_type.hpp:127: instantiated from 'static typename Generator::result_type boost::python::detail::unwind_helper2<2>::execute(U& (*)(), Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::memory_pool<<unnamed>::cuda_allocator>]' /home/infinite/pool/include/boost-1_36/boost/python/detail/unwind_type.hpp:165: instantiated from 'typename Generator::result_type boost::python::detail::unwind_type(boost::type<U>*, Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::memory_pool<<unnamed>::cuda_allocator>&]' /home/infinite/pool/include/boost-1_36/boost/python/converter/pytype_function.hpp:45: instantiated from 'boost::python::type_info boost::python::converter::detail::unwind_type_id_(boost::type<Target>*, mpl_::false_*) [with T = <unnamed>::memory_pool<<unnamed>::cuda_allocator>&]' /home/infinite/pool/include/boost-1_36/boost/python/converter/pytype_function.hpp:68: instantiated from 'static const PyTypeObject* boost::python::converter::expected_pytype_for_arg<T>::get_pytype() [with T = <unnamed>::memory_pool<<unnamed>::cuda_allocator>&]' /home/infinite/pool/include/boost-1_36/boost/python/detail/signature.hpp:98: instantiated from 'static const boost::python::detail::signature_element* boost::python::detail::signature_arity<1u>::impl<Sig>::elements() [with Sig = boost::mpl::vector2<unsigned int, <unnamed>::memory_pool<<unnamed>::cuda_allocator>&>]' /home/infinite/pool/include/boost-1_36/boost/python/detail/caller.hpp:232: instantiated from 'static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::signature() [with F = unsigned int (<unnamed>::memory_pool<<unnamed>::cuda_allocator>::*)(), Policies = boost::python::default_call_policies, Sig = boost::mpl::vector2<unsigned int, <unnamed>::memory_pool<<unnamed>::cuda_allocator>&>]' /home/infinite/pool/include/boost-1_36/boost/python/object/py_function.hpp:48: instantiated from 'boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<unsigned int (<unnamed>::memory_pool<<unnamed>::cuda_allocator>::*)(), boost::python::default_call_policies, boost::mpl::vector2<unsigned int, <unnamed>::memory_pool<<unnamed>::cuda_allocator>&> >]' src/wrapper/tools.cpp:322: instantiated from here /home/infinite/pool/include/boost-1_36/boost/type_traits/detail/cv_traits_impl.hpp:37: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:4971 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.opensuse.org> for instructions. error: command 'gcc' failed with exit status 1 make: *** [all] Error 1 If more output helps here, please let me know what to post and I will send it along. Brad Zima On Mon, Nov 3, 2008 at 7:07 PM, Andreas Klöckner <[EMAIL PROTECTED]>wrote: > On Montag 03 November 2008, Brad Zima wrote: > > src/wrapper/wrap_cudadrv.cpp:8:41: error: boost/python/stl_iterator.hpp: > No > > such file or directory > > Hmm--rc2 is not going to help if you've tried recent git. Can you try to > figure out why this file is not found? AFAIK, boost ships with it. > > Andreas > > > _______________________________________________ > PyCuda mailing list > [email protected] > http://tiker.net/mailman/listinfo/pycuda_tiker.net > >
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
