-
Notifications
You must be signed in to change notification settings - Fork 98
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
New gtg code compiling option needed #429
Comments
@junwang-noaa @DusanJovic-NOAA @climbfuji @aerorahul UPP needs help on this new build feature. Would you please let me know your suggestions. Thanks! |
Sounds like you want ExternalProject_Add to pass build commands to gtg. How does gtg build (CMake, Makefile, etc)? |
@kgerheiser gtg code along with other UPP code are compiled via CMake. We currently overwrite the stub gtg code (with suffix .F90, e.g. gtg_algo.F90 ) under sorc/ncep_post.fd with real gtg code from sorc/post_gtg.fd. |
@WenMeng-NOAA When one or the other is available, use the appropriate one to create the UPP library. |
Another alternative. Since g2g is optional functionality, introduce a build option that enables g2g (optionally ON, OFF by default), then in |
@aerorahul @kgerheiser @DusanJovic-NOAA The gtg code building might have dependency on other general UPP routines. I invite @YaliMao-NOAA in the discussion. She could provide details. We don't have more CMake knowledge. Could we get further guidance? I have an UPP checkout including gtg at /u/Wen.Meng/noscrubd6/ncep_post/develop/UPP/ on Venus. You might use it for testing. Thanks! |
@WenMeng-NOAA You are right, GTG calls some subroutines of the general UPP. It's part of UPP code, not a standalone package. |
This branch is basically it.
|
Looks good @aerorahul. I would also incorporate optionally find/linking to ip based on that option. See #370 |
@kgerheiser done in 85138f0 |
defuvp is defined in map_routines.F90, which is part of GTG code. |
Thanks for all your help! I tested PR #430 on Dell. The executable was successfully built. |
…ministic analysis and adding tasks for additional ensemble free forecast (NOAA-EMC#429)
The gtg code is stored at a NCAR private github repository. Only granted users can check out gtg code as a submodule of UPP at sorc/ post_gtg.fd. UPP needs an option for compiling gtg code from sorc/post_gtg.fd instead of overwriting the stub gtg code at sorc/ncep_post.fd via cmake.
The text was updated successfully, but these errors were encountered: