Skip to content

Commit

Permalink
cice6 compile (NOAA-EMC#71) (#34)
Browse files Browse the repository at this point in the history
* update cice6 component mk

* update path for forapps/ufs

* update paths to MOM6 and CICE interfaces (#33)

Co-authored-by: Rahul Mahajan <[email protected]>

Co-authored-by: Rahul Mahajan <[email protected]>
  • Loading branch information
DeniseWorthen and aerorahul authored Jul 27, 2020
1 parent 15248b7 commit faf5d1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/incmake/component_CICE6.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cice6_mk=$(CICE_BINDIR)/cice6.mk
all_component_mk_files+=$(cice6_mk)

# Location of source code and installation
CICE_SRCDIR?=$(ROOTDIR)/CICE6
CICE_UFSDIR?=$(ROOTDIR)/CICE6/forapps/ufs
CICE_BINDIR?=$(ROOTDIR)/CICE6_INSTALL
CICE_SRCDIR?=$(ROOTDIR)/CICE-interface/CICE
CICE_UFSDIR?=$(ROOTDIR)/CICE-interface/CICE/configuration/scripts/forapps/ufs
CICE_BINDIR?=$(ROOTDIR)/CICE-interface/CICE_INSTALL

# NEMS_GRID was found in CICE and defaults to a low-res GSM grid
# This is obsolete and perhaps should be removed.
Expand Down Expand Up @@ -49,6 +49,7 @@ build_CICE6: $(cice6_mk)
# Rules for cleaning the SRCDIR and BINDIR:

clean_CICE6_SRC: configure
cp -n $(MODULE_DIR)/$(CHOSEN_MODULE) $(CONFDIR)/modules.nems ; \
$(MODULE_LOGIC) ; \
set -eu ; \
export $(CICE_ALL_OPTS) $(CICE_MAKEOPT) ; \
Expand Down
4 changes: 2 additions & 2 deletions src/incmake/component_MOM6.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ mom6_mk = $(MOM6_BINDIR)/mom6.mk
all_component_mk_files+=$(mom6_mk)

# Location of source code and installation
MOM6_SRCDIR?=$(ROOTDIR)/MOM6
MOM6_BINDIR?=$(ROOTDIR)/MOM6/MOM6_INSTALL
MOM6_SRCDIR?=$(ROOTDIR)/MOM6-interface
MOM6_BINDIR?=$(ROOTDIR)/MOM6-interface/MOM6_INSTALL

# Make sure the expected directories exist and are non-empty:
$(call require_dir,$(MOM6_SRCDIR),MOM6 source directory)
Expand Down

0 comments on commit faf5d1c

Please sign in to comment.