# stop in parallel run.what can be the cause?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 30, 2012, 12:22 stop in parallel run.what can be the cause? #1 Senior Member     Ehsan Join Date: Oct 2012 Location: Iran Posts: 2,210 Rep Power: 19 Sponsored Links could someone help with this error? thanks. Code: ```Time = 0.001448178 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for Ux, Initial residual = 2.17729e-07, Final residual = 4.16691e-17, No Iterations 3 smoothSolver: Solving for Uy, Initial residual = 2.16012e-07, Final residual = 3.85315e-17, No Iterations 3 diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for e, Initial residual = 3.74091e-08, Final residual = 4.16705e-15, No Iterations 3 ExecutionTime = 2917.58 s ClockTime = 2939 s Mean and max Courant Numbers = 0.00841303 0.0499964 deltaT = 3.74883e-09 Time = 0.001448182 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for Ux, Initial residual = 2.17778e-07, Final residual = 4.89662e-17, No Iterations 3 smoothSolver: Solving for Uy, Initial residual = 2.15995e-07, Final residual = 3.71119e-17, No Iterations 3 diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for e, Initial residual = 3.75337e-08, Final residual = 4.18908e-15, No Iterations 3 ExecutionTime = 2917.6 s ClockTime = 2939 s Mean and max Courant Numbers = 0.00841311 0.0499973 deltaT = 3.74883e-09 Time = 0.001448186 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for Ux, Initial residual = 2.17833e-07, Final residual = 4.57998e-17, No Iterations 3 smoothSolver: Solving for Uy, Initial residual = 2.15984e-07, Final residual = 3.97908e-17, No Iterations 3 diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for e, Initial residual = 3.76702e-08, Final residual = 4.13611e-15, No Iterations 3 [0] [0] [0] --> FOAM FATAL ERROR: [0] Maximum number of iterations exceeded [0] [0] From function specieThermo::T(scalar f, scalar T0, scalar (specieThermo::*F)(const scalar) const, scalar (specieThermo::*dFdT)(const scalar) const) const [0] in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 69. [0] FOAM parallel run aborting [0] [0] #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #1 Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #2 Foam::specieThermo >::T(double, double, double (Foam::specieThermo >::*)(double) const, double (Foam::specieThermo >::*)(double) const, double (Foam::specieThermo >::*)(double) const) const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so" [0] #3 Foam::ePsiThermo > > > >::calculate() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so" [0] #4 Foam::ePsiThermo > > > >::correct() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so" [0] #5 [0] in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/rhoCentralFoam" [0] #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [0] #7 [0] in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/rhoCentralFoam" -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun has exited due to process rank 0 with PID 1873 on node thesis-X58A-UD7 exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -------------------------------------------------------------------------- Killing PID 1869 PyFoam WARNING on line 232 of file /usr/local/lib/python2.7/dist-packages/PyFoam/Execution/FoamThread.py : Process 1869 was already dead thesis@thesis-X58A-UD7:~/Desktop/method_4_2_2(revised)-laminar.042\$ paraFoam created temporary 'method_4_2_2(revised)-laminar.042.OpenFOAM' /opt/openfoam210/bin/paraFoam: 1: Syntax error: "(" unexpected thesis@thesis-X58A-UD7:~/Desktop/method_4_2_2(revised)-laminar.042\$ 　```

December 31, 2012, 02:18
#2
New Member

Traib
Join Date: Sep 2012
Posts: 27
Rep Power: 6
Quote:
 Originally Posted by immortality could someone help with this error? thanks. Code: ```[0] --> FOAM FATAL ERROR: [0] Maximum number of iterations exceeded [0] 　```
In case you missed it, the iteration terminated because the number of iterations for time step in temperature calculation exceeded maximum limit (default defined as 100/time step). Usually this can be fixed by choosing an appropriate boundary condition, or, sometimes, changing the time step size.

Regards,
Traib

 December 31, 2012, 04:46 #3 Senior Member     Ehsan Join Date: Oct 2012 Location: Iran Posts: 2,210 Rep Power: 19 thank you dear traib.but how did you find that the error is because of temperature?e has only 3 iterations at the last iteration.thanks.

 December 31, 2012, 06:57 #4 New Member   Traib Join Date: Sep 2012 Posts: 27 Rep Power: 6 Temperature is obtained from energy value after energy calculation using energy-temperature inversion method. Check src/thermophysicalFunctions/specie/thermo/specieThermo.H to see how this works.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Nolwenn OpenFOAM 35 May 26, 2017 17:36 moser_r OpenFOAM Running, Solving & CFD 7 March 18, 2014 09:49 Farshad_Noravesh OpenFOAM 27 December 24, 2012 05:21 asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00