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

GEFS2LBC_PARA: GNU Build Error due to Divide by Zero #6

Closed
drnimbusrain opened this issue Mar 10, 2023 · 6 comments
Closed

GEFS2LBC_PARA: GNU Build Error due to Divide by Zero #6

drnimbusrain opened this issue Mar 10, 2023 · 6 comments

Comments

@drnimbusrain
Copy link
Contributor

When building UFS-SRW-App [develop] ATMAQ on other machines that use GNU Fortran compiler (e.g., GMU Hopper), there is issue with compiling gefs2clbcs_para because of a purposeful divide by zero in the code. This should be revised to satisfy building UFS-SRW-App using different compilers.

/sorc/AQM-utils/sorc/gefs2clbcs_para.fd/gefs2lbc_para.f90:588:15:

588 | fillval=0./0.
| 1
Error: Division by zero at (1)

@ytangnoaa

@ytangnoaa
Copy link
Contributor

The pull request is created for this issue of GNU compiler

#7

@chan-hoo
Copy link
Collaborator

chan-hoo commented Mar 10, 2023

@drnimbusrain, The PR #7 has been merged. Can you check (b066931) again if it works on GNU. If so, I'll update the hash number in the UFS SRW App.

@drnimbusrain
Copy link
Contributor Author

@chan-hoo @ytangnoaa OK, I have checked that change, and it fixes the error. Thank you!

@drnimbusrain
Copy link
Contributor Author

@chan-hoo Have you updated the has in the UFS-SRW-App for this yet?

@chan-hoo
Copy link
Collaborator

I've updated it on the 'online-cmaq' branch.
The change to the 'develop' branch is under review now (ufs-community/ufs-srweather-app#664).

@drnimbusrain
Copy link
Contributor Author

drnimbusrain commented Mar 10, 2023 via email

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

No branches or pull requests

3 participants