Dominique Leuenberger 2018-02-21 13:11:14 +00:00 committed by Git OBS Bridge
commit f4a3564880
3 changed files with 57 additions and 188 deletions

View File

@ -3,6 +3,7 @@
<package>openmpi</package>
<package>mvapich2</package>
<package>gnu-openmpi-hpc</package>
<package>gnu-openmpi2-hpc</package>
<package>gnu-openmpi3-hpc</package>
<package>gnu-mvapich2-hpc</package>
<package>gnu-mpich-hpc</package>

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Feb 10 23:04:47 UTC 2018 - jengelh@inai.de
- Trim description for size and drop most of the marketing blurb.
Fix RPM groups.
-------------------------------------------------------------------
Sat Feb 10 17:40:10 UTC 2018 - eich@suse.com
- Make module files package arch dependent: it
contains arch-dependent paths (boo#1080442).
-------------------------------------------------------------------
Sat Feb 10 07:31:46 UTC 2018 - eich@suse.com
- Prepend PKG_CONFIG_PATH in modules file (boo#1080426).
-------------------------------------------------------------------
Fri Feb 9 20:10:17 UTC 2018 - eich@suse.com
- Add support for openmpi2 for HPC (FATE#325089).
-------------------------------------------------------------------
Fri Feb 9 13:48:43 UTC 2018 - cgoll@suse.com
- Fix summary in module files (bnc#1080259)
-------------------------------------------------------------------
Thu Feb 8 11:37:06 UTC 2018 - eich@suse.com

217
hdf5.spec
View File

@ -79,6 +79,15 @@ ExclusiveArch: do_not_build
%global mpi_flavor mvapich2
%endif
%if "%{flavor}" == "gnu-openmpi2-hpc"
%{?DisOMPI2}
%bcond_without hpc
%define compiler_family gnu
%undefine c_f_ver
%global mpi_flavor openmpi
%define mpi_vers 2
%endif
%if "%{flavor}" == "gnu-openmpi3-hpc"
%{?DisOMPI3}
%bcond_without hpc
@ -241,21 +250,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version utility functions for working
with HDF5 files.
@ -263,7 +258,7 @@ with HDF5 files.
%package -n %{libname -s %{sonum}}
Summary: Shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname} = %{version}
Obsoletes: %{libname} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -271,21 +266,7 @@ Obsoletes: %{libname} < %{version}
%description -n %{libname -s %{sonum}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version of the HDF5 runtime libraries.
@ -294,7 +275,7 @@ This package contains the %{flavor} version of the HDF5 runtime libraries.
%package -n %{libname -l _hl -s %{sonum_HL}}
Summary: High-level shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname -l _hl} = %{version}
Obsoletes: %{libname -l _hl} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -302,21 +283,7 @@ Obsoletes: %{libname -l _hl} < %{version}
%description -n %{libname -l _hl -s %{sonum_HL}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version of the high-level HDF5
runtime libraries.
@ -326,7 +293,7 @@ runtime libraries.
%package -n %{libname -l _cpp -s %{sonum_CXX}}
Summary: Shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname -l _cpp} = %{version}
Obsoletes: %{libname -l _cpp} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -334,21 +301,7 @@ Obsoletes: %{libname -l _cpp} < %{version}
%description -n %{libname -l _cpp -s %{sonum_CXX}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the HDF5 runtime libraries.
@ -357,7 +310,7 @@ This package contains the HDF5 runtime libraries.
%package -n %{libname -l _hl_cpp -s %{sonum_HL_CXX}}
Summary: High-level shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname -l _hl_cpp} = %{version}
Obsoletes: %{libname -l _hl_cpp} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -365,21 +318,7 @@ Obsoletes: %{libname -l _hl_cpp} < %{version}
%description -n %{libname -l _hl_cpp -s %{sonum_HL_CXX}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the the high-level HDF5 runtime libraries.
@ -388,7 +327,7 @@ This package contains the the high-level HDF5 runtime libraries.
%package -n %{libname -l _fortran -s %{sonum_F}}
Summary: Shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname -l _fortran} = %{version}
Obsoletes: %{libname -l _fortran} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -396,21 +335,7 @@ Obsoletes: %{libname -l _fortran} < %{version}
%description -n %{libname -l _fortran -s %{sonum_F}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version of the HDF5 runtime libraries.
@ -419,7 +344,7 @@ This package contains the %{flavor} version of the HDF5 runtime libraries.
%package -n %{libname -l hl_fortran -s %{sonum_HL_F}}
Summary: High-level shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library
Group: Productivity/Scientific/Other
Group: System/Libraries
Provides: %{libname -l hl_fortran} = %{version}
Obsoletes: %{libname -l hl_fortran} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
@ -427,21 +352,7 @@ Obsoletes: %{libname -l hl_fortran} < %{version}
%description -n %{libname -l hl_fortran -s %{sonum_HL_F}}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version of the high-level HDF5
runtime libraries.
@ -454,21 +365,7 @@ Group: Development/Libraries/Other
%description -n %{pname}-devel-data
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains generic files needed to create projects that use
any version of HDF5.
@ -494,21 +391,7 @@ Requires: %{libname -l hl_fortran -s %{sonum_HL_F}} = %{version}
%description devel
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains all files needed to create projects that use
the %{flavor} version of HDF5.
@ -522,21 +405,7 @@ Requires: %{name}-devel = %{version}
%description devel-static
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package provides the static libraries for the %{flavor} version of HDF5.
@ -552,21 +421,7 @@ Requires: %{libname -s %{sonum}} = %{version}
%description -n %{pname}-examples
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package provides examples of HDF5 library use.
@ -575,25 +430,10 @@ This package provides examples of HDF5 library use.
Summary: Module files for %{name}
Group: Development/Libraries/Parallel
Provides: %{name}-module = %version
BuildArch: noarch
%description module
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
managing data. It supports an unlimited variety of datatypes.
This package contains the environment module needed for the HDF5
library packages.
@ -767,7 +607,7 @@ puts stderr "\nVersion %{version}\n"
module-whatis "Name: %{pname} built with %{compiler_family} toolchain"
module-whatis "Version: %{version}"
module-whatis "Category: runtime library"
module-whatis "Description: %{summary}"
module-whatis "Description: %{SUMMARY:0}"
module-whatis "%{url}"
set version %{version}
@ -785,6 +625,7 @@ prepend-path CPATH %{hpc_includedir}
prepend-path C_INCLUDE_PATH %{hpc_includedir}
prepend-path CPLUS_INCLUDE_PATH %{hpc_includedir}
prepend-path INCLUDE %{hpc_includedir}
%hpc_modulefile_add_pkgconfig_path
setenv %{hpc_upcase %pname}_INC %{hpc_includedir}
}