Skip to content
Snippets Groups Projects
  1. May 02, 2018
  2. Apr 24, 2018
    • Mark OLESEN's avatar
      ENH: improve handling of ThirdParty packages · b4d38ab4
      Mark OLESEN authored
      - generalize some of the library extensions (.so vs .dylib).
        Provide as wmake 'sysFunctions'
      
      - added note about unsupported/incomplete system support
      
      - centralize detection of ThirdParty packages into wmake/ subdirectory
        by providing a series of scripts in the spirit of GNU autoconfig.
        For example,
      
            have_boost, have_readline, have_scotch, ...
      
        Each of the `have_<package>` scripts will generally provide the
        following type of functions:
      
            have_<package>          # detection
            no_<package>            # reset
            echo_<package>          # echoing
      
        and the following type of variables:
      
            HAVE_<package>          # unset or 'true'
            <package>_ARCH_PATH     # root for <package>
            <package>_INC_DIR       # include directory for <package>
            <package>_LIB_DIR       # library directory for <package>
      
        This simplifies the calling scripts:
      
            if have_metis
            then
                wmake metisDecomp
            fi
      
        As well as reducing clutter in the corresponding Make/options:
      
            EXE_INC = \
                -I$(METIS_INC_DIR) \
                -I../decompositionMethods/lnInclude
      
            LIB_LIBS = \
                -L$(METIS_LIB_DIR) -lmetis
      
        Any additional modifications (platform-specific or for an external build
        system) can now be made centrally.
      b4d38ab4
  3. Apr 17, 2018
  4. Apr 12, 2018
  5. Feb 20, 2018
  6. Jan 31, 2018
  7. Jan 24, 2018
  8. Jan 16, 2018
    • Mark OLESEN's avatar
      CONFIG: typo in config.csh/mpi · ff07ae15
      Mark OLESEN authored
      - also handle stray semi-colons in foamCleanPath.
        Treat like a ':' separator.
        They are incorrect and potentially problematic for shell evals.
      ff07ae15
  9. Jan 11, 2018
    • Mark OLESEN's avatar
      ENH: improved handling of gmp/mpfr library settings (issue #674) · 110b00f0
      Mark OLESEN authored
      - export library path for gmp/mpfr from CGAL config files.
        This is required when non-system gmp/mpfr libraries are being
        used, but not using a ThirdParty compiler installation.
      
      - automatically handle lib/ vs lib64/ (eg, for central installations)
        for packages such as boost, CGAL, etc. While the ThirdParty
        compilation of these will normally land in lib64/, this may not be
        the case when they are supplied by another means.
      
      - reworked the handling of foamEtcFile and foamCleanPath for less
        clutter in the configuration files.
        Added the bin/tools/lib-dir script to handle logic that is
        too complex to easily manage in csh.
      110b00f0
  10. Jan 09, 2018
  11. Dec 21, 2017
  12. Dec 18, 2017
  13. Dec 17, 2017
  14. Dec 15, 2017
  15. Dec 14, 2017
  16. Dec 13, 2017
  17. Nov 13, 2017
  18. Nov 04, 2017
  19. Nov 24, 2017
    • Mark OLESEN's avatar
      ENH: more succinct output from command-line errors. · 5947f9a3
      Mark OLESEN authored
      - unknown options or missing option values now emit a shorter message
        without the entire usage. This makes it easier to identify the errors
        and is better aligned with the behaviour of GNU system tools.
      
        ====
           $ simpleFoam -case
           Using: OpenFOAM-plus (see www.OpenFOAM.com)
           Build: plus-01234
      
           Error: option '-case' requires an argument
      
           See 'simpleFoam -help' for usage
        ====
      
      - provide for reduced (-help) and full (-help-full) usage information.
        In many cases the reduced usage provided sufficient and easier
        to find the information.
      
      - make -srcDoc an alias for -doc-source
      
      - no warnings about option aliases for future dates.
      5947f9a3
  20. Nov 22, 2017
  21. Nov 10, 2017
  22. Nov 17, 2017
  23. Oct 05, 2017
  24. Sep 27, 2017
  25. Sep 15, 2017
  26. Sep 26, 2017
  27. Oct 12, 2017
  28. Aug 08, 2017
    • Mark OLESEN's avatar
      ENH: use bash associative array for on-the-fly completion (issue #551) · ce086810
      Mark OLESEN authored
      - this reduces the number of functions and allows lazy loading of
        completion options, which makes it easy to quickly add any other
        OpenFOAM application in completion.
      
        The generic '_of_complete_' function handles (bash) completion for
        any OpenFOAM application. On the first call for any particular
        application, it retrieves the available options from the application
        help output and adds this information to its environmental cache for
        subsequent use.
      
      - Tcsh completion uses the same function via a bash wrapper.
        But since its wrapper is transient, the on-the-fly generation would
        be less efficient. For this case, a pre-generated completion_cache
        can be used, which is generated with
      
            bin/tools/foamCreateCompletionCache
      ce086810
  29. Aug 03, 2017
  30. Jul 31, 2017
    • Mark OLESEN's avatar
      ENH: improve bash completion functionality (issue #551) · c614110d
      Mark OLESEN authored
      - use complete -o filenames, dropped -o nospace to make it more responsive.
      
      - restructure completion code to use a unified backend, which makes it easier
        understand, maintain and re-use.
      
      - foamCreateBashCompletions now simply outputs to a stdout, and allows
        quick generation of completion of single applications.
      
      - add -fileHandler completion in anticipation of future changes there.
      
      - relocated as etc/config.s/bash_completion to prevent inadvertently
        having two versions (.com, .org) installed at the same time.
      c614110d
  31. Jul 11, 2017
  32. Jul 05, 2017
    • Mark OLESEN's avatar
      ENH: add trapFpe and setNaN optimisationSwitch (issue #517) · c50368ec
      Mark OLESEN authored
      - allows configuration without an environment variable.
        For compatibility still respect FOAM_SIGFPE and FOAM_SETNAN
        env-variables
      
      - The env-variables are now treated as true/false switch values.
        Previously there was just a check for env exists or not, but this
        can be fairly fragile for a user's environment.
      c50368ec
  33. Jun 26, 2017
  34. Jun 23, 2017
  35. Jun 22, 2017