sci-libs/h5part: initial commit

Package-Manager: portage-2.3.0
This commit is contained in:
Christoph Junghans
2016-12-01 17:32:27 -07:00
parent cb7771323e
commit 8c97cd436e
4 changed files with 68 additions and 0 deletions

1
sci-libs/h5part/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST H5Part-1.6.6.tar.gz 441755 SHA256 10347e7535d1afbb08d51be5feb0ae008f73caf889df08e3f7dde717a99c7571 SHA512 0842017bfe1510746e6f9451daaaaff3d9f6eee5209e241bcc8f2d0ce96450b8929f718c41a3434f53c9457adc2547628ad57ac8a0fb1cbfb7c74862aebf996d WHIRLPOOL 0b2cf42ecc50ca157a7a9a4faf781786a765d04b188f4d23b5a388815e6f40de743e28458c24656f48a477fcaf297a62b5132a0aa226ea364974306b0ab6064e

View File

@@ -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;
}

View File

@@ -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
}

View File

@@ -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>