Skip to content
Snippets Groups Projects
  1. Feb 16, 2017
  2. Jan 03, 2017
    • Mark Olesen's avatar
      BUG: Incomplete cleanup of paraview environment (fixes #369) · 0761974a
      Mark Olesen authored
      - LD_LIBRARY_PATH was not being cleaned at all when switching between
        paraview versions.
      
      - PATH was cleaned against the third-party paraview-*, although 3rd
        party paraview is installed as ParaView-*.
        The additional cleanup for ParaView_DIR may not catch this (if it
        was unset elsewhere).
      0761974a
  3. Dec 23, 2016
  4. Dec 22, 2016
    • Mark Olesen's avatar
      STYLE: confusing wm32, wm64 aliases (issue #364) · 5f811ac0
      Mark Olesen authored
      - wm32/wm64 were for changing between -m32, -m64 builds on x86_64
        architectures. This is seldom enough not to warrant a special alias.
        Also ambiguous if these could refer to label sizes.
      
      - Remove wm32,wm64 aliases.
      - Add wmInt32, wmInt64 aliases for switching WM_LABEL_SIZE.
      5f811ac0
  5. Dec 20, 2016
  6. Dec 19, 2016
  7. Dec 16, 2016
  8. Dec 15, 2016
  9. Dec 14, 2016
  10. Dec 13, 2016
  11. Dec 09, 2016
  12. Dec 01, 2016
  13. Nov 29, 2016
  14. Nov 28, 2016
    • Mark Olesen's avatar
      CONFIG: downgrade back to paraview-5.0.1 · e35a5663
      Mark Olesen authored
      - newer versions of paraview build fine, and so do the reader modules,
        but the reader modules won't load (need to upgrade the classes).
      e35a5663
    • Mark Olesen's avatar
      BUG: _foamAddPath not available when foamPV alias/function is used · dec8bd46
      Mark Olesen authored
      STYLE: only use paraview settings when actually available
      
      - this means executing makeParaView prior to building OpenFOAM itself,
        but is consistent with the instructions given by makeParaView,
        and elminates anticipating the source location from the paraview
        config file, which increases the build flexibilty for ThirdParty
      dec8bd46
  15. Nov 27, 2016
  16. Nov 23, 2016
  17. Nov 20, 2016
  18. Nov 16, 2016
  19. Nov 13, 2016
    • Mark Olesen's avatar
      ENH: simplify check for metis sizes (issue #290) · 704620ae
      Mark Olesen authored
      - Now that the metisDecomp uses the metis definition for float/double,
        do not need to verify the scalar sizes.
      
      Note:
      - could drop precision qualifier for metis, scotch installation
        (include, lib) as being unneeded, but it is simpler to keep them
        and continue to use the FOAM_EXT_LIBBIN path
        (in case other ThirdParty software is compiled with different
        precisions).
      704620ae
  20. Nov 11, 2016
  21. Nov 09, 2016
    • Mark Olesen's avatar
      ENH: robuster handling of system or central installation (issue #290) · b048cacc
      Mark Olesen authored
      - Follow similar pattern as per boost/CGAL with the '*-none' to disable,
        and '*-system' for system installations.
      
        Also support central non-ThirdParty installations by specifying the
        version as "*-system", but also providing the fully qualified
        *_ARCH_PATH too.
      
      --
      ENH: Verify label and scalar sizes used in the metis header.
      
      - ensure they match with expected values, which can be obtained via
        the OpenFOAM definitions for WM_LABEL_SIZE and WM_PRECISION_OPTION
      b048cacc
  22. Nov 04, 2016
  23. Oct 31, 2016
  24. Oct 30, 2016
  25. Oct 29, 2016
  26. Oct 28, 2016
    • Mark Olesen's avatar
      BUG: etc/bashrc incorrect behaviour if sourced locally (issue #280) · b8448671
      Mark Olesen authored
      - It is incorrect to prefix the assignment with an 'export' since this
        automatically marks the overall command as successful and circumvents
        the fallback.
      
        There is no simple way to have proper behaviour when sourced with a
        local directory path, but at least it now uses the fallback.
      
        It is still easy to wreak the mechanism with valid but confusing input.
        For example,
      
           ". /path/to/openfoam/etc/././bashrc"
      
        The only real certainty is that "${BASH_SOURCE%/*}"
        should point to the 'etc/' directory. In which case,
      
            cd ${BASH_SOURCE%/*}    # <- now in the etc/ directory
            pwd=$(pwd -P)           # <- fully-qualified path to etc/
            pwd=${pwd%/*/*}         # <- up two parent levels
      
        - This works with ". ./bashrc", but fails with ". bashrc"
          (probably not so common).
        - Con: The construct requires an additional sub-shell.
      b8448671
    • Andrew Heather's avatar
    • Mark Olesen's avatar
      053b22a9
  27. Oct 26, 2016
    • Mark Olesen's avatar
      CONFIG: remove non-POSIX use of 'type' (issue #176) · 3b96a557
      Mark Olesen authored
      - In the foundation version they introduced a construct to handle
        the transition from 'wmRefresh' as an alias to 'wmRefresh' as
        a shell function. This transition is unnecessary for OpenFOAM+
        since 1606 used wmREFRESH (not wmRefresh) as an alias.
      
        For portability it is important to avoid this non-POSIX
        "type -t". It causes issues with dash and with zsh
        (mentioned in issue #277).
      
              type -t dash  ->   -t: not found
              type -t zsh   ->  zsh: bad option: -t
      
      Note: zsh users may still noticed other problems.
      For example, the POSIX 'unset -f' normally has no output, but in zsh
      it reports an error and has exit code 1 if the function was not
      previously defined. Whereas in POSIX (including bash, dash) it only
      returns non-zero if the name(s) could not be unset.
      3b96a557
  28. Oct 09, 2016
  29. Sep 29, 2016
  30. Sep 28, 2016