|
|
|
Next: 3.20.5 A more complicated
Up: 3.20 Offline Example
Previous: 3.20.3 Code Configuration
Contents
Subsections
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.
This example experiment is located under the release sub-directory
verification/offline/
To run the experiment
- Set the current directory to input/
% cd input
- Verify that current directory is now correct
% pwd
You should see a response on the screen ending in verification/offline/input
- Copy the contents of input/ including subdirectory input/input_off/ to a new directory called run/
- Listing directory run/ you should see:
data data.pkg depth_g77.bin input_off tracer2.bin
data.off data.ptracers eedata tracer1.bin
- Set the current directory to run/
- Run the genmake script to create the experiment Makefile
% ../../../tools/genmake2 -mods=../code
- Create a list of header file dependencies in Makefile
% make depend
- Build the executable file.
% make
- 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: 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 2011-01-09 |
|
|