1 | |
---|
2 | This program demonstrates the use of MCT in a simple |
---|
3 | coupled system consisting of a "model" and a "coupler". |
---|
4 | |
---|
5 | The grids used are taken from a real climate model. |
---|
6 | "model" uses an atmosphere grid and "coupler" interpolates |
---|
7 | data on it to an ocean grid. |
---|
8 | |
---|
9 | The model and coupler run on separate pools of processors. |
---|
10 | |
---|
11 | master.F90 - the top level program |
---|
12 | model.F90 - the first component, an atmosphere model. |
---|
13 | sends data to the coupler. |
---|
14 | coupler.F90 - the second component, a coupler which takes |
---|
15 | the received atmosphere data and maps it to |
---|
16 | the ocean grid. |
---|
17 | |
---|
18 | ----------------------------------------------------- |
---|
19 | To compile: |
---|
20 | First make sure you have compiled MCT. See instructions in |
---|
21 | MCT/README |
---|
22 | |
---|
23 | Type "make" here or "make examples" in the top-level directory. |
---|
24 | |
---|
25 | The executable is called "climate" |
---|
26 | |
---|
27 | ----------------------------------------------------- |
---|
28 | To run: |
---|
29 | "climate" requires a data file of interpolation weights in |
---|
30 | the directory MCT/data. If this directory was not present when |
---|
31 | you untarred MCT, you can get it from the MCT website. |
---|
32 | |
---|
33 | climate requires at least 2 MPI processes to run but can run on |
---|
34 | any even number of processors. Consult your |
---|
35 | local documentation for how to run parallel programs. |
---|
36 | Typical command: mpirun -np 8 climate |
---|
37 | |
---|
38 | This program will not work with mpi-serial. |
---|