[Swift-devel] dot error

Veronika V. Nefedova nefedova at mcs.anl.gov
Mon Apr 9 16:40:01 CDT 2007


Hmmm.... This is the command I used to produce the png:
dot -oFinalGraph.png -Tpng finaldot.dot

Interesting.

Nika

At 04:31 PM 4/9/2007, Yong Zhao wrote:
>I tried you finaldot.dot and produced a nice png graph using
>dot -Tpng -o aa.png finaldot.dot
>
>Yong.
>
>On Mon, 9 Apr 2007, Veronika  V. Nefedova wrote:
>
> > Well - replacing that line made a difference! Now I have something
> > displayed, but definitely not the graph I am looking for: it displays a
> > perfectly black rectangle (?). Any ideas what it is?
> >
> > Thanks,
> >
> > Nika
> >
> > At 02:17 PM 4/9/2007, Yong Zhao wrote:
> > >You can actually make the layout from left to right:
> > >
> > >replace in the dot file:
> > >                 graph [splines="compound", rankdir="TB"];
> > >with
> > >                 graph [splines="compound", rankdir="LR"];
> > >
> > >Yong.
> > >
> > >On Mon, 9 Apr 2007, Veronika  V. Nefedova wrote:
> > >
> > > > My most recent dot file that I can't display has been produced by
> > > > vdsk070321 and is called FinalGraph.png:
> > > > http://www.ci.uchicago.edu/~nefedova/FinalGraph.png
> > > >
> > > > I am not sure how can I scale down the image ( I tried several 
> command line
> > > > options that seem to make no effect on the file's size). It seems 
> that I
> > > > can't rotate the image from the command line options -- it might be 
> that it
> > > > could help to display those 68 one-tier jobs in column rather then 
> in the
> > > > row...
> > > >
> > > > Thanks,
> > > >
> > > > Nika
> > > >
> > > > At 11:31 AM 4/9/2007, Mihael Hategan wrote:
> > > > >The labels should now be quoted. But that was not the problem. Your
> > > > >labels did not have spaces. Dotty displays the file just fine. I don't
> > > > >know what more to say. It's a big graph (the .png is 122715 pixels
> > > > >wide). Most tools are not able to deal with such things. Try scaling
> > > > >down the image.
> > > > >
> > > > >On Mon, 2007-04-09 at 11:10 -0500, Veronika V. Nefedova wrote:
> > > > > > the problem is -- I still can't display any of my graphs... 
> What can be
> > > > > done?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Nika
> > > > > >
> > > > > > At 02:24 PM 4/3/2007, Mihael Hategan wrote:
> > > > > > >On Tue, 2007-04-03 at 13:09 -0500, Tiberiu Stef-Praun wrote:
> > > > > > > > This graph seems to have the color=lightsalmon attribute appear
> > > in the
> > > > > > > node name
> > > > > > > > BTW, i have never heard of that color
> > > > > > >
> > > > > > >http://www.graphviz.org/Documentation/dotguide.pdf
> > > > > > >
> > > > > > > >
> > > > > > > > Tibi
> > > > > > > >
> > > > > > > > On 3/9/07, Tiberiu Stef-Praun <tiberius at ci.uchicago.edu> wrote:
> > > > > > > > > Bad dot specification
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 3/9/07, Mihael Hategan <hategan at mcs.anl.gov> wrote:
> > > > > > > > > > If it's a valid .dot specification, dot shouldn't blow.
> > > > > > > > > > If it's not a valid dot specification, dot should complain,
> > > and we
> > > > > > > > > > should fix swift to produce valid .dot files.
> > > > > > > > > >
> > > > > > > > > > We need to figure out which one it is.
> > > > > > > > > >
> > > > > > > > > > Mihael
> > > > > > > > > >
> > > > > > > > > > On Fri, 2007-03-09 at 18:08 -0600, Veronika V. Nefedova 
> wrote:
> > > > > > > > > > > It is a simple graph: a-b-c-d (where a,b,c are single
> > > nodes, and
> > > > > > > d is 68
> > > > > > > > > > > parallel nodes). Could the number of parallel nodes be a
> > > problem?
> > > > > > > > > > >
> > > > > > > > > > > Nika
> > > > > > > > > > >
> > > > > > > > > > > At 06:00 PM 3/9/2007, Mihael Hategan wrote:
> > > > > > > > > > > >No clue. Looks like a pretty big graph. I can 
> somewhat view
> > > > > > > things, but
> > > > > > > > > > > >it behaves weirdly.
> > > > > > > > > > > >
> > > > > > > > > > > >On Fri, 2007-03-09 at 16:50 -0600, Veronika V. Nefedova
> > > wrote:
> > > > > > > > > > > > > Thank you!
> > > > > > > > > > > > >
> > > > > > > > > > > > > Done. Its in my home dir on evitable.
> > > > > > > > > > > > >
> > > > > > > > > > > > > At 04:38 PM 3/9/2007, you wrote:
> > > > > > > > > > > > > >No walk. Only a step. Instead of -Tpng, -Tps. And
> > > the name
> > > > > > > eventually
> > > > > > > > > > > > > >changed to graph_big.ps. Ok, it was two steps.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >Mihael
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >On Fri, 2007-03-09 at 15:37 -0600, Veronika V. 
> Nefedova
> > > > > wrote:
> > > > > > > > > > > > > > > You'd have to walk me through this. I do not know
> > > how to
> > > > > > > produce the ps
> > > > > > > > > > > > > > > file out of dot file...
> > > > > > > > > > > > > > > Sorry!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > At 03:31 PM 3/9/2007, you wrote:
> > > > > > > > > > > > > > > >Identify from ImageMagick quickly eats up 
> all the
> > > > > memory
> > > > > > > when I try to
> > > > > > > > > > > > > > > >run it on that file.
> > > > > > > > > > > > > > > >I'm tempted to conclude that something might be
> > > broken
> > > > > > > with dot.
> > > > > > > > > > > > > > > >Can you try producing a PostScript file instead?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >Mihael
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >On Fri, 2007-03-09 at 15:31 -0600, Veronika V.
> > > Nefedova
> > > > > > > wrote:
> > > > > > > > > > > > > > > > > Nope!
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > [nefedova at evitable ~]$ dot 
> -ograph_big.png -Tpng
> > > > > > > > > > > > > > > > > swift-MolDyn-free-01dqgqzbhns11.dot
> > > > > > > > > > > > > > > > > [nefedova at evitable ~]$ cp graph_big.png
> > > public_html/
> > > > > > > > > > > > > > > > > [nefedova at evitable ~]$ which dot
> > > > > > > > > > > > > > > > > /usr/bin/dot
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > At 03:25 PM 3/9/2007, Mihael Hategan wrote:
> > > > > > > > > > > > > > > > > >Did dot complain about anything?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >On Fri, 2007-03-09 at 14:55 -0600, 
> Veronika V.
> > > > > > > Nefedova wrote:
> > > > > > > > > > > > > > > > > > > Hi,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Not sure what happened -- but I was 
> unable to
> > > > > > > produce (or
> > > > > > > > > > > > > > display) the
> > > > > > > > > > > > > > > > > > > correct png file out of dot file that was
> > > > > > > generated by swift
> > > > > > > > > > > > > > (after the
> > > > > > > > > > > > > > > > > > > workflow was done).
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I put my dot file on evitable in
> > > > > > > > > > > > > > > > > > 
> ~nefedova/swift-MolDyn-free-01dqgqzbhns11.dot
> > > > > > > > > > > > > > > > > > > Then I ran the dot command to 
> generate the
> > > > > png file:
> > > > > > > > > > > > > > > > > > > $dot -ograph_big.png -Tpng
> > > > > > > swift-MolDyn-free-01dqgqzbhns11.dot
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Then I tried to display it in the 
> browser and
> > > > > got
> > > > > > > this:
> > > > > > > > > > > > > > > > > > > The image
> > > > > > > "http://www.ci.uchicago.edu/~nefedova/graph_big.png"
> > > > > > > > > > > > > > > > cannot be
> > > > > > > > > > > > > > > > > > > displayed, because it contains errors.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Any idea what is wrong here?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Nika
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > _______________________________________________
> > > > > > > > > > > > > > > > > > > Swift-devel mailing list
> > > > > > > > > > > > > > > > > > > Swift-devel at ci.uchicago.edu
> > > > > > > > > > > > > > > > > > >
> > > > > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > Swift-devel mailing list
> > > > > > > > > > Swift-devel at ci.uchicago.edu
> > > > > > > > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Tiberiu (Tibi) Stef-Praun, PhD
> > > > > > > > > Research Staff, Computation Institute
> > > > > > > > > 5640 S. Ellis Ave, #405
> > > > > > > > > University of Chicago
> > > > > > > > > http://www-unix.mcs.anl.gov/~tiberius/
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Swift-devel mailing list
> > > > Swift-devel at ci.uchicago.edu
> > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > > >
> >
> >
> >





More information about the Swift-devel mailing list