|
[Sponsors] |
September 8, 2000, 11:03 |
keep process running
|
#1 |
Guest
Posts: n/a
|
Dear friends,
We are using SGI ORIGIN 2000 system. I tried to keep a process xj(a fortran excute file) running after I logged out. So I typed command: "nohup xj", then logged out. But the process xj stopped at the sametime I logged out. Could any one help me? Thanks. |
|
September 8, 2000, 11:12 |
Re: keep process running
|
#2 |
Guest
Posts: n/a
|
do this: type xj then type CTRL-z (puts the process on hold) then type bg (puts the process in the background) then logout
make sure the program doesn't send any information to the screen as it will stop while trying to do so |
|
September 8, 2000, 11:29 |
Re: keep process running
|
#3 |
Guest
Posts: n/a
|
Hi,
An easy way: xj>temp & ; that means put your screen message to temp, and run the code in the background. Then you could logout. Good luck |
|
September 8, 2000, 11:49 |
Re: keep process running
|
#4 |
Guest
Posts: n/a
|
This likely a shell problem. I've experience the same with the SunOS 5.7 ksh, but have had no problems with our SGI's ksh.
"foocmd &" *should* work without difficulties on (t)csh since SIGHUP is caught by cshell. "nohup foocmd&" or "nohup foocmd > /dev/null&" is required by ksh, since SIGHUP may not be properly (mostly never) caught by ksh Thus nohup will ALWAYS work, sometimes. For a fully bulletproof backgrounded cmd use 'at' instead: "at -f foocmd.script" now This also keeps your mailer busy and out of trouble. cheers, ------------------------------------------------------ Dr. Mark Olesen ZEUNA STAERKER GmbH & Co. KG Biberbachstr. 9 tel: +49 / 821 / 4103-862 D-86154 Augsburg, GERMANY ------------------------------------------------------ |
|
September 8, 2000, 14:18 |
Re: keep process running
|
#5 |
Guest
Posts: n/a
|
nohup is the right the way to do it, may u should check the man pages for nohup. cox
|
|
September 8, 2000, 21:50 |
Re: keep process running
|
#6 |
Guest
Posts: n/a
|
thanks
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Almost have my cluster running openfoam, but not quite... | bjr | OpenFOAM Running, Solving & CFD | 17 | March 6, 2020 10:52 |
Cyclic BC with parallel running | rdrr84 | OpenFOAM Running, Solving & CFD | 2 | September 30, 2011 06:43 |
[PyFoam] Running multiple instances of solver using MPI and PyFoam | bfa | OpenFOAM Community Contributions | 3 | January 25, 2011 18:57 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
Process Editor shows no running jobs | tchavdarov | OpenFOAM Pre-Processing | 1 | March 9, 2005 04:43 |