From: Gary P. <gpa...@gm...> - 2008-11-03 19:27:18
|
Hi, This is unfortunately a problem within the XML file description. We have fixed most of these errors in the next release as well as removing a lot of the old XML specifications that provide no benefit. I apologize in advance about that. With CIlib developing so fast, we missed updating the XML files. To correct this error, please edit the clustering-gbest-pso.xml file and alter the line containing the stopping condition to contain "maximumIterations=" and not "iterations=" Regards, Gary. PS: We have in the meantime updated the website today. The release is still scheduled for Wednesday. lab...@gm... wrote: > Okay, thanks. Creating the data directory did the trick. But I get > another error: > > ./simulator.sh xml/clustering-gbest-pso.xml > Locating the CILib jar file... ./cilib-0.6.11.jar > Built classpath: > ./cilib-0.6.11.jar:/home/myriam/jwsdp/jaxp/lib/endorsed/sax.jar:/home/myriam/jwsdp/jaxp/lib/endorsed/xercesImpl.jar:/home/myriam/jwsdp/jaxp/lib/endorsed/dom.jar:/home/myriam/jwsdp/jaxp/lib/jaxp-api.jar:/home/myriam/apache/log4j-1.2.15.jar:.:/home/myriam/cilib/cilib-0.6.11.jar > Starting simulation 1 of 8. > Exception in thread "main" net.sourceforge.cilib.xml.FactoryException: > In <addStoppingCondition> : > net.sourceforge.cilib.stoppingcondition.MaximumIterations does not > expose a setIterations(java.lang.Integer) method > at > net.sourceforge.cilib.xml.XMLObjectFactory.error(XMLObjectFactory.java:406) > at > net.sourceforge.cilib.xml.XMLObjectFactory.invokeMethod(XMLObjectFactory.java:390) > at > net.sourceforge.cilib.xml.XMLObjectFactory.invokeSetMethod(XMLObjectFactory.java:334) > at > net.sourceforge.cilib.xml.XMLObjectFactory.setup(XMLObjectFactory.java:235) > at > net.sourceforge.cilib.xml.XMLObjectFactory.newObject(XMLObjectFactory.java:139) > at > net.sourceforge.cilib.xml.XMLObjectFactory.setup(XMLObjectFactory.java:244) > at > net.sourceforge.cilib.xml.XMLObjectFactory.setup(XMLObjectFactory.java:225) > at > net.sourceforge.cilib.xml.XMLObjectFactory.newObject(XMLObjectFactory.java:139) > at > net.sourceforge.cilib.xml.XMLObjectFactory.newObject(XMLObjectFactory.java:118) > at > net.sourceforge.cilib.xml.XMLAlgorithmFactory.newAlgorithm(XMLAlgorithmFactory.java:61) > at net.sourceforge.cilib.simulator.Simulation.<init>(Simulation.java:81) > at net.sourceforge.cilib.simulator.Main.runSimulations(Main.java:61) > at net.sourceforge.cilib.simulator.Main.main(Main.java:93) > > On Nov 2, 2008 1:30am, Gary Pampara <gpa...@gm...> wrote: > > Hi, > > > > > > > > Yes, they are all documented. A complete list of changes (including > the ones partially complete) are available at > http://cilib.sourceforge.net/changes-report.html > > > > > > > > Any code that has been modified that influences an API change will be > deprecated before being removed. A large push for more documentation has > been made in this upcoming release, granted it's not perfect but it's at > least a step into the right direction. > > > > > > > > We will be updating the website with what the next few release > milestones will all include. I've not finalized the list yet, but I hope > to do so soon. > > > > > > > > Regards, > > > > Gary > > > > > > > > David wrote: > > > > > > Hi, > > > > For those who are actively using cilib will the incremental changes > between > > > > 0.6.11 and 0.6.12 be documented? I'd like to be able to quickly find and > > > > study any mods before applying them. > > > > > > > > Regards, > > > > David Rooke > > > > -----Original Message----- > > > > From: Gary Pampara [mailto:gpa...@gm...] Sent: Saturday, > November 01, 2008 3:54 PM > > > > To: lab...@gm... > > > > Cc: cil...@li... > > > > Subject: Re: [Cilib-users] datasets > > > > > > > > Hi, > > > > > > > > Not a problem at all :) > > > > > > > > The version of cilib that you are using (0.6.11) has a small bug in > it whereby it expects a data directory to be available within the CIlib > root directory. Basically creating a 'data' directory will solve this error. > > > > > > > > What I mean is that you need to create the directory path '/data' > > > > > > > > We are releasing 0.6.12 of CIlib this week, within which this bug has > been corrected. I hope to have it released on Monday. > > > > > > > > Kind regards, > > > > Gary > > > > > > > > lab...@gm... wrote: > > > > > > Hello, > > > > > > > > I'm just getting started, so bear with me. > > > > > > > > I'm trying to run the simulator on some of the xml files provided. > Where are the data files referred to in the xml? > > > > I have the latest cilib-0.6.11. > > > > > > > > TIA, > > > > myriam > > > > > > > > [myriam@normandy cilib]$ ./simulator.sh xml/mscpso.xmlLocating the > CILib jar file... ./cilib-0.6.11.jar > > > > Built classpath: ./cilib-0.6.11.jar:.:/home/myriam/cilib/cilib-0.6.11.jar > > > > Starting simulation 1 of 1. > > > > Exception in thread "main" > net.sourceforge.cilib.simulator.SimulationException: > java.io.FileNotFoundException: > data/multistart-cooperative-pso-schwefel.txt (No such file or directory) > > > > at > > > > > > > net.sourceforge.cilib.simulator.SynchronizedOutputBuffer.init>(Synchronized > > > > OutputBuffer.java:44) > > > > > > at > > > > > > > net.sourceforge.cilib.simulator.MeasurementSuite.initialise(MeasurementSuite > > > > .java:58) > > > > > > at net.sourceforge.cilib.simulator.Simulation.(Simulation.java:73) > > > > at net.sourceforge.cilib.simulator.Main.runSimulations(Main.java:61) > > > > at net.sourceforge.cilib.simulator.Main.main(Main.java:93) > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > > > > challenge > > > > > > Build the coolest Linux based applications with Moblin SDK & win great > > > > > > prizes > > > > > > Grand prize is a trip for two to an Open Source event anywhere in the > > > > > > world > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Cilib-users mailing list > > > > Cil...@li... > > > > https://lists.sourceforge.net/lists/listinfo/cilib-users > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > > > Build the coolest Linux based applications with Moblin SDK & win great > > > > prizes > > > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > > > Cilib-users mailing list > > > > Cil...@li... > > > > https://lists.sourceforge.net/lists/listinfo/cilib-users > > > > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Cilib-users mailing list > Cil...@li... > https://lists.sourceforge.net/lists/listinfo/cilib-users |