openfoam/wmake/rules/General/mplib-x86_64-INTELMPI
Mark Olesen d549826528 CONFIG: adjust intel compiler and mpi settings (#2056)
- 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
2021-04-23 11:39:29 +02:00

19 lines
614 B
Plaintext

#------------------------------------------------------------------------------
# INTELMPI rules (x86_64)
# - <root>/intel64/{include,lib}
# - <root>/{include,lib}
intelmpi_subdir := $(shell test -d "$(MPI_ARCH_PATH)/intel64" && echo /intel64)
PFLAGS = -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX
PINC = -isystem $(MPI_ARCH_PATH)$(intelmpi_subdir)/include
PLIBS = -L$(MPI_ARCH_PATH)$(intelmpi_subdir)/lib/release -lmpi
# DEBUG
# -----
## $(info MPI_ARCH_PATH: $(MPI_ARCH_PATH))
## $(info PINC $(PINC))
## $(info PLIBS $(PLIBS))
#------------------------------------------------------------------------------