From 7ce40e5e006ac25dd5fcc0bbdffd9344a6b2d1d1 Mon Sep 17 00:00:00 2001 From: Gustavo Marques Date: Tue, 25 Jul 2017 11:40:52 -0600 Subject: [PATCH] Fix undefined reference to fill_ice_ocean_bnd --- config_src/mct_driver/coupler_indices.F90 | 2 +- config_src/mct_driver/ocn_comp_mct.F90 | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config_src/mct_driver/coupler_indices.F90 b/config_src/mct_driver/coupler_indices.F90 index e69df58b81..b1d9e1175b 100644 --- a/config_src/mct_driver/coupler_indices.F90 +++ b/config_src/mct_driver/coupler_indices.F90 @@ -19,7 +19,6 @@ module coupler_indices private public coupler_indices_init - public time_avg_state public fill_ice_ocean_bnd public ocn_export @@ -364,4 +363,5 @@ subroutine fill_ice_ocean_bnd(ice_ocean_boundary, grid, x2o_o, ind) enddo end subroutine fill_ice_ocean_bnd + end module coupler_indices diff --git a/config_src/mct_driver/ocn_comp_mct.F90 b/config_src/mct_driver/ocn_comp_mct.F90 index be8eb247bf..6ca1b6fed5 100644 --- a/config_src/mct_driver/ocn_comp_mct.F90 +++ b/config_src/mct_driver/ocn_comp_mct.F90 @@ -44,8 +44,7 @@ module ocn_comp_mct use MOM_error_handler, only: MOM_error, FATAL, is_root_pe use MOM_time_manager, only: time_type, set_date, set_calendar_type, NOLEAP use coupler_indices, only: coupler_indices_init, cpl_indices - use coupler_indices, only: ocn_export - + use coupler_indices, only: ocn_export, fill_ice_ocean_bnd ! ! !PUBLIC MEMBER FUNCTIONS: implicit none