Skip to content
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

Match spack-ohpc dependencies to published system requirements #1365

Merged
merged 4 commits into from
Nov 13, 2021

Conversation

mikerenfro
Copy link
Contributor

From discussion with @adrianreber on Slack this morning, we noticed on a fresh install of OHPC with Spack, that we were unable to run some spack install commands out of the box, due to us not yet having g++ installed, nor had we run spack compiler find after installing OHPC-packaged compilers to fix root's compilers.yaml.

This PR ensures all the system prerequisites are dependencies of the Spack package. It may not provide optimized compilations, but should work better out of the box.

@mikerenfro
Copy link
Contributor Author

Missed the signoff instructions at first, we'll get those fixed before marking ready for review.

Without these additional "Requires", Spack lacks full functionality.
In particular, gcc and gcc-c++ are needed to correctly build packages installed through Spack.
Therefore, the installation of Spack should require these.

Signed-off-by: Kerley <sw-arkerley@tntech.edu>
Signed-off-by: Kerley <sw-arkerley@tntech.edu>
@sjpb
Copy link

sjpb commented Oct 14, 2021

I think this is missing xz?

curl is also not listed in the docs as a dependency, but actually is - I know the CentOS GenericCloud I use includes that so not sure if it should be explicitly listed here.

@juleskerley
Copy link
Contributor

juleskerley commented Oct 14, 2021

I think this is missing xz?

curl is also not listed in the docs as a dependency, but actually is - I know the CentOS GenericCloud I use includes that so not sure if it should be explicitly listed here.

The xz is supposed to be in there. I must have somehow looked over it. I will quickly correct that.

Kerley added 2 commits October 14, 2021 10:26
Signed-off-by: Kerley <sw-arkerley@tntech.edu>
Signed-off-by: Kerley <sw-arkerley@tntech.edu>
@mikerenfro mikerenfro marked this pull request as ready for review October 15, 2021 14:18
@mikerenfro mikerenfro changed the title WIP: Match spack-ohpc dependencies to published system requirements Match spack-ohpc dependencies to published system requirements Oct 20, 2021
@koomie koomie added this to the 2.4 milestone Nov 13, 2021
@koomie koomie merged commit 5b823ed into openhpc:2.x Nov 13, 2021
koomie pushed a commit that referenced this pull request Nov 14, 2021
Signed-off-by: Karl W. Schulz <karl.oden.utexas.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants