1 |
commit: 8c97cd436ee599550cee4e9bdfabb010a5b4b227 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 2 00:32:27 2016 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 2 00:42:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c97cd43 |
7 |
|
8 |
sci-libs/h5part: initial commit |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
sci-libs/h5part/Manifest | 1 + |
13 |
sci-libs/h5part/files/h5part-1.6.6-mpio.patch | 26 ++++++++++++++++++++++++ |
14 |
sci-libs/h5part/h5part-1.6.6.ebuild | 29 +++++++++++++++++++++++++++ |
15 |
sci-libs/h5part/metadata.xml | 12 +++++++++++ |
16 |
4 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/h5part/Manifest b/sci-libs/h5part/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000..4a20b79 |
21 |
--- /dev/null |
22 |
+++ b/sci-libs/h5part/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST H5Part-1.6.6.tar.gz 441755 SHA256 10347e7535d1afbb08d51be5feb0ae008f73caf889df08e3f7dde717a99c7571 SHA512 0842017bfe1510746e6f9451daaaaff3d9f6eee5209e241bcc8f2d0ce96450b8929f718c41a3434f53c9457adc2547628ad57ac8a0fb1cbfb7c74862aebf996d WHIRLPOOL 0b2cf42ecc50ca157a7a9a4faf781786a765d04b188f4d23b5a388815e6f40de743e28458c24656f48a477fcaf297a62b5132a0aa226ea364974306b0ab6064e |
25 |
|
26 |
diff --git a/sci-libs/h5part/files/h5part-1.6.6-mpio.patch b/sci-libs/h5part/files/h5part-1.6.6-mpio.patch |
27 |
new file mode 100644 |
28 |
index 00000000..152cfec |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/h5part/files/h5part-1.6.6-mpio.patch |
31 |
@@ -0,0 +1,26 @@ |
32 |
+https://github.com/quinoacomputing/H5Part/commit/b8b106c368c3400b4df3d38e97ae2943d37d3c7d.patch |
33 |
+ |
34 |
+From b8b106c368c3400b4df3d38e97ae2943d37d3c7d Mon Sep 17 00:00:00 2001 |
35 |
+From: Jozsef Bakosi <jbakosi@××××.gov> |
36 |
+Date: Thu, 28 Jul 2016 08:37:24 -0600 |
37 |
+Subject: [PATCH] Replace H5Pset_fapl_mpiposix with H5Pset_fapl_mpio |
38 |
+ |
39 |
+Based on the advice at |
40 |
+http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2014/msg00188.html. |
41 |
+--- |
42 |
+ src/H5Part.c | 2 +- |
43 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
44 |
+ |
45 |
+diff --git a/src/H5Part.c b/src/H5Part.c |
46 |
+index 433a574..8a1b893 100644 |
47 |
+--- a/src/H5Part.c |
48 |
++++ b/src/H5Part.c |
49 |
+@@ -246,7 +246,7 @@ _H5Part_open_file ( |
50 |
+ /* select the HDF5 VFD */ |
51 |
+ if (flags & H5PART_VFD_MPIPOSIX) { |
52 |
+ _H5Part_print_info ( "Selecting MPI-POSIX VFD" ); |
53 |
+- if (H5Pset_fapl_mpiposix ( f->access_prop, comm, 0 ) < 0) { |
54 |
++ if (H5Pset_fapl_mpio ( f->access_prop, comm, 0 ) < 0) { |
55 |
+ HANDLE_H5P_SET_FAPL_ERR; |
56 |
+ goto error_cleanup; |
57 |
+ } |
58 |
|
59 |
diff --git a/sci-libs/h5part/h5part-1.6.6.ebuild b/sci-libs/h5part/h5part-1.6.6.ebuild |
60 |
new file mode 100644 |
61 |
index 00000000..14d141a |
62 |
--- /dev/null |
63 |
+++ b/sci-libs/h5part/h5part-1.6.6.ebuild |
64 |
@@ -0,0 +1,29 @@ |
65 |
+# Copyright 1999-2016 Gentoo Foundation |
66 |
+# Distributed under the terms of the GNU General Public License v2 |
67 |
+# $Id$ |
68 |
+ |
69 |
+EAPI=6 |
70 |
+ |
71 |
+MY_P="${P^^[hp]}" |
72 |
+DESCRIPTION="Portable High Performance Parallel Data Interface to HDF5" |
73 |
+HOMEPAGE="http://vis.lbl.gov/Research/H5Part/" |
74 |
+SRC_URI="https://codeforge.lbl.gov/frs/download.php/latestfile/18/${MY_P}.tar.gz" |
75 |
+ |
76 |
+LICENSE="BSD" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64 ~x86" |
79 |
+IUSE="" |
80 |
+ |
81 |
+DEPEND=" |
82 |
+ virtual/mpi |
83 |
+ sci-libs/hdf5[mpi] |
84 |
+ " |
85 |
+RDEPEND="${DEPEND}" |
86 |
+ |
87 |
+PATCHES=( "${FILESDIR}/${P}-mpio.patch" ) |
88 |
+ |
89 |
+S="${WORKDIR}/${MY_P}" |
90 |
+ |
91 |
+src_configure() { |
92 |
+ econf --enable-parallel --enable-shared --disable-static |
93 |
+} |
94 |
|
95 |
diff --git a/sci-libs/h5part/metadata.xml b/sci-libs/h5part/metadata.xml |
96 |
new file mode 100644 |
97 |
index 00000000..903883b |
98 |
--- /dev/null |
99 |
+++ b/sci-libs/h5part/metadata.xml |
100 |
@@ -0,0 +1,12 @@ |
101 |
+<?xml version="1.0" encoding="UTF-8"?> |
102 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
103 |
+<pkgmetadata> |
104 |
+ <maintainer type="person"> |
105 |
+ <email>junghans@g.o</email> |
106 |
+ <name>Christoph Junghans</name> |
107 |
+ </maintainer> |
108 |
+ <maintainer type="project"> |
109 |
+ <email>sci@g.o</email> |
110 |
+ <name>Gentoo Science Project</name> |
111 |
+ </maintainer> |
112 |
+</pkgmetadata> |