<div dir="ltr">I can reproduce Pierre's issues with nohup and screen on the CFarm machine, but not when ssh'ed into my own M1-based MacMini.<div>I know that doesn't help at all finding a solution, but it is hopefully reassuring to know it *can* work.</div><div><br></div><div>-Paul</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 23, 2021 at 2:49 PM Pierre Muller via cfarm-users <<a href="mailto:cfarm-users@lists.tetaneutral.net">cfarm-users@lists.tetaneutral.net</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"><br>
<br>
Le 23/03/2021 à 21:08, Joel Sherrill a écrit :<br>
> Not sure about screen but what if you redirect the nohup stdin from<br>
> /dev/null. I have to do that on FreeBSD or some programs fail.<br>
<br>
<br>
Hi,<br>
<br>
I didn't know about this, so I tried:<br>
<br>
bash-5.1$ nohup ./darwin64-fpctrunkup.sh < /dev/null > ~/logs/trunk/all.log 2>&1 &<br>
[1] 26839<br>
bash-5.1$<br>
[1]+ Exit 127 nohup ./darwin64-fpctrunkup.sh < /dev/null > ~/logs/trunk/all.log 2>&1<br>
bash-5.1$ cat nohup.out<br>
cat: nohup.out: No such file or directory<br>
bash-5.1$ cat ~/logs/trunk/all.log<br>
nohup: can't detach from console: Inappropriate ioctl for device<br>
<br>
It still does not work as it is on other systems...<br>
<br>
Pierre<br>
<br>
> --joel<br>
> <br>
> On 3/23/2021 11:58 AM, Pierre Muller via cfarm-users wrote:<br>
>> It seems that nohup and screen do not work of gcc304.<br>
>><br>
>><br>
>> muller@GCC-Farm-MiniMac bin % nohup ./darwin64-fpctrunkup.sh &<br>
>> [1] 63736<br>
>> muller@GCC-Farm-MiniMac bin % appending output to nohup.out<br>
>><br>
>> [1] + exit 127 nohup ./darwin64-fpctrunkup.sh<br>
>> muller@GCC-Farm-MiniMac bin %<br>
>> muller@GCC-Farm-MiniMac bin % cat nohup.out<br>
>> nohup: can't detach from console: Undefined error: 0<br>
>><br>
>><br>
>> Switching to homebrew bash did not help.<br>
>><br>
>> Likewise screen never displays a 'new' console<br>
>> and seems to get stuck somewhere.<br>
>> ^C does not work, ^Z does,<br>
>> which finally allowed me to kill the screen process...<br>
>><br>
>> Any ideas what is wrong?<br>
>><br>
>> I had a second question:<br>
>><br>
>> Are executables randomized in memory?<br>
>><br>
>> I tried o use objdump to find the location of a crash<br>
>> stack trace, but the addresses do not seem to correspond to anything...<br>
>><br>
>> Any help welcome.<br>
>><br>
>><br>
>> Pierre<br>
>> _______________________________________________<br>
>> cfarm-users mailing list<br>
>> <a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a><br>
>> <a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/cfarm-users</a><br>
> <br>
_______________________________________________<br>
cfarm-users mailing list<br>
<a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a><br>
<a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/cfarm-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-family:"courier new",monospace">Paul H. Hargrove <<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a>><br>Pronouns: he, him, his<br></div><div style="font-family:"courier new",monospace">Computer Languages & Systems Software (CLaSS) Group</div><div style="font-family:"courier new",monospace">Computer Science Department</div><div style="font-family:"courier new",monospace">Lawrence Berkeley National Laboratory</div></div></div></div>