[Simgrid-user] [Simgrid-devel] Parsing problem on simgrid-3.5

Arnaud Legrand arnaud.legrand at imag.fr
Thu Jan 20 13:20:40 CET 2011


Le jeudi 20 janvier 2011 à 09:18 +0100, Frédéric suter a écrit :
> Hi
> > The <AS> tag is used only when you describe your platform (i.e in
> > your platform's file)
> > So, since it's a deployment XML file, the <AS>  tag has nothing to
> > do here ;)
> The problem is that someone having "old" deployment file (i.e., in
> version="2") will be asked to update them through this message: 
> ** ******* BIG FAT WARNING *********
>  You're using an old XML file.
> Use simgrid_update_xml to update your file automatically. This program
> is installed automatically with SimGrid, or available in the tools/
> directory of the source archive.
> But applying this script to a deployment file will automatically add
> an <AS> tag (that has nothing to do here ;)).
> Pierre (or someone else), is there a way to detect that a XML file
> comprises only deployment tags?

Sure. Only add an AS for the first encountered host and if you did so
close it when you encounter the </platform>. It should be a two line
modification... Pierre, can you please take care of this ?



The irony is that Bill Gates claims to be making a stable operating system
and Linus Torvalds claims to be trying to take over the world. 

More information about the Simgrid-user mailing list