Patch motion correction (multi)


I am running the tutorial with T20 proteasome data set and could not get past motion correction.
The Patch motion correction is giving the following error and output.

Could you please help me fix this?

Traceback (most recent call last):
File “cryosparc2_compute/jobs/”, line 1490, in run_with_except_hook
run_old(*args, **kw)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “cryosparc2_compute/jobs/”, line 153, in thread_work
work = processor.process(item)
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 154, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 157, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 158, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 77, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 103, in
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 549, in fill
func = elementwise.get_fill_kernel(self.dtype)
File “”, line 2, in get_fill_kernel
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 432, in context_dependent_memoize
result = func(*args)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 496, in get_fill_kernel
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 161, in get_elwise_kernel
arguments, operation, name, keep, options, **kwargs)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 147, in get_elwise_kernel_and_types
keep, options, **kwargs)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 75, in get_elwise_module
options=options, keep=keep)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 291, in init
arch, code, cache_dir, include_dirs)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 254, in compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 78, in compile_plain
checksum.update(preprocess_source(source, options, nvcc).encode(“utf-8”))
File “/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 55, in preprocess_source
cmdline, stderr=stderr)
CompileError: nvcc preprocessing of /tmp/ failed
[command: nvcc --preprocess -arch sm_75 -I/media/raid/cryosparc2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/cuda /tmp/ --compiler-options -P]
nvcc fatal : Value ‘sm_75’ is not defined for option ‘gpu-architecture’


Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/”, line 78, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 312, in
AssertionError: Child process with PID 141055 has terminated unexpectedly!





I am receiving the same error while trying to do Patch Motion Correction using the tutorial dataset.

Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/”, line 78, in
File “cryosparc2_worker/cryosparc2_compute/jobs/motioncorrection/”, line 312, in
AssertionError: Child process with PID 9744 has terminated unexpectedly!

I installed the latest version and also did a update with the override just to be sure. The operating system is Ubuntu 18.04.3 LTS and the CUDA version is 10.2 and the Nvidia driver version is 430.26. the system has 2 Quadro P4000 GPUs and 256 GB ram.


Hi @Abhilash,

This probably means you need a newer version of the CUDA Toolkit or NVIDIA Driver for the GPU you are using for this job.