[MITgcm-devel] changes in testreport
Jean-Michel Campin
jmc at ocean.mit.edu
Mon Sep 10 11:35:56 EDT 2007
Hi Martin,
Thanks for the information.
We will try on non-linux systems and try to find a fix
(and hopefully, it might also work on those Sun platform).
Cheers,
Jean-Michel
On Mon, Sep 10, 2007 at 03:34:54PM +0200, Martin Losch wrote:
> Hi Jean-Michel:
> this seems to be the culprit
>
> awk: syntax error near line 1
> awk: illegal statement near line 1
> expr: syntax error
>
> I guess, the reason is that on Linux system the default awk is
> really gawk (gnu awk). Since you changed so much in testreport, is it
> possible for you to test testreport on a Sun at your place (with
> SunOS awk), and sort out the syntax? I won't get around to doing this
> this week, unfortunately.
>
> Martin
>
>
> On 10 Sep 2007, at 09:29, Martin.Losch at awi.de wrote:
>
> >Hi Jean-Michel,
> >
> >you were right: 4 of my five test fail:
> >edvir sp4+mpi_edvir1 forward 20070909 summary.txt 0:9
> >model sunos_sun4u_mpf77+mpi_sunfire forward 20070909 summary.txt
> >0:48
> >rays1 sunos_sun4u_f77 forward 20070909 summary.txt
> >0:65
> >rays1 sunos_sun4u_g77 forward 20070909 summary.txt
> >0:65
> >xd1-420-6 linux_amd64_pgf77+mpi_xd1 forward 20070909
> >summary.txt 41:48
> >
> >But I cannot find the reason: all experiments run with "STOP
> >NORMAL" and then there is this output:
> >
> >model::verification> cat tr_model_20070909_0/cfc_example/summary.txt
> >listVar=''
> >fresults='Y Y Y Y FAIL cfc_example'
> >MACH='model'
> >UNAMEA='SunOS model 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-
> >Fire-15000'
> >DATE='20070909'
> >tdir='cfc_example'
> >
> >apparently the script doesn't find a default for the diagnostics to
> >check, right? How do I debug this?
> >
> >Martin
> >
> >
> >Martin Losch
> >Alfred Wegener Institute
> >Postfach 120161, 27515 Bremerhaven, Germany;
> >Tel./Fax: ++49(0471)4831-1872/1797
> >
> >
> >
> >----- Original Message -----
> >From: Jean-Michel Campin <jmc at ocean.mit.edu>
> >Date: Friday, September 7, 2007 3:12 am
> >Subject: [MITgcm-devel] changes in testreport
> >
> >>Hi,
> >>
> >>I changed a little bit testreport, and might not be 100%
> >>ok on all platforms (I am sure Martin will find something).
> >>
> >>The idea is (cvs check-in msg):
> >>>Allow to choose (per experiment) the list of tested output variables
> >>> and the main variable (used to issue a pass/FAIL ) ;
> >>>- for now, done by adding the specific list in file:
> >>[exp]/input/tr_checklist ;
> >>>- default is unchanged: >cg2d< , (T,S,U,V,5
> >>tracers)_[min,max,mean,StD] ;
> >>>Also modify printing of summary:
> >>>a) ">" NN "<" indicates the "main" variable (used for pass/FAIL)
> >>>b) echo the list of tested variables in the individual
> >>summary.txt of
> >>> each experiment.
> >>
> >>I put an example of tr_checklist in /advect_cs/input
> >>(same default list of variables, but the "main" one is changed
> >>to Tsd (for Theta Std.Dev) instead of PS (for Pressure Solver = cg2d)
> >>
> >>I submitted a standard test on faulks and it's now on the webb page
> >>(faulks : not_explicitly_specified )
> >>so that every one can see this "printing improvement".
> >>If you have some comments, welcome !
> >>
> >>Unfortunately, it has a problem with the score: "1:1"
> >>(something in the testing web-page building) and would need
> >>to be change to the Number of tests that "pass".
> >>I disabled for now the print changes to get normal score for
> >>tonight testing.
> >>
> >>Did not touch to the AD testing part, but there is a good chance
> >>(with little modification to the code & dir structure)
> >>to re-use, for the AD test, the same functions used for the forward
> >>testing (Patrick, we can talk about this when you are back).
> >>
> >>Jean-Michel
> >>
> >>_______________________________________________
> >>MITgcm-devel mailing list
> >>MITgcm-devel at mitgcm.org
> >>http://mitgcm.org/mailman/listinfo/mitgcm-devel
> >>
> >_______________________________________________
> >MITgcm-devel mailing list
> >MITgcm-devel at mitgcm.org
> >http://mitgcm.org/mailman/listinfo/mitgcm-devel
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list