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

openmpi: 3.1.3 -> 4.0.0 #54877

Merged
merged 10 commits into from Feb 22, 2019
Merged

openmpi: 3.1.3 -> 4.0.0 #54877

merged 10 commits into from Feb 22, 2019

Conversation

markuskowa
Copy link
Member

@markuskowa markuskowa commented Jan 29, 2019

Motivation for this change

This update removes some deprecated MPI-1 symbols. This breaks some applications still using these outdated symbols. Fortunately it is a simple function name change in most cases.

Upgrade guide: https://www.open-mpi.org/software/ompi/major-changes.php
Removed symbols: https://www.open-mpi.org/faq/?category=mpi-removed

CC potentially affected maintainers @costrouc @abbradar @bzizou

Things done
  • Add upstream patch to mpi4py
  • patch deprecated functions in scalapack
  • Add upstream patch to globalarrays
  • Add upstream patches to hfd5-mpi
  • added an entry to the release notes
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
    -> ~+3MB
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@markuskowa
Copy link
Member Author

@GrahamcOfBorg build python36Packages.mpi4py python36Packages.tensorflow
@GrahamcOfBorg build lammps-mpi dl-poly-classic-mpi siesta-mpi quantum-espresso-mpi

Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add the pythonPackages. prefix to the last commit message.

@markuskowa
Copy link
Member Author

markuskowa commented Jan 29, 2019

@GrahamcOfBorg build python36Packages.mpi4py
@GrahamcOfBorg build python36Packages.tensorflow
@GrahamcOfBorg build lammps-mpi
@GrahamcOfBorg build dl-poly-classic-mpi
@GrahamcOfBorg build siesta-mpi
@GrahamcOfBorg build quantum-espresso-mpi
@GrahamcOfBorg build gromacsDoubleMpi

@markuskowa
Copy link
Member Author

markuskowa commented Feb 6, 2019

Maybe I beat the timeout this time
@GrahamcOfBorg build scalapack

@nixos-discourse
Copy link

This pull request has been mentioned on Nix community. There might be relevant details there:

https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950/30

@markuskowa
Copy link
Member Author

@GrahamcOfBorg build scalapack

Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. In case we find packages that we can't trivially fix we can still include 3.1.3, but that's for then.

openmpi-4.0.0 removes deprecated MPI-1 symbols.
For upgrade guide see:
https://www.open-mpi.org/faq/?category=mpi-removed
markuskowa and others added 9 commits February 21, 2019 15:08
Add link to openmpi upgrade guide, regarding deprecated MPI-1 symbols.
* Set platform from linux -> x86_64-linux
  Scalapack does not seem to run properly on ARM (failing tests)

* Add markuskowa as maintainer
Fix a bug that ignores OMPI_MCA_rmaps_base_oversubscribe (upstream patch).
This bug breaks the test from libs, such as scalapack,
on machines with less than 4 cores.
@markuskowa
Copy link
Member Author

@FRidh That was my first thought to include the old version as well but I am optimistic that it should not be necessary.

@markuskowa
Copy link
Member Author

markuskowa commented Feb 21, 2019

@GrahamcOfBorg build hdf5-mpi

@markuskowa
Copy link
Member Author

The PR would be ready for merging.

@markuskowa markuskowa merged commit 5c8c258 into NixOS:master Feb 22, 2019
@markuskowa markuskowa deleted the upd-openmpi4 branch February 22, 2019 08:31
@costrouc
Copy link
Member

@markuskowa thank you thank you for this work. I will greatly benefit from this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants