<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>At a glance my guess would be that the user needs to place a
double dash (<i>--</i>) after<i> rstudio_4.2.sif</i> or that the
command to be executed needs to be double-quoted. Otherwise
singularity might be trying to parse the rstudio flags as its
own. </p>
<a href="https://man7.org/linux/man-pages/man2/wait.2.html">WTERMSIG
53</a> mostly just indicates that the rstudio process was killed
with the SIGRTMAX-11 signal (not sure why exactly as I don't believe
SLURM makes use of this signal).
<p></p>
<div class="moz-cite-prefix">On 11/10/2023 1:25 PM, Robert Kudyba
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAFHi+KSLEAc0mpiJo9o+CzBxMgjPj6Vce+mNAeewY8pWyMam=Q@mail.gmail.com">
<div dir="ltr">
<div>The user is launching a Singularity container for RStudio
and the final option for<font face="monospace"> --rsession-path </font>does
not exist.<br>
</div>
<font face="monospace">
<div><font face="monospace"><br>
</font></div>
scontrol show job 420719<br>
JobId=420719 JobName=r2.sbatch<br>
UserId=ouruser(552199) GroupId=user(500) MCS_label=N/A<br>
Priority=1428 Nice=0 Account=ouracct QOS=xxx<br>
JobState=FAILED Reason=RaisedSignal:53(Real-time_signal_19)
Dependency=(null)<br>
</font>
<div><font face="monospace"><br>
</font></div>
<div><font face="verdana, sans-serif">From<span class="gmail-Apple-converted-space"> </span></font><font face="monospace">slurmctld.log:</font></div>
<div><font face="monospace">[2023-11-10T11:40:20.569]
_slurm_rpc_submit_batch_job: JobId=420719 InitPrio=1428
usec=272<br>
[2023-11-10T11:40:20.973] sched: Allocate JobId=420719
NodeList=node001 #CPUs=2 Partition=xxx<br>
[2023-11-10T11:40:21.143] _job_complete: JobId=420719
WTERMSIG 53<br>
[2023-11-10T11:40:21.144] _job_complete: JobId=420719 done</font></div>
<div><br>
</div>
<div>I think I may know the reason but wanted to see if this
error meant something else.Here is the snippet in the sbatch
file:</div>
<div><br>
</div>
<div><font face="monospace">singularity exec --cleanenv
rstudio_4.2.sif \<br>
/usr/lib/rstudio-server/bin/rserver --www-port ${PORT} \<br>
--auth-none=0 \<br>
--auth-pam-helper-path=pam-helper \<br>
--auth-stay-signed-in-days=30 \<br>
--auth-timeout-minutes=0 \<br>
--rsession-path=/path/to/4.2/rsession.sh</font><br>
</div>
<div>Thanks.</div>
<font color="#888888">
<div><br>
</div>
</font></div>
</blockquote>
</body>
</html>