diff options
author | Christoph Junghans <junghans@gentoo.org> | 2016-12-01 17:32:27 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2016-12-01 17:42:24 -0700 |
commit | 8c97cd436ee599550cee4e9bdfabb010a5b4b227 (patch) | |
tree | 02abfc948180f8cb016600637a08c403fc073200 /sci-libs/h5part | |
parent | sys-apps/openrc: Add dependency on virtual/tmpfiles (diff) | |
download | gentoo-8c97cd436ee599550cee4e9bdfabb010a5b4b227.tar.gz gentoo-8c97cd436ee599550cee4e9bdfabb010a5b4b227.tar.bz2 gentoo-8c97cd436ee599550cee4e9bdfabb010a5b4b227.zip |
sci-libs/h5part: initial commit
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-libs/h5part')
-rw-r--r-- | sci-libs/h5part/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/h5part/files/h5part-1.6.6-mpio.patch | 26 | ||||
-rw-r--r-- | sci-libs/h5part/h5part-1.6.6.ebuild | 29 | ||||
-rw-r--r-- | sci-libs/h5part/metadata.xml | 12 |
4 files changed, 68 insertions, 0 deletions
diff --git a/sci-libs/h5part/Manifest b/sci-libs/h5part/Manifest new file mode 100644 index 000000000000..4a20b7992741 --- /dev/null +++ b/sci-libs/h5part/Manifest @@ -0,0 +1 @@ +DIST H5Part-1.6.6.tar.gz 441755 SHA256 10347e7535d1afbb08d51be5feb0ae008f73caf889df08e3f7dde717a99c7571 SHA512 0842017bfe1510746e6f9451daaaaff3d9f6eee5209e241bcc8f2d0ce96450b8929f718c41a3434f53c9457adc2547628ad57ac8a0fb1cbfb7c74862aebf996d WHIRLPOOL 0b2cf42ecc50ca157a7a9a4faf781786a765d04b188f4d23b5a388815e6f40de743e28458c24656f48a477fcaf297a62b5132a0aa226ea364974306b0ab6064e diff --git a/sci-libs/h5part/files/h5part-1.6.6-mpio.patch b/sci-libs/h5part/files/h5part-1.6.6-mpio.patch new file mode 100644 index 000000000000..152cfec34985 --- /dev/null +++ b/sci-libs/h5part/files/h5part-1.6.6-mpio.patch @@ -0,0 +1,26 @@ +https://github.com/quinoacomputing/H5Part/commit/b8b106c368c3400b4df3d38e97ae2943d37d3c7d.patch + +From b8b106c368c3400b4df3d38e97ae2943d37d3c7d Mon Sep 17 00:00:00 2001 +From: Jozsef Bakosi <jbakosi@lanl.gov> +Date: Thu, 28 Jul 2016 08:37:24 -0600 +Subject: [PATCH] Replace H5Pset_fapl_mpiposix with H5Pset_fapl_mpio + +Based on the advice at +http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2014/msg00188.html. +--- + src/H5Part.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/H5Part.c b/src/H5Part.c +index 433a574..8a1b893 100644 +--- a/src/H5Part.c ++++ b/src/H5Part.c +@@ -246,7 +246,7 @@ _H5Part_open_file ( + /* select the HDF5 VFD */ + if (flags & H5PART_VFD_MPIPOSIX) { + _H5Part_print_info ( "Selecting MPI-POSIX VFD" ); +- if (H5Pset_fapl_mpiposix ( f->access_prop, comm, 0 ) < 0) { ++ if (H5Pset_fapl_mpio ( f->access_prop, comm, 0 ) < 0) { + HANDLE_H5P_SET_FAPL_ERR; + goto error_cleanup; + } diff --git a/sci-libs/h5part/h5part-1.6.6.ebuild b/sci-libs/h5part/h5part-1.6.6.ebuild new file mode 100644 index 000000000000..14d141a857b1 --- /dev/null +++ b/sci-libs/h5part/h5part-1.6.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P="${P^^[hp]}" +DESCRIPTION="Portable High Performance Parallel Data Interface to HDF5" +HOMEPAGE="http://vis.lbl.gov/Research/H5Part/" +SRC_URI="https://codeforge.lbl.gov/frs/download.php/latestfile/18/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + virtual/mpi + sci-libs/hdf5[mpi] + " +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-mpio.patch" ) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf --enable-parallel --enable-shared --disable-static +} diff --git a/sci-libs/h5part/metadata.xml b/sci-libs/h5part/metadata.xml new file mode 100644 index 000000000000..903883b48f16 --- /dev/null +++ b/sci-libs/h5part/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>junghans@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> |