Hi I am trying to install cryo sparc on my new CentOS workstation. Could someone tell me what might be the problem. I do have newest CUDA drivers and gcc 4.8
src/wrapper/wrap_cudadrv.cpp: In function ‘void init_module__driver()’:
src/wrapper/wrap_cudadrv.cpp:541:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Cuda##NAME = py::handle<>(PyErr_NewException(“pycuda._driver.” #NAME, BASE, NULL));
^
src/wrapper/wrap_cudadrv.cpp:545:5: note: in expansion of macro ‘DECLARE_EXC’
DECLARE_EXC(Error, NULL);
^
src/wrapper/wrap_cudadrv.cpp:541:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Cuda##NAME = py::handle<>(PyErr_NewException(“pycuda._driver.” #NAME, BASE, NULL));
^
src/wrapper/wrap_cudadrv.cpp:546:5: note: in expansion of macro ‘DECLARE_EXC’
DECLARE_EXC(MemoryError, CudaError.get());
^
src/wrapper/wrap_cudadrv.cpp:541:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Cuda##NAME = py::handle<>(PyErr_NewException(“pycuda._driver.” #NAME, BASE, NULL));
^
src/wrapper/wrap_cudadrv.cpp:547:5: note: in expansion of macro ‘DECLARE_EXC’
DECLARE_EXC(LogicError, CudaError.get());
^
src/wrapper/wrap_cudadrv.cpp:541:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Cuda##NAME = py::handle<>(PyErr_NewException(“pycuda._driver.” #NAME, BASE, NULL));
^
src/wrapper/wrap_cudadrv.cpp:548:5: note: in expansion of macro ‘DECLARE_EXC’
DECLARE_EXC(LaunchError, CudaError.get());
^
src/wrapper/wrap_cudadrv.cpp:541:83: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Cuda##NAME = py::handle<>(PyErr_NewException(“pycuda._driver.” #NAME, BASE, NULL));
^
src/wrapper/wrap_cudadrv.cpp:549:5: note: in expansion of macro ‘DECLARE_EXC’
DECLARE_EXC(RuntimeError, CudaError.get());
^
src/wrapper/wrap_cudadrv.cpp:850:26: error: ‘CU_TARGET_COMPUTE_10’ was not declared in this scope
.value(“COMPUTE_10”, CU_TARGET_COMPUTE_10)
^
src/wrapper/wrap_cudadrv.cpp:851:26: error: ‘CU_TARGET_COMPUTE_11’ was not declared in this scope
.value(“COMPUTE_11”, CU_TARGET_COMPUTE_11)
^
src/wrapper/wrap_cudadrv.cpp:852:26: error: ‘CU_TARGET_COMPUTE_12’ was not declared in this scope
.value(“COMPUTE_12”, CU_TARGET_COMPUTE_12)
^
src/wrapper/wrap_cudadrv.cpp:853:26: error: ‘CU_TARGET_COMPUTE_13’ was not declared in this scope
.value(“COMPUTE_13”, CU_TARGET_COMPUTE_13)
^
In file included from bpl-subset/bpl_subset/boost/system/system_error.hpp:14:0,
from bpl-subset/bpl_subset/boost/thread/exceptions.hpp:22,
from bpl-subset/bpl_subset/boost/thread/pthread/thread_data.hpp:10,
from bpl-subset/bpl_subset/boost/thread/thread.hpp:17,
from src/cpp/cuda.hpp:37,
from src/wrapper/wrap_cudadrv.cpp:1:
bpl-subset/bpl_subset/boost/system/error_code.hpp: At global scope:
bpl-subset/bpl_subset/boost/system/error_code.hpp:214:36: warning: ‘pycudaboost::system::posix_category’ defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
bpl-subset/bpl_subset/boost/system/error_code.hpp:215:36: warning: ‘pycudaboost::system::errno_ecat’ defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
bpl-subset/bpl_subset/boost/system/error_code.hpp:216:36: warning: ‘pycudaboost::system::native_ecat’ defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
error: command ‘gcc’ failed with exit status 1
----------------------------------------
Command “/home/david.haselbach/cryosparc/anaconda2/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-build-9wLhZy/pycuda/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-L_T9cS-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-9wLhZy/pycuda/