Dear Crysosparc team,
I updated on our of instances of Cryosparc version 3.0.0 yesterday. This is a setup where the workers have a shared install directory and there seemed to be an issue with the initial worker installation (on the machine which is also the master) running correctly, so I had to install afresh by copying the cryosparc2_worker.tar.gz file and unpacking it as per the instructions.
Installation then seems to run happily, but there is an issue with cublas.py, as shown below, when launching a job. I also saw some other issues with Cuda, but solved these by updating the drivers and cuda version. I see the error with fresh installs (removing the worker directory and reinstalling from the .tar.gz) against both cuda-10-2 and cuda 11-1.
nvidia-smi doesn’t report any issues and other cuda software seems to be fine running under 10-2 (although not explicitly tried anything yet which needs cublas).
The OS is Centos-7.5 and the previous Cryosparc2 version ran without issues.
Any advice would be gratefully received.
======================================================================
[CPU: 198.0 MB] Traceback (most recent call last):
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/cublas.py", line 280, in _get_cublas_version
utils.get_soname(cublas_path)).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cryosparc_worker/cryosparc_compute/run.py", line 71, in cryosparc_compute.run.main
File "/data/cryosparc2/cryosparc_worker/cryosparc_compute/jobs/jobregister.py", line 360, in get_run_function
runmod = importlib.import_module(".."+modname, __name__)
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1050, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "cryosparc_worker/cryosparc_compute/jobs/class2D/run.py", line 13, in init cryosparc_compute.jobs.class2D.run
File "/data/cryosparc2/cryosparc_worker/cryosparc_compute/engine/__init__.py", line 8, in <module>
from .engine import * # noqa
File "cryosparc_worker/cryosparc_compute/engine/engine.py", line 11, in init cryosparc_compute.engine.engine
File "cryosparc_worker/cryosparc_compute/engine/gfourier.py", line 6, in init cryosparc_compute.engine.gfourier
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/fft.py", line 20, in <module>
from . import misc
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/misc.py", line 25, in <module>
from . import cublas
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/cublas.py", line 292, in <module>
_cublas_version = int(_get_cublas_version())
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/cublas.py", line 285, in _get_cublas_version
h = cublasCreate()
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/cublas.py", line 203, in cublasCreate
cublasCheckStatus(status)
File "/data/cryosparc2/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.7/site-packages/skcuda/cublas.py", line 179, in cublasCheckStatus
raise e
skcuda.cublas.cublasNotInitialized