/[MITgcm]/MITgcm_contrib/test_scripts/ref_machine/test_villon
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/ref_machine/test_villon

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

revision 1.7 by jmc, Mon Sep 16 23:38:47 2019 UTC revision 1.12 by jmc, Thu Oct 17 22:48:07 2019 UTC
# Line 18  export LC_ALL="en_US.UTF-8" Line 18  export LC_ALL="en_US.UTF-8"
18  #  Turn off stack limit for FIZHI & AD-tests  #  Turn off stack limit for FIZHI & AD-tests
19  ulimit -s unlimited  ulimit -s unlimited
20  #  MPI test (for now, only with gfortran)  #  MPI test (for now, only with gfortran)
21    source $HOME/bin/openmpi.sh  # source $HOME/bin/openmpi.sh
22    
23  #- method to access CVS:  #- method to access CVS:
24    cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack'    cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack'
# Line 43  dInWeek=`date +%a` Line 43  dInWeek=`date +%a`
43    
44  dNam=`hostname -s | tr '[:upper:]' '[:lower:]'`  dNam=`hostname -s | tr '[:upper:]' '[:lower:]'`
45   TESTDIR="$HOME/test_${dNam}"   TESTDIR="$HOME/test_${dNam}"
  outDir=$dNam  
  MC=11  
46  #TESTDIR="/scratch/jmc/test_${dNam}"  #TESTDIR="/scratch/jmc/test_${dNam}"
47  #outDir="${dNam}-${tst_grp}"   MC=13 ; outDir="${dNam}-${tst_grp}"
48  #MC=13  #MC=11 ;#outDir=$dNam
49  sepDir=1  sepDir=1
50  option=  option=
51    
52  if test $tst_grp = 'a' ; then  if test $tst_grp = 'a' ; then
53   checkOut=2   checkOut=2
54  #tst_list='mpa adm mpi gfo+rs mth+rs'   tst_list='mpa mpi mp2+rs mth'
 #tst_list="$tst_list oad"  
 #tst_list='adm gfo+rs oad'  
  tst_list='adm gfo+rs'  
55  else  else
56   checkOut=1   checkOut=1
57   tst_list='adm g77 gfo+rs ifc'   tst_list='adm tlm gfo+rs'
58   if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi  #tst_list="$tst_list oad"
59    #if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi
60  fi  fi
61  echo " test: $outDir ; list='$tst_list'"  echo " test: $outDir ; list='$tst_list'"
62    
# Line 201  do Line 197  do
197    if test $typ = 'mpi' ; then    if test $typ = 'mpi' ; then
198      addExp="offline_cheapaml atm_gray atm_strato"      addExp="offline_cheapaml atm_gray atm_strato"
199    fi    fi
200    if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'mpa' ; then    if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'adm' ; then
201      addExp="$addExp global_oce_biogeo_bling"      addExp="$addExp global_oce_biogeo_bling"
202    fi    fi
203    if test $typ = 'gfo' -o $typ = 'ifc' ; then    if test $typ = 'gfo' -o $typ = 'ifc' ; then
# Line 209  do Line 205  do
205    fi    fi
206    if test $typ = 'mpi' ; then    if test $typ = 'mpi' ; then
207      addExp="$addExp global_ocean.gm_k3d"      addExp="$addExp global_ocean.gm_k3d"
208        addExp="$addExp global_ocean.gm_res"
209      addExp="$addExp global_oce_cs32"      addExp="$addExp global_oce_cs32"
210        addExp="$addExp global_oce_llc90"
211    fi    fi
212    #- check day and time:    #- check day and time:
213    curDay=`date +%d` ; curHour=`date +%H`    curDay=`date +%d` ; curHour=`date +%H`
# Line 308  do Line 306  do
306          ( cd verification ;  ln -s ../$git_other/$exp2add . )          ( cd verification ;  ln -s ../$git_other/$exp2add . )
307          if test $exp2add = 'global_oce_cs32' ; then          if test $exp2add = 'global_oce_cs32' ; then
308            echo "      link dir 'other_input/core2_cnyf' in here"        | tee -a $tdir/output_$tt            echo "      link dir 'other_input/core2_cnyf' in here"        | tee -a $tdir/output_$tt
309            ( cd verification/${exp2add}            ( cd ${git_other}/${exp2add}
310              ln -s ../../../other_input/core2_cnyf . )              ln -s ../../../other_input/core2_cnyf . )
311          fi          fi
312            if test $exp2add = 'global_oce_llc90' ; then
313              echo "      link dir 'other_input/gael_oce_llc90_input' to 'input_fields'" \
314                                                                            | tee -a $tdir/output_$tt
315              ( cd ${git_other}/${exp2add}
316                test -L input_fields && /bin/rm -f input_fields
317                ln -s  ../../../other_input/gael_oce_llc90_input input_fields
318              echo "      link dirs: 'core2_cnyf' & 'global_oce_input_fields/*' in input_verifs" \
319                                                                            | tee -a $tdir/output_$tt
320                test ! -e input_verifs && mkdir input_verifs
321                ( cd input_verifs ; /bin/rm -f *
322                  ln -s ../../../../other_input/core2_cnyf .
323                  ln -s ../../../../other_input/global_oce_input_fields/* . )
324              )
325            fi
326         #if test $exp2add = 'shelfice_remeshing' ; then         #if test $exp2add = 'shelfice_remeshing' ; then
327         #  echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt         #  echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt
328         #  ( cd verification/${exp2add}         #  ( cd ${git_other}/${exp2add}
329         #    ln -s ../../../other_input/remeshing_code extra_code )         #    ln -s ../../../other_input/remeshing_code extra_code )
330         #fi         #fi
331        done        done

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22