Commit f82b44db authored by Carsten Lemmen's avatar Carsten Lemmen
Browse files

Fixe USE_SED option in esmf example

parent c24cea0e
......@@ -39,11 +39,11 @@ ifeq ($(wildcard $(SCHISM_ESMF_DIR)/src/schism/schism_esmf_cap.F90),)
$(error Cannot find $(SCHISM_ESMF_DIR)/src/schism/schism_esmf_cap.F90)
endif
ifdef USE_SED
ifeq ( $(USE_SED),"ON")
#ifdef USE_SED
#ifeq ( $(USE_SED),"ON")
DEFINES+= -DUSE_SED
endif
endif
#endif
#endif
ifdef USE_FABM
ifeq ( $(USE_FABM),"ON")
......@@ -70,6 +70,9 @@ endif
# then add MOSSCO libs depending on installation directory
LIBS+= -L$(SCHISM_BUILD_DIR)/lib -lhydro -lcore
LIBS+= -lparmetis -lmetis
ifdef USE_SED
LIBS+= -lsediment
endif
ifneq ($(wildcard $(MOSSCO_INSTALL_PREFIX)/lib/libmossco.a),)
LIBS+= -L$(MOSSCO_INSTALL_PREFIX)/lib -lmossco
......
......@@ -166,7 +166,7 @@ module toplevel_component
integer(ESMF_KIND_I4), allocatable :: intValueList(:)
character(len=ESMF_MAXSTR), allocatable :: charValueList(:)
character(len=ESMF_MAXSTR) :: stringList(6,2)
!type(ESMF_AttPack) :: attPack
type(ESMF_AttPack) :: attPack
character(len=ESMF_MAXSTR) :: convention, purpose
rc = ESMF_SUCCESS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment