Removal of sp library from ufs-weather-model-env build with ip library version 5 #1206
-
I've recently installed the ufs-weather-model-env from spack-stack 1.7.0 on my MacBook (M3 Sonoma 14.5). Installation seems to have gone smoothly and I've used the environment to run other models using a small subset of modules. However, when attempting to compile ufs-weather-model, I get a dependency error for the sp library. This seems to be due to the removal of sp from the spack-stack build when ip@5 is used.
When building ufs-weather-model, I assume due to this line, I get:
The current version of the ip library being built on my system using out of the box spack-stack is 5.0.0. Any thoughts on whether this is expected? Should I be pinning ip to a version 4 in this environment for ufs-weather-model builds as a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
THis is expected. The ip library, starting in the 5.0.0 release, includes all the sp functions. The sp library is deprecated and will no longer be supported. It is not needed if NCEPLIBS-ip-5.x is used. So the sp dependency should be removed from the ufs-weather-model cmake file. |
Beta Was this translation helpful? Give feedback.
THis is expected. The ip library, starting in the 5.0.0 release, includes all the sp functions. The sp library is deprecated and will no longer be supported. It is not needed if NCEPLIBS-ip-5.x is used.
So the sp dependency should be removed from the ufs-weather-model cmake file.