Home Contact Us Site Map  
 
       
    next up previous contents
Next: 3.20.5 A more complicated Up: 3.20 Offline Example Previous: 3.20.3 Code Configuration   Contents

Subsections

3.20.4 Running The Example

3.20.4.1 Code Download

In order to run the examples you must first download the code distribution. Instructions for downloading the code can be found in section 3.2.

3.20.4.2 Experiment Location

This example experiment is located under the release sub-directory



verification/offline/

3.20.4.3 Running the Experiment

To run the experiment

  1. Set the current directory to input/

    % cd input
    

  2. Verify that current directory is now correct

    % pwd
    

    You should see a response on the screen ending in verification/offline/input

  3. Copy the contents of input/ including subdirectory input/input_off/ to a new directory called run/

  4. Listing directory run/ you should see:

    data      data.pkg       depth_g77.bin  input_off    tracer2.bin
    data.off  data.ptracers  eedata         tracer1.bin
    

  5. Set the current directory to run/

  6. Run the genmake script to create the experiment Makefile

    % ../../../tools/genmake2 -mods=../code
    

  7. Create a list of header file dependencies in Makefile

    % make depend
    

  8. Build the executable file.

    % make
    

  9. Run the mitgcmuv executable

    % ./mitgcmuv
    

Besides the input files and the files the model generates describing the grid (prefixed Depth, DXC, DXG, hFacC, hFacS and hFacW, you should now have 26 single precision binary files PTRACER01.0000000000-0000000720.001.001.data and PTRACER02.0000000000-0000000720.001.001.data and their 26 corresponding meta files as well as a single pickup file, pickup_ptracers.0000000720.001.001.data and its corresponding meta file pickup_ptracers.0000000720.001.001.meta. To run on simply change nIter0 in file run/data to 720...


next up previous contents
Next: 3.20.5 A more complicated Up: 3.20 Offline Example Previous: 3.20.3 Code Configuration   Contents
mitgcm-support@mitgcm.org
Copyright © 2006 Massachusetts Institute of Technology Last update 2018-01-23