mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- tie the MPI rules to the base compiler type *without* its version. Eg, linux64Gcc (which exists) instead of linux64Gcc81
27 lines
751 B
Plaintext
27 lines
751 B
Plaintext
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
|
|
sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)
|
|
|
|
EXE_INC = \
|
|
$(PFLAGS) $(PINC) \
|
|
-I$(SCOTCH_ARCH_PATH)/include/$(FOAM_MPI) \
|
|
-I$(SCOTCH_ARCH_PATH)/include \
|
|
-I/usr/include/scotch \
|
|
-I../decompositionMethods/lnInclude
|
|
|
|
/*
|
|
* The '-lscotch' is a slight hack:
|
|
* ptscotch 6 requires scotch linked in, but does not declare the dependency
|
|
*
|
|
* The $(SCOTCH_ARCH_PATH)/lib$WM_COMPILER_LIB_ARCH path is provided
|
|
* to support central, non-thirdparty installations
|
|
*/
|
|
LIB_LIBS = \
|
|
-L$(SCOTCH_ARCH_PATH)/lib \
|
|
-L$(SCOTCH_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
|
|
-L$(FOAM_EXT_LIBBIN) \
|
|
-L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \
|
|
-lptscotch \
|
|
-lptscotcherrexit \
|
|
-lscotch \
|
|
-lrt
|