Skip to content
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

Makefile: MPI flag test; REPRO flag; diff report #1020

Merged
merged 2 commits into from
Nov 5, 2019

Conversation

marshallward
Copy link
Collaborator

@marshallward marshallward commented Oct 11, 2019

This patch fixes several issues with the current test suite Makefile:

  • the DO_REPRO_TEST flag is now available to disable the REPRO=1 test,
    which currently fails on older GCC compilers and Intel compilers.
    This may be expected behavior, and needs further investigation, but for
    now we make it optional.

  • Regression tests against PR targets had been inadvertently disabled
    due to a misnamed variable (TEST vs TESTS). This has been fixed.

  • OpenMP tests have been added to the suite. Success may vary...
    (see below).

  • We now report a full diff output for a failed cmp test of stats and
    diagnostic checksums

  • tab indentation was being used outside the context of rule
    definitions. This was not causing issues but has been replaced with
    space indents to avoid future problems.

Note that OpenMP testing issues were observed on an older GCC compiler,
but it's not clear if this will persist on Travis or more modern GCC
compilers, and may be disabled (or perhaps even fixed) in a future
commit.

This patch fixes several issues with the current test suite Makefile:

- the DO_REPRO_TEST flag is now available to disable the REPRO=1 test,
  which currently fails on older GCC compilers and Intel compilers.
  This may be expected, and needs further investigation.

- Regression tests against PR targets had been inadvertently disabled
  due to a misnamed variable (TEST vs TESTS).  This has been fixed.

- OpenMP tests have been added to the suite.  Success may vary...

- We now report a full diff output for a failed cmp test of stats and
  diagnostic checksums

- tab indentation was being used outside the context of rule
  definitions.  This was not causing issues but has been replaced with
  space intents to avoid future problems.

Note that OpenMP testing issues were observed on an older GCC compiler,
but it's not clear if this will persist on Travis or more modern GCC
compilers, and may be disabled (or perhaps even fixed) in a future
commit.
@marshallward
Copy link
Collaborator Author

It looks like the OpenMP tests are passing here on Travis, but do actually fail on our workstations. I'm going to put the blame on the age of our GCC compilers, but we might want to worry about this at some point.

@adcroft adcroft merged commit 8834b3b into mom-ocean:dev/gfdl Nov 5, 2019
@marshallward marshallward deleted the mk_fixes branch February 13, 2020 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants