CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   StarWatch Daemon always dies! (https://www.cfd-online.com/Forums/siemens/53079-starwatch-daemon-always-dies.html)

Jiaying Xu November 14, 2002 12:02

StarWatch Daemon always dies!
 
Hi, Star users?

Have you guys experienced that STARWATCH DAEMON is prone to die?

I am suffering a lot from this. The daemon (starwdaemon) is not always responsive to the clients (starwatch). If I got such a warning message

"Warning - Server response timed out. Star job unable to check for registeration with starwatch."

I then had to kill starwatch and consequently starwdaemon was also dead. Another way is that I kill directly starwdaemon, so starwatch is alive but becomes useless. In either way I lost monitoring of some other running jobs which may have good communications with the daemon.

For my own experience, as long as the job size is of about 50MB or above, starwatch/starwdaemon becomes practically useless.

Any idea or comments?

Thanks,

Jiaying

Joern Beilke November 14, 2002 12:48

Re: StarWatch Daemon always dies!
 
http://www.beilke-cfd.de/plot_runfile.pl


Nicola November 15, 2002 04:16

Re: StarWatch Daemon always dies!
 
Hello Joern,

could you please give a short explanation or documentation of this script, and how it has to be used?

Joern Beilke November 15, 2002 04:31

Re: StarWatch Daemon always dies!
 
You need perl and gnuplot to use the script.

1) make it an executable : chmod 755 plot_runfile.pl

2) run it from the directory where you have the runfile by entering: plot_runfile.pl casename

The script takes the runfile (case.run) removes the header lines and put additional spaces between the rows so that gnuplot can work with it. Then gnuplot is started and the residuals and the monitoring values are plotted.


Jiaying Xu November 15, 2002 08:45

Re: StarWatch Daemon always dies!
 
Works perfectly!

Thanks Joern!

Jiaying

Lars Ola Liavåg November 18, 2002 04:35

Re: StarWatch Daemon always dies!
 
It's a nice script, but I'm solving for an extra scalar and unfortunately, the extra line produced in the .run file for each iteration makes the plots appear rather ugly.

Regards,

Lars Ola

Joern Beilke November 18, 2002 07:58

Re: StarWatch Daemon always dies!
 
There is a slightly improved version now on the server.

Lars Ola Liavåg November 19, 2002 06:24

Re: StarWatch Daemon always dies!
 
It still can't handle the extra line per iteration in the run file when you solve for additional scalars. Otherwise it works, and looks, perfectly.

Regs.

Lars Ola

Joern Beilke November 19, 2002 06:55

Re: StarWatch Daemon always dies!
 
If you are willing to pay for that you can get it :)

nikhil December 2, 2002 03:25

Re: StarWatch Daemon always dies!
 
hi usres, how can one add extra variable like mass flow rate in *.run file??

nikhil

nikhil December 2, 2002 06:07

extra variable in run file
 
hi users, how can one add extra variable like mass flow rate in *.run file??

nikhil


Joern Beilke December 2, 2002 07:46

Re: extra variable in run file
 
Use the posdat.f subroutine and write to unit 60 whatever you want.

Or hava a look to the star-guide

Analysis Montrols -> Output Controls -> Monitoring ... The selected data are written to the *.erd file.


nikhil December 3, 2002 01:06

Re: extra variable in run file
 
Thanx Joern, the seecond way that u told i am using this time, i want it be in *.run file so that i can use ur script directly to see the profile of any other variable (not only mass flow rate) during code is running.

nikhil

nikhil December 6, 2002 00:45

Re: StarWatch Daemon always dies!
 
hi joern, there is one drawback of the script ?suppose the number of iteration is greater than 10000 then there is overlapping of plots of (ite no 1 to ite no 10000 and beyond ite no 10001) bcoz in *.run file it shows iteratons beyond 10000 like iteration 1 .

can this bug be modified? nikhil

CJ Tune December 9, 2002 22:52

Re: StarWatch Daemon always dies!
 
Hangs up often in Windows, but I've not noticed any correlation between job size and starwatch daemon stability -I've done an underhood sim overnight (under Windows) and by next morning starwatch is still dutifully reporting all the residuals. I have never gotten it to run at all in Linux -the daemon and the stripchart were trying to reach each other on wrong ports! However, starwatch is very stable on UNIX platforms.

Now, I mostly just stare at the text residual outputs a'la 'The Matrix'.


All times are GMT -4. The time now is 04:20.