Merged
Conversation
pcarruscag
approved these changes
Feb 2, 2022
TobiKattmann
approved these changes
Feb 2, 2022
Contributor
TobiKattmann
left a comment
There was a problem hiding this comment.
On Elwetritsch I guess... I didn't notice because I build with -Denable-cgns=false as I never really deal with CGNS meshes
💐
Contributor
Author
Yes ;-) |
Contributor
|
Yes, it is an issue on the Elwetritsch cluster. I tested this and the solution works. |
Contributor
|
Don't mind the failing parallel_regression.py, that is due to su2code/TestCases#91 . The correct residuals will be pushed with #1530. It is the 3D streamwise periodic case where I changed a wrong NDIME in the mesh But I guess merging is blocked as parallel_regression.py is required 😬 |
WallyMaier
approved these changes
Feb 2, 2022
MicK7
approved these changes
Feb 2, 2022
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.
Proposed Changes
In
SU2/meson.build, specify the version of the C standard used when compiling SU2, as C99. It must be at least C99 because of the for loop initial declarations inexternals/cgns/cgnslib.c. (One could probably use a newer C standard as well.)This change was necessary to compile SU2 on a system where
ccis the GCC 4.8.5 (from 2015), which used-std=gnu89by default.Related Work
The change was not necessary in v7.1.0. I suppose it has something to do with the recent CGNS updates (#1500, #1507, ...).
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.