Issue
I have to run some programs remotely in a cluster via ssh.
The problem is the following, the programs run for two or three days (they are really heavy). I connect to the cluster and run the programs with the following command
matlab -nosplash -nodesktop -r script
the program runs properly, but if I close the terminal the program stops running, and if I disconnect from the network the program give me the following error: "broken pipe".
Is any way that I can run the program and I can disconnect or close the terminal and the program keep running?
Thank you very much
Solution
look into the program called screen. I'm assuming your remote logging through SSH and using Linux?
Answered By - Veridian Answer Checked By - Pedro (WPSolving Volunteer)