diff --git a/.github/workflows/CPU_inferencce_validation.yml b/.github/workflows/CPU_inferencce_validation.yml index c1efbc71..598f1a14 100644 --- a/.github/workflows/CPU_inferencce_validation.yml +++ b/.github/workflows/CPU_inferencce_validation.yml @@ -7,7 +7,7 @@ on: branches: - master jobs: - gpu_build: + build_validation: runs-on: self-hosted if: github.repository_owner == 'deepmodeling' container: @@ -27,7 +27,7 @@ jobs: export DEBIAN_FRONTEND=noninteractive apt-get -y install openfoam7 git clone https://github.com/deepmodeling/deepflame-dev.git - cd deepflame-dev + cd deepflame-dev wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.sh -b . ~/miniconda3/etc/profile.d/conda.sh @@ -46,6 +46,6 @@ jobs: OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1 OMPI_MCA_btl_vader_single_copy_mechanism: none run: - /bin/bash -c "source ~/miniconda3/etc/profile.d/conda.sh && conda activate libcantera && source /opt/openfoam7/etc/bashrc && . configure.sh --use_pytorch && source ./bashrc && . install.sh && cd test && ./Allrun && cmake -B build && cmake --build build && cd build && ctest" + /bin/bash -c "source ~/miniconda3/etc/profile.d/conda.sh && conda activate libcantera && source /opt/openfoam7/etc/bashrc && . configure.sh --use_pytorch && source ./bashrc && . install.sh && git clone https://github.com/deepcombustion/deepcombustion.git && cp -r deepcombustion/DeePCK/Model/HE04_Hydrogen_ESH2_GMS_sub_20221101/ mechanisms/ && ls mechanisms/&& cd test && ./Allrun && cmake -B build && cmake --build build && cd build && ctest" diff --git a/examples/dfHighSpeedFoam/oneD_detonationH2/Allrun b/examples/dfHighSpeedFoam/oneD_detonationH2/Allrun index 400e3ddc..c39982ff 100755 --- a/examples/dfHighSpeedFoam/oneD_detonationH2/Allrun +++ b/examples/dfHighSpeedFoam/oneD_detonationH2/Allrun @@ -10,4 +10,4 @@ cp -r 0_orig/ 0/ runApplication blockMesh runApplication setFields runApplication decomposePar -runApplication mpirun -np 4 $application -parallel +runApplication mpirun --oversubscribe -np 8 $application -parallel diff --git a/examples/dfHighSpeedFoam/oneD_detonationH2/system/decomposeParDict b/examples/dfHighSpeedFoam/oneD_detonationH2/system/decomposeParDict index e6fbae05..e183b65d 100755 --- a/examples/dfHighSpeedFoam/oneD_detonationH2/system/decomposeParDict +++ b/examples/dfHighSpeedFoam/oneD_detonationH2/system/decomposeParDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -numberOfSubdomains 4; +numberOfSubdomains 8; method scotch; diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4b54db31..250d4829 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -35,4 +35,4 @@ target_link_libraries( include(GoogleTest) -gtest_discover_tests(corrtest) \ No newline at end of file +gtest_discover_tests(corrtest)