Patch motion correction multi error

Hi All,

My motion correction failed with all of my movies, the same error message shows during run for each movies. I paste below. Thank you for your help.
Error occurred while processing J1/imported/hcmvpol_100_001_X-1Y-1-0.tif
Traceback (most recent call last):
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 429, in context_dependent_memoize
return ctx_dict[cur_ctx][args]
KeyError: <pycuda._driver.Context object at 0x7f53e2212cf0>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/cryosparc_compute/jobs/”, line 59, in exec
return self.process(item)
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 190, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 193, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 195, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 255, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 264, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 121, in
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 549, in fill
func = elementwise.get_fill_kernel(self.dtype)
File “”, line 2, in get_fill_kernel
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 433, in context_dependent_memoize
result = func(*args)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 498, in get_fill_kernel
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 163, in get_elwise_kernel
arguments, operation, name, keep, options, **kwargs)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 149, in get_elwise_kernel_and_types
keep, options, **kwargs)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 76, in get_elwise_module
options=options, keep=keep, no_extern_c=True)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 291, in init
arch, code, cache_dir, include_dirs)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 254, in compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 78, in compile_plain
checksum.update(preprocess_source(source, options, nvcc).encode(“utf-8”))
File “/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/”, line 55, in preprocess_source
cmdline, stderr=stderr)
pycuda.driver.CompileError: nvcc preprocessing of /tmp/ failed
[command: nvcc --preprocess -arch sm_75 -I/nfs/userdocs/lab-jabraham/ja-cryosparc/sw/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/cuda /tmp/ --compiler-options -P]
b"gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory\nnvcc fatal : Failed to preprocess host compiler properties.\n"]

Marking J1/imported/hcmvpol_100_001_X-1Y-1-0.tif as incomplete and continuing…

1 Like

Welcome to the forum @gabor_oroszlan.

The CUDA installation that cryoSPARC is supposed to use on the worker node may be broken. You may want to ask the linux user that runs the cryoSPARC instance (ja-cryosparc?) to collect (and share) some information running commands on the cryoSPARC worker node where the error occurred.

The cryoSPARC worker node is identified in the job’s Overview tab (“Show from top”). Do you know version and patch level of this cryoSPARC installation? This information can also be found near the top of the job’s Overview tab.

Thank you for getting back to me. Here are the first lines from the overview tab:License is valid.
Launching job on lane ja-gpu3 target …
Running job on remote worker node hostname
[CPU: 68.0 MB] Project P26 Job J2 Started
[CPU: 68.0 MB] Master running v3.2.0, worker running v3.2.0
[CPU: 68.2 MB] Running on lane ja-gpu3
[CPU: 68.2 MB] Resources allocated:
[CPU: 68.2 MB] Worker:
[CPU: 68.2 MB] CPU : [0, 1, 2, 3, 4, 5]
[CPU: 68.2 MB] GPU : [0]
[CPU: 68.2 MB] RAM : [0, 1]
[CPU: 68.2 MB] SSD : False
[CPU: 68.2 MB] --------------------------------------------------------------
[CPU: 68.2 MB] Importing job module for job type patch_motion_correction_multi…
[CPU: 207.3 MB] Job ready to run
[CPU: 207.4 MB] ***************************************************************
[CPU: 209.2 MB] Job will process this many movies: 3445
[CPU: 209.3 MB] parent process is 153333
[CPU: 172.5 MB] Calling CUDA init from 153613
[CPU: 312.8 MB] – 0.0: processing 0 of 3445: J1/imported/hcmvpol_100_001_X-1Y-1-0.tif
loading /nfs/userdocs/lab-jabraham/ja-cryosparc/P26/J1/imported/hcmvpol_100_001_X-1Y-1-0.tif
Loading raw movie data from J1/imported/hcmvpol_100_001_X-1Y-1-0.tif …
Done in 1.60s
Loading gain data from J1/imported/gain.mrc …
Done in 0.23s
Processing …

@gabor_oroszlan Were you able to resolve this problem? In case the problem persists, please post