Skip to content
Snippets Groups Projects
  1. Apr 20, 2017
    • Mark Olesen's avatar
      CONFIG: address differences between shells · 7f01a4be
      Mark Olesen authored
      - suppress error messages that appear with zsh.
        According to unset(1p), 'unset -f' unsets a function.
        If the function was not previously defined, this is a no-op.
        This is similar for zsh, but there it emits a warning if the
        function was not previously defined.
      
      - avoid 'local' in functions sources from etc/bashrc.
        ksh does not support this.
      
      - use 'command' shell builtin instead of 'type'.
        Seems to be more consistent between shell flavours.
      7f01a4be
  2. Apr 19, 2017
  3. Apr 18, 2017
  4. Apr 07, 2017
  5. Apr 04, 2017
    • Mark Olesen's avatar
      ENH: make FOAM_EXT_LIBBIN optional in the configuration files · eb6fb7f7
      Mark Olesen authored
      - useful for builds that don't use the ThirdParty directory at all
      eb6fb7f7
    • Mark Olesen's avatar
      ENH: reduce reliance on FOAM_EXT_LIBBIN during builds · dd78e042
      Mark Olesen authored
      - just check WM_PROJECT_DIR instead.
      
      - provide a fallback value when FOAM_EXT_LIBBIN might actually be needed.
      
      Only strictly need FOAM_EXT_LIBBIN for scotch/metis decomposition, and
      when these are actually supplied by ThirdParty.
      All other ThirdParty dependencies are referenced by BOOST_ARCH_PATH etc.
      
      Can therefore drop the FOAM_EXT_LIBBIN dependency for VTK-related
      things, which do not use scotch/metis anyhow.
      dd78e042
  6. Apr 03, 2017
  7. Mar 29, 2017
    • Mark Olesen's avatar
      ENH: improve MPI configuration possibilities · 3ece6e52
      Mark Olesen authored
      - permit SYSTEMMPI user adjustments via
            etc/config.{csh,sh}/mpi-system
        This can be a convenient place for setting up SYSTEMMPI for OpenFOAM
        without adjusting bashrc, prefs.sh ...
      
      - add a USERMPI type. This represents any generic mpi implementation.
        The user is responsible for supplying an appropriate
        wmake/rules/General/mplibUSERMPI file and managing all settings.
      
        This type of setup can be useful in combination with specific build
        systems (SPACK, EASYBUILD, etc) or module systems for which the MPI
        variant is part of the installed configuration.
      3ece6e52
  8. Mar 23, 2017
    • Mark Olesen's avatar
      ENH: several improvements to foamEtcFile · bad27c45
      Mark Olesen authored
      - lazier evaluation of project name and version based on the directory
        name. Avoids heuristics based on directory names unless really needed.
      
      - cope with alternative directory locations.
        For example, OpenFOAM+VERSION etc.
      
      The combination of the two above appears to be sufficient to open up
      the directory naming possibilities.
      
      - additional -list-test option (tests for existence of directory).
      bad27c45
    • Mark Olesen's avatar
      STYLE: suppress unalias warnings/errors · e6e617ed
      Mark Olesen authored
      - cleanup variables last in etc/bashrc for a clean exit code
      e6e617ed
  9. Mar 22, 2017
  10. Mar 20, 2017
    • Mark Olesen's avatar
      ENH: minor improvements to environment · b970ba09
      Mark Olesen authored
      - handle sourcing bashrc with a relative path (issue #383)
      - handle sourcing from bash and zsh.
        Still need manual intervention when sourcing dash, sh, or ksh.
      - replace grep in etc/cshrc with sed only
      - logical instead of physical path for WM_PROJECT_DIR (issue #431).
        Doesn't seem to be possible for csh/tcsh.
      
        * Continue using physical locations when comparing directories,
          but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR.
      
      - relocate WM_CC, WM_CXX overrides from etc/config.*/compiler
        to etc/config.*/settings to ensure that they are left untouched
        when etc/config.sh/compiler is sourced while making third-party
        packages (eg, gcc, llvm, CGAL).
      
      - provide fallback FOAM_TUTORIALS setting in RunFunctions
      
      STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
      b970ba09
  11. Mar 14, 2017
  12. Mar 10, 2017
  13. Mar 07, 2017
  14. Feb 23, 2017
  15. Feb 20, 2017
  16. Feb 16, 2017
  17. Feb 09, 2017
  18. 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
  19. Dec 23, 2016
  20. 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
  21. Dec 20, 2016
  22. Dec 19, 2016
  23. Dec 16, 2016
  24. Dec 15, 2016
  25. Dec 14, 2016
  26. Dec 13, 2016
  27. Dec 09, 2016
  28. Dec 01, 2016
  29. Nov 29, 2016