cryosparcm cluster example slurm

cluster_info.json内にある「qstat_code_cmd_tpl」のコマンド行が微妙でエラーになります
どうもパイプ(|)がダメらしくて下記に変更します

"qstat_code_cmd_tpl": "squeue -j {{ cluster_job_id } } --format=%T | sed -n 2p",
 ↓
"qstat_code_cmd_tpl": "squeue --noheader -j {{ cluster_job_id } } --format=%T",

Pukiwikiの表記のため一部表記を変えてます

{
    "name" : "node01",
    "worker_bin_path" : "/home/cryosparc/cryosparc_worker/bin/cryosparcw",
    "cache_path" : "/scratch/cryosparc",
    "send_cmd_tpl" : "{{ command } }",
    "qsub_cmd_tpl" : "sbatch {{ script_path_abs } }",
    "qstat_cmd_tpl" : "squeue -j {{ cluster_job_id } }",
    "qstat_code_cmd_tpl": "squeue --noheader -j {{ cluster_job_id } } --format=%T",
    "qdel_cmd_tpl" : "scancel {{ cluster_job_id } }",
    "qinfo_cmd_tpl" : "sinfo",
    "transfer_cmd_tpl" : "cp {{ src_path } } {{ dest_path } }"
}

トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2023-04-08 (土) 21:56:37 (62d)