From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE227158017 for ; Wed, 29 Sep 2021 14:26:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2B54E0957; Wed, 29 Sep 2021 14:26:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB53DE0953 for ; Wed, 29 Sep 2021 14:26:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B55B2342B30 for ; Wed, 29 Sep 2021 14:25:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 510C110B for ; Wed, 29 Sep 2021 14:25:58 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1632925527.0b5d0f6dc01ee66b5ec4f4e22a971c055948558d.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/parallel-netcdf/Manifest sys-cluster/parallel-netcdf/metadata.xml sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild X-VCS-Directories: sys-cluster/parallel-netcdf/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 0b5d0f6dc01ee66b5ec4f4e22a971c055948558d X-VCS-Branch: dev Date: Wed, 29 Sep 2021 14:25:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e66a17c5-2078-4a9b-a4de-7f94214debe5 X-Archives-Hash: 0f7f0d0adbd6a88f75349a1138b3119c commit: 0b5d0f6dc01ee66b5ec4f4e22a971c055948558d Author: Alessandro Barbieri gmail com> AuthorDate: Wed Sep 29 14:25:27 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Wed Sep 29 14:25:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b5d0f6d sys-cluster/parallel-netcdf: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/parallel-netcdf/Manifest | 1 + sys-cluster/parallel-netcdf/metadata.xml | 25 +++++++ .../parallel-netcdf/parallel-netcdf-1.12.2.ebuild | 80 ++++++++++++++++++++++ 3 files changed, 106 insertions(+) diff --git a/sys-cluster/parallel-netcdf/Manifest b/sys-cluster/parallel-netcdf/Manifest new file mode 100644 index 000000000..eba2d268b --- /dev/null +++ b/sys-cluster/parallel-netcdf/Manifest @@ -0,0 +1 @@ +DIST pnetcdf-1.12.2.tar.gz 2355892 BLAKE2B ea94d63caa8d42b727084be0580c43e0ac03325acafb046a057092b41880a875a1ca04d1b0183062aed3d7182103217c02165c0f65e722b50129931fb7c93e82 SHA512 b482eadb4955a312fab885aa89c08817c010ed6ff69dff3cfa9c530f1b645b788973029909a8f6fd428170103cfa0784e1bfe085a48d9bcd2446dbd0d40ed67d diff --git a/sys-cluster/parallel-netcdf/metadata.xml b/sys-cluster/parallel-netcdf/metadata.xml new file mode 100644 index 000000000..de4248a59 --- /dev/null +++ b/sys-cluster/parallel-netcdf/metadata.xml @@ -0,0 +1,25 @@ + + + + + comaintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/Parallel-NetCDF/PnetCDF/issues + Parallel-NetCDF/PnetCDF + + + Enable burst buffer driver support + Turn on support for the C++ interface + Disable use of fill value when out-of-range type conversion causes NC_ERANGE error + Turn on support for the Fortran interface + Disable MPI file sync if you know your file system can provide data consistency + Enable NetCDF-4 feature + Enable check for null-byte header padding when reading files in classic formats + Use stricter rule for error NC_EINVALCOORDS to disallow coordinate start argument equal to dimension size when argument count is zero + Enable subfiling support + Enable thread-safe capability + + diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild new file mode 100644 index 000000000..456e0f5f8 --- /dev/null +++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +MYP="pnetcdf-${PV}" + +inherit fortran-2 + +DESCRIPTION="Parallel extension to netCDF" +HOMEPAGE=" + https://parallel-netcdf.github.io + http://cucis.ece.northwestern.edu/projects/PnetCDF + http://www-unix.mcs.anl.gov/parallel-netcdf +" +SRC_URI="http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" + +LICENSE="UCAR-Unidata" +SLOT="0" +KEYWORDS="~amd64" +IUSE="burst-buffering +cxx debug doc +erange-fill +file-sync +fortran netcdf +null-byte-header-padding +relax-coord-bound subfiling threadsafe" + +RDEPEND=" + netcdf? ( sci-libs/netcdf[mpi] ) + virtual/mpi +" +# adios? ( sys-cluster/adios ) +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen )" + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + export MPIF77=/usr/bin/mpif77 + export MPIF90=/usr/bin/mpif90 + + local myconf=( + --enable-shared + --with-mpi="${EPREFIX}/usr" + + $(use_enable burst-buffering) + $(use_enable cxx) + $(use_enable debug) + $(use_enable doc doxygen) + $(use_enable erange-fill) + $(use_enable file-sync) + $(use_enable fortran) + $(use_enable netcdf netcdf4) + $(use_enable null-byte-header-padding) + $(use_enable relax-coord-bound) + $(use_enable subfiling) + $(use_enable threadsafe thread-safe) + ) +# $(use_enable adios) +# if use adios; then +# myconf+=( "--with-adios=${EPREFIX}/usr" ) +# else +# myconf+=( "--without-adios" ) +# fi + if use netcdf; then + myconf+=( "--with-netcdf4=${EPREFIX}/usr" ) + else + myconf+=( "--without-netcdf4" ) + fi + + econf "${myconf[@]}" +} + +src_compile() { + emake +} + +src_install() { + emake DESTDIR="${D}" install +}