README 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. This program demonstrates the use of MCT in a simple
  2. coupled system consisting of two models and a coupler.
  3. The grids used are taken from a real climate model.
  4. "srcmodel" uses an atmosphere grid and "coupler" interpolates
  5. data on it to an ocean grid in "dstmodel"
  6. The srcmodel reads in a temperature field TS1.dat on the the atmosphere grid.
  7. dstmodel outputs the interpolated temperature field to TS1out.dat
  8. srcmodel,dstmodel and coupler are broken into init, run and finalize phases.
  9. The model and coupler run sequentially on a pool of processors
  10. master.F90 - the top level program
  11. srcmodel.F90 - the first component, an atmosphere model.
  12. dstmodel.F90 - the second component, an ocean model.
  13. coupler.F90 - the third component, a coupler which takes
  14. the atmosphere data and maps it to
  15. the ocean grid.
  16. -----------------------------------------------------
  17. To compile:
  18. First make sure you have compiled MCT. See instructions in
  19. MCT/README
  20. Type "make" here or "make examples" in the top-level directory.
  21. The executable is called "climate"
  22. -----------------------------------------------------
  23. To run:
  24. "climate" requires a data file of interpolation weights in
  25. the directory MCT/data. If this directory was not present when
  26. you untarred MCT, you can get it from the MCT website.
  27. climate requires at least 1 MPI processes to run but can run on
  28. any even number of processors. Consult your
  29. local documentation for how to run parallel programs.
  30. Typical command: mpirun -np 8 climate