Skip to content
Snippets Groups Projects
  1. Feb 01, 2021
  2. Dec 12, 2020
  3. Oct 27, 2016
  4. Aug 12, 2016
  5. Aug 02, 2016
  6. Mar 21, 2016
  7. Oct 03, 2015
  8. Aug 24, 2015
    • Markus Blatt's avatar
      [release] Always indicate whether we support parallelism. · 14371eb3
      Markus Blatt authored
      Since commit 495f2fce USE_MPI was removed from dunecontrol and
      the default configuration now defaults to use
      parallelism. Unfortunately, there are downstream modules that try to
      support multiple versions of DUNE. Sometimes these need to decide
      whether to support parallelism before they know which version of DUNE
      they are using. This is was not possible when providing
      --enable-parallel as no variable gets set for DUNE>=2.4.
      
      With this commit dunecontrol always sets
      CMAKE_DISABLE_FIND_PACKAGE_MPI to an appropriate value. Thus if
      dunecontrol is used then one can check in one's own module whether the
      variable is set explicitly to false and conclude that one is using
      >=2.4 and wants parallelism. Otherwise one can check USE_MPI to detect
      which behaviour is needed for 2.3.
      
      E.g. like this:
      <code>
      option (USE_MPI "Use Message Passing Interface for parallel computing" OFF)
      
      if( NOT CMAKE_DISABLE_FIND_PACKAGE_MPI STREQUAL ""
          AND NOT CMAKE_DISABLE_FIND_PACKAGE_MPI)
        set(USE_MPI ON)
      endif()
      
      if (NOT USE_MPI)
            set (CMAKE_DISABLE_FIND_PACKAGE_MPI TRUE)
       set (CMAKE_DISABLE_FIND_PACKAGE_MPI TRUE)
      endif (NOT USE_MPI)
      </code>
      
      Of course without dunecontrol and using the defaults one will still
      configure DUNE as parallel, but one's own module as sequential.
      14371eb3
  9. Mar 02, 2015
    • Christoph Grüninger's avatar
      [CMake][Autotools] Enable MPI / parallel features by default. · 495f2fce
      Christoph Grüninger authored
      In the past MPI / parallel features were disabled until the
      proper flag was added. This patch changes the behavior to
      enable MPI iff it is found.
      
      * Autotools: --disable-parallel and --enable-parallel work as
        before but the documentation is a bit clumsy to minimize changes.
      * CMake: USE_MPI gets removed, too. It was not used by the Dune
        core modules. The backwards compatible --disable-parallel remains.
      495f2fce
  10. Jan 29, 2015
    • Dominic Kempf's avatar
      [CMake] Recognize UMFPack in compatibility layer · 13de6088
      Dominic Kempf authored
      The UMFPack test has been added after CMake, so I simply
      didnt know that it should be placed here, too.
      13de6088
    • Dominic Kempf's avatar
      [Bugfix][CMake] Fix problem with compatibility layer and parallel builds. · b57a46c0
      Dominic Kempf authored
      The compatibility layer disabled MPI whenever it did not find
      the --enable-parallel flag. This is overeager and harmful if users
      are gradually switching to replacing the configure flags with real
      cmake flags.
      
      Consider an opts file, with the following content:
      CMAKE_FLAGS="-DUSE_MPI=ON"
      
      The compatibility layer would now parse the non-existent CONFIGURE_FLAGS
      variable for an --enable-parallel option and disable MPI because it was
      not found. The -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE supersedes the USE_MPI=ON
      and we get a sequential build.
      
      The fix applied in this patch removes the else clause and only adds
      cmake flags when the --enable-parallel flag was found. To still explicitly
      allow to force sequential builds, the --disable-parallel flag is parsed
      in the same manner.
      b57a46c0
  11. Nov 25, 2014
  12. Nov 08, 2014
    • Jö Fahlke's avatar
      [vc] Simplify ignore lists. · 251deeb0
      Jö Fahlke authored
      "Makefile.in", "*.o", etc. need only be listed in the toplevel .gitignore, the
      rules are applied recursively.
      
      Test programs etc. should be listed as "/program" in their directory's
      .gitignore, so they are not accidentially ignored in a lower level directory.
      251deeb0
  13. Oct 06, 2014
  14. Jun 24, 2014
    • Markus Blatt's avatar
      [dunecontrol] Fixes error with installed old DUNE modules · 099ad827
      Markus Blatt authored
      If duncontrol detects an installed dune-common module, then it always
      assumed that it contains a lib/dunecontrol
      subdirectory. Unfortunately, this does not hold for older dune-common
      modules and dunecontrol will error out later with a message like
      
      /usr/local/lib/dunecontrol: file not found
      Execution of dunecontrol terminated due to errors!
      
      With this commit we fix this by actually checking whether the
      lib/dunecontrol subdirectoy exists before adding it to
      DUNE_CONTROL_PATH.
      
      Thanks a lot to wuhao sife for reporting this problem.
      099ad827
  15. May 01, 2014
  16. Apr 14, 2014
    • Steffen Müthing's avatar
      [Buildsystem] Require C++11-compliant compiler and clean up associated tests · 77c8533e
      Steffen Müthing authored
      As we have bumped our compiler requirements to GCC 4.4+, we can now
      require the compiler to support C++11.
      
      This patch updates both the autotools and the CMake tests to produce an
      error if the compiler doesn't support either -std=c++11 or -std=c++0x.
      
      It also renames the tests from ..0X to ..11 and renames the configure
      options from --disable-gxx0xcheck to --disable-cxx11check and removes a
      couple of redundant calls to the autotools macro.
      77c8533e
  17. Jan 31, 2014
  18. Jan 29, 2014
  19. Jan 16, 2014
  20. Jan 08, 2014
  21. Dec 19, 2013
  22. Dec 03, 2013
  23. Nov 22, 2013
  24. Aug 20, 2013
  25. Jun 13, 2013
  26. Jun 11, 2013
  27. May 01, 2013
  28. Apr 29, 2013
  29. Apr 25, 2013
    • Christian Engwer's avatar
      [dunecontrol] · ae0bbee3
      Christian Engwer authored
      fix incompatibility with mawk
      
      - explicitly state list of whitespaces
      - patch by Ansgar Burchardt
      
      [[Imported from SVN: r7452]]
      ae0bbee3
  30. Apr 24, 2013
Loading