Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Upgrade to Spack v1.1.1 and related fixes.#196

Merged
pelesh merged 46 commits into
developfrom
nicholson/spack-v1.1
Feb 5, 2026
Merged

Upgrade to Spack v1.1.1 and related fixes.#196
pelesh merged 46 commits into
developfrom
nicholson/spack-v1.1

Conversation

@nkoukpaizan

@nkoukpaizan nkoukpaizan commented Jan 29, 2026

Copy link
Copy Markdown
Collaborator

Merge request type

  • New feature
  • Resolves bug
  • Documentation
  • Other

Relates to

  • OPFLOW
  • SOPFLOW
  • SCOPFLOW
  • TCOPFLOW
  • CMake build system
  • Spack configuration
  • Manual
  • Web docs
  • Other

This MR updates

  • Header files
  • Source code
  • CMake build system
  • Spack configuration
  • Web docs
  • Manual
  • Other

Summary

This upgrades the Spack submodule to v1.1.1 and deprecates incompatible build configurations (deception, newell and incline) that are not being tested with the new configuration.

  • With the Spack upgrade, now pointing to upstream Spack and using local Spack repos for modified packages that have yet to be contributed upstream. I plan to submit appropriate PRs to spack-packages once we know this works.
  • Updated Frontier modules accordingly. romcc is no longer a supported compiler, and mixes compiler modules are deprecated on Frontier. The only way to get a performant Fortran compiler for coinhsl, etc., and support HIP is to load PrgEnv-gnu and rocm. So, most packages are built built withgcc unless there is HIP code.
  • Moved deprecated configurations to deprecated folders with corresponding README files.

Linked Issue(s)

@nkoukpaizan nkoukpaizan self-assigned this Jan 29, 2026
@nkoukpaizan nkoukpaizan added enhancement New feature or request spack-build labels Jan 29, 2026
@pelesh

pelesh commented Jan 29, 2026

Copy link
Copy Markdown
Collaborator

CC @cameronrutherford

@nkoukpaizan

Copy link
Copy Markdown
Collaborator Author

@cameronrutherford Do you know a fix for the error I'm seeing?

Error: invalid push configuration for mirror local-buildcache: environment variable `***` (secret_variable) not set

Everything is building fine, but the push to the container registry is not working.

@nkoukpaizan nkoukpaizan force-pushed the nicholson/spack-v1.1 branch 2 times, most recently from ea3b5fd to 021f9dd Compare January 30, 2026 19:55
@nkoukpaizan

Copy link
Copy Markdown
Collaborator Author

@cameronrutherford Do you know a fix for the error I'm seeing?

Error: invalid push configuration for mirror local-buildcache: environment variable `***` (secret_variable) not set

Everything is building fine, but the push to the container registry is not working.

Finally figured out a way to make it work!

@nkoukpaizan nkoukpaizan marked this pull request as ready for review January 30, 2026 21:25

@cameronrutherford cameronrutherford left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some NITs, some other more interesting comments.

Comment thread .github/workflows/spack_cpu_build.yaml
Comment thread buildsystem/clang-hip/frontier/base.sh Outdated
Comment thread buildsystem/spack/load_spack.sh Outdated
Comment thread buildsystem/spack/spack_repo/exago/packages/coinhsl/package.py
Comment thread buildsystem/spack/spack_repo/exago/packages/hiop/package.py
Comment thread CMakeLists.txt
Comment thread buildsystem/spack/spack_repo/exago/packages/exago/package.py
Comment thread buildsystem/spack/spack_repo/exago/packages/exago/package.py
@cameronrutherford

Copy link
Copy Markdown
Collaborator

LGTM if CI passes. I'm sure you'll get a better review from a maintainer about the package.py recipe anyway.

Comment thread buildsystem/spack/spack_repo/exago/packages/hiop/package.py Outdated
@nkoukpaizan nkoukpaizan marked this pull request as draft February 5, 2026 00:05
@nkoukpaizan

nkoukpaizan commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator Author

I fixed several issues related to running the tests in GH-Actions (e.g., detecting the maximum number of available cores for testing in parallel, fixing test dependencies in CMake when some EXAGO_ENABLE_* options are off). Now, we can also build against ipopt~coinhsl+mumps ^mumps+mpi.

I documented the main remaining issues in #201. I suggest we keep the Test build stage of GH-Actions commented out for now.

@nkoukpaizan nkoukpaizan marked this pull request as ready for review February 5, 2026 01:25
@pelesh pelesh self-requested a review February 5, 2026 21:20
@pelesh pelesh merged commit 6f04993 into develop Feb 5, 2026
8 checks passed
@pelesh pelesh mentioned this pull request Feb 12, 2026
13 tasks
@nkoukpaizan nkoukpaizan deleted the nicholson/spack-v1.1 branch March 4, 2026 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request spack-build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants