[CPU: 4.18 GB] Traceback (most recent call last): File “cryosparc_worker/cryosparc_compute/run.py”, line 85, in cryosparc_compute.run.main File “cryosparc_master/cryosparc_compute/jobs/refine/newrun.py”, line 348, in cryosparc_compute.jobs.refine.newrun.run_homo_refine File “cryosparc_worker/cryosparc_compute/engine/engine.py”, line 908, in cryosparc_compute.engine.engine.process File “cryosparc_worker/cryosparc_compute/engine/cuda_core.py”, line 34, in cryosparc_compute.engine.cuda_core.initialize pycuda._driver.LogicError: cuDevicePrimaryCtxRetain failed: invalid argument
[CPU: 873.5 MB] 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 908, in cryosparc_compute.engine.engine.process File “cryosparc_worker/cryosparc_compute/engine/cuda_core.py”, line 34, in cryosparc_compute.engine.cuda_core.initialize pycuda._driver.LogicError: cuDevicePrimaryCtxRetain failed: invalid argument
Is this a combined a “standalone” (combined master/worker) instance?
Would you consider a more general software update, which would require root access for some tasks?
It is a standalone” (combined master/worker) instance. Would you suggest upgrading to the latest cryosparc and the compatible cuda drivers? If so, what CUDA driver? The current installation was working fine a week ago. Yes we have root access and can make software changes.
I do not know the ultimate cause of cuDevicePrimaryCtxRetain in your case
Following the suggestion below may disrupt your system more severely than a more surgical repair attempt (on outdated software) would. You must decide whether the actions are appropriate under your circumstances, and assume associated risks
Motivation:
The system is not in a functional state
Significant updates for the system (security) and CryoSPARC (function) software are available
It may ultimately be more beneficial to repair an updated than an outdated configuration
Suggestion:
root tasks (all other steps must be performed under the Linux account that “owns” the CryoSPARC instance):
patch the operating system with available updates
upgrade to the v525 nvidia driver (if available for and compatible with your system)
after the update, ensure $PATH and $LD_LIBRARY_PATH do not include directories that hold CUDA toolkit executables or libraries (so CryoSPARC does not link inadvertently link to the “wrong” version of the toolkit). The following step may not succeed if $PATH or $LD_LIBRARY_PATH point to your existing 10.2 or any other installation of the CUDA toolkit
ensure your configuration meets the requirements, then run