mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- 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
19 lines
614 B
Plaintext
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))
|
|
|
|
#------------------------------------------------------------------------------
|