[Swift-devel] swift swing gui testing
Michael Wilde
wilde at mcs.anl.gov
Fri Jul 26 17:43:24 CDT 2013
attached is what I see with a test of 10 "catsnsleep" jobs with 10-second sleeps.
I think everything is working except for the summary table.
- Mike
----- Original Message -----
> From: "Michael Wilde" <wilde at mcs.anl.gov>
> To: "Mihael Hategan" <hategan at mcs.anl.gov>
> Cc: "Swift Devel" <swift-devel at ci.uchicago.edu>
> Sent: Friday, July 26, 2013 5:36:05 PM
> Subject: Re: swift swing gui testing
>
> OK, I downloaded jfreechart and copied most of its jars to swift/lib
>
> The GUI came up, and did *some* stuff, but not everything. Eg the
> summary panel showed all zeros, but I did get some graphs and other
> outputs.
>
> I'll keep fiddling...
>
> - Mike
>
>
> ----- Original Message -----
> > From: "Michael Wilde" <wilde at mcs.anl.gov>
> > To: "Mihael Hategan" <hategan at mcs.anl.gov>
> > Sent: Friday, July 26, 2013 5:25:14 PM
> > Subject: swift swing gui testing
> >
> >
> > Mihael, do you need to commit a jFreeChart jar? I get the error
> > below.
> >
> > Also, do I need a "user preferences directory" ?
> >
> > - Mike
> >
> > swift$ swift -version
> > Swift trunk swift-r6668 cog-r3748
> >
> > swift$ swift -ui Swing catsnsleep.swift -n=10 -s=10
> > Jul 26, 2013 10:22:15 PM java.util.prefs.FileSystemPreferences$1
> > run
> > INFO: Created user preferences directory.
> > java.lang.NoClassDefFoundError: org/jfree/data/xy/XYDataset
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/jfree/data/xy/XYDataset
> > at
> > org.griphyn.vdl.karajan.monitor.monitors.swing.GraphsPanel.setDefaultLayout(GraphsPanel.java:206)
> > at
> > org.griphyn.vdl.karajan.monitor.monitors.swing.GraphsPanel.loadLayout(GraphsPanel.java:193)
> > at
> > org.griphyn.vdl.karajan.monitor.monitors.swing.GraphsPanel.<init>(GraphsPanel.java:110)
> > at
> > org.griphyn.vdl.karajan.monitor.monitors.swing.SwingMonitor.createTabs(SwingMonitor.java:119)
> > at
> > org.griphyn.vdl.karajan.monitor.monitors.swing.SwingMonitor.setState(SwingMonitor.java:98)
> > at
> > org.griphyn.vdl.karajan.monitor.MonitorAppender.<init>(MonitorAppender.java:68)
> > at org.griphyn.vdl.karajan.Loader.setupLogging(Loader.java:581)
> > at org.griphyn.vdl.karajan.Loader.main(Loader.java:147)
> > Caused by: java.lang.ClassNotFoundException:
> > org.jfree.data.xy.XYDataset
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> > ... 8 more
> > swift$
> >
> >
> > ----- Original Message -----
> > > From: "Mihael Hategan" <hategan at mcs.anl.gov>
> > > To: "Michael Wilde" <wilde at mcs.anl.gov>
> > > Cc: "David Kelly" <davidk at ci.uchicago.edu>, "Yadu Nand B"
> > > <yadunandb at ci.uchicago.edu>, "Ketan Maheshwari"
> > > <ketan at mcs.anl.gov>, "Justin M Wozniak" <wozniak at mcs.anl.gov>,
> > > "Tim
> > > Armstrong" <tga at uchicago.edu>, "Scott Krieder"
> > > <skrieder at iit.edu>
> > > Sent: Friday, July 26, 2013 4:31:29 PM
> > > Subject: Re: Swift meeting Fri 2PM
> > >
> > > On Fri, 2013-07-26 at 16:12 -0500, Michael Wilde wrote:
> > > > Mihael, this sounds very cool. :)
> > > >
> > > > Could you (re)send a pointer to Swift-devel with the info below
> > > > and
> > > > a pointer on how to use it?
> > >
> > > I trunk you would say "swift -ui Swing ...". The rest should be
> > > self
> > > explanatory.
> > >
> > > Mihael
> > >
> > > >
> > > > ALso to note: the swift performance plotting info in the User
> > > > Guide
> > > > describes Justin's adaptation of Ben's original log plotter,
> > > > but
> > > > uses
> > > > jFreeChart as well - so we might be able to refactor the log
> > > > processing and plotting into a common code base to feed both
> > > > static
> > > > plots and dynamic (status-monitor) plots.
> > >
> > > Are we talking about the code in /usertools/plotter?
> > >
> > > That seems to be a command-line plotting tool, like a replacement
> > > for
> > > gnuplot if I'm not missing something. I'm more concerned with
> > > replacing
> > > how the data gets to the plotting library, but again, I might be
> > > missing
> > > something.
> > >
> > > Mihael
> > >
> > >
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2013-07-26 at 5.41.19 PM.png
Type: image/png
Size: 96784 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20130726/83221ade/attachment.png>
More information about the Swift-devel
mailing list