
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
本容器提供https://github.com/SchedMD/slurm/%E6%89%B9%E5%A4%84%E7%90%86%E8%B0%83%E5%BA%A6%E5%99%A8%E7%9A%84%E5%AE%89%E8%A3%85%E7%8E%AF%E5%A2%83%EF%BC%8C%E4%B8%BB%E8%A6%81%E7%94%A8%E4%BA%8EXenon%E4%B8%AD%E9%97%B4%E4%BB%B6%E7%9A%84%E9%9B%86%E6%88%90%E6%B5%8B%E8%AF%95%E5%9C%BA%E6%99%AF%E3%80%82
| 标签 | Dockerfile(GitHub地址) |
|---|---|
| 20 | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-20/Dockerfile |
| 19 | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-19/Dockerfile |
| 17, latest | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-17/Dockerfile |
| 17-mem2g(节点内存硬编码为2Gb) | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-17-memory/Dockerfile |
| 16 | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-16/Dockerfile |
| 15 | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-15/Dockerfile |
| 14 | https://github.com/NLeSC/xenon-docker-images/blob/master/xenon-slurm-14/Dockerfile |
镜像包含以下内容:
mycluster的集群,含两个队列/分区:mypartition和otherpartition。容器内执行sinfo命令可查看集群状态:
text$ sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST mypartition* up infinite 5 idle node-[0-4] otherpartition up infinite 3 idle node-[0-2]
xenon的SSH访问权限,密码为javagat/home/xenon/test-slurm.jobtext-rw-r--r-- 1 xenon xenon 12 Jul 25 14:05 file0 -rw-r--r-- 1 xenon xenon 0 Jul 25 14:05 file1 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link0 -> /home/xenon/filesystem-test-fixture/links/file0 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link1 -> /home/xenon/filesystem-test-fixture/links/file1 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link2 -> /home/xenon/filesystem-test-fixture/links/file2 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link3 -> /home/xenon/filesystem-test-fixture/links/link0 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link4 -> /home/xenon/filesystem-test-fixture/links/link2 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link5 -> /home/xenon/filesystem-test-fixture/links/link6 lrwxrwxrwx 1 xenon xenon 47 Jul 25 14:05 link6 -> /home/xenon/filesystem-test-fixture/links/link5
适用于Xenon中间件的集成测试,验证批处理调度相关功能的正确性。
bashdocker build --tag xenonmiddleware/slurm:<tag> .
bashdocker run --detach --publish 10022:22 xenonmiddleware/slurm:<tag>
容器运行后,通过以下命令登录(密码为javagat):
bashssh -p 10022 xenon@localhost
登录后可提交作业,例如:
bashsrun /bin/hostname
或提交示例脚本:
bashsbatch /home/xenon/test-slurm.job
bashsqueue sacct
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务