Home Contact Us Site Map  
 
       
    next up previous contents
Next: 6.18.3 Generating Topology Files Up: 6.18 exch2: Extended Cubed Previous: 6.18.1 Introduction   Contents

6.18.2 Invoking exch2

To use exch2 with the cubed sphere, the following conditions must be met:

$ \bullet$ The exch2 package is included when genmake2 is run. The easiest way to do this is to add the line exch2 to the profile.conf file - see Section 3.5 Building the code for general details.

$ \bullet$ An example of W2_EXCH2_TOPOLOGY.h and w2_e2setup.F must reside in a directory containing files symbolically linked by the genmake2 script. The safest place to put these is the directory indicated in the -mods=DIR command line modifier (typically ../code), or the build directory. The default versions of these files reside in pkg/exch2 and are linked automatically if no other versions exist elsewhere in the build path, but they should be left untouched to avoid breaking configurations other than the one you intend to modify.

$ \bullet$ Files containing grid parameters, named tile00$ n$.mitgrid where $ n$=(1:6) (one per subdomain), must be in the working directory when the MITgcm executable is run. These files are provided in the example experiments for cubed sphere configurations with 32$ \times $32 cube sides - please contact MITgcm support if you want to generate files for other configurations.

$ \bullet$ As always when compiling MITgcm, the file SIZE.h must be placed where genmake2 will find it. In particular for exch2, the domain decomposition specified in SIZE.h must correspond with the particular configuration's topology specified in W2_EXCH2_TOPOLOGY.h and w2_e2setup.F. Domain decomposition issues particular to exch2 are addressed in Section 6.18.3 Generating Topology Files for exch2 and 6.18.4 exch2, SIZE.h, and Multiprocessing; a more general background on the subject relevant to MITgcm is presented in Section 4.3.1 Specifying a decomposition.

At the time of this writing the following examples use exch2 and may be used for guidance:

verification/adjust_nlfs.cs-32x32x1
verification/adjustment.cs-32x32x1 
verification/aim.5l_cs
verification/global_ocean.cs32x15
verification/hs94.cs-32x32x5


next up previous contents
Next: 6.18.3 Generating Topology Files Up: 6.18 exch2: Extended Cubed Previous: 6.18.1 Introduction   Contents
mitgcm-support@dev.mitgcm.org
Copyright © 2002 Massachusetts Institute of Technology