- Follow similar pattern as per boost/CGAL with the '*-none' to disable, and '*-system' for system installations. Also support central non-ThirdParty installations by specifying the version as "*-system", but also providing the fully qualified *_ARCH_PATH too. -- ENH: Verify label and scalar sizes used in the metis header. - ensure they match with expected values, which can be obtained via the OpenFOAM definitions for WM_LABEL_SIZE and WM_PRECISION_OPTION
24 lines
621 B
Plaintext
24 lines
621 B
Plaintext
/*
|
|
* Note including of mplib compilation rules.
|
|
* This is purely to avoid scotch.h including mpicxx.h, which causes problems.
|
|
*/
|
|
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
|
|
sinclude $(RULES)/mplib$(WM_MPLIB)
|
|
|
|
EXE_INC = \
|
|
$(PFLAGS) $(PINC) \
|
|
-I$(SCOTCH_ARCH_PATH)/include \
|
|
-I/usr/include/scotch \
|
|
-I../decompositionMethods/lnInclude
|
|
|
|
/*
|
|
* 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$(WM_COMPILER_LIB_ARCH) \
|
|
-L$(FOAM_EXT_LIBBIN) \
|
|
-lscotch \
|
|
-lscotcherrexit \
|
|
-lrt
|