Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Users mailing list

From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2007-07-10 11:46:34


Whoops! I didn't realize anyone was using that Textfile
module. We can resurrect that if you'd like (call it
ParseableTextfile).

There's also the INIFile Reporter. That might be your best
bet, since there's a Config::INIFiles CPAN module. (Your
wrappers are in Perl, right?) Though wouldn't it be even
easier if there were a PerlDumper Reporter module so you
could read in the data *directly* to your Perl wrappers?
Your wrapper would do no parsing then. E.g.,

    open(FILE, "< $file");
    undef $/;
    $mtt_results = <FILE>;

-Ethan

On Mon, Jul/09/2007 06:07:51PM, Tim Prins wrote:
> Hi,
>
> With the new version of MTT, the textfile report file
> format changed to a more human readable format. Since we
> here at IU use a script to parse this, it presents a bit
> of a problem. I can update our script, but was wondering
> how stable this new output format is.
>
> If it will not be very stable, I was wondering if the
> developers would consider adding a parseable textfile
> output module. The easiest thing to do for this would be
> to just import the old textfile module as a new parseable
> module. I have tried this and it seems to work fine,
> however there may be problems with this that I am unaware
> of.
>
> I can deal with this either way, but just thought it might
> make things easier to have a parseable format that is
> relatively static, and a human readable format that can be
> tweaked for useability as time goes by.
>
> Thanks,
>
> Tim
> _______________________________________________
> mtt-users mailing list
> mtt-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users