/[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.4 by jmc, Sat Feb 24 17:33:55 2018 UTC revision 1.5 by jmc, Mon Feb 26 21:15:14 2018 UTC
# Line 22  ulimit -s unlimited Line 22  ulimit -s unlimited
22    export MPI_INC_DIR=$MPI_GCC_DIR/include    export MPI_INC_DIR=$MPI_GCC_DIR/include
23    export PATH="$PATH:$MPI_GCC_DIR/bin"    export PATH="$PATH:$MPI_GCC_DIR/bin"
24    
25  #- method to acces CVS:  #- method to access CVS:
26    cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack'    cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack'
27    cmdCVS='cvs -d /u/gcmpack'    cmdCVS='cvs -d /u/gcmpack'
28  # export CVS_RSH=ssh  # export CVS_RSH=ssh
29  # cmdCVS='cvs -q -d :ext:jmc@mitgcm.org:/u/gcmpack'  # cmdCVS='cvs -q -d :ext:jmc@mitgcm.org:/u/gcmpack'
30    
31  #- and which GitHub repository to use:  #- which GitHub repository to use and how to access it:
32    git_repo='MITgcm';  git_code='MITgcm'    git_repo='MITgcm';  git_code='MITgcm'
33   #git_repo='altMITgcm'; #git_code='MITgcm66h'   #git_repo='altMITgcm'; #git_code='MITgcm66h'
34    #--
35     #git_repo="https://github.com/$git_repo"
36      git_repo="git://github.com/$git_repo"
37     #git_repo="git@github.com:$git_repo"
38    
39  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)  # checkOut=3 : clone from GitHub and make a new copy (if sepDir)
40  #   =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 2 if no repo)
# Line 105  if [ $checkOut -ge 2 ] ; then Line 109  if [ $checkOut -ge 2 ] ; then
109    if [ $checkOut -eq 3 ] ; then    if [ $checkOut -eq 3 ] ; then
110      test -e $git_code && rm -rf $git_code      test -e $git_code && rm -rf $git_code
111      echo -n "Make a clone of $git_code from repo: $git_repo ..."      echo -n "Make a clone of $git_code from repo: $git_repo ..."
112      git clone https://github.com/$git_repo/${git_code}.git 2> $tmpFil      git clone $git_repo/${git_code}.git 2> $tmpFil
113      retVal=$?      retVal=$?
114      if test $retVal = 0 ; then      if test $retVal = 0 ; then
115         echo ' --> done!'         echo ' --> done!'

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

  ViewVC Help
Powered by ViewVC 1.1.22