Skip to content

Merge @citibeth and @alalazo's petsc fixes from #515 and #517#519

Merged
tgamblin merged 2 commits intodevelopfrom
features/more-petsc-fixes
Mar 9, 2016
Merged

Merge @citibeth and @alalazo's petsc fixes from #515 and #517#519
tgamblin merged 2 commits intodevelopfrom
features/more-petsc-fixes

Conversation

@tgamblin
Copy link
Copy Markdown
Member

@tgamblin tgamblin commented Mar 9, 2016

For review by @citibeth and @alalazo. I have attempted to merge the concurrent changes to petsc.

@tgamblin tgamblin force-pushed the features/more-petsc-fixes branch from 70aa650 to b43c277 Compare March 9, 2016 19:04
@tgamblin
Copy link
Copy Markdown
Member Author

tgamblin commented Mar 9, 2016

@eschnett @alalazo: ok I took out the HDF5 change. Now that I look at what unsupported does, why is it an option? Why don't we just remove the unsupported variant altogether, since it just allows us to use certain options together...

@eschnett
Copy link
Copy Markdown
Contributor

eschnett commented Mar 9, 2016

Good point. The option name sure is confusing.

@tgamblin
Copy link
Copy Markdown
Member Author

tgamblin commented Mar 9, 2016

@alalazo @citibeth I'll merge if this PR works for you. Not that it fixes some typos too.

@citibeth
Copy link
Copy Markdown
Member

citibeth commented Mar 9, 2016

I'd like to table this until we've merged support for build dependencies
into dev. The reason is that PETSc has a build dependency on Python 2.7,
but not a runtime dependency. To get it working (with my Python3-enabled
project), I'm having to temporarily comment out that dependency, since it
shows up to later packages as an actual dependency.

It would also be nice to figure out the Python2 vs Python3 issue, but I
don't think that's critical for PETSc.

On Wed, Mar 9, 2016 at 1:59 PM, Todd Gamblin [email protected]
wrote:

For review by @citibeth https://github.com/citibeth and @alalazo
https://github.com/alalazo. I have attempted to merge the concurrent

changes to petsc.

You can view, comment on, or merge this pull request online at:

#519
Commit Summary

File Changes

  • M var/spack/repos/builtin/packages/petsc/package.py (19)

Patch Links:


Reply to this email directly or view it on GitHub
#519.

@tgamblin
Copy link
Copy Markdown
Member Author

tgamblin commented Mar 9, 2016

@mathstuf should be done with build deps soon -- can we merge this and at least get the fixes in?

@citibeth
Copy link
Copy Markdown
Member

citibeth commented Mar 9, 2016

OK, the parts that I understand look good to me. (The stuff with hdf5 is going over my head right now, I'll defer to others).

My only suggestion would be to add a comment above the following code to explain in English what it does:

 +            errors = [error_message_fmt.format(library=x)
+                      for x in ('hdf5', 'hypre', 'parmetis')
+                      if ('+'+x) in self.spec]

Maybe:

# +hdf5, +hypre and +parmetis all require +mpi as well.

@tgamblin
Copy link
Copy Markdown
Member Author

tgamblin commented Mar 9, 2016

Ah, list comprehensions. I added some language to describe it. See what you think.

tgamblin added a commit that referenced this pull request Mar 9, 2016
@tgamblin tgamblin merged commit e6a3468 into develop Mar 9, 2016
@tgamblin tgamblin deleted the features/more-petsc-fixes branch July 4, 2016 07:37
matz-e added a commit to matz-e/spack that referenced this pull request Apr 27, 2020
AlexanderRichert-NOAA pushed a commit to AlexanderRichert-NOAA/spack that referenced this pull request Feb 28, 2025
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.

3 participants