66 |
module add slurm |
module add slurm |
67 |
module list >> $LOG_FIL 2>&1 |
module list >> $LOG_FIL 2>&1 |
68 |
|
|
69 |
#- method to acces CVS: |
#- method to access CVS: |
70 |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack -q' |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack -q' |
71 |
#- and which GitHub repository to use: |
#- which GitHub repository to use and how to access it: |
72 |
git_repo='MITgcm'; git_code='MITgcm' |
git_repo='MITgcm'; git_code='MITgcm' |
73 |
#git_repo='altMITgcm'; #git_code='MITgcm66h' |
#git_repo='altMITgcm'; #git_code='MITgcm66h' |
74 |
|
#-- |
75 |
|
git_repo="https://github.com/$git_repo" |
76 |
|
#git_repo="git://github.com/$git_repo" |
77 |
|
#git_repo="git@github.com:$git_repo" |
78 |
|
|
79 |
checkOut=1 |
checkOut=1 |
80 |
addExp='' |
addExp='' |
130 |
echo " done" | tee -a $LOG_FIL |
echo " done" | tee -a $LOG_FIL |
131 |
fi |
fi |
132 |
echo -n "Make a clone of $git_code from repo: $git_repo ..." | tee -a $LOG_FIL |
echo -n "Make a clone of $git_code from repo: $git_repo ..." | tee -a $LOG_FIL |
133 |
git clone https://github.com/$git_repo/${git_code}.git 2> $tmpFil |
git clone $git_repo/${git_code}.git 2> $tmpFil |
134 |
retVal=$? |
retVal=$? |
135 |
if test $retVal = 0 ; then |
if test $retVal = 0 ; then |
136 |
echo ' --> done!' | tee -a $LOG_FIL |
echo ' --> done!' | tee -a $LOG_FIL |