Is CUDA 11.8 a prerequisite and should CRYOSPARC_CUDA_PATH now point to it in order to run 3DFlex refinement?
The installation instructions suggest to remove CUDA directories from PATH. Similarly, does LD_LIBRARY_PATH require any special treatment prior to running install-3dflex? I assume it should reference a CUDA 11.8 installation?
3D-Flex installation still failed (in another thread). I have a question though, Should that affect other programs or cryosparc performance other than 3d-flex?
Traceback (most recent call last):
File "cryosparc_master/cryosparc_compute/run.py", line 80, in cryosparc_compute.run.main
File "/home/spuser/cryosparc/cryosparc_worker/cryosparc_compute/jobs/jobregister.py", line 443, in get_run_function
runmod = importlib.import_module(".."+modname, __name__)
File "/home/spuser/cryosparc/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_master/cryosparc_compute/jobs/refine/newrun.py", line 16, in init cryosparc_compute.jobs.refine.newrun
File "/home/spuser/cryosparc/cryosparc_worker/cryosparc_compute/engine/__init__.py", line 8, in <module>
from .engine import * # noqa
File "cryosparc_master/cryosparc_compute/engine/engine.py", line 9, in init cryosparc_compute.engine.engine
File "cryosparc_master/cryosparc_compute/engine/cuda_core.py", line 4, in init cryosparc_compute.engine.cuda_core
ModuleNotFoundError: No module named 'pycuda'
will that solve it ?
cd cryosparc_worker
./bin/cryosparcw forcdeps
and do i need to set LD_LIBRARY_PATH as well as add CUDA to path again before i can get the cryosparc instance working?
As I undestand it, the PATH and LD_LIBRARY_PATH customisation is only necessary for the installation of the 3DFlex dependencies, not for general operation once it’s setup. I assume the environment should be properly managed by conda. Although that point is also somewhat moot until the team deals with the installation problem many are currently experiencing.
Also, rather than a complete unset, there are other ways of removing a specific location from the environment variables for a given shell.
For instance:
LD_LIBRARY_PATH=$(echo "$LD_LIBRARY_PATH" | sed -e 's,/path/to/lib/,,')