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

Diff of /MITgcm_contrib/test_scripts/ref_machine/test_batsi

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

revision 1.1 by jmc, Thu Dec 20 23:31:07 2018 UTC revision 1.6 by jmc, Wed Sep 18 16:01:21 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 34  ulimit -s unlimited Line 34  ulimit -s unlimited
34   #git_repo="git://github.com/$git_repo"   #git_repo="git://github.com/$git_repo"
35   #git_repo="git@github.com:$git_repo"   #git_repo="git@github.com:$git_repo"
36    
37    #-------------------------------------------------------------------
38  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)
39  #   =2 : update (git pull) repo  and make a new copy code  (switch to 2 if no repo)  #   =2 : update (git pull) repo  and make a new copy code  (switch to 3 if no repo)
40  #   =1 : skip update             but use a new copy  (if sepDir)  #   =1 : skip update             but use a new copy  (if sepDir)
41  #   =0 : use existing test code ( switch to 1 if missing test code )  #   =0 : use existing test code ( switch to 1 if missing test code )
42  dInWeek=`date +%a`  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='g7a mpa mth mp2+rs mpi oad'  #tst_list='g7a mpa mth mp2+rs mpi oad'
55   tst_list='mpa adm mpi gfo+rs mth+rs'   tst_list='mpa adm g7a mpi mth+rs gfo+rs g77'
56  #tst_list="$tst_list oad"  #tst_list="$tst_list oad"
57  else  else
58   checkOut=1   checkOut=1
# Line 198  do Line 196  do
196    #- define list of additional experiences to test:    #- define list of additional experiences to test:
197    addExp=''    addExp=''
198    if test $typ = 'mpi' ; then    if test $typ = 'mpi' ; then
199      addExp="offline_cheapaml atm_gray"      addExp="offline_cheapaml atm_gray atm_strato"
200    fi    fi
201    if test $typ = 'gfo' -o $typ = 'ifc' ; then    if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'mpa' ; then
202      addExp="$addExp global_oce_biogeo_bling"      addExp="$addExp global_oce_biogeo_bling"
203      fi
204      if test $typ = 'gfo' -o $typ = 'ifc' ; then
205      addExp="$addExp shelfice_remeshing"      addExp="$addExp shelfice_remeshing"
206    fi    fi
207    if test $typ = 'mpi' ; then    if test $typ = 'mpi' ; then
# Line 235  do Line 235  do
235    if test $sepDir = 1 ; then    if test $sepDir = 1 ; then
236      new_dir="MITgcm_$typ"      new_dir="MITgcm_$typ"
237      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi
238      if test -d $new_dir/CVS -a $reUse = 1 ; then      if test -d $new_dir/doc -a $reUse = 1 ; then
239        cd $tdir/$new_dir        cd $tdir/$new_dir
240        if test $tt != $typ ; then        if test $tt != $typ ; then
241          ( cd verification ; ../tools/do_tst_2+2 -clean )          ( cd verification ; ../tools/do_tst_2+2 -clean )

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22