Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[farmshare-discuss] Overnight Matlab jobs in corn

Stephen James Wolf sjwolf at
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.

Stephen Wolf

----- Original Message -----
From: "David Esteban Manosalvas" <demanosalvas at>
To: farmshare-discuss at, "Jason Scott Bishop" <bishopj at>
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??


David Manosalvas
Aeronautics and Astronautics
farmshare-discuss mailing list
farmshare-discuss at

More information about the farmshare-discuss mailing list