<div dir="ltr"><div>You can't know the file system state at job runtime, but you can catch the case where the output path can't be resolved at job submission time - I expect this will catch the majority of issues (we also see this come up fairly regularly!).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Jul 2021 at 16:59, Marcus Boden <<a href="mailto:mboden@gwdg.de">mboden@gwdg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I already answered tons of tickets due to this, when our users are <br>
confused, that the job silently fails.<br>
The problem is, you cannot solve this with a job_submit or cli_filter, <br>
as you do not know the situation of the file system at job runtime. Or <br>
even on the node in the end.<br>
<br>
At lest the slurmd gives an error, so you could scan the logs for this <br>
error and maybe use that to automate something.<br>
<br>
Best,<br>
Marcus<br>
<br>
On 08.07.21 16:58, Jeffrey T Frey wrote:<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>
> I would make a feature request of SchedMD to fix the issue, then I would write a cli_filter plugin to validate the --output/--error/--input paths as desired until Slurm itself handles it.<br>
> <br>
> <br>
<br>
-- <br>
Marcus Vincent Boden, M.Sc.<br>
Arbeitsgruppe eScience, HPC-Team<br>
Tel.:   +49 (0)551 201-2191, E-Mail: <a href="mailto:mboden@gwdg.de" target="_blank">mboden@gwdg.de</a><br>
-------------------------------------------------------------------------<br>
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)<br>
Am Faßberg 11, 37077 Göttingen, URL: <a href="https://www.gwdg.de" rel="noreferrer" target="_blank">https://www.gwdg.de</a><br>
<br>
Support: Tel.: +49 551 201-1523, URL: <a href="https://www.gwdg.de/support" rel="noreferrer" target="_blank">https://www.gwdg.de/support</a><br>
Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: <a href="mailto:gwdg@gwdg.de" target="_blank">gwdg@gwdg.de</a><br>
<br>
Geschäftsführer: Prof. Dr. Ramin Yahyapour<br>
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau<br>
Sitz der Gesellschaft: Göttingen<br>
Registergericht: Göttingen, Handelsregister-Nr. B 598<br>
<br>
Zertifiziert nach ISO 9001<br>
-------------------------------------------------------------------------<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Killian Murphy</div><div dir="ltr" style="font-size:12.8px">Research Software Engineer</div><div dir="ltr" style="font-size:12.8px"><br></div><div dir="ltr" style="font-size:12.8px">Wolfson Atmospheric Chemistry Laboratories<br>University of York<br>Heslington<br>York<br>YO10 5DD<br>+44 (0)1904 32 1223<br><br>e-mail disclaimer: <a href="http://www.york.ac.uk/docs/disclaimer/email.htm" style="color:rgb(17,85,204)" target="_blank">http://www.york.ac.uk/docs/disclaimer/email.htm</a></div></div></div></div></div></div></div></div></div></div></div></div></div>