1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

scalapack: init at 2.0.2 (#46610)

Added scalapack with flexibility to choose blas, lapack, and mpi
implementation.
This commit is contained in:
Christopher Ostrouchov 2018-09-13 15:27:47 -04:00 committed by xeji
parent 79d9145469
commit e34a9fff1f
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, fetchurl
, gfortran
, cmake
, blas
, liblapack
, mpi
}:
stdenv.mkDerivation rec {
name = "scalapack-${version}";
version = "2.0.2";
src = fetchurl {
url = "http://www.netlib.org/scalapack/scalapack-${version}.tgz";
sha256 = "0p1r61ss1fq0bs8ynnx7xq4wwsdvs32ljvwjnx6yxr8gd6pawx0c";
};
buildInputs = [ cmake mpi liblapack blas gfortran ];
meta = with stdenv.lib; {
homepage = http://www.netlib.org/scalapack/;
description = "Library of high-performance linear algebra routines for parallel distributed memory machines";
license = licenses.bsdOriginal;
platforms = platforms.all;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -20810,6 +20810,10 @@ with pkgs;
planarity = callPackage ../development/libraries/science/math/planarity { }; planarity = callPackage ../development/libraries/science/math/planarity { };
scalapack = callPackage ../development/libraries/science/math/scalapack {
mpi = openmpi;
};
rankwidth = callPackage ../development/libraries/science/math/rankwidth { }; rankwidth = callPackage ../development/libraries/science/math/rankwidth { };
fenics = callPackage ../development/libraries/science/math/fenics { fenics = callPackage ../development/libraries/science/math/fenics {