Skip to content
Snippets Groups Projects
  1. Nov 19, 2019
  2. 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 [core/dune-common!526]
      
        [core/dune-common!526]: gitlab.dune-project.org/core/dune-common/merge_requests/526
      282c0f8a
    • Nils-Arne Dreier's avatar
  3. 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 [core/dune-common!246]
      
        [core/dune-common!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 [core/dune-common!277]
      
        [core/dune-common!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 [core/dune-common!436]
      
        [#111]: gitlab.dune-project.org/NoneNone/issues/111
        [core/dune-common!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 [core/dune-common!671]
      
        [core/dune-common!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 [core/dune-common!266]
      
        [#76]: gitlab.dune-project.org/NoneNone/issues/76
        [core/dune-common!266]: gitlab.dune-project.org/core/dune-common/merge_requests/266
      d5f6d433
  4. Nov 14, 2019
  5. Nov 11, 2019
  6. Oct 24, 2019
  7. Oct 23, 2019
  8. Oct 22, 2019
  9. Oct 21, 2019
  10. Oct 12, 2019
  11. Oct 11, 2019
  12. Oct 10, 2019
  13. Oct 06, 2019
    • Christoph Grüninger's avatar
      [cmake] Call FindMETIS from FindParMETIS · d85085a0
      Christoph Grüninger authored
      Thanks to Simon Praetorius for providing the patch idea.
      d85085a0
    • Christoph Grüninger's avatar
      [!438] added XXX_LIB_NAME to correctly find scotchmetis and ptscotchparmetis libraries · dc2dc152
      Christoph Grüninger authored
      Merge branch 'issue/cmake_find_scotch_parmetis' into 'master'
      
      ref:core/dune-common
      
      ### Summary
      
      Added METIS_LIB_NAME and PARMETIS_LIB_NAME in find_library calls to correctly
      find scotchmetis and ptscotchparmetis libraries.
      
      ### Motivation
      
      Default METIS library name is metis and for ParMETIS parmetis. Some
      implementations of the (Par)METIS interface provide libraries with different
      names, e.g. scotchmetis and ptscotchparmetis. In order to find also these
      libraries correctly the cmake variables METIS_LIB_NAME and PARMETIS_LIB_NAME
      are introduced. This was already done correctly in FindMETIS.cmake but not in
      FindParMETIS.cmake and thus, the (PT)Scotch(Par)METIS libraries were not found
      correctly for the default installation of scotch. With this MR, also ParMETIS
      from scotch can be found correctly, by using the changed library names.
      
      ### USAGE
      
          CMAKE_FLAGS=" \
           -DMETIS_DIR=[SCOTCH_METIS_DIR] -DMETIS_LIB_NAME=scotchmetis \
           -DPARMETIS_DIR=[PTSCOTCH_PARMETIS_DIR] -DPARMETIS_LIB_NAME=ptscotchparmetis "
      
      See merge request [core/dune-common!438]
      
        [core/dune-common!438]: gitlab.dune-project.org/core/dune-common/merge_requests/438
      dc2dc152
    • Simon Praetorius's avatar
      added METIS_LIB_NAME and PARMETIS_LIB_NAME to correctly find scotchmetis and... · ea6d57df
      Simon Praetorius authored
      added METIS_LIB_NAME and PARMETIS_LIB_NAME to correctly find scotchmetis and ptscotchparmetis libraries
      ea6d57df
  14. Oct 04, 2019
  15. Oct 02, 2019
  16. Sep 27, 2019
  17. Sep 26, 2019
Loading