- Dec 19, 2022
-
-
Mark OLESEN authored
- no guarantee that dpkg-architecture command is actually available, so revert to a reasonable guess from 'uname -m' and 'uname -s'
-
- Dec 13, 2022
-
-
Mark OLESEN authored
- README updated to v2212
-
- Dec 08, 2022
-
-
Mark OLESEN authored
-
- Nov 26, 2022
-
-
Mark OLESEN authored
-
- Nov 19, 2022
-
-
Mark OLESEN authored
- source-code (.c, .cpp etc) only adds to clutter in the lnInclude directory
-
- Nov 17, 2022
-
-
Mark OLESEN authored
ENH: use dictionary findDict() directly for debugSwitches - the isDict() method is just a wrapper around the pointer anyhow
-
Mark OLESEN authored
-
- Nov 16, 2022
-
-
Mark OLESEN authored
- can be used to avoid confusion with source files ENH: improve handling of '--' option termination (wmake scripts)
-
- Nov 15, 2022
-
-
Mark OLESEN authored
- eg, for partially incomplete systems (without libz devel header) ENH: clearer binding of dummy Pstream in OpenFOAM/Make/options - link of dummy stub Pstream now contingent on linking libOpenFOAM as well. This makes the purpose slightly clearer ENH: cleaner option naming/handling in wmake script - allow special purpose -no-openfoam option. Eg, compiling test programs without OpenFOAM and Pstream libraries but using the rest of the wmake system. ENH: add +openmp support into WM_COMPILE_CONTROL (#2633) - this adds compile/link flags for openmp. For single-use, can also use 'wmake -openmp'. If both +openmp and ~openmp are specified in WM_COMPILE_CONTROL the ~openmp will have priority. This is actually done indirectly since ~openmp will set empty COMP_OPENMP, LINK_OPENMP internal variables, which the +openmp then adds to the c++FLAGS and linkexe targets (ie, won't actually add anything). ENH: add +ccache or ccache=... support into WM_COMPILE_CONTROL (#2633) - with the first version (+ccache), simply use ccache from the path without any extra options. - with the second version (ccache=...), can be more specific about what is called. Using "+ccache" is identical to "ccache=ccache", but the later could be used in other ways. For example, ccache=/strange/install/path/ccache ccache=</path/my-tooling --option> Have the choice of unquoted, single or double quoted or '< >' quoted STYLE: relocate FOAM_EXTRA_LDFLAGS in general makefile - removes clutter for different linkers (eg, gold, mold, ldd) making it easier to extend for other linkers. STYLE: protect makefile checks with 'strip' function
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- was found to cause issues (snappyHexMesh specifically) on Fugaku. Reported by @Azami
-
- Oct 26, 2022
-
-
Mark OLESEN authored
- remove old, unneeded -DUSE_OMP define. - wmake -no-openmp option to add '~openmp' to WM_COMPILE_CONTROL ENH: add bash completion handling for wmake
-
- Sep 09, 2022
-
-
Mark OLESEN authored
- avoids truncated files if dependency generation is interrupted
-
Mark OLESEN authored
- uses '-g -DFULLDEBUG' (like Debug), but with -O3 (like Opt). This adds in debug symbols and FULLDEBUG code segments (good for code development) but retains -O3 optimizations and code paths and avoids the much slower -O0 associated with 'Debug'. - add in central wmake/General/common/{c,c++}XXX tuning, which helps reduce the number of nearly identical files ENH: add support for wmake -debug-Og
-
- Aug 19, 2022
-
-
Mark OLESEN authored
- the cpp command is used to process Make/{files,options}, but builtin defines such as `linux` will cause problems (macro replacement) if these is present in the Make/{files,options}. Solve by undefining -Ulinux, -Uunix macros, which will leave directory names such as "/usr/lib/x86_64-linux-gnu/..." intact. Directories with _linux, __linux__ content (for example), could still pose future issues.
-
- Jun 21, 2022
-
-
Mark OLESEN authored
- relevant docs updated to v2206
-
- Jun 02, 2022
-
-
Mark OLESEN authored
- rearranged order of flags so that FOAM_EXTRA_CXXFLAGS is added after the WARN/OPT/DBUG flags CONFIG: drop wmake rules for PGI compiler (defunct)
-
- May 31, 2022
-
-
Mark OLESEN authored
- redistributePar, expression sources, objectRegistry::sorted(), wallFunctions, solid motion updates, etc
-
Mark OLESEN authored
CONFIG: revise Pstream/OpenFOAM linkage (nvidia) - double-pass linkage seems to be unnecessary
-
- May 11, 2022
-
-
Mark OLESEN authored
COMP: compile utilites before solvers - there are no inter-dependencies, so favour getting utilities working first
-
- May 10, 2022
-
-
- only wrap compiler calls (not things like flex/bison) - avoid single quoted '&&' (causes syntax errors) STYLE: report WM_COMPILE_CONTROL value in top-level Allwmake
-
- Apr 29, 2022
-
-
Mark OLESEN authored
Eg, export WM_COMPILER=Clang130 export WM_COMPILE_CONTROL="version=13.0 +lld" - also support the mold linker (+mold) for clang STYLE: report as 'link' stage instead of 'ld' in short messages
-
- Mar 13, 2022
-
-
Mark OLESEN authored
- Pstream changes, coordSetWriters etc.
-
- Dec 15, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- https://github.com/spack/spack/pull/27949 COMP: respect FOAM_BUILDROOT for wmake -queue STYLE: fix stray paraview setting
-
- Dec 07, 2021
-
-
Mark OLESEN authored
- fix overly aggressive match in the API value - allow `INTELMPI*` generic value, this can be used to specify something like INTELMPI_custom and populate the corresponding wmake rule manually STYLE: mention FOAM_BUILDROOT in wmake -help-full output STYLE: adjust openfoam shell session welcome information - adjust internal variable names to reduce collision potential - improve handling of openfoam -etc=...
-
- Dec 03, 2021
-
-
Mark OLESEN authored
- specify any of these ./Allwmake -build-root=... wmake -build-root=... FOAM_BUILDROOT=... wmake these specify an alternative root where build artifacts are to land. Currently only used as an alternative for the 'build/' hierarchy since the 'platforms/' target normally includes inputs as well. Possible use: ``` ( export WM_MPLIB="%{foam_mplib}" export FOAM_MPI="%{foam_mpi}" export MPI_ARCH_PATH="%{mpi_prefix}" export FOAM_BUILDROOT=/tmp/mpibuild export FOAM_MPI_LIBBIN="$FOAM_BUILDROOT/platforms/$WM_OPTIONS/lib/$FOAM_MPI" src/Pstream/Allwmake-mpi ) ```
-
Mark OLESEN authored
- Function1, sampledSets, expressions, runTime selection tables
-
- Nov 09, 2021
-
-
Mark OLESEN authored
-
- Nov 04, 2021
-
-
Mark OLESEN authored
- was taking from the current head instead from specified commit-ish ENH: add -debian=NUM convenience option to foamPackRelease STYLE: relocate compile begin/end messages COMP: suppress more clang warnings (needed for boost)
-
- Nov 02, 2021
-
-
Mark OLESEN authored
- for compilers such as gcc and clang, may have several different variants installed on the computer. Use WM_COMPILER_CONTROL to specify the preferred variant. Eg, WM_COMPILER=Gcc WM_COMPILER_CONTROL="version=8" will compile with "gcc-8" and "g++-8" Good practice would be to tag output directory names with the version too. Eg WM_COMPILER=Clang110 WM_COMPILER_CONTROL="version=11.0" STYLE: modify message for change of gcc -> clang (darwin)
-
- Oct 29, 2021
-
-
Mark OLESEN authored
- reflects updates for List, globalIndex handling etc
-
Mark OLESEN authored
- it is now possible to include the selected mpi version in the top-level bashrc or prefs.sh file. For example, WM_MPLIB=OPENMPI-4.1.1 or WM_MPLIB=openmpi-4.1.1 after evaluation of the config.sh/mpi, this will define WM_MPLIB=OPENMPI-4.1.1 and FOAM_MPI=openmpi-4.1.1 During the wmake, the mpi-rules will first load the MPI 'family' rules (OPENMPI in this example) before trying to load version-specific rules if they exist. NOTE: the regular user-defined prefs system is unaffected by this change. This means it is still possible to use a file such as 'prefs.openmpi' to define the preferred version instead or as well. However, it does mean inconsistent naming can be specified. For example, specify WM_MPLIB=OPENMPI-4.1.1 at the top-level but actually have FOAM_MPI=openmpi-4.0.6 in the prefs.openmpi file. This will make the value of WM_MPLIB misleading. CONFIG: foamConfigurePaths support for sys-openmpi major version CONFIG: cleanup any shadow env variables
-
- Oct 21, 2021
-
-
Mark OLESEN authored
- migrate to c++14 for most compilers *except* gcc. There are still many systems in use with gcc-4.8.5, which does not support c++14. - initial rules for nvidia compilers (pgi is will soon be defunct). Not fully tested... CONFIG: provide fallback value for the user directory name - in containers may have an unset USER env variable. Default to 'user' to prevent ugly looking directory names.
-
- Sep 07, 2021
-
-
Mark OLESEN authored
- allows reuse of an int64_t scotch library with label-size 32 and/or label-size 64. COMP: prefer scotch/metis/kahip libraries with label-size qualifiers - as noted in #2200, mpirun may insert mpi libraries higher in the library loader which can cause masking of our ThirdParty libraries of the same name. With scotch (for example), the operating system may have an int32 version installed but we have an int64 version compiled under ThirdParty. Runing in serial is fine, but in parallel we resolve to the (incorrect) system version due to the adjustments in mpirun. - adjust the ThirdParty make scripts to also create corresponding links (eg, 'ln -s libscotch.so libscotch-int64.so') and prefer linkage with these qualified libraries. Eg, -L$(SCOTCH_LIB_DIR) -lscotch$(SCOTCH_LIBNAME_SUFFIX) this prevent accidental runtime linkage with the system versions. STYLE: simplify scotch interface code by using local functions
-
- Jul 28, 2021
-
-
Mark OLESEN authored
- liquid film, blockMesh changes, multiWorld communicators
-
- Jun 10, 2021
-
-
Mark OLESEN authored
- add to wmakeFunctions to ensure it works even without 'make' being installed. Exit immediately after -show-api for consistency with -version. foamEtcFile: - drop warnings for some old (pre-v1812) defunct options and simply flag as unknown options. - handle -version, --version as equivalent to -show-api
-
- May 31, 2021
-
-
Mark OLESEN authored
-
- May 19, 2021
-
-
Mark OLESEN authored
- reflect updated tokenizing of expressions, scotch/paraview version
-