<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Dear Slurm users,<br>
<br>
I wanted to discuss a bug with you, which has troubled me several times. I could not find a discussion about it through Google nor DDG, although it is mentioned
<a moz-do-not-send="true" href="https://github.com/snakemake/snakemake/issues/134#issuecomment-561185825">
here</a> in a Snakemake Issue.<br>
<br>
<br>
When scheduling the following file through sbatch:<br>
<br>
<font face="monospace">```<br>
#SBATCH --output=dir/slurm-out.log<br>
<br>
echo "Hello world"<br>
```<br>
</font><br>
If `dir/` does not exist, Slurm fails <b>silently</b> after queuing. 'Silently' is bold there, because this is unexpected behaviour to me.<br>
<br>
I understand that there is no output file to write an error message to, but it might be good to check the `--output` path during the scheduling, just like `--account` is checked.<br>
<br>
Does anybody know a workaround to be warned about the error?<br>
<br>
<br>
With kind regards,<br>
Dries Boers<br>
<font size="-1"><i>PhD candidate at Swedish University of Agricultural Sciences</i></font><br>
<p>---<br>
När du skickar e-post till SLU så innebär detta att SLU behandlar dina personuppgifter. För att läsa mer om hur detta går till, klicka
<a href="https://www.slu.se/om-slu/kontakta-slu/personuppgifter/">här </a><br>
E-mailing SLU will result in SLU processing your personal data. For more information on how this is done, click
<a href="https://www.slu.se/en/about-slu/contact-slu/personal-data/">here </a></p>
</body>
</html>