Debugging Up: Compile-time options Previous: Blocks   Contents

Coupled model runs

If POP is run in coupled mode, the default interface communicates with the NCAR CESM1 Coupler (cpl7). This requires message-passing calls and linking with additional libraries (including MPI whether MPI is used internally or not). To enable this capability, the coupled option must be requested on the makefile command line:

gmake COUPLED=yes.

This option turns on the COUPLED ifdef flag for the preprocessor so that the code necessary for model coupling is included during the preprocessing phase.

CESM1 Notes

The CESM1 scripts automatically set the CPP variable which signals that POP is coupled to the CESM1 system. This variable appears in the $CASE/Buildconf/pop2.buildnml.csh script on the gmake command line: -DCCSMCOUPLED