openfoam/etc
Mark Olesen c91fc6f41c CONFIG: rationalize mpi config tuning (#1910)
- 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 $(GENERAL_RULES)/mplib$(WM_MPLIB)
        sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)

        ifeq (,$(FOAM_MPI_LIBBIN))
            FOAM_MPI_LIBBIN := $(FOAM_LIBBIN)/$(FOAM_MPI)
        endif

    After:
        include $(GENERAL_RULES)/mpi-rules

- also allows variants such as SYSTEMOPENMPI2 to be handled separately
2020-11-11 18:36:01 +01:00
..
caseDicts TUT: fix use of "constant/triSurface" etc (#1887) 2020-10-28 16:04:12 +01:00
codeTemplates CONFIG: incorrect BC code templates (fixes #1885) 2020-10-20 14:23:40 +02:00
config.csh CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
config.sh CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
templates REL: Updated headers to version v2006 2020-06-29 17:27:54 +01:00
thermoData thermophysicalModels: Changed specie thermodynamics from mole to mass basis 2017-02-17 11:22:14 +00:00
bashrc CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
cellModels REL: Updated headers to version v2006 2020-06-29 17:27:54 +01:00
colourTables REL: Updated headers to version v2006 2020-06-29 17:27:54 +01:00
controlDict ENH: replace finiteArea timeVaryingUniformFixedValue with Function1 version 2020-09-28 11:08:30 +02:00
cshrc CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
openfoam CONFIG: support openfoam -init=FILE 2020-06-23 15:35:52 +02:00