One way to debug this sort of problem is run a demo such
as the SDF butterfly demo within pigi and then take the contents
of ~/pigiLog.pt and run it through ptcl:
xh@maury 13% ptcl
ptcl> source /users/cxh/pigiLog.pt
ptcl> run 10000
ptcl> wrapup
If you don't get the plot, then you need to figure out why pxgraph is
not running for you. It could be a path problem
You should be able to do
echo "1 1" | pxgraph
-Christopher
--------
Hello ptolemy-hackers,
I am running simulations in the DE domain. I cannot get most of the Batch
display stars (BarGraph, Xhistogram, XMgraph) to work under ptcl.
When I use these stars, the simulation runs without any error messages,
but pxgraph does not open up any windows, nor am I able to save the
display data to a file. I can check the states of the stars in the
simulation using "statevalue" and they are set to the appropriate values
(for ex. the name of the output file to save the results in). However, the
output file is not even created.
These same simulations run under pigi and the batch display stars produce
the graphs and files I need. I have also used (slightly modified) the
pigiLog.pt produced by the pigi run as the ptcl script, and I get the same
behavior as with my ptcl scripts - ie. the simulation seems to run, but no
output file or graphs are produced.
The only star I could get to work is the Printer star.
I have read the pxgraph man page and I have tried varying some of the
options, where it made sense. The DISPLAY variable is set to the machine I
am working on. I use the command "wrapup" after saying "run x", to flush
any buffers.
(I have tried simple simulations in the SDF domain and I have the same
problem - I get stars like Xgraph to work under pigi, but not under ptcl)
>From the mailing list archive, it looks like no one else has had this
problem. Is there something obvious I'm missing to get these stars
to work under ptcl? If anyone else is doing what I am trying to do, can
you let me know what options you use and set to get it working.
Thankyou very much.
Suma
---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
--------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]