Hello,
We recently installed cryosparc 3.2 and although the release notes suggest native support for LSF scheduler we are having trouble getting it to work.
cluster_info:
{
“name”: “lilac”,
“title”: “lilac”,
“worker_bin_path”: “/opt/common/cryosparc3.1/cryosparc_worker/bin/cryosparcw”,
“send_cmd_tpl”: “{{ command }}”,
“qsub_cmd_tpl”: “/admin/lsflilac/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bsub < {{ script_path_abs }}”,
“qstat_cmd_tpl”: “/admin/lsflilac/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bjobs -l {{ cluster_job_id }}”,
“qdel_cmd_tpl”: “/admin/lsflilac/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bkill {{ cluster_job_id }}”,
“qinfo_cmd_tpl”: “/admin/lsflilac/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bqueues”,
“cache_path”: “/scratch”,
“cache_quota_mb”: null,
“cache_reserve_mb”: 10000
}
cluster_script.sh
[cryosparc_user3@pearl command_core]$ cat cluster_script.sh
#!/bin/bash
#BSUB -J cryosparc_{{ project_uid }}{{ job_uid }}{{ cryosparc_username }}
#BSUB -q gpuqueue
#BSUB -e {{ job_dir_abs }}/%J.err
#BSUB -o {{ job_dir_abs }}/%J.out
#BSUB -n 1
#BSUB -R “span[ptile=1]”
#BSUB -R “rusage[mem={{ ram_gb }}]”
#BSUB -gpu “num=1:j_exclusive=yes:mode=shared”
#BSUB -W 36:00
##Load modules
{{ run_cmd }}
Error:
subprocess.CalledProcessError: Command ‘[’/admin/lsflilac/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bsub’, ‘<’, ‘/data/hite/IP3R/P3/J9/queue_sub_script.sh’]’ returned non-zero exit status 255.
Please advise
Thanks
Neeraj