- Apr 08, 2020
-
-
Mark OLESEN authored
- add edit of llvm/mesa/vtk paths. Reduce some verbosity - include Darwin in foamInstallationTest, foamSystemCheck to avoid a false negative.
-
- Apr 06, 2020
-
-
Mark OLESEN authored
-
- Mar 25, 2020
-
-
Mark OLESEN authored
- makes it easier to run/clean individual cases
-
- Mar 17, 2020
-
-
- Mar 16, 2020
-
-
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.
-
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.
-
Mark OLESEN authored
- make tar-file generation more flexible
-
- Feb 24, 2020
-
-
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.
-
- Feb 12, 2020
-
-
Mark OLESEN authored
-
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.
-
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
-
- Feb 07, 2020
-
-
Mark OLESEN authored
- Query the etc/config.sh values for ThirdParty software. Usable without an active OpenFOAM environment.
-
- Feb 06, 2020
-
-
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.
-
- Feb 03, 2020
-
-
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.
-
- Jan 22, 2020
-
-
Mark OLESEN authored
- allows suppression when the banner is suppressed
-
Mark OLESEN authored
For example, - ParaFoamReader = (paraview >= 5.7) - libParaFoamReader = (paraview < 5.7) and (OPENFOAM > 1912) - libPVFoamReader_SM = (OPENFOAM <= 1912)
-
- Dec 23, 2019
-
-
Andrew Heather authored
-
- Dec 18, 2019
-
-
Kutalmış Berçin authored
foamMonitor -g foamMonitor -grid
-
- Nov 25, 2019
-
-
Mark OLESEN authored
-
- Nov 19, 2019
-
-
Mark OLESEN authored
-
- Nov 18, 2019
-
-
Mark OLESEN authored
- handle quoted format statement (m4)
-
- Nov 13, 2019
-
-
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.
-
- Nov 12, 2019
-
-
Mark OLESEN authored
-
- Nov 01, 2019
-
-
Andrew Heather authored
-
- Oct 31, 2019
-
-
OpenFOAM bot authored
-
- Nov 10, 2019
-
-
Mark OLESEN authored
- can assist diagnosing when things have gone wrong
-
- Oct 17, 2019
-
-
Mark OLESEN authored
-
- Sep 25, 2019
-
-
Mark OLESEN authored
-
- Aug 28, 2019
-
-
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
-
- Nov 08, 2019
-
-
Mark OLESEN authored
- cleanup the run script syntax
-
- Nov 06, 2019
-
-
Mark OLESEN authored
- no stderr redirect needed: * 'command -v' - no stdout/stderr redirect needed: * 'rm -f' STYLE: consistent spacing after redirects
-
- Oct 17, 2019
-
-
Mark OLESEN authored
-
- Nov 01, 2019
-
-
Kutalmış Berçin authored
-
Mark OLESEN authored
-
- Oct 25, 2019
-
-
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
-
- Oct 01, 2019
-
-
Mark OLESEN authored
-
- Sep 25, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- call also be used non-interactively for simple 'one-shot' use of OpenFOAM utilities or solvers STYLE: use dash instead of brackets for '- see www.OpenFOAM.com' - less cluttered in combination with API information
-
- Aug 16, 2019
-
-
Mark OLESEN authored
CONFIG: remove adios1 config files
-
- Aug 07, 2019
-
-
Mark OLESEN authored
-