Skip to content
Snippets Groups Projects
  1. Jun 27, 2018
  2. Jun 26, 2018
  3. Jun 25, 2018
    • Mark OLESEN's avatar
      CONFIG: eliminate most occurances of outdated FOAM_INST_DIR (issue #444) · 831a47b8
      Mark OLESEN authored
      - since 1612, FOAM_INST_DIR and foamInstDir longer have any
        special meanings when sourcing the bashrc or cshrc files.
        Thus no need for special treatment in any of the dispatch wrappers.
      
        Retained FOAM_INST_DIR as (unexported) variable in etc/bashrc,
        just in case people are using patched versions of etc/bashrc
        as part of their installation.
      
      ENH: relax prefix restrictions on foamCreateVideo (issue #904)
      
      - shift the implicit '.' to be part of the default prefix. This allows
        things like "-image myimages_00" to work as might be expected.
      831a47b8
  4. Jun 24, 2018
  5. Jun 19, 2018
    • Mark OLESEN's avatar
      ENH: avoid parse problems caused by #calc directives (fixes #722) · d637b6eb
      Mark OLESEN authored
      - The additional output generated by #calc directives in the
        controlDict or decomposeParDict causes issues for the RunFunctions
        extraction of 'application' and 'numberOfSubdomains'.
      
        Avoid by using -disableFunctionEntries, which also has the side-effect
        of disabling '#include'.
      d637b6eb
  6. Jun 22, 2018
    • Mark OLESEN's avatar
      BUG: cleanCase deletes blockMeshDict (fixes #900) · b68fe2c7
      Mark OLESEN authored
      - Don't remove the constant/polyMesh directory if it contains a
        blockMeshDict or blockMeshDict.m4 file. Offer a reminder that
        system/ is the normal place for it.
      b68fe2c7
    • Mark OLESEN's avatar
      ENH: suppress Info output for some cases (issue #722, #893) · 6390c183
      Mark OLESEN authored
      - add additional control via a Foam::infoDetailLevel flag, which is
        supported by a 'DetailLevel' macro.  Eg,
      
            DetailLevel << "some information" << nl
      
      - When infoDetailLevel is zero, the stdout for all Foam::system() calls
        are also redirected to stderr to prevent child output from
        appearing on the parent.
      
      - close stdin before exec in system call.
      6390c183
  7. Jun 19, 2018
  8. Jun 18, 2018
  9. Jun 08, 2018
  10. Dec 21, 2017
  11. Dec 18, 2017
  12. Dec 17, 2017
  13. Dec 15, 2017
  14. Dec 14, 2017
  15. Dec 13, 2017
  16. May 02, 2018
  17. 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
  18. Apr 17, 2018
  19. Apr 12, 2018
  20. Feb 20, 2018
  21. Jan 31, 2018
  22. Jan 24, 2018
  23. 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
  24. 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
  25. Jan 09, 2018
  26. Nov 13, 2017
  27. Nov 04, 2017
  28. 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
  29. Nov 22, 2017
  30. Nov 10, 2017
  31. Nov 17, 2017
  32. Oct 05, 2017
  33. Sep 27, 2017
  34. Sep 15, 2017