-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update cmake build #48
Conversation
@billsacks Would you review this PR and also have a look at the unit tests. |
For now I'll document what I did and the problems I ran into. My plate is full between now and the end of June with things needed for the CESM3 science feature freeze and the upcoming ESMF release, so I won't have time before then to do more work on this - but we can circle back to this in July if you'd like to work together on it then and/or want more than a cursory review from me. (But note that I'll be gone the first and third weeks of July). You may already know this, but the process for running these unit tests is kind of awkward - at least the process I'm aware of: the top level CMakeLists.txt file actually resides in CIME, so you need a model checkout that includes CIME and maybe some other things along with CESM_share. (See also #18 , #19 and #20 .) What I did just now was to use a CTSM checkout. Then from cime, I ran:
Doing this from the latest CTSM, with its out-of-the-box externals, the share tests passed. Updating to your branch, I got these errors:
I assume this is from some moved / removed files? Regarding the esmf_wrf_timemgr, we'd like to stop using it, but I think that doing so requires getting the value of ESMFMKFILE for the given machine/compiler in the CMake unit test build - see ESCOMP/CTSM#2375. I haven't spent much time on this, but if you know off-hand how to do this, that could help move us forward on switching over to using the actual ESMF library in the unit tests instead of esmf_wrf_timemgr. (@ekluzek @samsrabin and @adrifoster might also be interested in this.) |
If you load the ESMF module ESMFMKFILE is defined in the environment. |
All unit tests are now working again. |
Awesome, thank you very much @jedwards4b !!! |
testing new github testing