deepflame-dev icon indicating copy to clipboard operation
deepflame-dev copied to clipboard

example算例错误

Open xingziyangxyz opened this issue 1 year ago • 0 comments

安装完成后进入example中,计算deepflame-dev/examples/dfLowMachFoam/pytorch/oneD_freelyPropagation/H2算例,出现错误: I/O : uncollated Case : /home/zndl/Program/deepflame-dev/examples/dfLowMachFoam/pytorch/oneD_freelyPropagation/H2 nProcs : 4 Slaves : 3 ( "DESKTOP-BU583Q7.22967" "DESKTOP-BU583Q7.22968" "DESKTOP-BU583Q7.22969" )

Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 Create time

Create mesh for time = 0

PIMPLE: No convergence criteria found

PIMPLE: Operating solver in transient mode with 1 outer corrector PIMPLE: Operating solver in PISO mode

Reading thermophysical properties

Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type laminar Selecting laminar stress model Stokes Creating field dpdt

Creating reaction model

Selecting combustion model laminar my ProcessNo in worldComm = 2 my ProcessNo in cvodeComm = 1 my ProcessNo in worldComm = 3 my ProcessNo in cvodeComm = 2 --- I am here in Cantera-construct --- relTol_ === 1e-06 absTol_ === 1e-10 using integrated reaction rate my ProcessNo in worldComm = 1 my ProcessNo in cvodeComm = 0 end Creating reaction model

Combustion Model Name is confirmed as laminar At initial time, min/max(T) = 500, 2485.8 Creating field kinetic energy K

Courant Number mean: 0.118005 max: 0.244741

Starting time loop

Courant Number mean: 0.118005 max: 0.244741 Time = 1e-06

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCGStab: Solving for Ux, Initial residual = 0.0950991, Final residual = 2.33401e-07, No Iterations 2 === begin solve_CVODE === Now DLB algorithm is used!! === end solve_CVODE === DILUPBiCGStab: Solving for H, Initial residual = 0.00220372, Final residual = 2.53982e-11, No Iterations 2 DILUPBiCGStab: Solving for H2, Initial residual = 0.00108492, Final residual = 1.66491e-08, No Iterations 1 DILUPBiCGStab: Solving for O, Initial residual = 0.000818148, Final residual = 3.39935e-08, No Iterations 1 DILUPBiCGStab: Solving for OH, Initial residual = 0.000651513, Final residual = 1.12014e-08, No Iterations 1 DILUPBiCGStab: Solving for H2O, Initial residual = 0.000492129, Final residual = 6.76546e-09, No Iterations 1 DILUPBiCGStab: Solving for O2, Initial residual = 0.000429281, Final residual = 4.43216e-11, No Iterations 1 DILUPBiCGStab: Solving for HO2, Initial residual = 0.0165753, Final residual = 1.06023e-08, No Iterations 2 DILUPBiCGStab: Solving for H2O2, Initial residual = 1, Final residual = 5.6048e-19, No Iterations 3 DILUPBiCGStab: Solving for energy, Initial residual = 0.929267, Final residual = 4.69609e-17, No Iterations 1 min/max(T) = 492.728, 2485.81 DICPCG: Solving for p, Initial residual = 1, Final residual = 0.00350185, No Iterations 1 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 1.98367e-06, global = 1.98367e-06, cumulative = 1.98367e-06 DICPCG: Solving for p, Initial residual = 0.0506824, Final residual = 4.79239e-13, No Iterations 5 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 3.18048e-14, global = -7.16901e-16, cumulative = 1.98367e-06 ========Time Spent in diffenet parts======== loop Time = 0.016075 s other Time = 0 s rho Equations = 7.6e-05 s U Equations = 0.000457 s Y Equations = 0.00114947 s E Equations = 0.000253 s p Equations = 0.000525 s chemistry correctThermo = 0.000166 s turbulence correct = 1e-06 s combustion correct(in Y) = 0.0133525 s percentage of chemistry = 83.064 % percentage of rho/U/Y/E = 12.0402 % ========Time details of each equation======= rhoEqn Time = 0.000151 s rhoEqn assamble = 5.1e-05 s rhoEqn assamble(CPU prepare) = 0 s rhoEqn assamble(GPU run) = 0 s rhoEqn solve = 0.0001 s rhoEqn correct boundary = 0 s UEqn Time = 0.000456 s UEqn assamble = 0.000321 s UEqn assamble(CPU prepare) = 0 s UEqn assamble(GPU run) = 0 s UEqn solve = 0.000135 s UEqn correct boundary = 0 s UEqn H = 0 s UEqn H(GPU run) = 0 s UEqn H(correct boundary) = 0 s UEqn A = 0 s UEqn A(GPU run) = 0 s UEqn A(correct boundary) = 0 s YEqn Time = 0.000829 s YEqn assamble = 0.00028 s YEqn assamble(CPU prepare) = 0 s YEqn assamble(GPU run) = 0 s YEqn solve = 0.00021 s YEqn correct boundary = 0 s EEqn Time = 0.000253 s EEqn assamble = 0.000207 s EEqn assamble(CPU prepare) = 0 s EEqn assamble(GPU prepare) = 0 s EEqn assamble(GPU run) = 0 s EEqn solve = 4.6e-05 s EEqn correct boundary = 0 s pEqn Time = 0 s pEqn Time solve = 0 s

ExecutionTime = 0.03 s ClockTime = 0 s allsolveTime = 0 s submasterTime = 0 s sendProblemTime = 0 s recvProblemTime = 0 s sendRecvSolutionTime = 0 s getDNNinputsTime = 0 s DNNinferenceTime = 0 s updateSolutionBufferTime = 0 s vec2ndarrayTime = 0 s pythonTime = 0 s

Courant Number mean: 0.121514 max: 0.41558 Time = 2e-06

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCGStab: Solving for Ux, Initial residual = 0.221961, Final residual = 3.5637e-07, No Iterations 1 === begin solve_DNN === now DNN inference is conducted on GPU slaveTime = 6.779e-06 slaveTime = 1.603e-05 slaveTime = 1.6235e-05 problemSize = 880 [DESKTOP-BU583Q7:22966] *** Process received signal *** [DESKTOP-BU583Q7:22966] Signal: Aborted (6) [DESKTOP-BU583Q7:22966] Signal code: (-6) [DESKTOP-BU583Q7:22966] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fcfdb956420] [DESKTOP-BU583Q7:22966] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fcfdb79300b] [DESKTOP-BU583Q7:22966] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fcfdb772859] [DESKTOP-BU583Q7:22966] [ 3] /home/zndl/Program/miniconda3/envs/deepflame/lib/libstdc++.so.6(+0xb135a)[0x7fcfdbbbc35a] [DESKTOP-BU583Q7:22966] [ 4] /home/zndl/Program/miniconda3/envs/deepflame/lib/libstdc++.so.6(+0xb13c5)[0x7fcfdbbbc3c5] [DESKTOP-BU583Q7:22966] [ 5] /home/zndl/Program/miniconda3/envs/deepflame/lib/libstdc++.so.6(+0xb1658)[0x7fcfdbbbc658] [DESKTOP-BU583Q7:22966] [ 6] /home/zndl/Program/deepflame-dev/platforms/linux64GccDPInt32Opt/lib/libdfCombustionModels.so(+0x73535)[0x7fcfdcf4d535] [DESKTOP-BU583Q7:22966] [ 7] /home/zndl/Program/deepflame-dev/platforms/linux64GccDPInt32Opt/lib/libdfCombustionModels.so(ZN4Foam16dfChemistryModelINS_11basicThermoEE9solve_DNNINS_12UniformFieldIdEEEEdRKT+0x16d9)[0x7fcfdcfb3029] [DESKTOP-BU583Q7:22966] [ 8] /home/zndl/Program/deepflame-dev/platforms/linux64GccDPInt32Opt/lib/libdfCombustionModels.so(_ZN4Foam16combustionModels7laminarINS_11basicThermoEE7correctEv+0x292)[0x7fcfdcfb3d92] [DESKTOP-BU583Q7:22966] [ 9] dfLowMachFoam(+0x3f389)[0x55f0a80d7389] [DESKTOP-BU583Q7:22966] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fcfdb774083] [DESKTOP-BU583Q7:22966] [11] dfLowMachFoam(+0x43a9e)[0x55f0a80dba9e] [DESKTOP-BU583Q7:22966] *** End of error message ***

Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted.


mpirun noticed that process rank 0 with PID 0 on node DESKTOP-BU583Q7 exited on signal 6 (Aborted).

xingziyangxyz avatar Jan 05 '24 05:01 xingziyangxyz