When working on getting a 2D classification I am getting the following error:
License is valid.
Launching job on lane default target cryoem-Pro-WS-C621-64L-SAGE-Series ...
Running job on master node hostname cryoem-Pro-WS-C621-64L-SAGE-Series
[CPU: 80.4 MB] Project P1 Job J10 Started
[CPU: 80.4 MB] Master running v3.3.1+220118, worker running v3.3.1+220118
[CPU: 80.6 MB] Working in directory: /home/cryo-em/Desktop/software/scipion_projects/ApoferTestFra-cryo-em/P1/J10
[CPU: 80.6 MB] Running on lane default
[CPU: 80.6 MB] Resources allocated:
[CPU: 80.6 MB] Worker: cryoem-Pro-WS-C621-64L-SAGE-Series
[CPU: 80.6 MB] CPU : [0, 1]
[CPU: 80.6 MB] GPU : [0]
[CPU: 80.6 MB] RAM : [0, 1, 2]
[CPU: 80.6 MB] SSD : False
[CPU: 80.6 MB] --------------------------------------------------------------
[CPU: 80.6 MB] Importing job module for job type class_2D...
[CPU: 234.2 MB] Job ready to run
[CPU: 234.2 MB] ***************************************************************
[CPU: 238.6 MB] Using random seed of 1940899841
[CPU: 238.6 MB] Loading a ParticleStack with 3513 items...
[CPU: 239.0 MB] Done.
[CPU: 239.0 MB] Windowing particles
[CPU: 239.0 MB] Done.
[CPU: 239.0 MB] Using 50 classes.
[CPU: 240.1 MB] Computing 2D class averages:
[CPU: 240.1 MB] Volume Size: 64 (voxel size 2.32A)
[CPU: 240.1 MB] Zeropadded Volume Size: 128
[CPU: 240.1 MB] Data Size: 120 (pixel size 1.24A)
[CPU: 240.1 MB] Using Reconstruction Resolution: 6.00A (24.0 radius)
[CPU: 240.1 MB] Using Alignment Resolution: 6.00A (24.0 radius)
[CPU: 240.1 MB] Windowing only corners of 2D classes at each iteration.
[CPU: 240.1 MB] Using random seed for initialization of 307481108
[CPU: 249.9 MB] Done in 0.475s.
[CPU: 286.1 MB] Start of Iteration 0
[CPU: 286.1 MB]
[CPU: 352.9 MB] Traceback (most recent call last):
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/tools.py", line 429, in context_dependent_memoize
return ctx_dict[cur_ctx][args]
KeyError: <pycuda._driver.Context object at 0x7efd6da64450>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cryosparc_worker/cryosparc_compute/run.py", line 85, in cryosparc_compute.run.main
File "cryosparc_worker/cryosparc_compute/jobs/class2D/run.py", line 323, in cryosparc_compute.jobs.class2D.run.run_class_2D
File "cryosparc_worker/cryosparc_compute/engine/engine.py", line 964, in cryosparc_compute.engine.engine.process
File "cryosparc_worker/cryosparc_compute/engine/engine.py", line 974, in cryosparc_compute.engine.engine.process
File "cryosparc_worker/cryosparc_compute/engine/cuda_core.py", line 156, in cryosparc_compute.engine.cuda_core.allocate_gpu
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/gpuarray.py", line 549, in fill
func = elementwise.get_fill_kernel(self.dtype)
File "<decorator-gen-13>", line 2, in get_fill_kernel
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/tools.py", line 433, in context_dependent_memoize
result = func(*args)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/elementwise.py", line 498, in get_fill_kernel
"fill")
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/elementwise.py", line 163, in get_elwise_kernel
arguments, operation, name, keep, options, **kwargs)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/elementwise.py", line 149, in get_elwise_kernel_and_types
keep, options, **kwargs)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/elementwise.py", line 76, in get_elwise_module
options=options, keep=keep, no_extern_c=True)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/compiler.py", line 291, in __init__
arch, code, cache_dir, include_dirs)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/compiler.py", line 254, in compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/compiler.py", line 78, in compile_plain
checksum.update(preprocess_source(source, options, nvcc).encode("utf-8"))
File "/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/compiler.py", line 55, in preprocess_source
cmdline, stderr=stderr)
pycuda.driver.CompileError: nvcc preprocessing of /tmp/tmpcc12fscs.cu failed
[command: nvcc --preprocess -arch sm_86 -I/home/cryo-em/Desktop/software/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/pycuda/cuda /tmp/tmpcc12fscs.cu --compiler-options -P]
[stderr:
b"nvcc fatal : Value 'sm_86' is not defined for option 'gpu-architecture'\n"]
I have read of similar problems (here andhere) but cannot understand how to solve it in this case.
It should be noted that I have already tried launching cryosparcm patch
but did not solve the problem
Possible useful information could be the following:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 470.86 Driver Version: 470.86 CUDA Version: 11.4 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ⊠Off | 00000000:17:00.0 Off | N/A |
| 30% 33C P8 20W / 350W | 10MiB / 24268MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 1 NVIDIA GeForce ⊠Off | 00000000:65:00.0 On | N/A |
| 30% 41C P8 39W / 350W | 364MiB / 24245MiB | 8% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2645 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 3158 G /usr/lib/xorg/Xorg 4MiB |
| 1 N/A N/A 2645 G /usr/lib/xorg/Xorg 53MiB |
| 1 N/A N/A 3158 G /usr/lib/xorg/Xorg 175MiB |
| 1 N/A N/A 3287 G /usr/bin/gnome-shell 51MiB |
| 1 N/A N/A 6338 G âŠmviewer/tv_bin/TeamViewer 15MiB |
| 1 N/A N/A 604397 G âŠAAAAAAAAA= --shared-files 49MiB |
±----------------------------------------------------------------------------+
Hope someone can help me!