/[MITgcm]/MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh
ViewVC logotype

Diff of /MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by gforget, Wed Nov 3 22:27:12 2010 UTC revision 1.2 by gforget, Thu Nov 4 01:01:27 2010 UTC
# Line 6  echo '---- the setup of gcmfaces and pro Line 6  echo '---- the setup of gcmfaces and pro
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
# Line 31  rm -f sample_input.tar Line 38  rm -f sample_input.tar
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"'

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22