Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mossco
mossco-code
Commits
f82b44db
Commit
f82b44db
authored
Apr 27, 2022
by
Carsten Lemmen
Browse files
Fixe USE_SED option in esmf example
parent
c24cea0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/esmf/schism/Makefile
View file @
f82b44db
...
...
@@ -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
...
...
examples/esmf/schism/toplevel_component.schism--grid.F90
View file @
f82b44db
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment