Hello,
Because of insufficient RAM I tried to limit the number of GPUs available for cryosparc.
echo $CUDA_VISIBLE_DEVICES
0,1
However, if I submit a third job that requires GPU it starts on GPU2 and then fails.
GPU : [2]
[CPU: 1.51 GB Avail: 364.38 GB]
Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 95, in cryosparc_compute.run.main
File “cryosparc_master/cryosparc_compute/jobs/refine/newrun.py”, line 331, in cryosparc_compute.jobs.refine.newrun.run_homo_refine
File “/home/sparc/cryosparc_worker/cryosparc_compute/alignment.py”, line 113, in align_symmetry
cuda_core.initialize([cuda_dev])
File “cryosparc_master/cryosparc_compute/engine/cuda_core.py”, line 34, in cryosparc_compute.engine.cuda_core.initialize
pycuda._driver.LogicError: cuDeviceGet failed: invalid device ordinal
Please asvise.
Thank you,
Yehuda