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

Diff of /MITgcm_contrib/test_scripts/ref_machine/test_baudelaire

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

revision 1.11 by jmc, Wed Aug 28 14:43:23 2019 UTC revision 1.14 by jmc, Sun Sep 22 16:29:14 2019 UTC
# Line 36  ulimit -s unlimited Line 36  ulimit -s unlimited
36    git_repo="git://github.com/$git_repo"    git_repo="git://github.com/$git_repo"
37   #git_repo="git@github.com:$git_repo"   #git_repo="git@github.com:$git_repo"
38    
39    #-------------------------------------------------------------------
40  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)
41  #   =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)
42  #   =1 : skip update             but use a new copy  (if sepDir)  #   =1 : skip update             but use a new copy  (if sepDir)
43  #   =0 : use existing test code ( switch to 1 if missing test code )  #   =0 : use existing test code ( switch to 1 if missing test code )
44  dInWeek=`date +%a`  dInWeek=`date +%a`
45    
46  dNam=`hostname -s | tr '[:upper:]' '[:lower:]'`  dNam=`hostname -s | tr '[:upper:]' '[:lower:]'`
47  #TESTDIR="$HOME/test_${dNam}"  #TESTDIR="$HOME/test_${dNam}"
 #outDir=$dNam  
 #MC=11  
48   TESTDIR="/scratch/jmc/test_${dNam}"   TESTDIR="/scratch/jmc/test_${dNam}"
49   outDir="${dNam}-${tst_grp}"   MC=13 ; outDir="${dNam}-${tst_grp}"
50   MC=13  #MC=11 ; outDir=$dNam
51  sepDir=1  sepDir=1
52  option=  option=
53    
# Line 238  do Line 237  do
237    if test $sepDir = 1 ; then    if test $sepDir = 1 ; then
238      new_dir="MITgcm_$typ"      new_dir="MITgcm_$typ"
239      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi      reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi
240      if test -d $new_dir/CVS -a $reUse = 1 ; then      if test -d $new_dir/doc -a $reUse = 1 ; then
241        cd $tdir/$new_dir        cd $tdir/$new_dir
242        if test $tt != $typ ; then        if test $tt != $typ ; then
243          ( cd verification ; ../tools/do_tst_2+2 -clean )          ( cd verification ; ../tools/do_tst_2+2 -clean )
# Line 308  do Line 307  do
307          ( cd verification ;  ln -s ../$git_other/$exp2add . )          ( cd verification ;  ln -s ../$git_other/$exp2add . )
308          if test $exp2add = 'global_oce_cs32' ; then          if test $exp2add = 'global_oce_cs32' ; then
309            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
310            ( cd verification/${exp2add}            ( cd ${git_other}/${exp2add}
311              ln -s ../../../other_input/core2_cnyf . )              ln -s ../../../other_input/core2_cnyf . )
312          fi          fi
313         #if test $exp2add = 'shelfice_remeshing' ; then         #if test $exp2add = 'shelfice_remeshing' ; then

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22