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

Ninja build of GEOSgcm breaks under Ninja #745

Open
mathomp4 opened this issue Feb 5, 2024 · 3 comments
Open

Ninja build of GEOSgcm breaks under Ninja #745

mathomp4 opened this issue Feb 5, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mathomp4
Copy link
Member

mathomp4 commented Feb 5, 2024

In trying out the Ninja build of GEOSgcm, the following error is emitted:

ninja: error: build.ninja:111198: multiple rules generate src/Components/@GEOSgcm_GridComp/GEOSwgcm_GridComp/GEOSwavewatch_GridComp/ww3_multi_esmf/constants.F90

I'll try and figure this out as I'm not sure what it's complaining about. I do not see it being generated more than once.

@mathomp4 mathomp4 added the bug Something isn't working label Feb 5, 2024
@mathomp4 mathomp4 self-assigned this Feb 5, 2024
@mathomp4
Copy link
Member Author

mathomp4 commented Feb 5, 2024

I might need to consult with @adarmenov as he knows what's happening underneath. My current guess is we need some interesting CMake flag.

Though, IIRC, Wavewatch will soon fix their code to be less weird to build, so this might be moot.

@adarmenov
Copy link
Contributor

Could it be an I/O race condition?

@mathomp4
Copy link
Member Author

mathomp4 commented Feb 6, 2024

Could it be an I/O race condition?

@adarmenov Probably not. Ninja itself is saying that more than one things in the build is providing it. Once I get some free time I'll take a look. Always fun searching through a 100000+ line long file! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants