/[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.10 by jmc, Wed Aug 21 16:05:13 2019 UTC revision 1.13 by jmc, Wed Sep 18 16:02:32 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    
54  if test $tst_grp = 'a' ; then  if test $tst_grp = 'a' ; then
55   checkOut=2   checkOut=2
56   tst_list='g7a mpa mth mp2+rs mpi oad'   tst_list='mpa mth mp2+rs mpi oad'
57  #tst_list='mpa adm mpi gfo+rs mth+rs'  #tst_list='mpa adm mpi gfo+rs mth+rs'
58  #tst_list="$tst_list oad"  #tst_list="$tst_list oad"
59  else  else
# 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 )

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22