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

Cases that use CLUBB physics and NVHPC compilers fail to compile #71

Closed
gdicker1 opened this issue Aug 30, 2024 · 2 comments
Closed

Cases that use CLUBB physics and NVHPC compilers fail to compile #71

gdicker1 opened this issue Aug 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working workaround An issue has a workaround or a pull request implements a workaround (instead of a fix)

Comments

@gdicker1
Copy link
Contributor

This is due to how the build rules get applied as cases will complain:
gmake: *** No rule to make target 'mt95.F90', needed by 'mt95.o'. Stop.

This is because there is a mt95.f90 file in CLUBB, but compilers seem to expect a F90 file. So this leads to a simple workaround:

# From the root of an EarthWorks clone
mv components/cam/src/physics/clubb/src/CLUBB_core/mt95.f90 \
   components/cam/src/physics/clubb/src/CLUBB_core/mt95.F90

This workaround won't be needed when a new version of CLUBB is integrated when the cam6_4_019 is merged into EarthWorksOrg/CAM. (i.e. This is fixed upstream.)

@gdicker1 gdicker1 added bug Something isn't working workaround An issue has a workaround or a pull request implements a workaround (instead of a fix) labels Aug 30, 2024
@gdicker1 gdicker1 self-assigned this Aug 30, 2024
@gdicker1
Copy link
Contributor Author

See also this comment in #69

@gdicker1
Copy link
Contributor Author

gdicker1 commented Sep 5, 2024

Closed by incorporating EarthWorksOrg/CAM#31 through #72

@gdicker1 gdicker1 closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workaround An issue has a workaround or a pull request implements a workaround (instead of a fix)
Projects
None yet
Development

No branches or pull requests

1 participant