| 6 |
echo '---- by downloading the files from the MITgcm cvs server (in 5 sec)' |
echo '---- by downloading the files from the MITgcm cvs server (in 5 sec)' |
| 7 |
echo '' |
echo '' |
| 8 |
sleep 5 |
sleep 5 |
|
#echo '---- just type cvsanon as the cvs login password' |
|
|
echo 'type "return"' |
|
|
|
|
|
setenv CVSROOT ":pserver:cvsanon@mitgcm.org:/u/gcmpack" |
|
|
cvs login << EOF |
|
|
cvsanon |
|
| 9 |
|
|
| 10 |
EOF |
if ( -f ${HOME}/.cvspass ) then |
| 11 |
|
echo '(you already have a .cvspass file in your home. So we will try to use this one.)' |
| 12 |
|
echo '(If you see this message and nothing after it likely means that you will need)' |
| 13 |
|
echo '(to rename your .cvspass so that the present script can create a new one.)' |
| 14 |
|
else |
| 15 |
|
echo '/1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=' > ~/.cvspass |
| 16 |
|
endif |
| 17 |
|
|
| 18 |
cvs co -d gcmfaces MITgcm_contrib/gael/matlab_class |
setenv CVS_RSH ssh |
| 19 |
cvs co -d profilesMatlabProcessing MITgcm_contrib/gael/profilesMatlabProcessing |
cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -d gcmfaces MITgcm_contrib/gael/matlab_class |
| 20 |
|
cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -d profilesMatlabProcessing MITgcm_contrib/gael/profilesMatlabProcessing |
| 21 |
|
|
| 22 |
|
if !( -d gcmfaces) then |
| 23 |
|
exit |
| 24 |
|
endif |
| 25 |
|
|
| 26 |
|
echo '' |
| 27 |
|
echo '' |
| 28 |
echo '' |
echo '' |
| 29 |
echo '---- then we will download sample inputs to test run the codes (in 5 sec)' |
echo '---- then we will download sample inputs to test run the codes (in 5 sec)' |
| 30 |
sleep 5 |
sleep 5 |
| 38 |
echo '' |
echo '' |
| 39 |
echo '---- Your turn.' |
echo '---- Your turn.' |
| 40 |
echo '' |
echo '' |
| 41 |
echo '---- To finish the initialization process, start matlab, then' |
echo '---- To finish the initialization process:' |
| 42 |
|
echo '---- (0) start matlab' |
| 43 |
echo '---- (1) type "cd gcmfaces" and "gcmfaces_init"' |
echo '---- (1) type "cd gcmfaces" and "gcmfaces_init"' |
| 44 |
echo '---- This makes a few demo plots, that you will close afterwards.' |
echo '---- This makes a few demo plots, that you will close afterwards.' |
| 45 |
echo '---- (2) type "cd ../profilesMatlabProcessing" and "profiles_process_init"' |
echo '---- (2) type "cd ../profilesMatlabProcessing" and "profiles_process_init"' |