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

Bugfix for GNU compiler #9

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Bugfix for GNU compiler #9

wants to merge 1 commit into from

Conversation

shlyaeva
Copy link

Bugfix for the code in regrid_states to build with gnu (on hercules).

On develop, build fails with lines too-long on all lines containing __FILE__. I've tried splitting up lines and making them shorter, and it doesn't help.

This fixes the issue by adding a flag for GNU compilers, similar to https://github.com/ufs-community/UFS_UTILS/blob/21c51d7a32f207526d2267f4b85133ee46fe0334/sorc/chgres_cube.fd/CMakeLists.txt#L30-L32

This fixes the build with GNU on hercules for me.

Copy link

@guillaumevernieres guillaumevernieres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @shlyaeva .

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