dtc/develop: run CCPP prebuild step from cmake#142
Merged
grantfirl merged 2 commits intoNov 21, 2019
Conversation
Collaborator
Author
|
Full stacktrace of segmentation fault on cheyenne+gnu in "Debug" mode: Running in gdb: |
grantfirl
approved these changes
Nov 21, 2019
Collaborator
grantfirl
left a comment
There was a problem hiding this comment.
Thanks for delving into cmake and implementing this. I'll update the docs to reflect this change.
Collaborator
|
DEBUG mode issue will be addressed in a PR later. |
Collaborator
|
@climbfuji When trying to run this on Hera, cmake is sending up a bunch of errors for me. It seems the default version of cmake on Hera doesn't like a few of the commands. It is easy to just add a statement in the Hera setup script to load a newer version of cmake, and I'll do that, but do you have any idea what we should change the CMAKE_MINIMUM_REQUIRED variable to handle the new commands? |
dustinswales
pushed a commit
to dustinswales/ccpp-scm
that referenced
this pull request
May 16, 2022
dtc/develop: run CCPP prebuild step from cmake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
ccpp_prebuild.pyas part of the cmake step for both the dynamic and static CCPP. For the static build, a list of all suites is generated from the suites directory and compiled into the executable.This code was tested successfully on
for both dynamic and static CCPP.
Warning The SCM code is currently broken in "Debug" mode:
ugwp_driver_v0.F(see known issue address gfortran compilation warning for ugwp_driver_v0.F ccpp-physics#354).sfc_nst.f, line 384. See the comment below for the full stacktrace.Segmentation fault - invalid memory referenceright at the beginning.This PR is not addressing these issues.