parmetis: init at 4.0.3 (#46615)
This commit is contained in:
parent
ee21f64f6a
commit
3c2a74719a
33
pkgs/development/libraries/science/math/parmetis/default.nix
Normal file
33
pkgs/development/libraries/science/math/parmetis/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, cmake
|
||||||
|
, mpi
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "parmetis-${version}";
|
||||||
|
version = "4.0.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-${version}.tar.gz";
|
||||||
|
sha256 = "0pvfpvb36djvqlcc3lq7si0c5xpb2cqndjg8wvzg35ygnwqs5ngj";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake mpi ];
|
||||||
|
|
||||||
|
# metis and GKlib are packaged with distribution
|
||||||
|
# AUR https://aur.archlinux.org/packages/parmetis/ has reported that
|
||||||
|
# it easier to build with the included packages as opposed to using the metis
|
||||||
|
# package. Compilation time is short.
|
||||||
|
configurePhase = ''
|
||||||
|
make config metis_path=$PWD/metis gklib_path=$PWD/metis/GKlib prefix=$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "ParMETIS is an MPI-based parallel library that implements a variety of algorithms for partitioning unstructured graphs, meshes, and for computing fill-reducing orderings of sparse matrices";
|
||||||
|
homepage = http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview;
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.cc-by-nc-sa-20;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -20839,6 +20839,10 @@ with pkgs;
|
|||||||
|
|
||||||
petsc = callPackage ../development/libraries/science/math/petsc { };
|
petsc = callPackage ../development/libraries/science/math/petsc { };
|
||||||
|
|
||||||
|
parmetis = callPackage ../development/libraries/science/math/parmetis {
|
||||||
|
mpi = openmpi;
|
||||||
|
};
|
||||||
|
|
||||||
scs = callPackage ../development/libraries/science/math/scs {
|
scs = callPackage ../development/libraries/science/math/scs {
|
||||||
liblapack = liblapackWithoutAtlas;
|
liblapack = liblapackWithoutAtlas;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user