openfoam/etc/config.csh
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
..
example CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
adios2 CONFIG: improve handling of in-source PETSC installations 2020-06-19 12:44:14 +02:00
aliases CONFIG: adjust aliases to use project-dir directly 2020-06-03 12:11:17 +02:00
CGAL STYLE: add hints about setting GMP/MPFR within etc/config.*sh/CGAL 2020-08-10 14:38:41 +02:00
compiler CONFIG: rationalize compiler tuning 2020-11-11 17:58:47 +01:00
complete-wrapper GIT: Header file updates 2019-10-31 14:48:44 +00:00
FFTW GIT: Header file updates 2019-10-31 14:48:44 +00:00
functions CONFIG: improve config files for Darwin (#1667), BSD-csh syntax (#1668) 2020-04-08 11:38:18 +02:00
hypre CONFIG: improve handling of in-source PETSC installations 2020-06-19 12:44:14 +02:00
mpi CONFIG: rationalize mpi config tuning (#1910) 2020-11-11 18:36:01 +01:00
paraview CONFIG: only set PV_PLUGIN_PATH if the directory actually exists 2020-05-22 21:53:42 +02:00
petsc CONFIG: update boost, cgal, openmpi versions (#1705) 2020-06-05 16:28:01 +02:00
settings CONFIG: rationalize compiler tuning 2020-11-11 17:58:47 +01:00
setup ENH: handle wmake -debug option via FOAM_EXTRA_CXX_FLAGS 2020-11-04 15:17:28 +01:00
tcsh_completion GIT: Header file updates 2019-10-31 14:48:44 +00:00
unset CONFIG: improve support for compiler/link options (#1830) 2020-09-07 09:45:51 +02:00
vtk CONFIG: prefer use of ParaView_MESA_DIR in runTimePostProcessing 2019-12-12 14:29:59 +01:00