Tried on a second system (this time Ubuntu, not CentOS) - same error. Last lines of error here:
In file included from /usr/include/c++/9/memory:80,
from bpl-subset/bpl_subset/boost/config/no_tr1/memory.hpp:21,
from bpl-subset/bpl_subset/boost/smart_ptr/shared_ptr.hpp:27,
from bpl-subset/bpl_subset/boost/shared_ptr.hpp:17,
from src/cpp/cuda.hpp:30,
from src/wrapper/wrap_cudadrv.cpp:3:
/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘void init_module__driver()’:
src/wrapper/wrap_cudadrv.cpp:997:26: error: ‘CU_TARGET_COMPUTE_20’ was not declared in this scope; did you mean ‘CU_TARGET_COMPUTE_90’?
997 | .value("COMPUTE_20", CU_TARGET_COMPUTE_20)
| ^~~~~~~~~~~~~~~~~~~~
| CU_TARGET_COMPUTE_90
src/wrapper/wrap_cudadrv.cpp:1000:26: error: ‘CU_TARGET_COMPUTE_21’ was not declared in this scope; did you mean ‘CU_TARGET_COMPUTE_61’?
1000 | .value("COMPUTE_21", CU_TARGET_COMPUTE_21)
| ^~~~~~~~~~~~~~~~~~~~
| CU_TARGET_COMPUTE_61
In file included from bpl-subset/bpl_subset/boost/function/detail/maybe_include.hpp:23,
from bpl-subset/bpl_subset/boost/function/function2.hpp:11,
from bpl-subset/bpl_subset/boost/python/object/function_object.hpp:8,
from bpl-subset/bpl_subset/boost/python/make_function.hpp:14,
from bpl-subset/bpl_subset/boost/python/data_members.hpp:15,
from bpl-subset/bpl_subset/boost/python/class.hpp:17,
from bpl-subset/bpl_subset/boost/python.hpp:18,
from src/cpp/cuda.hpp:36,
from src/wrapper/wrap_cudadrv.cpp:3:
bpl-subset/bpl_subset/boost/function/function_template.hpp: In instantiation of ‘void pycudaboost::detail::function::basic_vtable2<R, T0, T1>::assign_functor(FunctionObj, pycudaboost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&; mpl_::true_ = mpl_::bool_<true>]’:
bpl-subset/bpl_subset/boost/function/function_template.hpp:602:13: required from ‘bool pycudaboost::detail::function::basic_vtable2<R, T0, T1>::assign_to(FunctionObj, pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::function_obj_tag) const [with FunctionObj = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&]’
bpl-subset/bpl_subset/boost/function/function_template.hpp:492:45: required from ‘bool pycudaboost::detail::function::basic_vtable2<R, T0, T1>::assign_to(F, pycudaboost::detail::function::function_buffer&) const [with F = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&]’
bpl-subset/bpl_subset/boost/function/function_template.hpp:936:7: required from ‘void pycudaboost::function2<R, T1, T2>::assign_to(Functor) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&]’
bpl-subset/bpl_subset/boost/function/function_template.hpp:722:7: required from ‘pycudaboost::function2<R, T1, T2>::function2(Functor, typename pycudaboost::enable_if_c<pycudaboost::type_traits::ice_not<pycudaboost::is_integral<Functor>::value>::value, int>::type) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&; typename pycudaboost::enable_if_c<pycudaboost::type_traits::ice_not<pycudaboost::is_integral<Functor>::value>::value, int>::type = int]’
bpl-subset/bpl_subset/boost/python/exception_translator.hpp:20:39: required from ‘void pycudaboost::python::register_exception_translator(Translate, pycudaboost::type<Target>*) [with ExceptionType = pycuda::error; Translate = void (*)(const pycuda::error&)]’
src/wrapper/wrap_cudadrv.cpp:691:74: required from here
bpl-subset/bpl_subset/boost/function/function_template.hpp:566:49: warning: placement new constructing an object of type ‘pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >’ and size ‘16’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
566 | new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
| ~~~~~~~~^~~~
In file included from bpl-subset/bpl_subset/boost/function/detail/prologue.hpp:17,
from bpl-subset/bpl_subset/boost/function/function_template.hpp:13,
from bpl-subset/bpl_subset/boost/function/detail/maybe_include.hpp:13,
from bpl-subset/bpl_subset/boost/function/function0.hpp:11,
from bpl-subset/bpl_subset/boost/python/errors.hpp:13,
from bpl-subset/bpl_subset/boost/python/handle.hpp:11,
from bpl-subset/bpl_subset/boost/python/args_fwd.hpp:10,
from bpl-subset/bpl_subset/boost/python/args.hpp:10,
from bpl-subset/bpl_subset/boost/python.hpp:11,
from src/cpp/cuda.hpp:36,
from src/wrapper/wrap_cudadrv.cpp:3:
bpl-subset/bpl_subset/boost/function/function_base.hpp: In instantiation of ‘static void pycudaboost::detail::function::functor_manager_common<Functor>::manage_small(const pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::functor_manager_operation_type) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >]’:
bpl-subset/bpl_subset/boost/function/function_base.hpp:364:56: required from ‘static void pycudaboost::detail::function::functor_manager<Functor>::manager(const pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; mpl_::true_ = mpl_::bool_<true>]’
bpl-subset/bpl_subset/boost/function/function_base.hpp:412:18: required from ‘static void pycudaboost::detail::function::functor_manager<Functor>::manager(const pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::functor_manager_operation_type, pycudaboost::detail::function::function_obj_tag) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >]’
bpl-subset/bpl_subset/boost/function/function_base.hpp:440:20: required from ‘static void pycudaboost::detail::function::functor_manager<Functor>::manage(const pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::function_buffer&, pycudaboost::detail::function::functor_manager_operation_type) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >]’
bpl-subset/bpl_subset/boost/function/function_template.hpp:934:13: required from ‘void pycudaboost::function2<R, T1, T2>::assign_to(Functor) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&]’
bpl-subset/bpl_subset/boost/function/function_template.hpp:722:7: required from ‘pycudaboost::function2<R, T1, T2>::function2(Functor, typename pycudaboost::enable_if_c<pycudaboost::type_traits::ice_not<pycudaboost::is_integral<Functor>::value>::value, int>::type) [with Functor = pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >; R = bool; T0 = const pycudaboost::python::detail::exception_handler&; T1 = const pycudaboost::function0<void>&; typename pycudaboost::enable_if_c<pycudaboost::type_traits::ice_not<pycudaboost::is_integral<Functor>::value>::value, int>::type = int]’
bpl-subset/bpl_subset/boost/python/exception_translator.hpp:20:39: required from ‘void pycudaboost::python::register_exception_translator(Translate, pycudaboost::type<Target>*) [with ExceptionType = pycuda::error; Translate = void (*)(const pycuda::error&)]’
src/wrapper/wrap_cudadrv.cpp:691:74: required from here
bpl-subset/bpl_subset/boost/function/function_base.hpp:318:54: warning: placement new constructing an object of type ‘pycudaboost::detail::function::functor_manager_common<pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > > >::functor_type’ {aka ‘pycudaboost::_bi::bind_t<bool, pycudaboost::python::detail::translate_exception<pycuda::error, void (*)(const pycuda::error&)>, pycudaboost::_bi::list3<pycudaboost::arg<1>, pycudaboost::arg<2>, pycudaboost::_bi::value<void (*)(const pycuda::error&)> > >’} and size ‘16’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
318 | new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
| ~~~~~~~~~~~^~~~
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/user/software/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/tmp/pip-req-build-_l7dp5ir/setup.py'"'"'; __file__='"'"'/home/tmp/pip-req-build-_l7dp5ir/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /home/tmp/pip-record-6hs1zd7g/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/software/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/include/python3.7m/pycuda Check the logs for full command output.