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

Remove upp lib dependency on ip, sp and w3nco #269

Merged
merged 2 commits into from
Feb 28, 2021

Conversation

DusanJovic-NOAA
Copy link
Contributor

The upp library does not depend on ip, sp and w3nco libraries. The upp executable does.

@WenMeng-NOAA
Copy link
Collaborator

@DusanJovic-NOAA Will this PR make -qopenmp disabled in upp compiling?

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

These changes removes the unnecessary dependencies from the UPP library.
The executable is unchanged.
This PR will allow the UPP library to be built without OpenMP as the transitive dependencies with OpenMP are no longer part of the library.
This needs to be tested.

@aerorahul
Copy link
Contributor

@DusanJovic-NOAA Will this PR make -qopenmp disabled in upp compiling?

Yes if one wishes to build the UPP library without OpenMP.

@DusanJovic-NOAA
Copy link
Contributor Author

@DusanJovic-NOAA Will this PR make -qopenmp disabled in upp compiling?

Yes. If you pass BUILD_POSTEXEC=OFF and do not turn on OPENMP. I tested only on my laptop using GNU compiler, it needs to be tested on HPCs.

@WenMeng-NOAA
Copy link
Collaborator

@DusanJovic-NOAA and @aerorahul Thanks for clarifying. I tested upp lib building on Hera, Venus and saw -qopenmp removed in compiling logs. My test versions are at
/scratch1/NCEPDEV/stmp2/Wen.Meng/dusan/EMC_post/tests/install on Hera
/u/Wen.Meng/noscrubd6/ncep_post/Dusan/EMC_post/tests/install on Venus

@aerorahul
Copy link
Contributor

aerorahul commented Feb 26, 2021

Thanks to @DusanJovic-NOAA for really drilling into this issue.

@junwang-noaa
Copy link
Contributor

junwang-noaa commented Feb 26, 2021 via email

@WenMeng-NOAA
Copy link
Collaborator

@junwang-noaa I have the same thought as you. I will run a quick rt test with the ufs-weather-model and might redo tag upp_v10.0.4.

@WenMeng-NOAA
Copy link
Collaborator

The UPP regression tests were conducted on WCOSS-Dell, WCOSS-Cray and Hera. No changed results were found. The rt test for regional in-line post in the ufs-weather-model were conducted to test new built upp lib on WCOSS-Dell and Hera. This PR is ready for merging.

@WenMeng-NOAA
Copy link
Collaborator

@DusanJovic-NOAA and @aerorahul Thanks for your help!

@WenMeng-NOAA WenMeng-NOAA merged commit 659f401 into NOAA-EMC:develop Feb 28, 2021
@WenMeng-NOAA
Copy link
Collaborator

@junwang-noaa I recreated the tag upp_v10.0.4 with this new commit for installing upp/10.0.4 at the hpc-stack to support the regional in-line post.

@HuiyaChuang-NOAA
Copy link
Collaborator

@WenMeng-NOAA should we have Jesse test this in GFS inline post following Qingfu's procesure?

@HuiyaChuang-NOAA
Copy link
Collaborator

@DusanJovic-NOAA @aerorahul thank you for your help.

@WenMeng-NOAA
Copy link
Collaborator

@HuiyaChuang-NOAA

should we have Jesse test this in GFS inline post following Qingfu's procesure?
There is no procedure to verify in-line post for FV3GFS yet. It would be great to adapt Qingfu's procedure and set up an standard UPP global in-line post verifying procedure as a part of UPP regression tests in the future. And also consider to expand for regional in-line post.

@DusanJovic-NOAA DusanJovic-NOAA deleted the remove_lib_deps branch May 3, 2021 15:24
EricJames-NOAA pushed a commit to EricJames-NOAA/UPP that referenced this pull request Dec 14, 2022
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.

Compiling UPP via cmake without openmp option
5 participants