Skip to content
Snippets Groups Projects
  1. Apr 08, 2020
  2. Apr 06, 2020
  3. Mar 25, 2020
  4. Mar 17, 2020
  5. Mar 16, 2020
    • Mark OLESEN's avatar
      CONFIG: improve prefix matching for system libraries (#1607) · fe17c8ad
      Mark OLESEN authored
      - missed detection of system libraries when installed with multiarch
        paths like /usr/lib/x86_64-linux-gnu
      
      CONFIG: improve handling of group/user config files (#928)
      
      - changed bashrc handling of FOAM_CONFIG_NOUSER to use
        FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this
        a stickier control.
      
        This change allows better control, but also enables cluster
        installations to define their own value within the OpenFOAM prefs.sh
        file to prevent users accidentally mis-configuring things if
        necessary.
      
      - remove undocumented handling of an (a)ll mode in foamEtcFile to
        avoid potential pitfalls.
      
      - add support for FOAM_CONFIG_ETC handling.
        This allows injection of an extra search layer when finding
        project etc files
      
      ENH: improvements to foamConfigurePaths (#928)
      
      - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new
        -etc option.
      
      STYLE: more explicit wording in foamConfigurePaths usage (#1602)
      
      - document that an absolute path (eg, -scotch-path) overrides/ignores
        the equivalent ThirdParty setting (eg, -scotch)
      
      - longer options -system-compiler and -third-compiler for -system
        and -third, respectively. Clearer as to their purpose.
      
      - adjust the location sanity check to look for META-INFO directory.
      fe17c8ad
    • Mark OLESEN's avatar
      ENH: openfoam shell session - improved and relocated · ba3a31af
      Mark OLESEN authored
      - '-c' option (as per shell), '-Dkey[=value]' option to provide
        preferences via the command-line. For example,
      
            etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
      
        These can also be combined with other options. Eg,
      
            etc/openfoam -DWM_COMPILER=Clang \
                -c 'wmake -show-path-cxx -show-cxxflags'
      
      - relocated from bin/tools/ => etc/ for easier access
      
      - bin/tools/openfoam.in : for autoconfig-style installation
      
      - Auto-detect if the shell script was executed with openfoam and
        interpret accordingly.
      
        Simple example,
      
            --------------
            #!/usr/bin/openfoam
            cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
      
            blockMesh
            simpleFoam
            --------------
      
         Note it is NOT currently possible to provide any other parameters
         this way. Eg,
      
            `#!/usr/bin/openfoam -sp` (NOT)
      
         This will either fail to run, or result in infinite recursion.
      ba3a31af
    • Mark OLESEN's avatar
      ENH: support packing of modules-only tar files (#907) · c35e7a7b
      Mark OLESEN authored
      - make tar-file generation more flexible
      c35e7a7b
  6. Feb 24, 2020
    • Mark OLESEN's avatar
      CONFIG: improve prefix matching for system libraries (#1607) · 5ba2cbc5
      Mark OLESEN authored
      - missed detection of system libraries when installed with multiarch
        paths like /usr/lib/x86_64-linux-gnu
      
      CONFIG: improve handling of group/user config files (#928)
      
      - changed bashrc handling of FOAM_CONFIG_NOUSER to use
        FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this
        a stickier control.
      
        This change allows better control, but also enables cluster
        installations to define their own value within the OpenFOAM prefs.sh
        file to prevent users accidentally mis-configuring things if
        necessary.
      
      - remove undocumented handling of an (a)ll mode in foamEtcFile to
        avoid potential pitfalls.
      
      - add support for FOAM_CONFIG_ETC handling.
        This allows injection of an extra search layer when finding
        project etc files
      
      ENH: improvements to foamConfigurePaths (#928)
      
      - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new
        -etc option.
      
      STYLE: more explicit wording in foamConfigurePaths usage (#1602)
      
      - document that an absolute path (eg, -scotch-path) overrides/ignores
        the equivalent ThirdParty setting (eg, -scotch)
      
      - longer options -system-compiler and -third-compiler for -system
        and -third, respectively. Clearer as to their purpose.
      
      - adjust the location sanity check to look for META-INFO directory.
      5ba2cbc5
  7. Feb 12, 2020
    • Mark OLESEN's avatar
    • Mark OLESEN's avatar
      ENH: openfoam shell session - improved and relocated · f90de021
      Mark OLESEN authored
      - '-c' option (as per shell), '-Dkey[=value]' option to provide
        preferences via the command-line. For example,
      
            etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
      
        These can also be combined with other options. Eg,
      
            etc/openfoam -DWM_COMPILER=Clang \
                -c 'wmake -show-path-cxx -show-cxxflags'
      
      - relocated from bin/tools/ => etc/ for easier access
      
      - bin/tools/openfoam.in : for autoconfig-style installation
      
      - Auto-detect if the shell script was executed with openfoam and
        interpret accordingly.
      
        Simple example,
      
            --------------
            #!/usr/bin/openfoam
            cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
      
            blockMesh
            simpleFoam
            --------------
      
         Note it is NOT currently possible to provide any other parameters
         this way. Eg,
      
            `#!/usr/bin/openfoam -sp` (NOT)
      
         This will either fail to run, or result in infinite recursion.
      f90de021
    • Mark OLESEN's avatar
      STYLE: limit foamEtcFile -show-api to querying the META-INFO/api-info · d483123c
      Mark OLESEN authored
      - simplifies code, covers most cases.
        Can use wmake -show-api or wmakeBuildInfo to query the make rules.
      
      STYLE: Allwmake script adjustments
      
      - use bin/foamEtcFile instead of relying on PATH.
        The make environment may not have the OpenFOAM bin/ in it.
      
      - simpler shell syntax
      d483123c
  8. Feb 07, 2020
  9. Feb 06, 2020
    • Mark OLESEN's avatar
      CONFIG: provide separate default settings for clang/gcc (fixes #1566) · 92a148e9
      Mark OLESEN authored
      - the foamConfigurePaths script is quite simplistic and aggressive in
        what it changes. This was particularly evident when using it to
        change gcc/clang versions.
      
        Restructured the corresponding compiler settings to define default
        versions (eg, "default_gcc_version") that limits the scope of
        changes performed by foamConfigurePaths and makes it easier to
        understand if changing manually.
      92a148e9
  10. Feb 03, 2020
    • Mark OLESEN's avatar
      CONFIG: provide separate default settings for clang/gcc (fixes #1566) · 81015889
      Mark OLESEN authored
      - the foamConfigurePaths script is quite simplistic and aggressive in
        what it changes. This was particularly evident when using it to
        change gcc/clang versions.
      
        Restructured the corresponding compiler settings to define default
        versions (eg, "default_gcc_version") that limits the scope of
        changes performed by foamConfigurePaths and makes it easier to
        understand if changing manually.
      81015889
  11. Jan 22, 2020
  12. Dec 23, 2019
  13. Dec 18, 2019
  14. Nov 25, 2019
  15. Nov 19, 2019
  16. Nov 18, 2019
  17. Nov 13, 2019
    • Mark OLESEN's avatar
      CONFIG: add build-info to archives · 297adc87
      Mark OLESEN authored
      - save in META-INFO/build-info for later re-compilation without git.
        This improves tracking beyond simply referring to the the patch level.
      
        The information is tagged with an underscore to distinguish from
        "real" build information when git is available.
      
      STYLE: improved shell syntax, pushd/popd guards etc.
      297adc87
  18. Nov 12, 2019
  19. Nov 01, 2019
  20. Oct 31, 2019
  21. Nov 10, 2019
  22. Oct 17, 2019
  23. Sep 25, 2019
  24. Aug 28, 2019
    • Mark OLESEN's avatar
      BUG: missing foamExec causes foamJob failure (#1309, #1411) · b6eeaf51
      Mark OLESEN authored
      - foamExec was removed as part of commit 6c68c34e but
        overlooked the fact that it is partly still needed by foamJob.
        When running in parallel, it is used to source the etc/bashrc env.
      
        Reinstated a stripped down form, which has been relocated to
        bin/tools directory (it should not be directly called by the user).
      
        The previous version switching functionality has nonetheless be
        dropped since it only worked only when a rigid naming convention for
        OpenFOAM installations was followed.
      
      ENH: add foamJob log=, -log-app, -no-log options, improved coding quality
      b6eeaf51
  25. Nov 08, 2019
  26. Nov 06, 2019
  27. Oct 17, 2019
  28. Nov 01, 2019
  29. Oct 25, 2019
    • Mark OLESEN's avatar
      ENH: add flexible command options for setting Debug and Info switches #1467 · da332229
      Mark OLESEN authored
      For example,
      
         $ someSolver -info-switch writeOptionalEntries
      
      - note that values changed via the command-line are changed after the
        etc/controlDict entries, but *before* any case-local
        system/controlDict entries.
      
        However, in many testing cases the command-line options eliminate
        the need for such local file modifications.
      
      ENH: cleanup handling of local debug switches in Time
      
      - add as methods directly on simpleObjectRegistry to avoid code
        duplication
      
      STYLE: adjust internal naming of ITstream parameters
      da332229
  30. Oct 01, 2019
  31. Sep 25, 2019
  32. Aug 16, 2019
  33. Aug 07, 2019