Skip to content
Snippets Groups Projects
  1. Nov 21, 2018
  2. Oct 15, 2018
  3. Jul 27, 2018
  4. Jun 28, 2018
  5. 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
  6. Jun 19, 2018
  7. Dec 21, 2017
  8. Dec 18, 2017
  9. Dec 14, 2017
  10. May 07, 2018
  11. Mar 21, 2018
  12. Mar 05, 2018
  13. Jan 24, 2018
  14. 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
  15. Nov 20, 2017
  16. Jul 19, 2018
  17. Jul 18, 2018
    • Mark OLESEN's avatar
      ENH: more tuning parameters for user environment · a225d5f8
      Mark OLESEN authored
      - FOAM_CONFIG_NOUSER
        Suppress use of user/group configuration files.
        This is useful when packaging for a central installation.
      
      - allow additional user tuning of compiler settings.
        Per-compiler overrides in "compiler-$WM_COMPILER" files
      a225d5f8
  18. Jul 10, 2018
  19. Nov 22, 2017
  20. Jun 15, 2018
  21. Aug 10, 2017
  22. Nov 03, 2017
  23. Aug 04, 2017
  24. 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
  25. 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
  26. Jun 21, 2017
  27. Jun 14, 2017
  28. Jun 08, 2017
  29. 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
  30. Apr 03, 2017
  31. 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
  32. Mar 23, 2017
  33. Mar 22, 2017
  34. Mar 13, 2017
  35. 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
  36. Mar 14, 2017
  37. Mar 10, 2017