Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 123a18e2 authored by PERIGNON Franck's avatar PERIGNON Franck
Browse files

Add (non-free) parmetis. Tested locally (guix build/lint/install works fine)...

Add (non-free) parmetis. Tested locally (guix build/lint/install works fine) but any review/comment is welcome
parent 3548af34
;;; This module extends GNU Guix and is licensed under the same terms, those
;;; of the GNU GPL version 3 or (at your option) any later version.
;;;
;;; However, note that this module provides packages for "non-free" software,
;;; which denies users the ability to study and modify it. These packages
;;; are detrimental to user freedom and to proper scientific review and
;;; experimentation. As such, we kindly invite you not to share it.
;;;
;;; Copyright © 2021, Inria
(define-module (non-free parmetis)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages mpi))
(define-public parmetis
(package
(name "parmetis")
(version "4.0.3")
(source
(origin
(method url-fetch)
(uri (string-append "http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/"
"parmetis-" version ".tar.gz"))
(sha256
(base32
"0pvfpvb36djvqlcc3lq7si0c5xpb2cqndjg8wvzg35ygnwqs5ngj"))))
(build-system cmake-build-system)
(native-inputs `(("openmpi" ,openmpi)))
(arguments
`(#:tests? #f ;no tests
#:configure-flags `("-DSHARED=ON"
,"-DCMAKE_C_COMPILER=mpicc"
,"-DCMAKE_CXX_COMPILER=mpic++"
,"-DCMAKE_VERBOSE_MAKEFILE=1"
,(string-append "-DGKLIB_PATH=../parmetis-"
,(package-version parmetis) "/metis/GKlib")
,(string-append "-DMETIS_PATH=../parmetis-"
,(package-version parmetis) "/metis"))))
(home-page "http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview")
(synopsis "Parallel Graph Partitioning and Fill-reducing Matrix Ordering")
(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. ParMETIS extends the functionality provided
by METIS and includes routines that are especially
suited for parallel AMR computations and large scale numerical simulations.
The algorithms implemented in ParMETIS are based on the parallel multilevel k-way
graph-partitioning, adaptive repartitioning, and parallel multi-constrained
partitioning schemes developed in our lab.")
;; see license description at http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download
(license #f)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment