/[MITgcm]/MITgcm/verification/exp1/README
ViewVC logotype

Diff of /MITgcm/verification/exp1/README

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

revision 1.2 by cnh, Fri Jul 17 02:17:26 1998 UTC revision 1.3 by adcroft, Mon Dec 14 23:53:23 1998 UTC
# Line 1  Line 1 
1  Example "double-gyre" experiment  Example: "4 Layer Double Gyre"
2  This directory contains chnages that reconfigure the baseline MITgcmUV  ==============================
 setup for a double-gyre beta plane experiment.  
   
 To apply the chagesto the baseline configuration of MITgcmUV  
  1. Install baseline code  
  2. cd verification/exp1  
  3. ./setup.sh  
  4. cd ../../bin  
  5. make  
  6. dmpirun -np 4 ../exe/mitgcmuv  ( Digital )  
3    
4    To apply the changes to the default configuration of MITgcmUV:
5      cp ../verification/exp1/code/SIZE.h ../model/inc/
6      cp ../verification/exp1/code/CPP_OPTIONS.h ../model/inc/
7      cp ../verification/exp1/code/CPP_EEOPTIONS.h ../eesupp/inc/
8    
9    Configure and compile the code:
10      cd bin
11      ../tools/genmake -makefile
12      make depend
13      make
14    
15    To run:
16      cd ../exe
17      cp ../verification/exp1/input/* .
18      dmpirun -np 4 mitgcmuv  ( Digital )
19    
20    There is comparison output in two directories:
21     ../verification/exp1/results
22     ../verification/exp1/results.oldcode
23    
24    To obtain the "oldcode" numbers make the following changes
25    to the older code:
26    CPP_OPTIONS.h must have
27      #define OLD_ADV_BCS
28      #define OLD_UV_GEOMETRY
29    calc_mom_rhs.F must have
30      #define NO_LATERAL_SLIP
31      #define NO_BOTTOM_SLIP
32    ini_depths.F must have the "island" removed.
33    
34    Comments:
35    The input data is real*8 and can be generated with the supplied
36    matlab script gendata.m  to change the input precision to
37    real*4 change readBinaryPrec=32 in data as well as in gendata.m

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

  ViewVC Help
Powered by ViewVC 1.1.22