|
[Sponsors] |
September 20, 2001, 08:01 |
how to run a starjob in background?
|
#1 |
Guest
Posts: n/a
|
Hi there,
I use a local pc to logon a unix super computer there installed the StarCD. My question is whether I can run the starjob on the background of the super computer. Then I logouted my machine. After several hours, I login my machine to take a look at the computation. A simple logout just kills the process and terminates the computation, because the starjob keeps writing the iteration residual and monitoring values back to my screen. Is it possible I can turn off the screen writing of a starjob or redirect it to a disk file? Thanks very much. Jiaying Note: I can run starjob in background by issueing a unix command with a surfix & charecter, but this is not my point. My intention is to disconnect my local pc from the unix machine but keep the starjob running on the unix machine. |
|
September 20, 2001, 08:52 |
Re: how to run a starjob in background?
|
#2 |
Guest
Posts: n/a
|
Hello, Jiaying,
you can use the unix command NOHUP to keep jobs running after disconnecting from the remote machine. Simply start nohup < your shell script > & The shell script is used to issue the case name to the star executable. The executable is created with the command STARLINK. An example shell script looks like this: #!/bin/sh ./star.exe << EOD star EOD with "star.exe" the name of the executable and "star" the casename. The program output will be directed to a file called NOHUP.OUT. Hope this helps. Stephan |
|
September 20, 2001, 10:54 |
Re: how to run a starjob in background?
|
#3 |
Guest
Posts: n/a
|
Works as you said. Many thanks, Stephan. Jiaying
|
|
September 20, 2001, 11:17 |
Re: how to run a starjob in background?
|
#4 |
Guest
Posts: n/a
|
I found that "star_inter.sh > outputfile &" also works well, especially replacing outputfile with /dev/null will redirect screen writing to NULL. This is useful since a .run file also records iteration history. Regards. Jiaying
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Background colour | JSM | FLUENT | 4 | September 13, 2007 06:30 |
How to run CFX on the background? | David | CFX | 1 | January 19, 2004 17:24 |
how to run fluent 5.4 in background | l.g.patil | FLUENT | 5 | February 1, 2002 13:06 |
How to run Fluent on the background | Jie | FLUENT | 9 | September 7, 2001 23:41 |
background color | Nurul Murad | FLUENT | 2 | August 30, 2001 02:45 |