openfoam/wmake/rules/linuxIcc
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
..
c CONFIG: refactor common link rules, support FOAM_EXTRA_CFLAGS (#1256) 2020-05-06 13:10:30 +02:00
c++ CONFIG: refactor common link rules, support FOAM_EXTRA_CFLAGS (#1256) 2020-05-06 13:10:30 +02:00
c++Debug STYLE: remove trailing space from wmake rules 2010-11-17 11:22:31 +01:00
c++Opt wmake/rules/linux.*Icc: Remove -xHost option which causes surfaceFeatureExtract to fail for some cases 2016-04-25 22:29:22 +01:00
c++Prof Corrected the setting of WM_COMPILER and renamed I32 and I64 to Icc. 2008-05-29 16:02:39 +01:00
cDebug STYLE: remove trailing space from wmake rules 2010-11-17 11:22:31 +01:00
cOpt wmake/rules/linux.*Icc: Remove -xHost option which causes surfaceFeatureExtract to fail for some cases 2016-04-25 22:29:22 +01:00
cProf Corrected the setting of WM_COMPILER and renamed I32 and I64 to Icc. 2008-05-29 16:02:39 +01:00
general CONFIG: improve support for compiler/link options (#1830) 2020-09-07 09:45:51 +02:00
mplibHPMPI CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00