We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
提交Slurm作业,编写 TAKLER_JOB_CMD,两种方式:
TAKLER_JOB_CMD
sbatch
The text was updated successfully, but these errors were encountered:
将 sbatch 和 scancel 写入到 TAKLER_SHELL_JOB_CMD 和 TAKLER_SHELL_KILL_CMD 变量中
scancel
TAKLER_SHELL_JOB_CMD
TAKLER_SHELL_KILL_CMD
job_cmd = "sbatch {{ TAKLER_JOB }}" kill_cmd = "scancel {{ TAKLER_RID }}" def slurm_serial_job(node: Node, partition: str = "serial"): node.add_parameter("TAKLER_SHELL_JOB_CMD", job_cmd) node.add_parameter("TAKLER_SHELL_KILL_CMD", kill_cmd) node.add_parameter("PARTITION", partition) def slurm_para_job(node: Node, nodes: int, tasks_per_node: int = 32, partition: str = "serial"): node.add_parameter("TAKLER_SHELL_JOB_CMD", job_cmd) node.add_parameter("TAKLER_SHELL_KILL_CMD", kill_cmd) node.add_parameter("PARTITION", partition) node.add_parameter("NODES", nodes) node.add_parameter("TASKS_PER_NODE", tasks_per_node)
Sorry, something went wrong.
仿照业务系统中 slsubmit6 和 slcancel4 编写提交工具脚本,便于在提交失败时将任务节点设为 aborted,并将提交失败记录写到作业日志中。
slsubmit6
slcancel4
aborted
perillaroc
No branches or pull requests
提交Slurm作业,编写
TAKLER_JOB_CMD
,两种方式:sbatch
命令sbatch
命令The text was updated successfully, but these errors were encountered: