-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macport issues #1645
Macport issues #1645
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,12 +90,7 @@ ifeq ($(USE_ESMF_LIB), TRUE) | |
CPPDEFS += -DUSE_ESMF_LIB | ||
endif | ||
|
||
# ESMF_INTERFACE is currently only defined in env_build.xml | ||
ifeq ($(COMP_INTERFACE), ESMF) | ||
CPPDEFS += -DESMF_INTERFACE | ||
else | ||
CPPDEFS += -DMCT_INTERFACE | ||
endif | ||
CPPDEFS += -DMCT_INTERFACE | ||
|
||
ifeq ($(strip $(MPILIB)),mpi-serial) | ||
CPPDEFS += -DNO_MPI2 | ||
|
@@ -351,6 +346,7 @@ else | |
endif | ||
endif | ||
|
||
COMP_INTERFACE := $(shell echo $(COMP_INTERFACE) | tr A-Z a-z) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. COMP_INTERFACE is passed in uppercase, but needs to be lower case in the include path |
||
#=============================================================================== | ||
# Set include paths (needed after override for any model specific builds below) | ||
#=============================================================================== | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -480,16 +480,13 @@ def build_phase(self, sharedlib_only=False, model_only=False): | |
""" | ||
echo Insta pass | ||
echo SUCCESSFUL TERMINATION > {}/cpl.log.$LID | ||
cp {}/scripts/tests/cpl.hi1.nc.test {}/{}.cpl.hi.0.nc.base | ||
cp {}/scripts/tests/cpl.hi1.nc.test {}/{}.cpl.hi.0.nc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without this change this test fails in the run phase with
It's not clear to me why it isn't failing on other systems. |
||
cp {}/scripts/tests/cpl.hi2.nc.test {}/{}.cpl.hi.0.nc.rest | ||
""".format(rundir, cimeroot, rundir, case, cimeroot, rundir, case) | ||
self._set_script(script) | ||
super(TESTTESTDIFF, self).build_phase(sharedlib_only=sharedlib_only, | ||
model_only=model_only) | ||
|
||
def run_indv(self, suffix=None, st_archive=False ): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jedwards4b this is probably what caused the copy fail above (this run_indv changed its defaults). Looks like you found a way around it, so this is a good change. |
||
super(TESTTESTDIFF,self).run_indv(suffix, st_archive) | ||
|
||
def run_phase(self): | ||
super(TESTTESTDIFF, self).run_phase() | ||
self._component_compare_test("base", "rest") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a clean-up - there is no longer an ESMF comp_interface