forked from NOAA-EMC/NEMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove ice-ocean merge in prep_atm * remove atm-ocn in prep_atm;remove associated FBs * comment vs ifdef * remove unnecessary prep_atm merges * remove custom merges in prep_atm which are not needed when field name changes are made of fv3 side for import directly from cice * move sum(weights) into datm part of loop; add wgtp01 for netLW merge * remove unused code in prep_atm * use RWFields_tile for mediator dumps * clean up commented out code used for testing * add print statement of slow and fast counters for field dumping * more PET log info printout * add ability to write mediator a-o fluxes to file with statewrite_flag * return statewrite flags to their default setting * mediator aborts if a required mediator restart file does not exist * add condition of 'not coldstart' to mediator abort when mediator restart files are missing * change sw field names from cice * Add capablilty to build the CMEPS mediator in place of the NEMS mediator using 'ifdef CMEPS' conditionals in module_EARTH_GRID_COMP.F90 If CMEPS is built, the NUOPC field contained in parm/fd.yaml will be used.
- Loading branch information
1 parent
cb688da
commit c19bb03
Showing
6 changed files
with
715 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Location of the ESMF makefile fragment for this component: | ||
cmeps_mk = $(CMEPS_BINDIR)/cmeps.mk | ||
all_component_mk_files+=$(cmeps_mk) | ||
|
||
# Location of source code and installation | ||
CMEPS_SRCDIR?=$(ROOTDIR)/CMEPS | ||
CMEPS_BINDIR?=$(ROOTDIR)/CMEPS_INSTALL | ||
|
||
# Make sure the expected directories exist and are non-empty: | ||
$(call require_dir,$(CMEPS_SRCDIR),CMEPS source directory) | ||
|
||
ifndef CONFIGURE_NEMS_FILE | ||
$(error CONFIGURE_NEMS_FILE not set.) | ||
endif | ||
|
||
include $(CONFIGURE_NEMS_FILE) | ||
|
||
# Rule for building this component: | ||
build_CMEPS: $(cmeps_mk) | ||
|
||
CMEPS_ALL_OPTS=\ | ||
COMP_SRCDIR="$(CMEPS_SRCDIR)" \ | ||
COMP_BINDIR="$(CMEPS_BINDIR)" \ | ||
MACHINE_ID="$(MACHINE_ID)" \ | ||
FC="$(FC)" \ | ||
CC="$(CC)" \ | ||
CXX="$(CXX)" | ||
|
||
$(cmeps_mk): configure | ||
$(MODULE_LOGIC) ; export $(CMEPS_ALL_OPTS) ; \ | ||
set -e ; \ | ||
$(MODULE_LOGIC) ; cd $(CMEPS_SRCDIR) ; \ | ||
exec $(MAKE) $(CMEPS_ALL_OPTS) \ | ||
"INSTALLDIR=$(CMEPS_BINDIR)" install | ||
test -d "$(CMEPS_BINDIR)" | ||
test -s "$(cmeps_mk)" | ||
|
||
# Rule for cleaning the SRCDIR and BINDIR: | ||
clean_CMEPS: | ||
$(MODULE_LOGIC) ; export $(CMEPS_ALL_OPTS) ; \ | ||
set -e ; \ | ||
cd $(CMEPS_SRCDIR) ; \ | ||
exec $(MAKE) clean | ||
|
||
distclean_CMEPS: clean_CMEPS | ||
rm -rf $(CMEPS_BINDIR) | ||
rm -f $(cmeps_mk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.