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

scalapack: init at 2.0.2 #46610

Merged
merged 1 commit into from Sep 13, 2018
Merged

Conversation

costrouc
Copy link
Member

Added scalapack with flexibility to choose blas, lapack, and mpi
implementation.

Motivation for this change

Nixpkgs is perfect for scientific computing. Scalapack is a major dependency for many scientific codes.

Things done

scalapack: init at 2.0.2

  • 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)
  • Fits CONTRIBUTING.md.

@costrouc
Copy link
Member Author

costrouc commented Sep 13, 2018

Might be useful for petsc package #28368 compilation

homepage = http://www.netlib.org/scalapack/;
description = "Library of high-performance linear algebra routines for parallel distributed memory machines";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add meta.platforms.

Added scalapack with flexibility to choose blas, lapack, and mpi
implementation.
@costrouc
Copy link
Member Author

platforms.all has been added and in current pull request.

@xeji
Copy link
Contributor

xeji commented Sep 13, 2018

@GrahamcOfBorg build scalapack

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: scalapack

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: scalapack

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: scalapack

Partial log (click to expand)

-- Installing: /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2/lib/cmake/scalapack-2.0.2/scalapack-config-version.cmake
-- Installing: /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2/lib/cmake/scalapack-2.0.2/scalapack-targets.cmake
-- Installing: /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2/lib/cmake/scalapack-2.0.2/scalapack-targets-release.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2/lib
patching script interpreter paths in /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2
checking for references to /build in /nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2...
/nix/store/sxxcspkgp36vm6hs8nnp3xa8w9gm06p9-scalapack-2.0.2

@xeji
Copy link
Contributor

xeji commented Sep 13, 2018

So is the license correct here?

@costrouc
Copy link
Member Author

Yes the license is correct. I deleted that comment because I misread the error log on darwin.

@xeji xeji merged commit e34a9ff into NixOS:master Sep 13, 2018
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

3 participants