public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/parallel-netcdf/
Date: Thu, 30 Sep 2021 19:39:41 +0000 (UTC)	[thread overview]
Message-ID: <1632925527.0b5d0f6dc01ee66b5ec4f4e22a971c055948558d.arthurzam@gentoo> (raw)

commit:     0b5d0f6dc01ee66b5ec4f4e22a971c055948558d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 14:25:27 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
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 <lssndrbarbieri <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<description>comaintainers welcome</description>
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/Parallel-NetCDF/PnetCDF/issues</bugs-to>
+		<remote-id type="github">Parallel-NetCDF/PnetCDF</remote-id>
+	</upstream>
+	<use>
+		<flag name="burst-buffering">Enable burst buffer driver support</flag>
+		<flag name="cxx">Turn on support for the C++ interface</flag>
+		<flag name="erange-fill">Disable use of fill value when out-of-range type conversion causes NC_ERANGE error</flag>
+		<flag name="fortran">Turn on support for the Fortran interface</flag>
+		<flag name="file-sync"> Disable MPI file sync if you know your file system can provide data consistency</flag>
+		<flag name="netcdf">Enable NetCDF-4 feature</flag>
+		<flag name="null-byte-header-padding">Enable check for null-byte header padding when reading files in classic formats</flag>
+		<flag name="relax-coord-bound">Use stricter rule for error NC_EINVALCOORDS to disallow coordinate start argument equal to dimension size when argument count is zero</flag>
+		<flag name="subfiling">Enable subfiling support</flag>
+		<flag name="threadsafe">Enable thread-safe capability</flag>
+	</use>
+</pkgmetadata>

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


             reply	other threads:[~2021-09-30 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 19:39 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-12  9:10 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/parallel-netcdf/ Arthur Zamarin
2021-09-30 19:39 Arthur Zamarin
2021-09-30 19:39 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632925527.0b5d0f6dc01ee66b5ec4f4e22a971c055948558d.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox