|
| 1 | +-include $(GENERAL_RULES)/mplibType |
| 2 | + |
| 3 | +EXE_INC = -std=c++14 \ |
| 4 | + -g \ |
| 5 | + -fopenmp \ |
| 6 | + -Wno-unused-variable \ |
| 7 | + -Wno-unused-but-set-variable \ |
| 8 | + -Wno-old-style-cast \ |
| 9 | + -I. \ |
| 10 | + $(PFLAGS) $(PINC) \ |
| 11 | + -I$(LIB_SRC)/finiteVolume/lnInclude \ |
| 12 | + -I$(LIB_SRC)/meshTools/lnInclude \ |
| 13 | + -I$(LIB_SRC)/sampling/lnInclude \ |
| 14 | + -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ |
| 15 | + -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ |
| 16 | + -I$(LIB_SRC)/transportModels/compressible/lnInclude \ |
| 17 | + -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ |
| 18 | + -I$(LIB_SRC)/regionModels/regionModel/lnInclude \ |
| 19 | + -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ |
| 20 | + -I$(LIB_SRC)/regionModels/pyrolysisModels/lnInclude \ |
| 21 | + -I$(LIB_SRC)/lagrangian/basic/lnInclude \ |
| 22 | + -I$(DF_SRC)/lagrangian/intermediate/lnInclude \ |
| 23 | + -I$(LIB_SRC)/lagrangian/intermediate/lnInclude \ |
| 24 | + -I$(DF_SRC)/lagrangian/spray/lnInclude \ |
| 25 | + -I$(LIB_SRC)/lagrangian/spray/lnInclude \ |
| 26 | + -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ |
| 27 | + -I$(LIB_SRC)/ODE/lnInclude \ |
| 28 | + -I$(DF_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ |
| 29 | + -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ |
| 30 | + -I$(DF_SRC)/thermophysicalModels/SLGThermo/lnInclude \ |
| 31 | + -I$(LIB_SRC)/Pstream/mpi \ |
| 32 | + -I$(DF_SRC)/dfCanteraMixture/lnInclude \ |
| 33 | + -I$(DF_SRC)/dfChemistryModel/lnInclude \ |
| 34 | + -I$(DF_SRC)/dfCombustionModels/lnInclude \ |
| 35 | + -I$(CANTERA_ROOT)/include \ |
| 36 | + $(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include,) \ |
| 37 | + $(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include/torch/csrc/api/include,) \ |
| 38 | + $(PYTHON_INC_DIR) \ |
| 39 | + $(if $(AMGX_DIR), -I$(DF_ROOT)/src_gpu,) \ |
| 40 | + $(if $(AMGX_DIR), -I/usr/local/cuda/include,) \ |
| 41 | + $(if $(AMGX_DIR), -I$(AMGX_DIR)/include,) \ |
| 42 | + $(if $(ODE_GPU_SOLVER), -I$(OPENCC_PATH)/include,) \ |
| 43 | + $(if $(ODE_GPU_SOLVER), -DODE_GPU_SOLVER,) |
| 44 | + |
| 45 | +EXE_LIBS = \ |
| 46 | + -lfiniteVolume \ |
| 47 | + -lmeshTools \ |
| 48 | + -lsampling \ |
| 49 | + -lturbulenceModels \ |
| 50 | + -lcompressibleTransportModels \ |
| 51 | + -llagrangian \ |
| 52 | + -lregionModels \ |
| 53 | + -L$(DF_LIBBIN) \ |
| 54 | + -ldfSurfaceFilmModels \ |
| 55 | + -ldfSLGThermo \ |
| 56 | + -ldfLagrangianIntermediate \ |
| 57 | + -ldfLagrangianTurbulence \ |
| 58 | + -ldfLagrangianSpray \ |
| 59 | + -ldfFluidThermophysicalModels \ |
| 60 | + -ldfCompressibleTurbulenceModels \ |
| 61 | + -ldfThermophysicalProperties \ |
| 62 | + -ldfCanteraMixture \ |
| 63 | + -ldfChemistryModel \ |
| 64 | + -ldfCombustionModels \ |
| 65 | + $(CANTERA_ROOT)/lib/libcantera.so \ |
| 66 | + $(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libtorch.so,) \ |
| 67 | + $(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libc10.so,) \ |
| 68 | + $(if $(LIBTORCH_ROOT),-rdynamic,) \ |
| 69 | + $(if $(LIBTORCH_ROOT),-lpthread,) \ |
| 70 | + $(if $(LIBTORCH_ROOT),$(DF_SRC)/dfChemistryModel/DNNInferencer/build/libDNNInferencer.so,) \ |
| 71 | + $(if $(PYTHON_LIB_DIR),$(PYTHON_LIB_DIR),) \ |
| 72 | + $(if $(AMGX_DIR), /usr/local/cuda/lib64/libcudart.so,) \ |
| 73 | + $(if $(AMGX_DIR), /usr/local/cuda/lib64/libnccl.so,) \ |
| 74 | + $(if $(AMGX_DIR), $(DF_ROOT)/src_gpu/build/libdfMatrix.so,) \ |
| 75 | + $(if $(AMGX_DIR), $(AMGX_DIR)/build/libamgxsh.so,) \ |
| 76 | + $(if $(ODE_GPU_SOLVER), $(ODE_GPU_SOLVER)/lib/libopencc.so,) |
0 commit comments