- Apr 08, 2020
-
-
Mark OLESEN authored
- use Clang instead of Gcc for Darwin since this is its system compiler. The user can force use of Gcc by using Gcc92 etc. - make etc/cshrc sed check more robust. - replace tcsh (${%var}) syntax with ("${var}" != "") [Fixes and ideas from Alexey Matveichev] CONFIG: do not source the gperftools environment by default - this is now an used feature, but can be re-enabled by advanced users if required.
-
- Mar 25, 2020
-
-
Mark OLESEN authored
-
- Mar 18, 2020
-
-
Andrew Heather authored
-
- 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
- allows custom tuning of compilation parameters
-
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.
-
- Mar 12, 2020
-
-
Mark OLESEN authored
- base level surface container is now a meshedSurface instead of a triSurface. This avoid automatic triangulation of surfaces when they are read, and simplifies the internals. - sampling types: * "meshedSurface" (compat: "sampledTriSurfaceMesh") * "meshedSurfaceNormal" (compat: "sampledTriSurfaceMeshNormal")
-
- 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 20, 2020
-
-
Mark OLESEN authored
- allows custom tuning of compilation parameters
-
- Feb 12, 2020
-
-
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.
-
- 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 05, 2020
-
-
Mark OLESEN authored
-
- 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.
-
mattijs authored
-
- Jan 16, 2020
-
-
Mark OLESEN authored
- remove (unused) Istream constructors, prune some unused methods, rationalize write() vs writeDict(). Deprecate inconsistent construction order. - handle empty names for ".ftr" surface patches (for plain triSurface format) with double-quoted strings for more reliable streaming. Written on a single line. This is _backward_ compatible, but if users have been parsing these files manually, they will need to adjust their code. Previously: ``` ( frt-fairing:001%1 empty windshield:002%2 empty ... ) ``` Updated (with example handling of empty name): ``` ( frt-fairing:001%1 empty windshield:002%2 "" ... ) ```
-
- Jan 10, 2020
-
-
Kutalmış Berçin authored
-
- Dec 23, 2019
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Dec 19, 2019
-
-
Mark OLESEN authored
- now use debug 2 for scanner and debug 4 for parser. Provided better feedback about what is being parsed (debug mode) - relocate debug application to applications/tools/foamExprParserInfo
-
- Dec 17, 2019
-
-
Mark OLESEN authored
- an empty WM_COMPILE_OPTION is treated internally (in make rules) like "Opt" - an empty WM_COMPILER_TYPE is treated like "system" (system compiler)
-
- Dec 16, 2019
-
-
Mark OLESEN authored
- locate where the user is less tempted to change it (#1515). It really should be considered an invariant environment variable. STYLE: wmake -help information to stdout, die errors to stderr
-
- Dec 13, 2019
-
-
Mark OLESEN authored
- skip processing OSspecific/MSwindows since this can cause duplicate doxygen entries STYLE: adjust formatting in code templates STYLE: use std::string methods without extra qualifications
-
- Dec 12, 2019
-
-
Mark OLESEN authored
- when using VTK from ParaView sources it can better to tag them as such, but simultaneously not mask the ParaView with hardware rendering. The additional ParaView_MESA_DIR variable allows this. The balance of library and path setup is unaffected by this. DOC: update doc/BuildIssues
-
- Nov 27, 2019
-
-
mattijs authored
-
- Nov 26, 2019
-
-
Mark OLESEN authored
-
- Nov 25, 2019
-
-
Mark OLESEN authored
-
- Nov 15, 2019
-
-
Mark OLESEN authored
-
- Nov 13, 2019
-
-
Mark OLESEN authored
-
- Oct 31, 2019
-
-
OpenFOAM bot authored
-
- Nov 11, 2019
-
-
Mark OLESEN authored
-
- Sep 25, 2019
-
-
Mark OLESEN authored
-
- Nov 06, 2019
-
-
Mark OLESEN authored
- no stderr redirect needed: * 'command -v' - no stdout/stderr redirect needed: * 'rm -f' STYLE: consistent spacing after redirects
-
- Nov 05, 2019
-
-
Mark OLESEN authored
- this can help if using std algorithms that return a const reference such as std::min() does.
-
- Nov 01, 2019
-
-
Mark OLESEN authored
-
- Oct 30, 2019
-
-
Mark OLESEN authored
-
- Oct 28, 2019
-
-
Mark OLESEN authored
- adjust known gcc/clang compiler versions
-
- Oct 02, 2019
-
-
Mark OLESEN authored
-
- Sep 25, 2019
-
-
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
-