2D classification error SSD Path

Hello,
I get the following error when trying to run 2D classification in cryosparc on a computing cluster.

Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 95, in cryosparc_master.cryosparc_compute.run.main
File “cryosparc_master/cryosparc_compute/jobs/class2D/newrun.py”, line 73, in cryosparc_master.cryosparc_compute.jobs.class2D.newrun.run_class_2D
File “/blue/rmckenna/apps/cryosparc/cryosparc_worker/cryosparc_compute/particles.py”, line 120, in read_blobs
u_blob_paths = cache_run(u_rel_paths)
File “/blue/rmckenna/apps/cryosparc/cryosparc_worker/cryosparc_compute/jobs/cache.py”, line 106, in download_and_return_cache_paths
ssd_cache_path = get_ssd_cache_path(target)
File “/blue/rmckenna/apps/cryosparc/cryosparc_worker/cryosparc_compute/jobs/cache.py”, line 321, in get_ssd_cache_path
assert ‘CRYOSPARC_SSD_PATH’ in os.environ, “SSD path was not specified in worker configuration nor environment variable.”
AssertionError: SSD path was not specified in worker configuration nor environment variable.

Any assistance would be greatly appreciated.

Turn off caching of the job, that should not cause the error. Then ask whoever installed CryoSPARC if they configured the SSD cache…?

Your suggestion worked. Thank you.

It’s not a fix, just a workaround - but whoever set up CryoSPARC will need to adjust the settings (configure SSD cache if necessary)…

And you should really ask your responsible administrator. Particle caching saves time and is highly recommended.

1 Like

Well, it depends on your setup; if using SSD RAID for processing directory, a cache isn’t needed… :wink:

1 Like

You’re right. But the admin will know - so the OP should contact the responsible person.