Dear Markus,
Have you tried using 'screen' or 'nohup'?
Best regards,
Guillaume.
On 09/04/17 09:31, Markus Gschwind wrote:
> Dear all,
>
> I hope to find here an expert who knows an answer to the following problem:
>
> I am running Matlab on OSX 10.9.5 started from the Xterm, and I am not
> able to run lengthy 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.
>
> 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.
>
> 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.
>
> Could it be that the running matlab job is not visible to the system
> which goes to sleep??
>
> For info here the power management info:
>
> $ pmset -g custom
> Battery Power:
> lidwake 1
> autopoweroff 1
> autopoweroffdelay 14400
> standbydelay 18000
> standby 1
> ttyskeepawake 0
> hibernatemode 3
> gpuswitch 2
> hibernatefile /var/vm/sleepimage
> displaysleep 2
> sleep 0
> acwake 1
> halfdim 1
> sms 1
> lessbright 1
> disksleep 10
> AC Power:
> lidwake 1
> autopoweroff 1
> autopoweroffdelay 14400
> standbydelay 18000
> standby 0
> ttyskeepawake 1
> hibernatemode 3
> gpuswitch 2
> hibernatefile /var/vm/sleepimage
> womp 1
> displaysleep 3
> networkoversleep 0
> sleep 0
> acwake 0
> halfdim 1
> sms 1
> disksleep 60
>
>
> Many thanks for help!
>
> Markus
>
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|