Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/CPU_inferencce_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
conda activate libcantera
conda install -c cantera libcantera-devel=2.6
conda install pytorch pybind11
conda install pkg-config
conda install --channel https://conda.anaconda.org/zhaofeng-shu33 easydict
git clone https://github.com/deepmodeling/deepflame-dev.git
cd deepflame-dev
Expand All @@ -52,7 +53,7 @@ jobs:
&& cp -r flareFGM_Table_Download/SandiaD/flare.tbl examples/dfLowMachFoam/2DSandiaD_flareFGM/
&& git clone https://github.com/intelligent-algorithm-team/intelligent-combustion.git
&& cp -r intelligent-combustion/DeePCK/Model/HE04_Hydrogen_ESH2_GMS_sub_20221101/ mechanisms/ && source ~/miniconda3/etc/profile.d/conda.sh && conda activate libcantera && source /opt/openfoam7/etc/bashrc
&& . configure.sh && source ./bashrc && . install.sh
&& . configure.sh --use_pytorch&& source ./bashrc && . install.sh
&& cd test && ./Allrun && conda deactivate "

- name: test
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/df0DFoam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SET(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-

SET(CMAKE_C_COMPILER g++)
SET(PATH_LIB_OPENMPI "openmpi-system") # Foundation version
SET(EXE_COMPILE_OPTION "-std=c++17 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
SET(EXE_COMPILE_OPTION "-std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
-DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3
-DNoRepository -ftemplate-depth-100
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/df0DFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include $(GENERAL_RULES)/mplibType

EXE_INC = -std=c++17 \
EXE_INC = -std=c++14 \
-Wno-unused-variable \
-Wno-unused-but-set-variable \
-Wno-old-style-cast \
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfHighSpeedFoam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SET(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-

SET(CMAKE_C_COMPILER g++)
SET(PATH_LIB_OPENMPI "openmpi-system") # Foundation version
SET(EXE_COMPILE_OPTION "-std=c++17 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
SET(EXE_COMPILE_OPTION "-std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
-DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3
-DNoRepository -ftemplate-depth-100
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfHighSpeedFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include $(GENERAL_RULES)/mplibType

EXE_INC = -std=c++17 \
EXE_INC = -std=c++14 \
-Wno-unused-variable \
-Wno-unused-but-set-variable \
-Wno-old-style-cast \
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfLowMachFoam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ SET (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS})

SET(CMAKE_C_COMPILER g++)
SET(PATH_LIB_OPENMPI "openmpi-system") # Foundation version
SET(EXE_COMPILE_OPTION "-std=c++17 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
SET(EXE_COMPILE_OPTION "-std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
-DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3
-DNoRepository -ftemplate-depth-100
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfLowMachFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include $(GENERAL_RULES)/mplibType

EXE_INC = -std=c++17 \
EXE_INC = -std=c++14 \
-g \
-fopenmp \
-Wno-unused-variable \
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfSprayFoam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SET(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-

SET(CMAKE_C_COMPILER g++)
SET(PATH_LIB_OPENMPI "openmpi-system") # Foundation version
SET(EXE_COMPILE_OPTION "-std=c++17 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
SET(EXE_COMPILE_OPTION "-std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64
-DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3
-DNoRepository -ftemplate-depth-100
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfSprayFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include $(GENERAL_RULES)/mplibType

EXE_INC = -std=c++17 \
EXE_INC = -std=c++14 \
-Wno-unused-variable \
-Wno-unused-but-set-variable \
-Wno-old-style-cast \
Expand Down
2 changes: 1 addition & 1 deletion applications/utilities/flameSpeed/Make/options
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXE_INC = -std=c++17\
EXE_INC = -std=c++14\
-Wno-unused-variable \
-Wno-unused-but-set-variable \
-Wno-old-style-cast \
Expand Down
2 changes: 1 addition & 1 deletion src/TurbulenceModels/compressible/Make/options
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXE_INC = -std=c++17\
EXE_INC = -std=c++14\
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
Expand Down
2 changes: 1 addition & 1 deletion src/TurbulenceModels/turbulenceModels/Make/options
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXE_INC = -std=c++17\
EXE_INC = -std=c++14\
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
Expand Down
2 changes: 1 addition & 1 deletion src/dfCanteraMixture/Make/options
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXE_INC = -std=c++17\
EXE_INC = -std=c++14\
-Wno-old-style-cast \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
Expand Down
2 changes: 1 addition & 1 deletion src/dfChemistryModel/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include $(GENERAL_RULES)/mplibType

EXE_INC = -std=c++17 \
EXE_INC = -std=c++14 \
-Wno-old-style-cast \
$(PFLAGS) $(PINC) \
$(if $(LIBTORCH_ROOT),-DUSE_LIBTORCH,) \
Expand Down
Loading