-
Notifications
You must be signed in to change notification settings - Fork 2
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
Recently introduced CRTM cmake build breaks ufs-bundle #49
Comments
Workaround was merged (use Skylab v7 release tag for CRTM). This is not a solution, therefore keeping this issue open. |
@BenjaminTJohnson Unfortunately the update we merged into develop (install prefix fix) did not help - this is still an issue. Hopefully I have some time in the next few weeks! |
I guess I'm confused, I haven't changed cmake related things for a while. Should I revert the latest change? |
No, sorry for the confusion. I was hoping the latest change would solve a problem that was introduced between the skylabv7 tag (still ecbuild) and the skylabv8 tag (cmake) of crtm. Looking at the error more closely, that was a fool's hope. It can't find |
@climbfuji JCSDA/CRTMv3#140 - I may have fixed this inadvertently, though I'm not a regular ufs-bundle user. Might be worth revisiting. |
@shlyaeva @fmahebert @BenjaminTJohnson please see @rhoneyager-tomorrow 's message above |
Thank you @rhoneyager-tomorrow and @climbfuji for bringing this up. I've just tried to build ufs-bundle with the crtmv3 develop and unfortunately see the same error as in this issue description. |
@shlyaeva @climbfuji @rhoneyager-tomorrow I'm confused why CRTMv3 Specifically:
Any thoughts about what might be different between these two? |
@shlyaeva @climbfuji @rhoneyager-tomorrow because I was bored during my PTO, I think I've narrowed this down to the following: I copied the following
Not sure which of the above fixed it, but ufs-bundle was missing the ecbuild_bundle_initialize line, and the RPATH stuff -- which is the most likely culprit in my extremely limited experience with cmake. This is as far as my laziness will take me, but hopefully one of the 3 of you can spot the exact changes necessary to fix ufs-bundle. I'm of the opinion that the "setup" material in all of our bundles should be more similar than they currently are. |
@BenjaminTJohnson great! do you mind opening the PR for that? |
The issue is that the ufs-weather-model uses a plain cmake build that doesn't work well in an ecbuild system. I didn't make the original design choice to use an external project for ufs-weather-model. Instead, for the new fv3 dycore in jedi-bundle, I decided to go a different route (create an interface cmake file for it with the minimum settings necessary). I think the same would work for ufs-weather-model in ufs-bundle. |
Description
The recently introduced cmake build for crtm breaks ufs-bundle:
Additional information
Until this is resolved, use the Skylab v7 tag of CRTM (workaround is in #48).
The text was updated successfully, but these errors were encountered: