-
Notifications
You must be signed in to change notification settings - Fork 4
Create Spack package for GridKit #24
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
Comments
@pelesh How about this as a proposed process:
|
This issue is about creating Spack package for GridKit only. I would use Re::Solve Spack package as a template. For now, GridKit dependencies are SUNDIALS and Ipopt. Once we have a working Spack package with vanilla configuration of SUNDIALS and Ipopt, we can improve it by requesting specific configuration for each dependency. @cameronrutherford, feel free to chime in. |
I think this is a good rough outline, but I would perhaps reduce the steps here (this is the approach that I would take if doing the task myself):
It's a slight re-ordering. Admittedly steps 3,4,5 and 6 from your outline could be inserted between my steps 2 and 3. This would give you a better understand of GitHub actions if you would like that learning opportunity. IMO this over-complicates things, and will be re-written for your end result in the end, so I suggest taking my ordering as the easiest way to do this, but perhaps not the most conducive to learning. |
Note as well that you'll have to either use a custom spack fork in your pipelines, or add a custom spack repo https://spack.readthedocs.io/en/latest/repositories.html to use your WIP |
I suggest doing steps 1-3 as outlined by @cameronrutherford. The rest will be tracked in other issues. I think first good step would be to build GridKit with all dependencies using Spack locally. |
@cameronrutherford I agree with these suggested steps; as you said, a spack package then CI pipeline (2 steps) is less work than half-spacked CI pipeline, then spack package, then overwrite the pipeline (3 steps). @pelesh I can narrow the scope of the draft PR to just treat those steps 1-3; a more minimal set of incremental set of changes like that is always preferable. |
CC @nkoukpaizan |
Create a Spack package and make a pull request to Spack upstream. Manage SUNDIALS and Ipopt dependencies with their dependencies such as KLU, METIS, BLAS/LAPACK, etc.
This issue includes following actions:
The text was updated successfully, but these errors were encountered: