<div dir="ltr">Hi Sebastian, <div><br></div><div>Thanks I forgot this workaround. Yes, very useful! </div><div>Best,</div><div>Markus</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-09 12:05 GMT+02:00 Sebastian Höffner <span dir="ltr"><<a href="mailto:shoeffner@uos.de" target="_blank">shoeffner@uos.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Dear Markus,</p>
<p dir="ltr">while I don't have a proper solution for your problem with matlab, I can recommend you the little app Caffeine which you should find on the app store. It keeps your Mac awake and should stop your matlab process from terminating.</p>
<p dir="ltr"><a href="http://lightheadsw.com/caffeine/" target="_blank">http://lightheadsw.com/<wbr>caffeine/</a></p>
<p dir="ltr">Best<br>
Sebastian </p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Sun, Apr 9, 2017, 11:31 Markus Gschwind <<a href="mailto:Markus.Gschwind@unige.ch" target="_blank">Markus.Gschwind@unige.ch</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr" class="m_5216036065465269341gmail_msg"><span style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">Dear all,</span><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">I hope to find here an expert who knows an answer to the following problem:</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">I am running Matlab on OSX 10.9.5 started from the Xterm, and I am not able to run big and lengthy matlab jobs because at each logout (which occurs after 2h), Matlab crashes, all results are gone (if they are not save to the HD and XTerm closes.</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">I start Matlab form the XTerm (and not by clicking the App Icon) in order to be able to run system (unix) commands within Matlab.</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">I guess, this behaviour is proper to XTerm, and in case I could find an other way to run system commands from Matlab, probably this could be resolved.</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">Could it be that the running matlab job is not visible to the system which goes to sleep??</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">For info here the power management info:</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><div class="m_5216036065465269341gmail_msg">$ pmset -g custom</div><div class="m_5216036065465269341gmail_msg">Battery Power:</div><div class="m_5216036065465269341gmail_msg"> lidwake 1</div><div class="m_5216036065465269341gmail_msg"> autopoweroff 1</div><div class="m_5216036065465269341gmail_msg"> autopoweroffdelay 14400</div><div class="m_5216036065465269341gmail_msg"> standbydelay 18000</div><div class="m_5216036065465269341gmail_msg"> standby 1</div><div class="m_5216036065465269341gmail_msg"> ttyskeepawake 0</div><div class="m_5216036065465269341gmail_msg"> hibernatemode 3</div><div class="m_5216036065465269341gmail_msg"> gpuswitch 2</div><div class="m_5216036065465269341gmail_msg"> hibernatefile /var/vm/sleepimage</div><div class="m_5216036065465269341gmail_msg"> displaysleep 2</div><div class="m_5216036065465269341gmail_msg"> sleep 0</div><div class="m_5216036065465269341gmail_msg"> acwake 1</div><div class="m_5216036065465269341gmail_msg"> halfdim 1</div><div class="m_5216036065465269341gmail_msg"> sms 1</div><div class="m_5216036065465269341gmail_msg"> lessbright 1</div><div class="m_5216036065465269341gmail_msg"> disksleep 10</div><div class="m_5216036065465269341gmail_msg">AC Power:</div><div class="m_5216036065465269341gmail_msg"> lidwake 1</div><div class="m_5216036065465269341gmail_msg"> autopoweroff 1</div><div class="m_5216036065465269341gmail_msg"> autopoweroffdelay 14400</div><div class="m_5216036065465269341gmail_msg"> standbydelay 18000</div><div class="m_5216036065465269341gmail_msg"> standby 0</div><div class="m_5216036065465269341gmail_msg"> ttyskeepawake 1</div><div class="m_5216036065465269341gmail_msg"> hibernatemode 3</div><div class="m_5216036065465269341gmail_msg"> gpuswitch 2</div><div class="m_5216036065465269341gmail_msg"> hibernatefile /var/vm/sleepimage</div><div class="m_5216036065465269341gmail_msg"> womp 1</div><div class="m_5216036065465269341gmail_msg"> displaysleep 3</div><div class="m_5216036065465269341gmail_msg"> networkoversleep 0</div><div class="m_5216036065465269341gmail_msg"> sleep 0</div><div class="m_5216036065465269341gmail_msg"> acwake 0</div><div class="m_5216036065465269341gmail_msg"> halfdim 1</div><div class="m_5216036065465269341gmail_msg"> sms 1</div><div class="m_5216036065465269341gmail_msg"> disksleep 60</div></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg"><br class="m_5216036065465269341gmail_msg"></div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">Many thanks for help!</div><div style="color:rgb(0,0,0);font-size:13px" class="m_5216036065465269341gmail_msg">Markus</div></div></div></div>
______________________________<wbr>_________________<br class="m_5216036065465269341gmail_msg">
fieldtrip mailing list<br class="m_5216036065465269341gmail_msg">
<a href="mailto:fieldtrip@donders.ru.nl" class="m_5216036065465269341gmail_msg" target="_blank">fieldtrip@donders.ru.nl</a><br class="m_5216036065465269341gmail_msg">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" class="m_5216036065465269341gmail_msg" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a></blockquote></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Sebastian Höffner<br>
Hansastr. 19<br>
49090 Osnabrück<br>
Germany</p>
<p dir="ltr"><a href="tel:+49%201522%202592326" value="+4915222592326" target="_blank">+49 152 22 59 23 26</a></p>
</div></div>
</font></span><br>______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>