/[MITgcm]/MITgcm_contrib/gael/verification/setup_these_exps.csh
ViewVC logotype

Diff of /MITgcm_contrib/gael/verification/setup_these_exps.csh

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

revision 1.2 by gforget, Tue Aug 28 19:32:27 2012 UTC revision 1.3 by gforget, Thu Oct 4 02:33:57 2012 UTC
# Line 1  Line 1 
1  #!/bin/csh -f  #!/bin/csh -f
2  #  #
3  #to setup the experiments (cs32 and llc90 core run) you want to follow these steps :  
4  #  mkdir global_oce_tmp_download
5    cd global_oce_tmp_download
6    
7  #1) from MITgcm/verification, get global_oce_cs32 and  #1) from MITgcm/verification, get global_oce_cs32 and
8  #     global_oce_llc90 using cvs checkout, as  #     global_oce_llc90 using cvs checkout, as
9  #       cvs co -d global_oce_cs32 MITgcm_contrib/gael/verification/global_oce_cs32  cvs co MITgcm_contrib/gael/verification/global_oce_cs32
10  #       cvs co -d global_oce_llc90 MITgcm_contrib/gael/verification/global_oce_llc90  cvs co MITgcm_contrib/gael/verification/global_oce_llc90
11  #     and the present script, as  
12  #       cvs co -d . MITgcm_contrib/gael/verification/setup_these_exps.csh  mv MITgcm_contrib/gael/verification/global_oce_cs32 .
13  #2) still in MITgcm/verification, execute the present shell  mv MITgcm_contrib/gael/verification/global_oce_llc90 .
14  #     script to get input binaries and link code directories  
15  #       source ./setup_these_exps.csh  #2) get the input binary files for cs32
16  #3) exectute MITgcm with testreport. Two examples.  wget http://mitgcm.org/~gforget/global_oce_input_fields.tar.gz
17  #     To run the cs32 test on one cpu :  gunzip global_oce_input_fields.tar.gz
18  #       ./testreport -t global_oce_cs32  tar xf global_oce_input_fields.tar
19  #     And to run the llc90 test on 12 cpus, using mpi  \rm -f global_oce_input_fields.tar
 #       ./testreport -of=../tools/build_options/linux_amd64_gfortran -MPI 12 -command 'mpirun -np TR_NPROC ./mitgcmuv' -t global_oce_llc90  
 #4) if you have access to taf then you can run the adjoints as e.g.  
 #       ./testreport -ad -t global_oce_cs32  
 #       ./testreport -of=../tools/build_options/linux_amd64_gfortran -MPI 12 -command 'mpirun -np TR_NPROC ./mitgcmuv_ad' -ad -t global_oce_llc90  
 #5) you will need to provide the content of global_oce_llc90/input_fields/core2  
 #     and ecmwf, ecco_v4 for those global_oce_llc90 sub-experiments to also run  
20    
21    #3) link code to code_ad (as testreport expects code_ad to exist)
22    cd global_oce_llc90
23    ln -s code code_ad
24    cd ..
25  cd global_oce_cs32  cd global_oce_cs32
 wget http://mitgcm.org/~gforget/input_fields_cs32.tar  
 tar xf input_fields_cs32.tar  
 \rm -f input_fields_cs32.tar  
26  ln -s code code_ad  ln -s code code_ad
27  cd ..  cd ..
28    
 cd global_oce_llc90  
 wget http://mitgcm.org/~gforget/input_fields_llc90.tar  
 tar xf input_fields_llc90.tar  
 \rm -f input_fields_llc90.tar  
 ln -s code code_ad  
29  cd ..  cd ..
30    

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

  ViewVC Help
Powered by ViewVC 1.1.22