/[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.4 by jmc, Wed Aug 28 00:13:47 2019 UTC revision 1.9 by jmc, Thu Oct 17 22:45:03 2019 UTC
# 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    
# Line 208  do Line 206  do
206    fi    fi
207    if test $typ = 'mpi' ; then    if test $typ = 'mpi' ; then
208      addExp="$addExp global_ocean.gm_k3d"      addExp="$addExp global_ocean.gm_k3d"
209        addExp="$addExp global_ocean.gm_res"
210      addExp="$addExp global_oce_cs32"      addExp="$addExp global_oce_cs32"
211    fi    fi
212    #- check day and time:    #- check day and time:
# Line 237  do Line 236  do
236    if test $sepDir = 1 ; then    if test $sepDir = 1 ; then
237      new_dir="MITgcm_$typ"      new_dir="MITgcm_$typ"
238      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi
239      if test -d $new_dir/CVS -a $reUse = 1 ; then      if test -d $new_dir/doc -a $reUse = 1 ; then
240        cd $tdir/$new_dir        cd $tdir/$new_dir
241        if test $tt != $typ ; then        if test $tt != $typ ; then
242          ( cd verification ; ../tools/do_tst_2+2 -clean )          ( cd verification ; ../tools/do_tst_2+2 -clean )
# Line 307  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 = 'shelfice_remeshing' ; then         #if test $exp2add = 'shelfice_remeshing' ; then

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22