Building with spack-stack? #1346
-
Has anyone tried building ufs-weather-model using spack-stack? @climbfuji has created a spack-stack installation on frontera that I am working with, but attempts to compile the Prototype-8c tag of the code are failing. I am curious if anyone has successfully done this before and might have pointers they could share. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 14 replies
-
@benjamin-cash I have a plan to try build and set an experiment with spack-stack sometime next week. I will keep you posted. |
Beta Was this translation helpful? Give feedback.
-
I’ll try that myself on Frontera this week. Also @kgerheiser FYI
… On Jul 23, 2022, at 10:07 AM, JONG KIM ***@***.***> wrote:
@benjamin-cash <https://github.com/benjamin-cash> I have a plan to try build and set an experiment with spack-stack sometime next week. I will keep you posted.
—
Reply to this email directly, view it on GitHub <#1346 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RJPQNB52IW7YNJN4QLVVQKEDANCNFSM54ODPMHQ>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
@benjamin-cash Can you briefly describe how you build the model, please? I.e. after checking out the code, what steps do you run? |
Beta Was this translation helpful? Give feedback.
-
Let's start simple. This works for me:
Note that the It does NOT work for
because:
|
Beta Was this translation helpful? Give feedback.
-
Update: This no longer works for me, failing with errors like: |
Beta Was this translation helpful? Give feedback.
-
Adding some details to @climbfuji 's note above, when I try to build GOCART as part of the ufs, using spack-stack, I run into the following error: /work2/02441/bcash/frontera/ufs-weather-model/develop/GOCART/ESMF/Shared/Chem_AeroGeneric.F90:18:7: 18 | use ESMF I can build the model in many other configurations without issue, it is specifically when I try to build with GOCART that this issue arises. Do I need to do something beyond loading the esmf model to have it found by GOCART? |
Beta Was this translation helpful? Give feedback.
-
@benjamin-cash PIO issue still there, right? I tried on orion using Kyle's spack-stack installation. I have same issue. With latest hash CMakeModules, it doesn't go thru. |
Beta Was this translation helpful? Give feedback.
-
Great! it moves further. I am building S2SWA. It hits with error: ld: cannot find -lESMF |
Beta Was this translation helpful? Give feedback.
-
sure! at least, good to be on same page. I will check with gocart people monday. |
Beta Was this translation helpful? Give feedback.
-
Update - I was able to successfully build something that is mostly P8 on Frontera this morning using my gnu installation of spack-stack. :) Assuming all of the necessary modules have been loaded via spack, the steps that got me to an executable are:
|
Beta Was this translation helpful? Give feedback.
-
I'm marking this as answered since I do have a path forward, although clearly some of those steps need to be cleaned up. ;) |
Beta Was this translation helpful? Give feedback.
Update - I was able to successfully build something that is mostly P8 on Frontera this morning using my gnu installation of spack-stack. :) Assuming all of the necessary modules have been loaded via spack, the steps that got me to an executable are: