How to add a new package on hercules #944
Replies: 5 comments 2 replies
-
Try |
Beta Was this translation helpful? Give feedback.
-
This is what I tried, but I may be doing things I shouldn't:
Some stuff happens and then I see
|
Beta Was this translation helpful? Give feedback.
-
I made a second try doing this instead:
I appears to be building, so I think it is working. But I think I'm having to build a bunch of stuff that is already in the spack-stack (like cmake). |
Beta Was this translation helpful? Give feedback.
-
So it finally errored out when it finally got to the ferret build. Back to the drawing board. |
Beta Was this translation helpful? Give feedback.
-
I was able to build ferret for my own use on Hercules and I'll note here for reference. Starting from my "second try" above, I modified the compiler flag using
then setting (the 'boz' might not be required, but we seem to use these in pairs in UWM CMakeLists):
I got a successful build, and then had to figure out where it was built, so I used I'll note this is "classic" Ferret, not the python version (pyferret). There is no package for pyferret. |
Beta Was this translation helpful? Give feedback.
-
I asked Hercules sys-admins to install ferret (currently on most other RDHPCS platforms as a module) but they said
"Rocky 9 is the operating system for hercules. Ferret does not have a release for Rocky 9. We're looking into if installation is possible."
There is a spack package though (https://spack.readthedocs.io/en/v0.16.2/package_list.html#ferret) but I'm not sure of the steps.
I have previously added a "test package" to a personal spack-stack, but that is replacing something already there w/ something new. This is adding something that isn't already there.
I tried the loading the modules etc for Hercules shown on 'pre-configured sites', and then tried
spack install [email protected]
but that gave me==> Error: Package ufs-weather-model-env does not depend on [email protected]
Beta Was this translation helpful? Give feedback.
All reactions