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

single branch builds for mumps-seq, mumps-mpi #36

Merged
merged 15 commits into from Nov 26, 2018

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 13, 2018

So the cf automation tools can update both flavors.

I'd like to resolve #34 here as well. Until/unless I hear otherwise,
I will implement option 4 there: produce a mumps-seq and mumps-mpi package,
where mumps-seq gets _seq suffixes on its libs and its headers go in include/mumps_seq. mumps-mpi remains unchanged. This follows a pattern established by the debian packaging of mumps and mumps-seq (there mumps is mumps-mpi, but I don't want to do that here, since it will break everything currently depending on serial mumps).

The mumps package will be deprecated but not removed so that nothing breaks.

TODO:

  • single recipe with multiple outputs
  • rename serial mumps to mumps-seq
  • add _seq to mumps-seq libraries
  • install libseq headers in include/mumps_seq
  • add mumps-include package for the common headers
  • run actual build tests for mumps-seq

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • The outputs section contained an unexpected subsection name. skip is not a valid subsection name.

- call the seq package mumps-seq (no more mumps package)
- mumps-include package for shared headers used for both mumps-seq, mumps-mpi, unix-only
- _seq.a suffix for mumps-seq libs (matches debian packaging)
- libseq headers in include/mumps_seq (matches debian packaging)
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@minrk minrk changed the title [WIP] single branch builds for mumps, mumps-mpi [WIP] single branch builds for mumps-seq, mumps-mpi Nov 13, 2018
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [48]

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [46]

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

- no headers in mumps-mpi (mumps-headers covers that)
- mpi.h, mpif.h from libseq go in include/mumps_seq (no others from libseq)
@minrk minrk changed the title [WIP] single branch builds for mumps-seq, mumps-mpi single branch builds for mumps-seq, mumps-mpi Nov 21, 2018
@minrk
Copy link
Member Author

minrk commented Nov 22, 2018

ok, I believe this is entirely ready to go now

@basnijholt
Copy link
Contributor

Great work!

Hopefully this will lead to fewer problems when using kwant + Fenics.

@minrk
Copy link
Member Author

minrk commented Nov 22, 2018

Should we do a local test build of kwant with the new mumps-seq to make sure this works?

@minrk
Copy link
Member Author

minrk commented Nov 22, 2018

I did a local build of kwant but found an issue. This is creating two builds of mumps-include which are pinned exactly as a dependency but have different hash inputs. Fixing the build string on mumps-include should do it.

mumps-seq doesn’t need this because it’s a new package

but once a package has made the mistake of adopting the blas_openblas feature,
it cannot drop it until conda-forge moves to blas 2.0 metapackage
use x.x.x pinning instead of exact

seems to cause weird package-not-found errors on Windows
(surely a conda-build bug)
@minrk
Copy link
Member Author

minrk commented Nov 23, 2018

I was able to use the latest commit (18edb09) and
conda-forge/kwant-feedstock#58 to build mumps-mpi, mumps-seq, and kwant with mumps-seq, and I was able to create an env with fenics and kwant together and everything seemed happy, so I think this should be all set.

@minrk
Copy link
Member Author

minrk commented Nov 26, 2018

@basnijholt any more testing you want to do before landing this one?

@basnijholt
Copy link
Contributor

Thanks a lot for testing! I have complete faith in that it will work 👍

I'll merge this now.

@basnijholt basnijholt merged commit 0989da7 into conda-forge:master Nov 26, 2018
@minrk minrk deleted the single-branch branch November 26, 2018 14:33
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.

mumps and mumps-mpi cannot be installed side-by-side
3 participants