Search Mailing List Archives
[farmshare-discuss] Overnight Matlab jobs in corn
Stephen James Wolf
sjwolf at stanford.edu
Thu Jul 26 11:36:50 PDT 2012
Can you paste the exact commands you are using?
The following should create a matlab process which runs on corn without being kicked
In initial terminal:
(insert your password into the prompt)
screen -S matlabtest
(new screen pops up)
(run whatever this tells you too)
nohup matlab -nosplash -nodisplay < yourprogram.m &
now press ctrl+A+D to detach the screen and close your SSH window.
Also make sure to remember which corn box you have remoted into and remote into the same box.
----- Original Message -----
From: "David Esteban Manosalvas" <demanosalvas at stanford.edu>
To: farmshare-discuss at lists.stanford.edu, "Jason Scott Bishop" <bishopj at stanford.edu>
Sent: Thursday, July 26, 2012 11:31:03 AM
Subject: [farmshare-discuss] Overnight Matlab jobs in corn
I have been trying to run some MATLAB programs in corn, I have been using "nohub" to run it in the backgroud, and "screen" to be able to close my ssh and keep them running. I have also been using "keeptoken" in the screen to make sure that if the job takes longer than 25 hours, AFS wont kick me out, but still after doing all this, when I close my ssh all my MATLAB jobs are killed.
Does anyone have any suggestion on what to do about this??
Aeronautics and Astronautics
farmshare-discuss mailing list
farmshare-discuss at lists.stanford.edu
More information about the farmshare-discuss