/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.123 by jmc, Thu Apr 16 18:46:59 2009 UTC revision 1.125 by jmc, Tue May 12 18:44:24 2009 UTC
# Line 320  genmakemodel() Line 320  genmakemodel()
320              elif test "x$OADM" = xt ; then              elif test "x$OADM" = xt ; then
321                  command="$command -adof ../../../tools/adjoint_options/adjoint_oad -mods '../code_oad ../../OpenAD/code_oad_all'"                  command="$command -adof ../../../tools/adjoint_options/adjoint_oad -mods '../code_oad ../../OpenAD/code_oad_all'"
322              else              else
323                  command="$command --mods=../code"                  command="$command -mods=../code"
324              fi              fi
325              if test "x$OPTFILE" != xNONE ; then              if test "x$OPTFILE" != xNONE ; then
326                  command="$command --optfile=$OPTFILE"                  command="$command -optfile=$OPTFILE"
327              fi              fi
328              if test "x$IEEE" != x ; then              if test "x$IEEE" != x ; then
329                  command="$command -ieee"                  command="$command -ieee"
# Line 525  linkdata() Line 525  linkdata()
525      if test -d $1 ; then      if test -d $1 ; then
526          (          (
527              cd $1 ; shift              cd $1 ; shift
528                inpMPI=`(cd ../$1 ; find . -name "*.mpi" -print | sed 's:^\./::')`
529                for xx in $inpMPI ; do
530                  if test -r "../"$1"/"$xx ; then
531                    # found 1 _mpi sfx file in 1rst input dir and it is readable
532                    yy=`echo $xx | sed 's:\.mpi$::'`
533                    if test "x$MPI" = "xt" ; then
534                    # mpi test: remove symbolic link & link _mpi sfx file
535                        if test -h $yy ; then rm -f $yy ; fi
536                        if test ! -r $yy ; then
537                            ln -sf "../"$1"/"$xx $yy ;
538                            printf "$xx " 1>&2
539                        fi
540                    else
541                    # not mpi test: remove symbolic link
542                        if test -h $yy ; then rm -f $yy ; fi
543                    fi
544                  fi
545                done
546              if test -r "../"$1"/eedata.mth" ; then              if test -r "../"$1"/eedata.mth" ; then
547              # found eedata.mth in 1rst input dir and it is readable              # found eedata.mth in 1rst input dir and it is readable
548                  if test "x$MULTI_THREAD" = "xt" ; then                  if test "x$MULTI_THREAD" = "xt" ; then

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.22