Skip to content

Files

Latest commit

ba5795b · Jan 14, 2025

History

History

AtmOcnProto

README for ATM-OCN NUOPC prototype
----------------------------------

A simple two model system.

Description:

  A two-way coupled system with a single driver and two model components.

  The ESM driver component uses the default run sequence to implement coupling
  between ATM and OCN components. 
  
  The connector components are explicitly added by the driver.
  
  Both ATM and OCN components use a simple two-phase initialization,
  consisting of advertise and realize.
  

Build:
  - Set environment variable ESMFMKFILE to point to the esmf.mk of your ESMF
    installation.
  - make
  
Execution:
  - Optionally set environment variable ESMF_RUNTIME_COMPLIANCECHECK to ON.
  - mpirun -np X ./esmApp (where X is the total number of PETs, typically 4)
  
Output:
  - PET*.Log files containing compliance checker output if turned on.
  - The prototype outputs time stepping information to stdout.

Code structure:
  - Makefile    - Makefile that is based on the standard esmf.mk mechanism.
  - atm.F90     - The ATM component, specializing generic NUOPC_Model.
  - ocn.F90     - The OCN component, specializing generic NUOPC_Model.
  - esm.F90     - The Earth System Model (ESM) component, specializing generic
                  NUOPC_Driver.
  - esmApp.F90  - ESM application.