| 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: |
#- and which GitHub repository to use: |
| 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 |
# checkOut=3 : clone from GitHub and make a new copy (if sepDir) |
# checkOut=3 : clone from GitHub and make a new copy (if sepDir) |
| 36 |
# =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) |
| 312 |
|
|
| 313 |
#-- set specific Env Vars: |
#-- set specific Env Vars: |
| 314 |
if test $typ = 'oad' ; then |
if test $typ = 'oad' ; then |
| 315 |
source $HOME/mitgcm/bin/setenv_OpenAD.sh | tee -a $tdir/output_$tt |
#- for some reasons, "source ScriptFile | tee -a LogFile" |
| 316 |
|
# does run the script but does not keep the env-var settings |
| 317 |
|
source $HOME/mitgcm/bin/setenv_OpenAD.sh >> $tdir/output_$tt |
| 318 |
fi |
fi |
| 319 |
if test $typ = 'ifc' ; then |
if test $typ = 'ifc' ; then |
| 320 |
source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64 |
source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64 |