diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/h5part |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/h5part')
-rw-r--r-- | sci-libs/h5part/Manifest | 5 | ||||
-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 | 28 | ||||
-rw-r--r-- | sci-libs/h5part/metadata.xml | 12 |
4 files changed, 71 insertions, 0 deletions
diff --git a/sci-libs/h5part/Manifest b/sci-libs/h5part/Manifest new file mode 100644 index 000000000000..f37ddb76381c --- /dev/null +++ b/sci-libs/h5part/Manifest @@ -0,0 +1,5 @@ +AUX h5part-1.6.6-mpio.patch 948 SHA256 3b76db69fb4ebd8a8c1dd73b4bf1fd65198825ceda256defe697fc45f94808b8 SHA512 41ae0a9b9f2ae84b29133879136b392cf58c68ab75195179c7b95600bc693b3f6d2ab74533285a3727590f5aac61db2d9f4c9c732720fba15164fea8f29e7a34 WHIRLPOOL 53c774ab057ceb516658df3c956637e325e00bdc19f46298e30d5832e0b29fb40403dcefc9e8749ad7c6422f17393eb2106bcbb078d61bce0ac5e5bf5f0c6435 +DIST H5Part-1.6.6.tar.gz 441755 SHA256 10347e7535d1afbb08d51be5feb0ae008f73caf889df08e3f7dde717a99c7571 SHA512 0842017bfe1510746e6f9451daaaaff3d9f6eee5209e241bcc8f2d0ce96450b8929f718c41a3434f53c9457adc2547628ad57ac8a0fb1cbfb7c74862aebf996d WHIRLPOOL 0b2cf42ecc50ca157a7a9a4faf781786a765d04b188f4d23b5a388815e6f40de743e28458c24656f48a477fcaf297a62b5132a0aa226ea364974306b0ab6064e +EBUILD h5part-1.6.6.ebuild 622 SHA256 59424d0367e72fa41f627ad4b85079d4fd4225cf8196201f4fb6e608fde5b89d SHA512 fc7dc6445857d9bec9453e0be6e16f0581cb82edc1946a6b798d7a58f8743c7c827687d848bf9bea3ff6b2ebc49f8b85e72c5177da3c45c5aeff24388abf17e5 WHIRLPOOL a94e70b50be1a7777d48792d2498ab61494a9cce741f809c56508b7c058f7679a8f2e3d8da3316794d1c4a3dc07894327dddcf65451ed7eb8a6bc6416fa9af0d +MISC ChangeLog 343 SHA256 dcc0506c7072e5510910c9b7a8eada1be8f4a728cb471e8c3f9c70b0c14f7d52 SHA512 4ca28df7d42e98b8d658883572f1ee06fa44e18236764bef8dfaacf38940389ed74b6701c9a22555a22fc59b84389e41c58af8a7e4cbd2bc3e7360a62d2ca264 WHIRLPOOL 743276cc67d62d82143e14ef4cb95ea269d59a30e1e7bd42533f6e7c6c659a386d5802929f9a8f0d3f2f09409db7fdf8836d07de68b5a40ca06129403f1d377b +MISC metadata.xml 367 SHA256 ac8d9fb591cb385322c5b19e610391ed7c6df9554f4901b3789e0b0410533d37 SHA512 455c79e8837ba1ed980967e3236d4a0ac0edbd1b88b056a06d715894e03e7fc802079440752e60a06c9ce4acb62fd68d4020a7847a154a14065afd995257f685 WHIRLPOOL 7b8aae6b6e9c08408300de466754b331e1ec556f8dc4fcc11c22069e913d2d600c2b7dc2d9a5ee5de84c472540cc78aeac1b4a3b0abbc92a539cdbbb6ca30c37 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..3e15653d504a --- /dev/null +++ b/sci-libs/h5part/h5part-1.6.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 CC=mpicc CXX=mpicxx +} 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> |