[MITgcm-devel] complaint about testreport (o:

Jean-Michel Campin jmc at ocean.mit.edu
Tue Sep 5 10:59:57 EDT 2006


Hi Martin,

This need to be fixed.
The MPI tests that are done here are not using qsub in the 
$COMMAND so I did not think of this option.

I see 3 possible solutions:

1) go back to not checking "NORMAL END" :
(in testreport, uncomment line 570, comment line 571)
the little Pb here is that sometime the model stops
(e.g. in writing the final pickup) with some error msg
(from MITgcm) or from the system (if MPI testing),
but the RETVAL value is still 0 and
testreport does not catch the Pb (run="Y" and "pass").

2) add an argument to testreport, to check (or not)
for "NORMAL END".

3) do it in a clever way (but would need to be robust)
without an additional argument to testreport.
 I don't have a good solution here (e.g.: check if COMMAND
  contain qsub ? would this work for your testing ? ).

An other thing: since run.log is not over-written by:
  ( eval $COMMAND ) >> run.log 2>&1
do you know what would happen if inside the script
 "runit_pgf77" you manage (if this is possible) to
redirect the output command to run.log ?
A simple way to test this would be to add in
runit_pgf77 something like:
echo "NORMAL END" >> {the right path/}run.log
and see what happen.

Jean-Michel

On Mon, Sep 04, 2006 at 09:28:56AM +0200, Martin Losch wrote:
> Hi Jean-Michel,
> 
> your latest changes to testreport break my tests on our XD1, because  
> in that case run.log never contains the model output, because my  
> $COMMAND -variable is something like: "/usr/pbs/bin/qsub -W  
> block=true /home/xd1/mlosch/runit_pgf77". I cannot run mpi-jobs  
> interactively on that machine and have to use the batch-queue, so  
> that run.log only contains messages from the queue, such as
> >2828.xd1-420-6
> which causes testreport to fail, when it looks for NORMAL END. What  
> should we do about it?
> 
> Martin
> 
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel



More information about the MITgcm-devel mailing list