Hi CryoSPARC,
I have cryosparc configured to submit SLURM jobs for the worker.
Under version 3.3.2, I have seen the following error for the job “Refinement New”
[CPU: 382.2 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/refine/newrun.py", line 125, in cryosparc_compute.jobs.refine.newrun.run_homo_refine
File "/mnt/nvme/cryosparc-uow/cryosparc_worker/cryosparc_compute/particles.py", line 88, in read_blobs
u_blob_paths = cache.download_and_return_cache_paths(u_rel_paths)
File "/mnt/nvme/cryosparc-uow/cryosparc_worker/cryosparc_compute/jobs/cache.py", line 148, in download_and_return_cache_paths
free_mb, used_mb, need_mb, other_instance_ids)
File "/mnt/nvme/cryosparc-uow/cryosparc_worker/cryosparc_compute/client.py", line 65, in func
assert 'error' not in res, f"Encountered error for method \"{key}\" with params {params}:\n{res['error']['message'] if 'message' in res['error'] else res['error']}"
AssertionError: Encountered error for method "cache_get_files_to_delete" with params ('MASSIVE', 'P70', 'J104', -9297.952941894531, 3009297.9529418945, 0, []):
ServerError: Traceback (most recent call last):
File "/mnt/nvme/cryosparc-uow/cryosparc_master/cryosparc_command/command_core/__init__.py", line 150, in wrapper
res = func(*args, **kwargs)
File "/mnt/nvme/cryosparc-uow/cryosparc_master/cryosparc_command/command_core/__init__.py", line 2858, in cache_get_files_to_delete
clear_mb += hit['size_mb']
KeyError: 'size_mb'
This error reads to me that CryoSPARC has stuggled to free files from the SSD cache.
Did I miss something in the configuration or is it a bug ?
Thanks,
Jay.