CentOS and RHEL report as the same thing. #6373
CentOS and RHEL report as the same thing. #6373briedel wants to merge 36 commits intospack:developfrom
Conversation
- Bugfixes for spack find - 0.9.1 can read specs from current develop.
…nsitive to the version of libopcodes. You can't move the code from one system (with the same OS) as another.
|
Not saying I'm opposed to this PR, but the |
|
Is there another place where the distro is defined or can be overwritten somehow? The |
|
I would override it in |
|
|
||
| homepage = "http://toolkit.globus.org" | ||
| url = "http://toolkit.globus.org/ftppub/gt6/installers/src/globus_toolkit-6.0.1470089956.tar.gz" | ||
| url = "http://toolkit.globus.org/ftppub/gt6/installers/src/globus_toolkit-6.0.1493989444.tar.gz" |
There was a problem hiding this comment.
This should probably be a separate PR.
This reverts commit dadcd80.
| version('4.3.0', '39c2fab9f632f35e12ff607ccaf9e16c') | ||
|
|
||
| depends_on('[email protected]:', type='build') | ||
| depends_on('zlib') |
There was a problem hiding this comment.
When you submit a PR, it's best practice to submit it on a branch, like features/centos-rhel, not on develop. Your PR can only contain a single change, whereas you may want to merge multiple changes into your develop branch. What I'm saying is, either redo this PR on a branch, or freeze the branch until this PR is merged (which may take a while).
|
Are there any open questions about this PR? |
|
What are the open issues with this? |
|
@tgamblin Could this be merged? |
|
Is there any issue where the rationale for this PR is explained? |
|
There isn't an open issue. I can create one if need be. The main issue is that CentOS, RHEL, and SL should be reported as the same OS, but CentOS is reported differently than RHEL/SL. |
I get that this is what the PR does, my question is more "why CentOS needs to be reported the same as rhel"? |
|
When distributing software across OSG, we will end up on machines that are either SL or CentOS machines. They need to be reported the same for us to be able to use Spack's internal OS resolution. |
|
Sorry, I still don't understand why you can't distribute software taking into account where the request comes from (software built for If I look at the PR with my current understanding of things, this seems to me more a regression than a feature - Spack erroneously reporting |
|
It means that instead of two machines (SL/CentOS6 and SL/CentOS7), I need to operate 4 machines (SL6, CentOS6 SL7, and CentOS7) and build everything twice to distribute software. Are there any packages which rely on the difference between CentOS and SL/EL? Is there a way this feature could be turned on and off somehow rather than having to hardcoded? |
|
Based on #1075 (comment) @gartung may also be interested in this PR. |
|
@adamjstewart Thanks for the link. Actually I agree a lot more with what @tgamblin says:
than with this PR. @briedel If the problem is operating physical machines, we can work on constructing a binary cache using dockerized builds. I think that + the feature proposed in the quote above are better than reporting the wrong OS. |
|
It is not about operating physical machines. It is about not having to compile and manage ~100 packages that we want to distribute. I would prefer if there were a knob like would allow me to say "I don't care about the difference in EL distros. They are all the same to me" |
|
I understand why @briedel did this. Scientific Linux CERN 6 reports as RHEL6. CERN Centos7 reports as Centos7. For HEP purposes, they should both report as RHEL. This can be a patch that HEP applies to spack usage since it is HEP specific. |
|
Let me rephrase the question. Where can I put in the knob that allows me to turn this on or off? |
|
HEP operates a heterogenous grid of compute nodes. The only requirement imposed is binary compatibility with RHEL. There are many RHEL clones besides Centos and Scientific Linux. It would be preferable to build a package once for any RHEL6 clone. Is it possible to use symbolic links in opt/spack to allow listing for common RHEL clones? |
|
@alalazo Preferred solution is just to create a symlink? |
|
Sounds good @gartung Thanks. |
No description provided.