![](/img/trans.png)
[英]Solving SLURM "sbatch: error: Batch job submission failed: Requested node configuration is not available" error
[英]Is there an output log/directory for sbatch error messages?
我正在运行一个 sbatch 脚本,它成功提交。
sbatch sbatch_script.sh
Submitted batch job 309376
但是当我运行squeue -u <my_username>
并且没有生成输出时它没有出现。
有没有办法检查出了什么问题? 例如,我可以检查一些环境变量设置/输出日志吗?
sbatch 输出写入节点上的slurm_{job_id}.out
。 相反,您可以手动将输出文件指定到本地目录(只需执行myfile.out
)。 然后,该文件将出现在本地目录中,并包含标准错误和输出流。
我的 sbatch 文件:
#!/bin/bash
#SBATCH --gres=gpu:1
#SBATCH --mem=12G
#SBATCH -p gpu
#SBATCH -c 8
#SBATCH -n 1
#SBATCH -o myfile.out
source ~/anaconda3/bin/activate acl2020
python main.py --various args
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.