Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: hdf5-fortran-openmpi 1.10.0-4

Git Clone URL: https://aur-dev.archlinux.org/hdf5-fortran-openmpi.git (read-only)
Package Base: hdf5-fortran-openmpi
Description: General purpose library and file format for storing scientific data
Upstream URL: http://www.hdfgroup.org/HDF5/
Licenses: custom
Conflicts: hdf5
Provides: hdf5, hdf5-openmpi
Submitter: migueldvb
Maintainer: migueldvb
Last Packager: migueldvb
Votes: 4
Popularity: 0.071015
First Submitted: 2015-06-26 16:25
Last Updated: 2016-06-08 13:35

Required by (65)

Sources (1)

Latest Comments

migueldvb commented on 2016-06-08 13:39

Thank you ArchangeGabriel. I have fixed those problems in the PKBUILD.

ArchangeGabriel commented on 2016-06-08 11:43

You made to mistake while updating:

– first line of build function: missing -${_patch}
– first line of package function: missing $ before {_patch}.

;)

migueldvb commented on 2016-06-08 02:09

PKGBUILD updated to 1.10.0-patch1 and removed CFLAGS and CXXFLAGS lines.

ArchangeGabriel commented on 2016-06-07 23:03

1.10.0-patch1 has been released. Also, you should remove those lines:
export CFLAGS="${CFLAGS/O2/O0}"
export CXXFLAGS="${CFLAGS}"

Or at least explain why they’re here (I fail to understand that). ;)

MartinDiehl commented on 2016-05-11 14:24

thanks, you're absolutely right about the conflicts statement.
For me it works (upgrading hdf5-fortran-openmpi and reinstalling python-h5py-openmpi/python2-h5py-openmpi)

migueldvb commented on 2016-05-10 15:36

That sounds a good idea. I think that provides=('hdf5' 'hdf5-openmpi') is all that is needed, because hdf5-fortran-openmpi already conflicts with hdf5-openmpi as it provides hdf5. Please let me know if this does not work for you.

MartinDiehl commented on 2016-05-10 15:27

"python2-h5py-openmpi" from aur has a dependency on "hdf5-openmpi" (also from aur) but I need fortran support and hence want to use this package.
Would it be possible to change

conflicts=('hdf5')
provides=('hdf5')

to

conflicts=('hdf5' 'hdf5-openmpi')
provides=('hdf5' 'hdf5-openmpi')

migueldvb commented on 2015-11-14 20:34

Thank you Enoid, I have applied the patch to the PKGBUILD.

Enoid commented on 2015-11-14 16:29

Thank you for creating the package. Can you update it to the latest HDF5 version ? Below is a patch which should do that :

--- PKGBUILD.bak 2015-11-14 17:17:24.598806265 +0100
+++ PKGBUILD 2015-11-14 17:25:13.612128283 +0100
@@ -6,8 +6,7 @@

pkgname=hdf5-fortran-openmpi
_pkgname=hdf5
-pkgver=1.8.15
-_patch=patch1
+pkgver=1.8.16
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="General purpose library and file format for storing scientific data"
@@ -17,11 +16,11 @@
makedepends=('time' 'gcc-fortran')
conflicts=('hdf5')
provides=('hdf5')
-source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${pkgver/_/-}-${_patch}.tar.bz2)
-sha1sums=('82ed248e5d0293bc1dba4c13c9b2880a26643ee0')
+source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${pkgver/_/-}.tar.bz2)
+sha1sums=('a7b631778cb289edec670f665d2c3265983a0d53')

build() {
- cd "$srcdir/${_pkgname}-${pkgver/_/-}-${_patch}"
+ cd "$srcdir/${_pkgname}-${pkgver/_/-}"
export CFLAGS="${CFLAGS/O2/O0}"
export CXXFLAGS="${CFLAGS}"
./configure \
@@ -46,11 +45,11 @@
}

package() {
- cd "$srcdir/${_pkgname}-${pkgver/_/-}-${_patch}"
+ cd "$srcdir/${_pkgname}-${pkgver/_/-}"

make -j1 DESTDIR="${pkgdir}" install

install -d -m755 "$pkgdir/usr/share/licenses/${pkgname}"
- install -m644 "$srcdir/${_pkgname}-${pkgver/_/-}-${_patch}/COPYING" \
+ install -m644 "$srcdir/${_pkgname}-${pkgver/_/-}/COPYING" \
"$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}