Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
dune-istl
dune-istl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dune-istl.spec of Package dune-istl
# # spec file for package dune-istl # # Copyright (c) 2024 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dune-istl Version: 2.10.0 %define shortversion 2.10 Release: 0 Summary: An iterative solver template library for DUNE License: GPL-2.0 Group: Development/Libraries/C and C++ Url: http://www.dune-project.org/ Source0: http://www.dune-project.org/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: dune-common-devel = %{version} BuildRequires: dune-common-openmpi-devel = %{version} BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: gmp-devel BuildRequires: metis-devel BuildRequires: pkgconfig BuildRequires: superlu-devel BuildRequires: tbb-devel BuildRequires: Vc-devel BuildRequires: Vc-devel-static BuildRequires: suitesparse-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dune-common = %{version} %description dune-istl is the iterative solver template library which provides generic sparse matrix/vector classes and a variety of solvers based on these classes. A special feature is the use of templates to exploit the recursive block structure of finite element matrices at compile time. Available solvers include Krylov methods, (block-) incomplete decompositions and aggregation-based algebraic multigrid. %package devel Summary: Development and header files for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: dune-common-devel = %{version} Requires: gmp-devel Requires: metis-devel Requires: superlu-devel %description devel This package contains the development and header files for %{name} %package openmpi Summary: An iterative solver template library for DUNE Group: Development/Libraries/C and C++ %description openmpi dune-istl is the iterative solver template library which provides generic sparse matrix/vector classes and a variety of solvers based on these classes. A special feature is the use of templates to exploit the recursive block structure of finite element matrices at compile time. Available solvers include Krylov methods, (block-) incomplete decompositions and aggregation-based algebraic multigrid. %package openmpi-devel Summary: Development and header files for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: %{name}-openmpi = %{version} Requires: dune-common-openmpi-devel = %{version} Requires: gmp-devel Requires: metis-devel Requires: openmpi4-devel Requires: superlu-devel %description openmpi-devel This package contains the development and header files for %{name} %prep %setup -q mkdir serial openmpi %build cd serial cmake \ -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ .. make %{?_smp_mflags} cd .. cd openmpi cmake \ -DBUILD_SHARED_LIBS=ON \ -DMPI_C_COMPILER=%{_libdir}/mpi/gcc/openmpi4/bin/mpicc \ -DCMAKE_INSTALL_PREFIX=%{_libdir}/mpi/gcc/openmpi4 \ .. make %{?_smp_mflags} cd .. %install for build_dir in serial openmpi; do cd $build_dir make DESTDIR=%{buildroot} install cd .. done find %{buildroot} -name '*.la' -exec rm {} \; %files %defattr(-,root,root,-) %doc COPYING README.md %{_prefix}/lib/dunecontrol/%{name} %files devel %defattr(-,root,root,-) %{_includedir}/dune-istl-config.hh %{_includedir}/dune/* %dir %{_datadir}/dune %{_datadir}/dune/cmake/ %{_datadir}/%{name}/ %{_libdir}/cmake/ %{_libdir}/pkgconfig/*.pc %files openmpi %defattr(-,root,root,-) %doc COPYING README.md %dir %{_libdir}/mpi/gcc/openmpi4/lib/dunecontrol/%{name} %{_libdir}/mpi/gcc/openmpi4/lib/dunecontrol/%{name}/dune.module %files openmpi-devel %defattr(-,root,root,-) %{_libdir}/mpi/gcc/openmpi4/include/* %dir %{_libdir}/mpi/gcc/openmpi4/share/dune %{_libdir}/mpi/gcc/openmpi4/share/dune/cmake/ %{_libdir}/mpi/gcc/openmpi4/share/%{name}/ %dir %{_libdir}/mpi/gcc/openmpi4/%{_lib} %{_libdir}/mpi/gcc/openmpi4/%{_lib}/cmake %dir %{_libdir}/mpi/gcc/openmpi4/%{_lib}/pkgconfig %{_libdir}/mpi/gcc/openmpi4/%{_lib}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor