-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unpin or update many packages (mostly Python) in configs/common/packages.yaml
, fix S4 site config
#1384
base: develop
Are you sure you want to change the base?
Unpin or update many packages (mostly Python) in configs/common/packages.yaml
, fix S4 site config
#1384
Conversation
…e-configs' of https://github.com/climbfuji/spack-stack into feature/unpin_update_common_packages
…eature/unpin_update_common_packages
…eature/unpin_update_common_packages
…eature/unpin_update_common_packages
…eature/unpin_update_common_packages
configs/common/packages.yaml
configs/common/packages.yaml
…eature/unpin_update_common_packages
meson: | ||
require: | ||
- '@1.5.1:' | ||
#meson: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self. Remove all these commented-out packages once we are sure it all works as expected
All, the NEPTUNE tests passed. Please start testing with UFS, JEDI, ... we need this PR in as soon as possible for spack-stack 1.9.0 (downstream PRs depend on it). Thanks! |
@climbfuji I'll test JEDI/Skylab. |
Thanks very much @srherbener! You should expect problems with the shapely update (@ericlingerfelt may know more), but hopefully nothing else. |
I'm getting concretize errors like this on several platforms:
This particular message is from S4. Does this need another PR to be merged, or an update for the spack submodule commit hash? Or perhaps pilot error. I did the following (on S4) before attempting to do the spack-stack build:
Is that the issue? Thanks! |
Definitely no miniconda, those times are long gone |
@stiggy87 tried this PR in an AMI using Ubuntu 24.04 and gcc 12.3. I'm attempting S4 using [email protected]. In @stiggy87's case version 1.26.4 gets selected for py-numpy, and in my case version 1.23.5 gets selected for numpy. It just so happens that according to the depndencies set up in the py-numpy package.py script, [email protected] is limited to py-setuptools@63 or older, whereas [email protected] is okay with py-setuptools@69. I'm guessing a similar thing is happening with the CI tests. I think this makes sense, but I'm not clear on why the py-numpy versions come out different in the two cases. |
Could the different py-numpy versions be caused by the version of python3? In my case it's 3.6.8 and in @stiggy87's case its 3.11.7. |
Your Python is not 3.6.8. This is only used to run |
Or just remove the |
@climbfuji what you say makes sense, the concretization should be following what is specified in the config not what SPACK_PYTHON is set to. Setting SPACK_PYTHON to a 3.11.7 version didn't help (as expected) I'm tying again after removing the ':1.23.5' part of the py-numpy spec in the site/packages.yaml. |
Concretize is working now! Thanks @climbfuji |
Yay. Hopefully the rest will be less bumpy. I will update all the site configs accordingly. |
The install failed on building
I noticed that there seems to be something suspicious with the antlr spec:
The Any thoughts? Thanks! |
I have no idea, never seen this. The antlr version is the same as it has always been, no updates. Not sure if the |
FYI, I am trying to build on Derecho (same compiler, [email protected]) - will let you know if I run into the same issue or not. |
With the knowledge about the py-numpy version requirement in the site/packages.yaml, I went back to Orion and attempted to build there. I'm attempting to build with GNU/OpenMPI and getting this error from concretize:
After some poking around I discovered that madis seems to want to use the intel compiler, which I think led to the concretize error above. Here is what
Any ideas why madis wants to use the intel compiler instead of gcc? Thanks! |
Unfortunately, I do not have the bandwidth to debug all tier-1 site configs. We need to share that work, and yes, sometimes it takes hours or days. Can you try to resolve the Orion issues yourself or with the help of EPIC, please? As far as S4 is concerned: I think the problem is that the site config is bad/wrong. If you look at compilers.yaml, you see that Intel uses gcc@13 as the GCC backend. We've known for years (and there are several open issues in spack-stack) that Intel classic doesn't do well with a gcc@12 or newer backend. I hopped on S4, added [email protected] as the backend for Intel classic, removed the py-numpy variant and also forced arch=linux-rocky8-skylake (the latter is probably not needed, but I don't like that some stuff is concretized with avx512 while some stuff isn't). The gcc@10 backend change allowed me to compile antlr. I'll try to build the entire stack on S4 with Intel, and if it works I'll update the site config in the PR and point you to the stack for testing. |
Sorry @climbfuji about all the questions. I'll spread out the questions elsewhere and I greatly appreciate the help and support that you provide. Unfortunately, I don't have the bandwidth for debugging all of these site configurations either. My real need is to just build somewhere so I can test this PR with skylab. |
Hopefully S4 will be ready for you by the end of today so that you can test next week! |
If the readiness of S4 refers to the network problem experienced last week, then it had been resolved since Tuesday. |
no, just bugs in the site config |
Thanks @climbfuji - much appreciated! |
…nal curl/openssl, use external qt
@srherbener |
…shes with the 'require' block below
configs/common/packages.yaml
configs/common/packages.yaml
, fix S4 site config
Thanks @climbfuji! I am building jedi-bundle now, and will run ctests and skylab. |
Note, I just submitted a PR (#1420) to correct the documentation. |
jedi-bundle looks good, I'm running skylab now. |
@@ -294,4 +305,5 @@ packages: | |||
wrf-io: | |||
require: '@1.2.0' | |||
zstd: | |||
require: '@1.5.2 +programs' | |||
#require: '@1.5.2 +programs' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason not to pin the zstd version? It's not a huge issue, but I would tend to lean toward pinning versions for packages that are used by UWM, in other words I would generally put zstd in the same category as hdf5, netcdf, etc.
Summary
In preparation for spack-stack-1.9.0, this PR unpins or updates several packages in
configs/common/packages.yaml
(mostly Python packages). Most notably,py-shapely
(@ericlingerfelt FYI) andpy-numpy
(@DavidHuber-NOAA FYI) are updated.The
py-numpy
update may require bug fixes with the Intel classic compiler that @DavidHuber-NOAA worked on and that are currently under review in spack develop (see #1276).Included is an update of the S4 site config, which had several flaws that prevented building and testing this PR.
Testing
neptune-dev
template (@climbfuji)Applications affected
All.
Systems affected
None directly.
Dependencies
[email protected]
and add conflict for[email protected]
with[email protected]:
spack#484Issue(s) addressed
Resolves #1065
Checklist
All dependency PRs/issues have been resolved and this PR can be merged.