Phenix.refine stops running in the background
Hello all, I've been running phenix.refine over ssh on a remote computer, on command line. I always run it in the background (adding & to the command line). If I disconnect the ssh (or it gets disconnected) the job hangs. Any way of leaving it running even after the ssh disconnects? Thank you. Jose José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal "It's very hard to make predictions... especially about the future" - Niels Bohr
Hi José, Try this: nohup phenix.refine data.mtz model.pdb >& refine.log& On some systems "nohup" (no-hangup) will tell the system not to quit the job when the connection is terminated. All the best, Tom T On Oct 4, 2010, at 8:24 AM, José Trincão wrote:
Hello all, I've been running phenix.refine over ssh on a remote computer, on command line. I always run it in the background (adding & to the command line). If I disconnect the ssh (or it gets disconnected) the job hangs. Any way of leaving it running even after the ssh disconnects? Thank you.
Jose
José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal
"It's very hard to make predictions... especially about the future" - Niels Bohr
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Thomas C. Terwilliger Mail Stop M888 Los Alamos National Laboratory Los Alamos, NM 87545 Tel: 505-667-0072 email: [email protected] Fax: 505-665-3024 SOLVE web site: http://solve.lanl.gov PHENIX web site: http:www.phenix-online.org ISFI Integrated Center for Structure and Function Innovation web site: http://techcenter.mbi.ucla.edu TB Structural Genomics Consortium web site: http://www.doe-mbi.ucla.edu/TB CBSS Center for Bio-Security Science web site: http://www.lanl.gov/cbss
On 08:38 Mon 04 Oct , Tom Terwilliger wrote:
nohup phenix.refine data.mtz model.pdb >& refine.log&
On some systems "nohup" (no-hangup) will tell the system not to quit the job when the connection is terminated.
In the event that this doesn't work, an alternate route is to execute in a subshell: (phenix.refine &) -- Thanks, Donnie Donald S. Berkholz, Ph.D. Research Fellow James R. Thompson lab, Physiology & Biomedical Engineering Grazia Isaya lab, Pediatric & Adolescent Medicine Medical Sciences 2-66 Mayo Clinic College of Medicine 200 First Street SW Rochester, MN 55905 office: 507-538-6924 cell: 612-991-1321
simple solution is scheduling your command with at, like so: at now
phenix.command > output CTRL-D
The job will continue when you log off. The ampersand (&) is not required. Make sure to capture the standard output. Andreas On 04/10/2010 3:24, José Trincão wrote:
Hello all, I've been running phenix.refine over ssh on a remote computer, on command line. I always run it in the background (adding& to the command line). If I disconnect the ssh (or it gets disconnected) the job hangs. Any way of leaving it running even after the ssh disconnects? Thank you.
Jose
José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal
"It's very hard to make predictions... especially about the future" - Niels Bohr
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
-- Andreas Förster, Research Associate Paul Freemont & Xiaodong Zhang Labs Department of Biochemistry, Imperial College London http://www.msf.bio.ic.ac.uk
Olá Zé, provavelmente já te responderam... o Luís sugere o comando nohup (no hang up) Bom feriado! On Oct 4, 2010, at 3:24 PM, José Trincão wrote:
Hello all, I've been running phenix.refine over ssh on a remote computer, on command line. I always run it in the background (adding & to the command line). If I disconnect the ssh (or it gets disconnected) the job hangs. Any way of leaving it running even after the ssh disconnects? Thank you.
Jose
José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal
"It's very hard to make predictions... especially about the future" - Niels Bohr
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Thanks all! nohup works fine! JT On Oct 4, 2010, at 4/10/10 - 15:24, José Trincão wrote: Hello all, I've been running phenix.refine over ssh on a remote computer, on command line. I always run it in the background (adding & to the command line). If I disconnect the ssh (or it gets disconnected) the job hangs. Any way of leaving it running even after the ssh disconnects? Thank you. Jose José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal "It's very hard to make predictions... especially about the future" - Niels Bohr _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb José Trincão, PhD CQFB@FCT-UNL 2829-516 Caparica, Portugal "It's very hard to make predictions... especially about the future" - Niels Bohr
participants (5)
-
"Ana Luísa M. de Carvalho"
-
Andreas Förster
-
Donnie Berkholz
-
José Trincão
-
Tom Terwilliger