ERROR: No supported gcc/g++ host compiler found

Hi,
I never got cryosparc working on one of our nodes running Debian stretch.
Now I installed the latest version, updated pycuda.
Setup is 4x GTX1080, Cuda8, GCC6.3.0.

Any ideas?

Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/run.py”, line 78, in cryosparc2_compute.run.main
File “cryosparc2_worker/cryosparc2_compute/jobs/class2D/run.py”, line 310, in cryosparc2_compute.jobs.class2D.run.run_class_2D
File “cryosparc2_worker/cryosparc2_compute/engine/engine.py”, line 927, in cryosparc2_compute.engine.engine.process
File “cryosparc2_worker/cryosparc2_compute/engine/engine.py”, line 937, in cryosparc2_compute.engine.engine.process
File “cryosparc2_worker/cryosparc2_compute/engine/cuda_core.py”, line 135, in cryosparc2_compute.engine.cuda_core.allocate_gpu
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/gpuarray.py”, line 549, in fill
func = elementwise.get_fill_kernel(self.dtype)
File “”, line 2, in get_fill_kernel
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/tools.py”, line 430, in context_dependent_memoize
result = func(*args)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/elementwise.py”, line 496, in get_fill_kernel
“fill”)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/elementwise.py”, line 161, in get_elwise_kernel
arguments, operation, name, keep, options, **kwargs)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/elementwise.py”, line 147, in get_elwise_kernel_and_types
keep, options, **kwargs)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/elementwise.py”, line 75, in get_elwise_module
options=options, keep=keep)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/compiler.py”, line 291, in init
arch, code, cache_dir, include_dirs)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/compiler.py”, line 254, in compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/compiler.py”, line 78, in compile_plain
checksum.update(preprocess_source(source, options, nvcc).encode(“utf-8”))
File “/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/compiler.py”, line 55, in preprocess_source
cmdline, stderr=stderr)
CompileError: nvcc preprocessing of /tmp/tmpYX25Hs.cu failed
[command: nvcc --preprocess -arch sm_61 -I/srv/public/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/cuda /tmp/tmpYX25Hs.cu --compiler-options -P]
[stderr:
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use ‘nvcc -ccbin clang-3.8’ to use that instead.
]

This is just a guess – most CUDA versions are not compatible with gcc6, you should try gcc4 and see if it works

I could finally solve this problem by choosing CUDA9.1 with the latest cryosparc 2.12.4
Somehow all other Cuda versions failed, now it works.