Compare commits

...

96 Commits
f16 ... master

Author SHA1 Message Date
Fedora Release Engineering
68fe77b12e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:29:59 +00:00
Orion Poplawski
d504bdb448 Update to 4.7.0 2019-06-17 06:59:07 -06:00
Orion Poplawski
1277d0f9ec Update to 4.6.3 2019-03-16 08:26:32 -06:00
Orion Poplawski
aaefcf4cbe Allow openmpi to run with more processes than cores 2019-02-14 06:46:53 -07:00
Orion Poplawski
3a258961b8 Rebuild for openmpi 3.1.3 2019-02-13 22:32:19 -07:00
Fedora Release Engineering
ae534097dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 12:11:52 +00:00
Igor Gnatenko
b666cb3475 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:18 +01:00
Igor Gnatenko
d186805f7c
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:29 +01:00
Fedora Release Engineering
8d64c4db7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:30:15 +00:00
Orion Poplawski
31c4b7cc39 Run libtoolize to not strip link flags (bug #1548732) 2018-04-09 20:54:47 -06:00
Fedora Release Engineering
7f44b30141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:01:55 +00:00
Orion Poplawski
be72d79ead Link to tirpc 2018-02-05 11:18:51 -07:00
Orion Poplawski
e317286170 Rebuild for gcc 8.0 2018-02-02 08:04:24 -07:00
Fedora Release Engineering
9c64e92ba0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:53:15 +00:00
Fedora Release Engineering
3b694e267f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:48:51 +00:00
Fedora Release Engineering
13220cd74d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 22:11:58 +00:00
Dan Horák
87ff6a3415 - Enable openmpi for s390(x) on F>=26 2016-12-08 22:07:07 +01:00
Orion Poplawski
a8caef4f46 Rebuild for hdf5 1.8.18 2016-12-06 11:43:34 -07:00
Orion Poplawski
5aa8cfa638 Add patch to fix mpi tests compilation 2016-11-29 11:52:09 -07:00
Orion Poplawski
5a4851a658 Update to 4.4.1.1 2016-11-29 10:45:48 -07:00
Orion Poplawski
57398e6eed Rebuild for openmpi 2.0 2016-10-21 17:18:32 -06:00
Orion Poplawski
5aa606effe No valgrind on MIPS
- Enable valgrind on arm
2016-08-12 11:51:57 -06:00
Orion Poplawski
a37c838d19 Add upstream patch to fix hashmap issue 2016-07-07 08:02:45 -06:00
Orion Poplawski
e29d7e7aad Upload 4.4.1 2016-06-30 14:16:29 -06:00
Orion Poplawski
7be77dcc75 Update to 4.4.1 2016-06-29 08:51:49 -06:00
Orion Poplawski
b18ae29143 Drop mpiexec hack 2016-06-28 16:29:20 -06:00
Fedora Release Engineering
0909d5e1af - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 09:14:32 +00:00
Orion Poplawski
50eaf64b4d Rebuild ncx.c to fix arm build 2016-01-22 13:27:31 -07:00
Orion Poplawski
bafec73dd6 mpich should be working now; arm is failing tests 2016-01-22 10:18:52 -07:00
Orion Poplawski
dc4e54fc79 Ignore failing mpich on the koji builders for now 2016-01-21 15:49:29 -07:00
Orion Poplawski
56911484c2 Try to handle builders that can't resolve their own name 2016-01-21 13:53:11 -07:00
Orion Poplawski
9af8c97972 Use __arm__ conditional in patch 2016-01-21 12:39:21 -07:00
Orion Poplawski
dc5d7ac316 Actually apply patch 2016-01-21 12:25:31 -07:00
Orion Poplawski
b74934a727 Add patch to fix incorrect char definitions 2016-01-21 11:57:27 -07:00
Orion Poplawski
b154b5db72 Update changelog date 2016-01-21 11:21:37 -07:00
Orion Poplawski
e0da44cc3a Update to 4.4.0 2016-01-14 09:46:48 -07:00
Rex Dieter
27da26afce rebuild (hdf) 2015-11-07 08:19:36 -06:00
Orion Poplawski
cfab33be5d Rebuild for openmpi 1.10.0 2015-09-15 18:57:44 -06:00
Sandro Mani
0fdb651254 RPM MPI Requires Provides 2015-08-11 00:07:18 -04:00
Karsten Hopp
d5f12e3cd6 mpich is available on ppc64 now 2015-07-29 17:01:29 +02:00
Dennis Gilmore
5f5c2ff192 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 21:40:23 +00:00
Orion Poplawski
42c72dc725 Rebuild for hdf5 1.8.15 2015-05-17 14:52:54 -06:00
Orion Poplawski
0b99a3b6ea Update to 4.3.3.1 2015-03-11 19:24:48 -06:00
Orion Poplawski
597495de3d Update to 4.3.3 2015-02-13 22:09:28 -07:00
Orion Poplawski
4a6e46edce Fix up provides/requires for mpi packages, use %{?_isa}. 2015-01-27 16:33:09 -07:00
Orion Poplawski
fdd985ad22 Rebuild for hdf5 1.8.14 2015-01-07 11:42:18 -07:00
Peter Robinson
059f1f611e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 11:31:03 +00:00
Orion Poplawski
4b244ac0e0 Enable tests on s390; disable parallel tests on s390(x) due to hangs 2014-07-24 09:34:12 -06:00
Orion Poplawski
f619cae32e Add patch for hdf5 1.8.13 support 2014-06-09 14:13:23 -06:00
Orion Poplawski
68b3285458 Drop USE_PARALLEL_POSIX for hdf5 1.8.13 2014-06-09 11:05:12 -06:00
Orion Poplawski
661b6c08ee Rebuild for hdf5 1.8.13 2014-06-09 10:08:29 -06:00
Dennis Gilmore
995778a155 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 07:29:29 -05:00
Orion Poplawski
632c50fd7a Update to 4.3.2
- Drop utf8 patch fixed upstream
- Re-enable MPI tests
2014-04-23 23:01:29 -06:00
Orion Poplawski
42326e5152 Strip UTF-8 character from netcdf.h for now, causes problems with
netcdf4-python build.
2014-03-07 11:58:25 -07:00
Deji Akingunola
8454756b1b Rebuild for mpich-3.1 2014-02-22 13:59:22 -05:00
Orion Poplawski
28d1aaf2c7 Enable mpich on ppc64 for rhel7 2014-02-06 19:13:10 -07:00
Orion Poplawski
40b80f66a0 Add BR m4 2014-02-06 11:08:59 -07:00
Orion Poplawski
ccfbfc5055 Update to 4.3.1.1 2014-02-06 10:57:58 -07:00
Orion Poplawski
680b7957a5 Bump release 2013-12-27 15:29:31 -07:00
Orion Poplawski
9bae9dce08 Rebuild for hdf5 1.8.12 2013-12-27 15:24:31 -07:00
Orion Poplawski
b15420b41a Use BR hdf-static (bug #1038280) 2013-12-05 11:34:59 -07:00
Orion Poplawski
3693b01be9 Fix changelog dates 2013-11-04 19:53:40 -07:00
Orion Poplawski
86e6c03814 Enable hdf4 support 2013-11-04 19:44:59 -07:00
Dennis Gilmore
3ce63b8877 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 08:04:37 -05:00
Deji Akingunola
2fd7325afa Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0 2013-07-21 18:50:32 -04:00
Orion Poplawski
0030e22055 Rebuild for openmpi 1.7.2 2013-07-11 22:40:12 -06:00
Orion Poplawski
494fe9d2a7 Rebuild for hdf5 1.8.11 2013-05-16 10:45:21 -06:00
Orion Poplawski
f2becdd79c Upload 4.3.0 source 2013-05-13 16:41:56 -06:00
Orion Poplawski
102b609800 Update to 4.3.0 final; use explicit soname 2013-05-13 16:33:34 -06:00
Orion Poplawski
168c54c9ce 4.3.0-rc3 2013-03-21 14:41:26 -06:00
Dennis Gilmore
a14093229a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 02:09:33 -06:00
Orion Poplawski
1fe8d17489 Disable make check of the mpi code, it is hanging for some reason 2012-12-04 11:02:04 -07:00
Orion Poplawski
8346b29711 Rebuild for hdf5 2012-12-03 14:00:08 -07:00
Orion Poplawski
b8c2f95f78 Use new mpi module location 2012-11-01 14:18:03 -06:00
Orion Poplawski
63dd85c99a Fix year typo 2012-11-01 13:56:08 -06:00
Orion Poplawski
2022ee47c0 Rebuild for openmpi and mpich2 soname bumps 2012-11-01 13:55:31 -06:00
Orion Poplawski
15ad37466a Update to 4.2.1.1 2012-08-03 21:52:07 -06:00
Orion Poplawski
a3c15e43d9 Update to 4.2.1 final 2012-07-22 06:38:24 -06:00
Dennis Gilmore
b7c578e68c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 23:28:05 -05:00
Orion Poplawski
b01c6112f9 Update to 4.2.1 rc1
Rebase pkgconfig patch
Drop fflags patch, upstream now calls nf-config
2012-07-11 15:05:02 -06:00
Dan Horák
88d03f5d1a temporarily disable checks on s390 (memory corruption and stuck build) 2012-06-13 11:02:24 +02:00
Orion Poplawski
498253f12d Rebuild with hdf5 1.8.9 2012-05-15 15:53:23 -06:00
Orion Poplawski
cd049ab5c9 Merge in mpi update 2012-03-21 14:24:46 -06:00
Orion Poplawski
dff0534ad1 Update to real 4.2 final 2012-03-21 14:23:29 -06:00
Dan Horák
a9c4117027 use %{mpi_list} also in %check 2012-03-20 09:33:01 +01:00
Orion Poplawski
d17626f243 Update to 4.2 final 2012-03-16 16:07:38 -06:00
Orion Poplawski
d1c2b79658 Ship examples with -devel 2012-03-07 11:50:18 -07:00
Orion Poplawski
f5068e6baa Enable MPI builds, merged from f16 2012-03-07 10:21:18 -07:00
Orion Poplawski
2ed38aff02 Merge releng rebuild 2012-03-06 15:48:13 -07:00
Orion Poplawski
8438a69a60 Update to 4.2-rc2 2012-03-06 15:46:48 -07:00
Dennis Gilmore
b088cbdd90 - Rebuilt for c++ ABI breakage 2012-02-28 13:19:45 -06:00
Orion Poplawski
cf142b3df9 Merge in rebuild changelog 2012-01-13 11:07:45 -07:00
Dennis Gilmore
a9c810b19c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 05:00:59 -06:00
Orion Poplawski
b993a49b99 Update to 4.2-rc1
Fortran and C++ APIs are now in separate packages
2012-01-12 13:25:37 -07:00
Orion Poplawski
aa38cdaf9d Fix typo 2011-11-18 14:55:06 -07:00
Orion Poplawski
df6dc9b077 Rebuild for hdf5 1.8.8, add explicit requires 2011-11-18 14:52:12 -07:00
7 changed files with 354 additions and 241 deletions

17
.gitignore vendored
View File

@ -1,3 +1,20 @@
netcdf-4.1.1.tar.gz
/netcdf-4.1.2.tar.gz
/netcdf-4.1.3.tar.gz
/netcdf-4.2-rc1.tar.gz
/netcdf-4.2-rc2.tar.gz
/netcdf-4.2.tar.gz
/netcdf-4.2.1-rc1.tar.gz
/netcdf-4.2.1.tar.gz
/netcdf-4.2.1.1.tar.gz
/netcdf-4.3.0.tar.gz
/v4.3.1.1.tar.gz
/netcdf-4.3.2.tar.gz
/netcdf-4.3.3.tar.gz
/netcdf-4.3.3.1.tar.gz
/netcdf-4.4.0.tar.gz
/netcdf-4.4.1.tar.gz
/netcdf-4.4.1.1.tar.gz
/netcdf-4.6.2.1.tar.gz
/netcdf-4.6.3.tar.gz
/netcdf-4.7.0.tar.gz

View File

@ -1,12 +0,0 @@
diff -up netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.fflags netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in
--- netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.fflags 2011-05-27 15:05:06.000000000 -0600
+++ netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in 2011-05-27 15:06:08.066331777 -0600
@@ -14,7 +14,7 @@ cc="@CC@"
cxx="@CXX@"
fc="@FC@"
cflags=" -I${includedir} @CPPFLAGS@"
-fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
+fflags="@MOD_FLAG@${includedir}"
has_dap="@HAS_DAP@"
has_nc2="@HAS_NC2@"
has_nc4="@HAS_NC4@"

View File

@ -1,17 +0,0 @@
diff -up netcdf-4.1.3/libdispatch/parallel.c.mpi netcdf-4.1.3/libdispatch/parallel.c
--- netcdf-4.1.3/libdispatch/parallel.c.mpi 2011-06-10 07:35:00.000000000 -0600
+++ netcdf-4.1.3/libdispatch/parallel.c 2012-02-10 10:46:18.229286019 -0700
@@ -29,13 +29,8 @@ nc_create_par(const char *path, int cmod
!(cmode & NC_PNETCDF))
return NC_EINVAL;
-#ifdef HAVE_MPI_COMM_F2C
- comm_c = MPI_Comm_f2c(comm);
- info_c = MPI_Info_f2c(info);
-#else
comm_c = (MPI_Comm)comm;
info_c = (MPI_Info)info;
-#endif
data.comm = comm_c;
data.info = info_c;

View File

@ -1,34 +0,0 @@
diff -up netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.pkgconfig netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in
--- netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.pkgconfig 2011-05-26 20:23:15.000000000 -0600
+++ netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in 2011-05-27 15:04:12.823601895 -0600
@@ -8,7 +8,6 @@
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
includedir=${prefix}/include
cc="@CC@"
@@ -16,8 +15,6 @@ cxx="@CXX@"
fc="@FC@"
cflags=" -I${includedir} @CPPFLAGS@"
fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
-libs="-L${libdir} @NC_LIBS@"
-flibs="-L${libdir} @NC_FLIBS@"
has_dap="@HAS_DAP@"
has_nc2="@HAS_NC2@"
has_nc4="@HAS_NC4@"
@@ -141,11 +138,11 @@ while test $# -gt 0; do
;;
--libs)
- echo $libs
+ pkg-config netcdf --libs
;;
--flibs)
- echo $flibs
+ pkg-config netcdf --flibs
;;
--has-dap)

View File

@ -1,32 +0,0 @@
diff -up netcdf-4.1.3/configure.postdeps netcdf-4.1.3/configure
--- netcdf-4.1.3/configure.postdeps 2011-06-17 14:52:05.000000000 -0600
+++ netcdf-4.1.3/configure 2012-02-07 21:41:30.207617024 -0700
@@ -21293,15 +21293,16 @@ if { { eval echo "\"\$as_me\":${as_linen
# Sentinel used to keep track of whether or not we are before
# the conftest object file.
pre_test_object_deps_done=no
-
+set -x
for p in `eval "$output_verbose_link_cmd"`; do
case ${prev}${p} in
-L* | -R* | -l*)
- # Some compilers place space between "-{L,R}" and the path.
+ # Some compilers place space between "-{L,R,l}" and the path.
# Remove the space.
if test $p = "-L" ||
- test $p = "-R"; then
+ test $p = "-R" ||
+ test $p = "-l"; then
prev=$p
continue
fi
@@ -21370,7 +21371,7 @@ if { { eval echo "\"\$as_me\":${as_linen
esac
done
-
+set +x
# Clean up.
rm -f a.out a.exe
else

View File

@ -1,49 +1,40 @@
Name: netcdf
Version: 4.1.3
Release: 3%{?dist}
Version: 4.7.0
Release: 2%{?dist}
Summary: Libraries for the Unidata network Common Data Form
Group: Applications/Engineering
License: NetCDF
URL: http://www.unidata.ucar.edu/software/netcdf/
Source0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-%{version}.tar.gz
#Source0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/snapshot/netcdf-4-daily.tar.gz
#Use pkgconfig in nc-config to avoid multi-lib issues
Patch0: netcdf-pkgconfig.patch
#Strip FFLAGS from nc-config
Patch1: netcdf-fflags.patch
# Fix issue parsing mpif90 output
Patch2: netcdf-postdeps.patch
# Upstream patch to fix mpi issue
Patch3: netcdf-mpi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: https://github.com/Unidata/netcdf-c/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-gfortran, gawk
BuildRequires: hdf5-devel >= 1.8.4
BuildRequires: libtool
BuildRequires: chrpath
BuildRequires: doxygen
BuildRequires: hdf-static
BuildRequires: hdf5-devel
BuildRequires: gawk
BuildRequires: libcurl-devel
BuildRequires: m4
BuildRequires: zlib-devel
%ifnarch s390 s390x %{arm}
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
#mpiexec segfaults if ssh is not present
#https://trac.mcs.anl.gov/projects/mpich2/ticket/1576
BuildRequires: openssh-clients
Requires: hdf5%{?_isa} = %{_hdf5_version}
%global with_mpich2 1
%global with_mpich 1
%global with_openmpi 1
%if 0%{?rhel}
%if 0%{?rhel} && 0%{?rhel} <= 6
%ifarch ppc64
# No mpich2 on ppc64 in EL
%global with_mpich2 0
# No mpich on ppc64 in EL6
%global with_mpich 0
%endif
%endif
%ifarch s390 s390x
# No openmpi on s390(x)
%global with_openmpi 0
%endif
%if %{with_mpich2}
%global mpi_list mpich2
%if %{with_mpich}
%global mpi_list mpich
%endif
%if %{with_openmpi}
%global mpi_list %{?mpi_list} openmpi
@ -83,68 +74,65 @@ NetCDF data is:
%package devel
Summary: Development files for netcdf
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gcc-gfortran%{_isa}
Requires: pkgconfig
Requires: hdf5-devel
Requires: libcurl-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig%{?_isa}
Requires: hdf5-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
%description devel
This package contains the netCDF header files, shared devel libs, and
This package contains the netCDF C header files, shared devel libs, and
man pages.
%package static
Summary: Static libs for netcdf
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description static
This package contains the netCDF static libs.
This package contains the netCDF C static libs.
%if %{with_mpich2}
%package mpich2
Summary: NetCDF mpich2 libraries
Group: Development/Libraries
Requires: mpich2
BuildRequires: mpich2-devel
BuildRequires: hdf5-mpich2-devel >= 1.8.4
%if %{with_mpich}
%package mpich
Summary: NetCDF mpich libraries
Requires: hdf5-mpich%{?_isa} = %{_hdf5_version}
BuildRequires: mpich-devel
BuildRequires: hdf5-mpich-devel >= 1.8.4
Provides: %{name}-mpich2 = %{version}-%{release}
Obsoletes: %{name}-mpich2 < 4.3.0-4
%description mpich2
NetCDF parallel mpich2 libraries
%description mpich
NetCDF parallel mpich libraries
%package mpich2-devel
Summary: NetCDF mpich2 development files
Group: Development/Libraries
Requires: %{name}-mpich2%{?_isa} = %{version}-%{release}
Requires: mpich2
Requires: gcc-gfortran%{_isa}
Requires: pkgconfig
Requires: hdf5-mpich2-devel
Requires: libcurl-devel
%package mpich-devel
Summary: NetCDF mpich development files
Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
Requires: pkgconfig%{?_isa}
Requires: hdf5-mpich-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
Provides: %{name}-mpich2-devel = %{version}-%{release}
Obsoletes: %{name}-mpich2-devel < 4.3.0-4
%description mpich2-devel
NetCDF parallel mpich2 development files
%description mpich-devel
NetCDF parallel mpich development files
%package mpich2-static
Summary: NetCDF mpich2 static libraries
Group: Development/Libraries
Requires: %{name}-mpich2-devel%{?_isa} = %{version}-%{release}
%package mpich-static
Summary: NetCDF mpich static libraries
Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-mpich2-static = %{version}-%{release}
Obsoletes: %{name}-mpich2-static < 4.3.0-4
%description mpich2-static
NetCDF parallel mpich2 static libraries
%description mpich-static
NetCDF parallel mpich static libraries
%endif
%if %{with_openmpi}
%package openmpi
Summary: NetCDF openmpi libraries
Group: Development/Libraries
Requires: openmpi
Requires: hdf5-openmpi%{?_isa} = %{_hdf5_version}
BuildRequires: openmpi-devel
BuildRequires: hdf5-openmpi-devel >= 1.8.4
@ -154,13 +142,11 @@ NetCDF parallel openmpi libraries
%package openmpi-devel
Summary: NetCDF openmpi development files
Group: Development/Libraries
Requires: %{name}-openmpi%{_isa} = %{version}-%{release}
Requires: openmpi-devel
Requires: gcc-gfortran%{_isa}
Requires: pkgconfig
Requires: hdf5-openmpi-devel
Requires: libcurl-devel
Requires: openmpi-devel%{?_isa}
Requires: pkgconfig%{?_isa}
Requires: hdf5-openmpi-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
%description openmpi-devel
NetCDF parallel openmpi development files
@ -168,7 +154,6 @@ NetCDF parallel openmpi development files
%package openmpi-static
Summary: NetCDF openmpi static libraries
Group: Development/Libraries
Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
%description openmpi-static
@ -177,51 +162,42 @@ NetCDF parallel openmpi static libraries
%prep
%setup -q
%patch0 -p1 -b .pkgconfig
%patch1 -p1 -b .fflags
%patch2 -p1 -b .postdeps
%patch3 -p1 -b .mpi
%autosetup -p1 -n %{name}-c-%{version}
%build
#Do out of tree builds
%global _configure ../configure
#Common configure options
export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf"
%global configure_opts \\\
--enable-shared \\\
--enable-netcdf-4 \\\
--enable-dap \\\
--enable-ncgen4 \\\
--enable-extra-example-tests \\\
CPPFLAGS=-I%{_includedir}/hdf \\\
LIBS="-ltirpc" \\\
--enable-hdf4 \\\
--disable-dap-remote-tests \\\
%{nil}
# Serial build
export F77="gfortran"
export FC="gfortran"
export FFLAGS="${RPM_OPT_FLAGS}"
export FCFLAGS="$FFLAGS"
mkdir build
pushd build
ln -s ../configure .
%configure %{configure_opts}
make %{?_smp_mflags}
%make_build
popd
# MPI builds
export CC=mpicc
export CXX=mpicxx
export F77=mpif90
export FC=mpif90
# netcdf gets confused about Fortran type
export CPPFLAGS=-DpgiFortran
for mpi in %{mpi_list}
do
mkdir $mpi
pushd $mpi
module load $mpi-%{_arch}
module load mpi/$mpi-%{_arch}
ln -s ../configure .
# parallel tests hang on s390(x)
%configure %{configure_opts} \
--libdir=%{_libdir}/$mpi/lib \
--bindir=%{_libdir}/$mpi/bin \
@ -230,7 +206,7 @@ do
--datarootdir=%{_libdir}/$mpi/share \
--mandir=%{_libdir}/$mpi/share/man \
--enable-parallel-tests
make %{?_smp_mflags}
%make_build
module purge
popd
done
@ -238,65 +214,55 @@ done
%install
make -C build install DESTDIR=${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_fmoddir}
/bin/mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod \
${RPM_BUILD_ROOT}%{_fmoddir}
/bin/rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
chrpath --delete ${RPM_BUILD_ROOT}/%{_bindir}/nc{copy,dump,gen,gen3}
/bin/rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
for mpi in %{mpi_list}
do
module load $mpi-%{_arch}
module load mpi/$mpi-%{_arch}
make -C $mpi install DESTDIR=${RPM_BUILD_ROOT}
rm $RPM_BUILD_ROOT/%{_libdir}/$mpi/lib/*.la
chrpath --delete ${RPM_BUILD_ROOT}/%{_libdir}/$mpi/bin/nc{copy,dump,gen,gen3}
module purge
done
%check
make -C build check
for mpi in mpich2 openmpi
# Set to 1 to fail if tests fail
fail=1
make -C build check || ( cat build/*/test-suite.log && exit $fail )
# Allow openmpi to run with more processes than cores
export OMPI_MCA_rmaps_base_oversubscribe=1
for mpi in %{mpi_list}
do
module load $mpi-%{_arch}
make -C $mpi check
module load mpi/$mpi-%{_arch}
make -C $mpi check || ( cat $mpi/*/test-suite.log && exit $fail )
module purge
done
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/netcdf.info \
%{_infodir}/dir 2>/dev/null || :
%postun
/sbin/ldconfig
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/netcdf.info \
%{_infodir}/dir 2>/dev/null || :
fi
%ldconfig_scriptlets
%files
%doc COPYRIGHT README
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_bindir}/nccopy
%{_bindir}/ncdump
%{_bindir}/ncgen
%{_bindir}/ncgen3
%{_libdir}/*.so.*
%{_libdir}/*.so.15*
%{_mandir}/man1/*
%{_infodir}/*
%files devel
%doc examples
%{_bindir}/nc-config
%{_includedir}/ncvalues.h
%{_includedir}/netcdf.h
%{_includedir}/netcdf.hh
%{_includedir}/netcdf.inc
%{_includedir}/netcdfcpp.h
%{_fmoddir}/*.mod
%{_includedir}/netcdf_aux.h
%{_includedir}/netcdf_filter.h
%{_includedir}/netcdf_meta.h
%{_includedir}/netcdf_mem.h
%{_libdir}/libnetcdf.settings
%{_libdir}/*.so
%{_libdir}/pkgconfig/netcdf.pc
%{_mandir}/man3/*
@ -304,40 +270,54 @@ fi
%files static
%{_libdir}/*.a
%if %{with_mpich2}
%files mpich2
%doc COPYRIGHT README
%{_libdir}/mpich2/bin/nccopy
%{_libdir}/mpich2/bin/ncdump
%{_libdir}/mpich2/bin/ncgen
%{_libdir}/mpich2/bin/ncgen3
%{_libdir}/mpich2/lib/*.so.*
%doc %{_libdir}/mpich2/share/man/man1/*.1*
%if %{with_mpich}
%files mpich
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_libdir}/mpich/bin/nccopy
%{_libdir}/mpich/bin/ncdump
%{_libdir}/mpich/bin/ncgen
%{_libdir}/mpich/bin/ncgen3
%{_libdir}/mpich/lib/*.so.15*
%doc %{_libdir}/mpich/share/man/man1/*.1*
%files mpich2-devel
%{_libdir}/mpich2/bin/nc-config
%{_includedir}/mpich2-%{_arch}
%{_libdir}/mpich2/lib/*.so
%{_libdir}/mpich2/lib/pkgconfig/%{name}.pc
%doc %{_libdir}/mpich2/share/man/man3/*.3*
%files mpich-devel
%{_libdir}/mpich/bin/nc-config
%{_includedir}/mpich-%{_arch}/netcdf.h
%{_includedir}/mpich-%{_arch}/netcdf_aux.h
%{_includedir}/mpich-%{_arch}/netcdf_filter.h
%{_includedir}/mpich-%{_arch}/netcdf_meta.h
%{_includedir}/mpich-%{_arch}/netcdf_mem.h
%{_includedir}/mpich-%{_arch}/netcdf_par.h
%{_libdir}/mpich/lib/libnetcdf.settings
%{_libdir}/mpich/lib/*.so
%{_libdir}/mpich/lib/pkgconfig/%{name}.pc
%doc %{_libdir}/mpich/share/man/man3/*.3*
%files mpich2-static
%{_libdir}/mpich2/lib/*.a
%files mpich-static
%{_libdir}/mpich/lib/*.a
%endif
%if %{with_openmpi}
%files openmpi
%doc COPYRIGHT README
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_libdir}/openmpi/bin/nccopy
%{_libdir}/openmpi/bin/ncdump
%{_libdir}/openmpi/bin/ncgen
%{_libdir}/openmpi/bin/ncgen3
%{_libdir}/openmpi/lib/*.so.*
%{_libdir}/openmpi/lib/*.so.15*
%doc %{_libdir}/openmpi/share/man/man1/*.1*
%files openmpi-devel
%{_libdir}/openmpi/bin/nc-config
%{_includedir}/openmpi-%{_arch}
%{_includedir}/openmpi-%{_arch}/netcdf.h
%{_includedir}/openmpi-%{_arch}/netcdf_aux.h
%{_includedir}/openmpi-%{_arch}/netcdf_filter.h
%{_includedir}/openmpi-%{_arch}/netcdf_meta.h
%{_includedir}/openmpi-%{_arch}/netcdf_mem.h
%{_includedir}/openmpi-%{_arch}/netcdf_par.h
%{_libdir}/openmpi/lib/libnetcdf.settings
%{_libdir}/openmpi/lib/*.so
%{_libdir}/openmpi/lib/pkgconfig/%{name}.pc
%doc %{_libdir}/openmpi/share/man/man3/*.3*
@ -348,9 +328,220 @@ fi
%changelog
* Wed Feb 1 2012 Orion Poplawski <orion@cora.nwra.com> - 4.1.3-3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 17 2019 Orion Poplawski <orion@nwra.com> - 4.7.0-1
- Update to 4.7.0
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 4.6.3-1
- Update to 4.6.3
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 4.4.1.1-12
- Rebuild for openmpi 3.1.3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Apr 09 2018 Orion Poplawski <orion@nwra.com> - 4.4.1.1-9
- Run libtoolize to not strip link flags (bug #1548732)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-7
- Rebuild for gcc 8.0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 08 2016 Dan Horák <dan[at]danny.cz> - 4.4.1.1-3
- Enable openmpi for s390(x) on F>=26
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-2
- Rebuild for hdf5 1.8.18
* Tue Nov 29 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-1
- Update to 4.4.1.1
- Add patch to fix mpi tests compilation
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-4
- Rebuild for openmpi 2.0
* Fri Aug 12 2016 Michal Toman <mtoman@fedoraproject.org> - 4.4.1-3
- No valgrind on MIPS
- Enable valgrind on arm
* Thu Jul 7 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-2
- Add upstream patch to fix hashmap issue
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-1
- Update to 4.4.1
* Tue Jun 28 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-4
- Drop mpiexec hack
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 22 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-2
- Rebuild ncx.c to fix arm build
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-1
- Update to 4.4.0
- Add patch to fix incorrect char definitions
* Sat Nov 07 2015 Rex Dieter <rdieter@fedoraproject.org> 4.3.3.1-7
- rebuild (hdf)
* Wed Sep 16 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-6
- Rebuild for openmpi 1.10.0
* Mon Aug 10 2015 Sandro Mani <manisandro@gmail.com> - 4.3.3.1-5
- Rebuild for RPM MPI Requires Provides Change
* Wed Jul 29 2015 Karsten Hopp <karsten@redhat.com> 4.3.3.1-4
- mpich is available on ppc64 now
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-2
- Rebuild for hdf5 1.8.15
* Wed Mar 11 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-1
- Update to 4.3.3.1
* Fri Feb 13 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3-1
- Update to 4.3.3
* Tue Jan 27 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-7
- Fix up provides/requires for mpi packages, use %%{?_isa}.
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-6
- Rebuild for hdf5 1.8.14
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jul 24 2014 Jakub Čajka <jcajka@redhat.com> - 4.3.2-4
- Enabled tests on s390
- Disabled parallel tests on s390(x) as they hang
* Mon Jun 9 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-3
- Rebuild for hdf5 1.8.13, add patch for support
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 23 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-1
- Update to 4.3.2
- Drop utf8 patch fixed upstream
- Re-enable MPI tests
* Fri Mar 7 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.1.1-3
- Strip UTF-8 character from netcdf.h for now, causes problems with
netcdf4-python build
* Sat Feb 22 2014 Deji Akingunola <dakingun@gmail.com> - 4.3.1.1-2
- Rebuild for mpich-3.1
* Thu Feb 6 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.1.1-1
- Update to 4.3.1.1
- Add BR m4
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-8
- Rebuild for hdf5 1.8.12
* Thu Dec 5 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-7
- Use BR hdf-static (bug #1038280)
* Mon Nov 4 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-6
- Enable hdf4 support
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 4.3.0-4
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-3
- Rebuild for openmpi 1.7.2
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-2
- Rebuild for hdf5 1.8.11
* Mon May 13 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-1
- Update to 4.3.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Dec 03 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-3
- Rebuild for hdf5 1.8.10
- Disable make check of the mpi code, it is hanging for some reason
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-2
- Rebuild for openmpi and mpich2 soname bumps
- Use new mpi module location
* Fri Aug 3 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-1
- Update to 4.2.1.1
* Sun Jul 22 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-1
- Update to 4.2.1 final
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jul 11 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-0.1.rc1
- Update to 4.2.1 rc1
- Rebase pkgconfig patch
- Drop fflags patch, upstream now calls nf-config
* Wed Jun 13 2012 Dan Horák <dan[at]danny.cz> - 4.2-5
- temporarily disable checks on s390 (memory corruption and stuck build)
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-4
- Rebuild with hdf5 1.8.9
* Wed Mar 21 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-3
- Update to real 4.2 final
* Tue Mar 20 2012 Dan Horák <dan[at]danny.cz> - 4.2-2
- use %%{mpi_list} also in %%check
* Fri Mar 16 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-1
- Update to 4.2 final
* Wed Mar 7 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.4.rc2
- Ship examples with -devel
* Wed Mar 7 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.3.rc2
- Enable MPI builds
* Tue Mar 6 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.2.rc2
- Update to 4.2-rc2
- Fortran and C++ APIs are now in separate packages
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-5
- Rebuilt for c++ ABI breakage
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 18 2011 Orion Poplawski <orion@cora.nwra.com> - 4.1.3-3
- Rebuild for hdf5 1.8.8, add explicit requires
* Thu Aug 11 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1.3-2
- Add ARM to valgrind excludes
@ -494,10 +685,10 @@ fi
- building the library twice (once each for g77 and gfortran)
fixes an annoying problem for people who need both compilers
* Fri Sep 29 2005 Ed Hill <ed@eh3.com> - 3.6.0-7.p1
* Fri Sep 30 2005 Ed Hill <ed@eh3.com> - 3.6.0-7.p1
- add FFLAGS="-fPIC"
* Fri Jun 13 2005 Ed Hill <ed@eh3.com> - 3.6.0-6.p1
* Fri Jun 10 2005 Ed Hill <ed@eh3.com> - 3.6.0-6.p1
- rebuild
* Fri Jun 3 2005 Ed Hill <ed@eh3.com> - 3.6.0-5.p1
@ -506,7 +697,7 @@ fi
* Mon May 9 2005 Ed Hill <ed@eh3.com> - 3.6.0-4.p1
- remove hard-coded dist/fedora macros
* Wed May 5 2005 Ed Hill <ed@eh3.com> - 3.6.0-3.p1
* Wed May 4 2005 Ed Hill <ed@eh3.com> - 3.6.0-3.p1
- make netcdf-devel require netcdf (bug #156748)
- cleanup environment and paths

View File

@ -1 +1 @@
46a40e1405df19d8cc6ddac16704b05f netcdf-4.1.3.tar.gz
SHA512 (netcdf-4.7.0.tar.gz) = 6602799780105c60ac8c873ed4055c1512dc8bebf98de01e1cce572d113ffb3bf3ca522475b93255c415340f672c55dc6785e0bdbcc39055314683da1d02141a