Skip to content
Snippets Groups Projects
  1. Dec 05, 2019
  2. Dec 04, 2019
  3. Dec 03, 2019
  4. Nov 20, 2019
  5. Nov 19, 2019
  6. Nov 18, 2019
    • Christian Engwer's avatar
      [!526] [MPI] Add nonblocking communication and a uniform MPI data model · 282c0f8a
      Christian Engwer authored
      Merge branch 'feature/nonblocking_mpi' into 'master'
      
      ref:core/dune-common This MR adds nonblocking communication methods to
      CollectiveCommunication<MPI_Comm>.
      
      Furthermore we introduced a class MPIData that stores an object or a reference
      and provides information for sending and receiving the object or reference
      (pointer, length, MPI_Datatype). That works with objects that are represented
      consecutively in memory (e.g. std::string, std:::vector, Dune::DynamicVector),
      but could be extended for generic datatypes e.g. used with serialization. The
      MPIData object is stored within the MPIFuture to ensure that the object stays
      alive until the communication is complete (does not work with references, of
      course).
      
      For examples see mpifuturetest.cc.
      
      TODO:
      
      -   [x] Add fallback methods to CollectiveCommunication<void>
      -   [x] Add nonblocking MPI benchmark
      
      See merge request [!526]
      
        [!526]: gitlab.dune-project.org/core/dune-common/merge_requests/526
      282c0f8a
    • Nils-Arne Dreier's avatar
  7. Nov 15, 2019
    • Christoph Grüninger's avatar
      [cleanup] Drop transition code from Autotools · 099db728
      Christoph Grüninger authored
      Autotools is gone quite some time now. No need to keep this tools.
      099db728
    • Christian Engwer's avatar
      [!246] Extend parametertreeparser; fixes #54 (first proposal) · 97229ab6
      Christian Engwer authored
      Merge branch 'feature/extend-ptparser-1' into 'master'
      
      ref:core/dune-common The parametertree parser can now handle
      
      \[prefix\] \# comment key = value
      
      See merge request [!246]
      
        [!246]: gitlab.dune-project.org/core/dune-common/merge_requests/246
      
      
      Closes #54
      97229ab6
    • Christian Engwer's avatar
      [!277] [bugfix] make computation of eigenvalues using Lapack work for dim < 3 · d1e3af04
      Christian Engwer authored
      Merge branch 'bugfix/eigenvalues-fieldmatrix' into 'master'
      
      ref:core/dune-common
      
      -   changed parameter w to lwork to be consistent with documentation of dsyev
          (lapack)
      -   set parameter lwork to 3\*n-1 see dsyev for eigenvalue calculation for dim
          \< 3
      
      See merge request [!277]
      
        [!277]: gitlab.dune-project.org/core/dune-common/merge_requests/277
      d1e3af04
    • Christian Engwer's avatar
      [!436] Better test whether standard library supports aligned_alloc() · 714027f7
      Christian Engwer authored
      Merge branch 'issue/aligned_allocator' into 'master'
      
      ref:core/dune-common This fixes [#111]
      
      ### Summary
      
      Added a cmake compile-test to check whether the used standard library provides
      the function aligned_alloc(). The Dune::AlignedAllocator implementation is
      adapted, using the introduced config variable DUNE_HAVE_C_ALIGNED_ALLOC.
      
      ### Motivation
      
      I have added a cmake test for standard library function aligned_alloc() since
      it cannot be detected in the code whether this function exists. The old test
      `#if __APPLE__` was not enough. E.g. on our cluster, the standard library does
      not support aligned_alloc() for some reasons and thus, the compile fails to
      compile the AlignedAllocator, although there are alternatives already
      implemented.
      
      ### TODO
      
      Additionally, I've added an error message if neither aligned_alloc nor
      posix_memalign is available on a system. But, since I do not have an Apple
      system I cannot test this completely.
      
      The branch can be merged when someone confirms, that the condition
      
          #if !(DUNE_HAVE_C_ALIGNED_ALLOC || (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
      
      works fine on systems with Apple's standard library. This test assumes that a
      posix library of a minimal version always provides the posix_memalign()
      function.
      
      Maybe an additional cmake compile-test should be added to test for this
      function as well.
      
      See merge request [!436]
      
        [#111]: gitlab.dune-project.org/NoneNone/issues/111
        [!436]: gitlab.dune-project.org/core/dune-common/merge_requests/436
      
      
      Closes #111
      714027f7
    • Christian Engwer's avatar
      [!671] Correctly set python interpreter when creating a virtualenv · 814ba6aa
      Christian Engwer authored
      Merge branch 'bugfix/set-python-interpreter-for-virtualenv' into 'master'
      
      ref:core/dune-common This makes sure that the python version in the virtualenv
      matches the one found during configuration.
      
      See merge request [!671]
      
        [!671]: gitlab.dune-project.org/core/dune-common/merge_requests/671
      814ba6aa
    • Christian Engwer's avatar
      [!266] Provide overloaded functions with MPI_Comm specifically. · d5f6d433
      Christian Engwer authored
      Merge branch 'fix-failing-mpiguard-test' into 'master'
      
      ref:core/dune-common For MPT with gcc 6.x the template parameter C somehow
      became an anonymous enum leading to usage of GenericGuardCommunicator as an
      abstract class.
      
      This is an attempt to fix this. It is mostly guess work, though.
      
      Partial fix for [#76]
      
      See merge request [!266]
      
        [#76]: gitlab.dune-project.org/NoneNone/issues/76
        [!266]: gitlab.dune-project.org/core/dune-common/merge_requests/266
      d5f6d433
  8. Nov 14, 2019
  9. Nov 11, 2019
Loading