|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Name: netcdf
|
|
|
|
|
Version: 4.7.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 4.7.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Libraries for the Unidata network Common Data Form
|
|
|
|
|
|
|
|
|
|
License: NetCDF
|
|
|
|
|
URL: http://www.unidata.ucar.edu/software/netcdf/
|
|
|
|
|
Source0: https://github.com/Unidata/netcdf-c/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/Unidata/netcdf-c/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
@ -229,19 +229,23 @@ done
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Set to 1 to fail if tests fail
|
|
|
|
|
%ifarch s390x
|
|
|
|
|
# tst_filter fails on s390x
|
|
|
|
|
# https://github.com/Unidata/netcdf-c/issues/1338
|
|
|
|
|
fail=0
|
|
|
|
|
%else
|
|
|
|
|
fail=1
|
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
|
# mpich test hanging on s390x
|
|
|
|
|
%ifnarch s390x
|
|
|
|
|
for mpi in %{mpi_list}
|
|
|
|
|
do
|
|
|
|
|
module load mpi/$mpi-%{_arch}
|
|
|
|
|
make -C $mpi check || ( cat $mpi/*/test-suite.log && exit $fail )
|
|
|
|
|
module purge
|
|
|
|
|
done
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
@ -262,6 +266,7 @@ done
|
|
|
|
|
%{_bindir}/nc-config
|
|
|
|
|
%{_includedir}/netcdf.h
|
|
|
|
|
%{_includedir}/netcdf_aux.h
|
|
|
|
|
%{_includedir}/netcdf_dispatch.h
|
|
|
|
|
%{_includedir}/netcdf_filter.h
|
|
|
|
|
%{_includedir}/netcdf_meta.h
|
|
|
|
|
%{_includedir}/netcdf_mem.h
|
|
|
|
@ -288,6 +293,7 @@ done
|
|
|
|
|
%{_libdir}/mpich/bin/nc-config
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf.h
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf_aux.h
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf_dispatch.h
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf_filter.h
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf_meta.h
|
|
|
|
|
%{_includedir}/mpich-%{_arch}/netcdf_mem.h
|
|
|
|
@ -316,6 +322,7 @@ done
|
|
|
|
|
%{_libdir}/openmpi/bin/nc-config
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf.h
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf_aux.h
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf_dispatch.h
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf_filter.h
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf_meta.h
|
|
|
|
|
%{_includedir}/openmpi-%{_arch}/netcdf_mem.h
|
|
|
|
@ -331,6 +338,9 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 26 2020 Orion Poplawski <orion@nwra.com> - 4.7.3-1
|
|
|
|
|
- Update to 4.7.3
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2020 Orion Poplawski <orion@cora.nwra.com> - 4.7.0-4
|
|
|
|
|
- Rebuild for hdf5 1.10.6
|
|
|
|
|
|
|
|
|
|