27 Commits

Author SHA256 Message Date
f0426c3c0d Accepting request 1124198 from home:NMorey:branches:science
- Drop support for removed openmpi[12]
- Move to openmpi4
- Prepare support for openmpi5

OBS-URL: https://build.opensuse.org/request/show/1124198
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=27
2023-11-16 16:49:35 +00:00
8ded918661 Accepting request 1102904 from home:StefanBruens:branches:science
- Fix build with GCC >= 13, add
  0001-Use-correct-type-for-index_to_position-value-tempora.patch

OBS-URL: https://build.opensuse.org/request/show/1102904
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=26
2023-08-08 13:26:42 +00:00
795963c924 Accepting request 1003402 from home:StefanBruens:branches:science
- Fix build with HDF5 1.12, use HDF5 1.10 API

OBS-URL: https://build.opensuse.org/request/show/1003402
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=25
2022-09-17 19:32:46 +00:00
24f3473883 OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=24 2022-01-14 17:45:13 +00:00
e986e48bab OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=23 2022-01-14 17:44:24 +00:00
e2e78ccd00 OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=22 2020-10-15 17:24:50 +00:00
3226a37385 OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=21 2020-10-15 16:45:18 +00:00
b310239e75 Accepting request 841967 from home:StefanBruens:branches:science
- Update to version 2019.1.0.post0, no changelog provided
- Fix build with Boost 1.74, add
  * 0001-Add-missing-algorithm-include-for-std-min_element-co.patch
  * 0001-Use-__BYTE_ORDER__-instead-of-removed-Boost-endian.h.patch

OBS-URL: https://build.opensuse.org/request/show/841967
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=20
2020-10-15 16:06:22 +00:00
267dccc51a Accepting request 772422 from home:StefanBruens:branches:science
- Update to version 2019.1.0
  * Support for shape calculus operations, see file:
    python/test/unit/fem/test_coordinatederivative.py
  * Support for PETSc and SLEPc 3.10.
  * Documented Python elastodynamics demo.
  * Various bug fixes, e.g. memory leaks, build issues.
  * Enhancements and additions to pybind11-based Python interface.
- Update to version 2018.1.0
  * Remove python2 support.
  * Remove SWIG (now use pybind11 for wrapping C++)
  * Rename mpi_comm_world() to MPI.comm_world.
  * Removed from fenics import *, use from dolfin import *
  * Rename ERROR, CRITICAL etc. to LogLevel.ERROR, LogLevel.CRITICAL.
- Update to version 2017.2.0
  * Remove UnitQuadMesh and UnitHexMesh. Now use UnitSquareMesh and
    UnitCubeMesh with cell type qualifiers.
  * Remove MeshEditor::open without cell type. Now you must
    explicitly specify CellType when opening a Mesh with MeshEditor.
  * Rename Mesh::size_global to Mesh::num_entities_global.
  * Remove Mesh::size. Use Mesh::num_entities instead.
  * Improved mesh topology computation performance.
  * Remove excessive calls to MPI init. It may now be necessary in
    some cases to explicitly intialise MPI.
  * Improvements to sparsity pattern computation.
  * Addition of some interfaces using Eigen::Map/ref in addition to
    dolfin::Array(View). ``dolfin::Array(View)``interfaces will be
    removed in favour of Eigen interfaces in the next release.
  * Update pkg-config (dolfin.pc) file.
  * CMake modernisations, with more use of exported targets.
  * Add experimental pybind11 generated Python interface. Will
    replace the SWIG generated interface in the 2018.1 release.
  * Remove redundant SLEPc interfaces. Fixes issue #908.
  * Bump required Boost version to 1.55.
  * Remove PETScUserPreconditioner (was unused and untested).
  * Remove VTK plotting backend. Plotting is no longer available
    from the C++ interface. Basic plotting is available using
    matplotlib and x3dom backends via the plot() free function in
    the Python interface. Users are advised to move to e.g.
    Paraview for more demanding plotting needs.
  * Updates for ufc::finite_element::evaluate_vertex_values
    interface change.
  * Add new methods XDMFFile::write_checkpoint,
    XDMFFile::read_checkpoint to write and read (checkpoint)
    functions.
  * Implement marking vertex and edge mesh functions by
    SubDomain::mark() using on_boundary flag.
  * Fix quadratic scaling in PETSc matrix allocation with global
    dofs; assembly with Real space now exhibits linear scaling in
    number of dofs.
  * Add assembly for quadrilateral and hexahedral meshes with CG
    and DG elements.
  * Updates for some demos and tests to show usage of quadrilateral
    and hexahedral meshes.
  * Deprecate CellSize (equivalent to 2*Circumradius) in favour of
    new CellDiameter; add MinCellEdgeLength and MaxCellEdgeLength
  * Deprecate subclassing of Expression in Python; new Python class
    UserExpression introduced for user overloads
  * Deprecate VertexFunction, EdgeFunction, FaceFunction,
    FacetFunction, CellFunction; use MeshFunction instead
- Update to version 2017.1.0
  * Refactor PETScLUSolver to use functionality from
    PETScKrylovSolver. Simplify interface for solving transposed
    systems. Fixes #815.
  * Switch default Python version to Python 3. Use
    -DDOLFIN_USE_PYTHON3=off to build with Python 2.
  * Remove redundant solve_transpose functions (use solve with bool
    argument instead)
  * Remove OpenMpAsssmebler
  * Remove MPI communicator as argument in GenericVector::init
    functions (communicator should be passed via constructor)
  * Remove Function::operator[+-*/] to prevent memory corruption
    problems (does not affect Python interface)
  * Fix XDMF3 output of time series. The default output method is
    now to assume that all functions have different meshes, and
    that the meshes change from time step to time step. Two
    parameters control the output, one limits each function to only
    one mesh for the whole time series, turn off the default on
    parameter rewrite_function_mesh to enable this. You can also
    make all functions share the same mesh and time series, which
    currently is better supported in Paraview than the alternative,
    turn on functions_share_mesh for this. These two parameters can
    also be combined in case all functions share the same mesh at
    all time steps. This creates minimal size files.
  * Add PETScSNESSolver and PETScTAOSolver constructor accepting
    both communicator and type
  * Expression("f[0]*f[1]", f=obj) notation now supported for
    non-scalar GenericFunction obj
  * Expression("f", f=obj) notation now supports obj of
    MeshFunction types (only cell based)
  * Fix MPI deadlock in case of instant compilation failure
  * Allow using Timer as context manager and add timed decorator
    to measure timings of functions and methods
  * Add NonlinearProblem::J_pc and support preconditioning matrix
    in NewtonSolver, PETScSNESSolver and PETScTAOSolver
- Remove obsolete patches
  * dolfin-1.1.0-suitesparse.patch
  * python3-fixes.patch
  * cmake-check-boostversion-163.patch
- Add 0001-Fix-linker-error-due-to-missing-lpthread.patch
- Removed unused build dependencies: VTK, Qt5, X11, Java

OBS-URL: https://build.opensuse.org/request/show/772422
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=19
2020-02-09 04:11:01 +00:00
78e421c28e Accepting request 690466 from home:StefanBruens:branches:science
- Convert to _multibuild, sort BuildRequires
- Correctly specify PETSC_DIR/SLEPC_DIR using environment variables
- Use split Boost BuildRequires
- Cleanup BuildRequires, remove obsoleted packages
- Changed cmake-check-boostversion-163.patch to allow newer Boost versions

OBS-URL: https://build.opensuse.org/request/show/690466
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=18
2019-04-01 22:23:56 +00:00
Kshitij Kulshreshtha
e32f815056 Accepting request 492805 from home:polyconvex:branches:science
- build using vtk-compat_gl-devel because not all systems have brand
  new graphics supporting OpenGL version 3.2 
- more fixes for running scripts with python3
- require cmake >= 3.5 as reported by the CMakeLists.txt

OBS-URL: https://build.opensuse.org/request/show/492805
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=17
2017-05-04 07:53:37 +00:00
89a45aaa26 Accepting request 478988 from home:polyconvex:branches:science
This is an update to current release of the dolfin package 
as well as a migration from python2 to python3.
Please create a link to the devel:building/cmake package in the science
repository before accepting this request, as newer version of cmake is 
required by the current code of dolfin.
Please also accept the requests for the following prerequisites
  - python3-ufl
  - python3-instant
  - python3-FIAT
  - python3-dijitso
  - python3-FFC
these packages are not generic python3 packages, but integral part of the
same project as dolfin itself. (https://fenics-project.org/)

- Update to upstream release 2016.2.0 [2016-11-30]
  * Updates to XDMFFile interface, now fully supporting MeshFunction and
    MeshValueCollection with multiple named datasets in one file (useful for
    volume/boundary markers). Time series now only when a time is explicitly
    specified for each step. Full support for ASCII/XML XDMF.
  * Improved X3DOM support
  * Improved detection of UFC
  * Add CMake option `-DDOLFIN_USE_PYTHON3` to create a Python 3 build
  * Require CMake version 3.5 or higher
  * Add pylit to generate demo doc from rst
  * More careful checks of Dirichlet BC function spaces
  * Change definition of FunctionSpace::component()
  * Adaptive solving now works for tensor-valued unknowns
  * Improve logging of PETSc errors; details logged at level TRACE
  release 2016.1.0 [2016-06-23]
  * Remove support for 'uint'-valued MeshFunction (replaced by 'size_t')
  * Major performance improvements and simplifications of the XDMF IO.
  * Remove Zoltan graph partitioning interface
  * Add new algorithm for computing mesh entiites. Typical speed-up of
    two with gcc and four with clang. Reduced memory usage for meshes
    with irregularly numbered cells.
  * Remove STLMatrix, STLVector, MUMPSLUSolver and PastixLUSolver
    classes
  * Remove PETScPreconditioner::set_near_nullspace and add
    PETScMatrix::set_near_nullspace
  * Build system updates for VTK 7.0
  * Remove XDMF from File interface. XDMF is XML based, and has many
    possibilities for file access, which are not accessible through the
    limited File interface and "<<" ">>" operators. Instead of File, use
    XDMFFile, and use XDMFFile.read() and XDMFFile.write() for

OBS-URL: https://build.opensuse.org/request/show/478988
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=16
2017-03-16 14:39:34 +00:00
Kshitij Kulshreshtha
fadc354ebf - removed unneeded patch
cmake-swig-output.patch (fixed upstream)
- fix build on Tumbleweed by disabling QT4
  vtk on Tumbleweed uses QT5 so we can't build with QT4 too

OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=15
2015-10-06 11:43:04 +00:00
Kshitij Kulshreshtha
4e02a01ff5 - add build dependency on arpack-ng/parpack and trlan as SLEPc requires them
in SLEPcConfig.cmake

OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=14
2015-10-01 09:52:23 +00:00
Kshitij Kulshreshtha
b3a4606d93 Accepting request 333804 from home:polyconvex:branches:science
- remove deprecated Requires: python(abi) == %{py_ver}
- update version to 1.6.0 [2015-07-28]
  * Remove redundant pressure boundary condition in Stokes demos
  * Require Point in RectangleMesh and BoxMesh constructors
  * Remove BinaryFile (TimeSeries now requires HDF5)
  * Add (highly experimental) support for Tpetra matrices and
	vectors from Trilinos, interfacing to Belos, Amesos2, IfPack2 and
	Muelu.
  * Enable (highly experimental) support for Quadrilateral and Hexahedral meshes,
	including some I/O, but no assembly yet.
  * Enable UMFPACK and CHOLMOD solvers with Eigen backend
  * Add an MPI_Comm to logger, currently defaulted to MPI_COMM_WORLD
	allowing better control over output in parallel
  * Experimental output of quadratic geometry in XDMF files,
	allows more exact visualisation of P2 Functions
  * Remove GenericMatrix::compressed (see Issue #61)
  * Deprecate and PETScKryloveSolver::set_nullspace() and add
	PETScMatrix::set_nullspace()
  * Remove uBLAS backend
  * Remove UmfpackLUSolver and CholmodSolver
  * Add EigenMatrix/Vector::data()
  * Remove GenericMatrix/Vector::data() and GenericMatrix/Vector::data()
	(to use backends that support data(), cast first to backend type, e.g.
	A = A.as_backend_type()
  * Remove cmake.local, replaced by fenics-install-component.sh
  * Make interior facet integrals define - and + cells ordered by cell_domains
	value.
  * Remove deprecated arguments *_domains from assemble() and Form().
  * Change measure definition notation from dx[mesh_function] to
	dx(subdomain_data=mesh_function).

OBS-URL: https://build.opensuse.org/request/show/333804
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=13
2015-09-25 23:21:51 +00:00
Kshitij Kulshreshtha
e43de67c20 - Finally the correct patch after all
* added cmake-swig-output.patch for openSUSE > 13.2 (boo#874885) 
  * removed cmake-prevent-double-underscore.patch

OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=12
2015-02-10 00:30:33 +00:00
Kshitij Kulshreshtha
c640c32849 - refresh cmake-prevent-double-underscore.patch with better logic
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=11
2015-02-09 16:18:45 +00:00
Kshitij Kulshreshtha
a287cd3240 OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=10 2015-02-07 16:36:57 +00:00
Kshitij Kulshreshtha
3ac64fb3a9 - add a patch to make sure the python modules don't have an extra _
in their names with cmake 3.1.1, which makes them fail to load

OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=9
2015-02-07 16:35:19 +00:00
Kshitij Kulshreshtha
c89d41a1ed - Change dependency from python-ScientificPython to python-sympy
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=8
2015-02-05 16:45:10 +00:00
Matthias Mailänder
7e980dd002 Accepting request 281978 from home:polyconvex:branches:science
- update to version 1.5.0
  * DG demos working is parallel
  * Simplify re-use of LU factorisations
  * CMake 3 compatibility
  * Make underlying SLEPc object accessible
  * Full support for linear algebra backends with 64-bit integers
  * Add smoothed aggregation AMG elasticity demo
  * Add support for slepc4py
  * Some self-assignment fixes in mesh data structures
  * Deprecated GenericDofMap::geometric_dimension()
  * Experimental support for ghosted meshes (overlapping region in parallel)
  * Significant memory reduction in dofmap storage
  * Re-write dofmap construction with significant performance and scaling
	improvements in parallel
  * Switch to local (process-wise) indexing for dof indices
  * Support local (process-wise) indexing in linear algerbra backends
  * Added support for PETSc 3.5, require version >= 3.3
  * Exposed DofMap::tabulate_local_to_global_dofs,
	MeshEntity::sharing_processes in Python
  * Added GenericDofmap::local_dimension("all"|"owned"|"unowned")
  * Added access to SLEPc or slepc4py EPS object of SLEPcEigenSolver
 	(requires slepc4py version >= 3.5.1)
  * LinearOperator can now be accessed using petsc4py
  * Add interface (PETScTAOSolver) for the PETSc nonlinear (bound-constrained)
 	optimisation solver (TAO)
  * Add GenericMatrix::nnz() function to return number of nonzero
 	entries in matrix (fixes #110)
  * Add smoothed aggregation algerbraic multigrid demo for elasticity
  * Add argument 'function' to project, to store the result into a preallocated
 	function
  * Remove CGAL dependency and mesh generation, now provided by mshr
  * Python 2.7 required
  * Add experimental Python 3 support. Need swig version 3.0.3 or later
  * Move to py.test, speed up unit tests and make tests more robust in parallel
  * Repeated initialization of PETScMatrix is now an error
  * MPI interface change: num_processes -> size, process_number -> rank
  * Add optional argument project(..., function=f), to avoid superfluous
 	allocation
  * Remove excessive printing of points during extrapolation
  * Clean up DG demos by dropping restrictions of Constants: c('+') -> c
  * Fix systemassembler warning when a and L both provide the same subdomain
	data.
  * Require mesh instead of cell argument to FacetArea, FacetNormal,
 	CellSize, CellVolume, SpatialCoordinate, Circumradius,
	MinFacetEdgeLength, MaxFacetEdgeLength
  * Remove argument reset_sparsity to assemble()
  * Simplify assemble() and Form() signature: remove arguments mesh,
	coefficients, function_spaces, common_cell. These are now
	all found by inspecting the UFL form
  * Speed up assembly of forms with multiple integrals depending on
	different functions, e.g. f*dx(1) + g*dx(2).
  * Handle accessing of GenericVectors using numpy arrays in python layer
	instead of in hard-to-maintain C++ layer
  * Add support for mpi groups in jit-compilation
  * Make access to HDFAttributes more dict like
  * Add 1st and 2nd order Rush Larsen schemes for the PointIntegralSolver
  * Add vertex assembler for PointIntegrals
  * Add support for assembly of custom_integral
  * Add support for multimesh assembly, function spaces, dofmaps and functions
  * Fix to Cell-Point collision detection to prevent Points inside the mesh
	from falling between Cells due to rounding errors
  * Enable reordering of cells and vertices in parallel via SCOTCH and the
	Giibs-Poole-Stockmeyer algorithm
  * Efficiency improvements in dof assignment in parallel, working on HPC up to
	24000 cores
  * Introduction of PlazaRefinement methods based on refinement of the Mesh
	skeleton, giving better quality refinement in 3D in parallel
  * Basic support for 'ghost cells' allowing integration over interior facets in
 	parallel

OBS-URL: https://build.opensuse.org/request/show/281978
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=7
2015-01-20 20:33:33 +00:00
Kshitij Kulshreshtha
6b7bfdfb20 Try to get this to compile on obs again. Too much memory is required for
parallel compilation. It was suggested that serial make might work with less
memory and succeed in compilation.

OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=6
2014-11-09 22:03:46 +00:00
2bc79f6c62 Accepting request 215446 from home:polyconvex:branches:science
- backport vtk-6 support from upstream, otherwise no visualisation:
  * dolfin-1.3-vtk-6-enable.patch
- corrected installation path due to failing compilation of demo files

OBS-URL: https://build.opensuse.org/request/show/215446
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=5
2014-01-29 13:27:30 +00:00
Matthias Mailänder
4edfac112d Accepting request 213749 from home:polyconvex:branches:science
update to latest version. unfortunately openSUSE_Factory build does not succeed due to faulty build of boost library in Factory (missing zlib interface). I'm not sure how to fix that.

OBS-URL: https://build.opensuse.org/request/show/213749
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=4
2014-01-14 17:06:09 +00:00
edacad0af9 Accepting request 181319 from home:polyconvex:branches:science
This updates dolfin to version 1.2.0 and activates some more interesting
features. The package cgal from the graphics project is required for building.
A _constraints file was added because otherwise the compiler quits in OBS with
an out of memory error.

- Activate features by using optional modules
  CGAL for geometry manipulation
  HDF5 format support in parallel
  SLEPc support for eigenvalues
- Cleanup spec file

- update to version 1.2.0
  * Fixes bug where child/parent hierarchy in Python were destroyed
  * Add utility script dolfin-get-demos
  * MeshFunctions in python now support iterable protocol
  * Expose ufc::dofmap::tabulate_entity_dofs to GenericDofMap interface
  * Expose ufc::dofmap::num_entity_dofs to GenericDofMap interface
  * Allow setting of row dof coordinates in preconditioners (only works with PETSc backed for now)
  * Expose more PETSc/ML parameters
  * Improve speed to tabulating coordinates in some DofMap functions
  * Feature: Add support for passing a Constant as default value to a CompiledExpression
  * Fix bug in dimension check for 1-D ALE
  * Remove some redundant graph code
  * Improvements in speed of parallel dual grapj builder
  * Fix bug in XMDF output for cell-based Functions
  * Fixes for latest version of clang compiler
  * LocalSolver class added to efficiently solve cell-wise problems
  * New implementation of periodic boundary conditions. Now incorporated into the dofmap
  * Optional arguments to assemblers removed
  * SymmetricAssembler removed
  * Domains for assemblers can now only be attached to forms
  * SubMesh can now be constructed without a CellFunction argument, if the MeshDomain contains marked celldomains.
  * MeshDomains are propagated to a SubMesh during construction
  * Simplify generation of a MeshFunction from MeshDomains: No need to call mesh_function with mesh
  * Rename dolfin-config.cmake to DOLFINConfig.cmake

OBS-URL: https://build.opensuse.org/request/show/181319
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=3
2013-06-29 07:03:13 +00:00
Corot Sebastien
bb39ee780c Accepting request 160680 from home:scorot:branches:science
- update to version 1.1.0
  * Changelog to long see ChangeLog file for a full list

OBS-URL: https://build.opensuse.org/request/show/160680
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=2
2013-03-23 10:32:35 +00:00
Corot Sebastien
489cf1e653 Accepting request 144707 from home:scorot:branches:science
An open source CFD software

OBS-URL: https://build.opensuse.org/request/show/144707
OBS-URL: https://build.opensuse.org/package/show/science/dolfin?expand=0&rev=1
2012-12-08 14:37:47 +00:00