- 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
-
- Apr 27, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Apr 23, 2021
-
-
-
Mark OLESEN authored
- largely as per patch from Jong-Gwan (Jason) Do NB: the intel-one setup adds in paths for intelmpi. Its mpicc version does not harmonize with the OpenFOAM system openmpi setup (using mpicc --showme:link). Needs adjustment, or use intelmpi instead. - update name mappings for newer gcc, clang versions
-
- Mar 29, 2021
-
-
- previously had a very old (likely irrelevant) setting for solaris systems only. - support site-specific customization. Eg, using etc/config.{csh,sh}/prefs.fjmpi - remove erroneous shell redirects present in cshell files
-
- Mar 09, 2021
-
-
Mark OLESEN authored
- fvMeshDistribute and redistributePar changes
-
- Mar 05, 2021
-
-
Mark OLESEN authored
- int64 ambiguity - std::array include - bsd-sed syntax (replaces gnu-sed syntax): * wmake-build-info * wmake-with-bear
-
- Feb 16, 2021
-
-
Mark OLESEN authored
- since the wrapped cmake calls generally use the regular build locations, add in MPI information to properly handle changes in that as well. This makes it easier to build for multiple MPI instances.
-
- Dec 21, 2020
-
-
Mark OLESEN authored
-
- Dec 17, 2020
-
-
Mark OLESEN authored
-
- Dec 15, 2020
-
-
Mark OLESEN authored
- useful for diagnosing which MPI paths and flags are being used when setting up for a new MPI configuration.
-
- Dec 11, 2020
-
-
Mark OLESEN authored
- provides a hook for specifying alternative locations
-
- Dec 08, 2020
-
-
Mark OLESEN authored
- Makefile only checks set/unset, so handle 'false' within wmake itself
-
- Nov 30, 2020
-
-
Mark OLESEN authored
- makes it easier to combine with -log options etc.
-
- Nov 26, 2020
-
-
Mark OLESEN authored
- relocated module-prefix handling to wmakeFunctions
-
Mark OLESEN authored
Example usage, wmake -with-bear src/OpenFOAM src/Allwmake -with-bear -s -j - bin/tools/vscode-settings Emit some json content suitable for setting up Visual Studio Code for use with OpenFOAM. For example, bin/tools/vscode-settings > .vscode/settings.json Ideas from Volker Weissman
-
- Nov 25, 2020
-
-
Mark OLESEN authored
- mostly to reflect changes in config prefs and output methods
-
- Nov 17, 2020
-
-
Mark OLESEN authored
-
- Nov 11, 2020
-
-
Mark OLESEN authored
- prefix FOAM_MPI and library directories with 'sys-' for system versions for uniform identication. WM_MPLIB | libdir (FOAM_MPI) | old naming | SYSTEMMPI | sys-mpi | mpi | SYSTEMOPENMPI | sys-openmpi | openmpi-system | - prefix preferences with 'prefs.' to make them more easily identifiable, and update bin/tools/create-mpi-config accordingly Old name: config.{csh,sh}/openmpi New name: config.{csh,sh}/prefs.openmpi - additional mpi preferences now available: * prefs.intelmpi * prefs.mpich ... CONFIG: added hook for EASYBUILDMPI (eb-mpi), somewhat like USERMPI - EasyBuild uses mpicc when compiling, so no explicit wmake rules are used ENH: support different major versions for system openmpi - for example, with WM_MPLIB=SYSTEMOPENMPI2 defines FOAM_MPI=sys-openmpi2 and thus creates lib/sys-openmpi2 ENH: centralize handling of mpi as 'mpi-rules' Before: sinclude $(G...
-
- Nov 09, 2020
-
-
Mark OLESEN authored
ENH: provide fallback prefix for cmake detection STYLE: simplify some shell syntax, avoid uname call in sysFunctions STYLE: report FOAM_MPI during mpiLib builds
-
- Nov 07, 2020
-
-
Mark OLESEN authored
- upstream fixes: minor compiler warnings, style changes
-
- Nov 04, 2020
-
-
Mark OLESEN authored
- no limit to the number of ways of filing ptscotch libraries. RedHat/Fedora/CentOS should look for these directories: ptscotch include=/usr/include/openmpi-x86_64 ptscotch library=/usr/lib64/openmpi/lib when MPI_ARCH_PATH=/usr/lib64/openmpi and mpicc --showme:compile yields -I/usr/include/openmpi-x86_64
-
Mark OLESEN authored
- ensures that subsequent Allwmake scripts know about it. ENH: add bin/tools/query-detect wrapper for wmake have_* scripts CONFIG: use project/ThirdParty without additional sanity checks - no need to test for Allwmake or platforms/ if ThirdParty is located within the project directory itself. COMP: add simple mpi test to 00-dummy - for testing library linkage, etc.
-
- Oct 12, 2020
-
-
Mark OLESEN authored
- mostly reflects minor additions to Pstream methods and blockMesh improvements.
-
Mark OLESEN authored
- on ArchLinux, everything is installed under /usr/include/scotch. The detection script uses SCOTCH_ARCH_PATH as an initial guess for ptscotch as well. However, on the second pass, it has an absolute value ("/usr") instead of a logical one ("scotch-system"). This resulted in the logic for handling scotch+ptscotch subdirs being bypassed.
-
- Sep 23, 2020
-
-
Mark OLESEN authored
- aids when locating truncated files
-