CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

settlingFoam + v2.1.x + seriell run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2012, 04:26
Default settlingFoam + v2.1.x + seriell run
  #1
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 498
Rep Power: 20
JBeilke is on a distinguished road
Hi,

when I run the tutorial case "multiphase/settlingFoam/ras/tank3D" in seriell it crashes with following error message:



Code:
Time = 5158.4

Courant Number mean: 0.201469 max: 5395.01
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 0.978119, Final residual = 7.07031e-08, No Iterations 27
DILUPBiCG:  Solving for Uy, Initial residual = 0.75499, Final residual = 8.76912e-08, No Iterations 31
DILUPBiCG:  Solving for Uz, Initial residual = 0.961094, Final residual = 9.40318e-08, No Iterations 23
DILUPBiCG:  Solving for Alpha, Initial residual = 0.97067, Final residual = 4.07851e-08, No Iterations 52
Solid phase fraction = 0.000773407  Min(Alpha) = -0.000392519  Max(Alpha) = 0.0136277
DICPCG:  Solving for p_rgh, Initial residual = 0.950573, Final residual = 0.0087833, No Iterations 120
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 8.19507e-14, global = 4.35535e-15, cumulative = 4.07452e-10
DICPCG:  Solving for p_rgh, Initial residual = 0.548982, Final residual = 7.58213e-08, No Iterations 146
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 8.06092e-14, global = 4.61678e-15, cumulative = 4.07457e-10
#0  Foam::error::printStack(Foam::Ostream&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  ?? in "/lib64/libc.so.6"
#3  Foam::DILUPreconditioner::calcReciprocalD(Foam::Field<double>&, Foam::lduMatrix const&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  Foam::DILUPreconditioner::DILUPreconditioner(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5  Foam::lduMatrix::preconditioner::addasymMatrixConstructorToTable<Foam::DILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#6  Foam::lduMatrix::preconditioner::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#7  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#8  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#9  Foam::fvMatrix<double>::solve() in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/settlingFoam"
#10  main in "/home/beilke/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/settlingFoam"
#11  __libc_start_main in "/lib64/libc.so.6"
#12  _start at /usr/src/packages/BUILD/glibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116
I can make a restart from the last result and it runs fine to the end. There are also no problems in parallel.

It would be nice if anyone using the git version can try to reproduce this error.

I use Opensuse 11.2
JBeilke is offline   Reply With Quote

Old   January 21, 2012, 14:06
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Joern,

Only today did I finally manage to test this. I've done a clean build of the latest OpenFOAM 2.1.x on Ubuntu 11.10 x86_64 (gcc 4.6.1) and got pretty much the same error, but only several iterations before, namely on:
Code:
Time = 251.9

Courant Number mean: 0.00634015 max: 15.4453
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 0.979337, Final residual = 9.26653e-09, No Iterations 22
DILUPBiCG:  Solving for Uy, Initial residual = 0.998575, Final residual = 6.64669e-08, No Iterations 20
DILUPBiCG:  Solving for Uz, Initial residual = 0.995422, Final residual = 3.95081e-08, No Iterations 21
DILUPBiCG:  Solving for Alpha, Initial residual = 0.985569, Final residual = 1.34362e-08, No Iterations 21
Solid phase fraction = 8.19285e-05  Min(Alpha) = 3.10327e-96  Max(Alpha) = 0.00260623
DICPCG:  Solving for p_rgh, Initial residual = 0.978814, Final residual = 0.00737583, No Iterations 112
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 8.06819e-14, global = 2.27841e-15, cumulative = 2.00363e-11
DICPCG:  Solving for p_rgh, Initial residual = 0.268882, Final residual = 8.87841e-08, No Iterations 136
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 7.90055e-14, global = 1.86702e-15, cumulative = 2.00382e-11
Only now did I notice that it was the Courant number that blew up. Please report this on the official bug tracker, since this looks like a genuine bug: http://www.openfoam.com/mantisbt/my_view_page.php

By the way, you should also mention which gcc version you are using:
Code:
gcc --version
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 21, 2012, 15:00
Default
  #3
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 498
Rep Power: 20
JBeilke is on a distinguished road
Hi Bruno,

thanks for your test.

Did you try a restart from the last result and a parallel run?

The reason I posted this problem here is that Henry was not able to reproduce this bug on his machine and I wanted to know, if it is a real bug. And it might be also helpful to get the results from different configurations.
JBeilke is offline   Reply With Quote

Old   January 22, 2012, 12:08
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Joern,

Quote:
Originally Posted by JBeilke View Post
Did you try a restart from the last result and a parallel run?
No, I only tested with running Allrun. I haven't done more tests on the same machine, in order to diagnosed the reason. But I've been doing more tests on virtual machines... more below.

Quote:
Originally Posted by JBeilke View Post
The reason I posted this problem here is that Henry was not able to reproduce this bug on his machine and I wanted to know, if it is a real bug. And it might be also helpful to get the results from different configurations.
OK, after reading your post, I've done a few more tests (most done with the latest 2.1.x version) and a couple more are still ongoing (all gcc versions are the default ones on each Linux distribution):
  • Ubuntu 11.10 x86_64 - gcc 4.6.1:
    • On real machine with AMD 1055T - crash at Time 251.9 s.
    • On virtual machine with i3 350M - identical crash at Time 251.9 s.
  • Ubuntu 10.04 x86_64 - gcc 4.4.3:
    • On virtual machine with AMD 1055T - no crash - ClockTime = 30414 s.
  • Ubuntu 11.04 x86_64 - gcc 4.5.2:
    • On virtual machine with AMD 1055T - identical crash at Time 251.9 s.
  • openSUSE 12.1 x86_64 - gcc 4.6.2:
    • On virtual machine with AMD 1055T - no crash - ClockTime = 33869 s.
  • Fedora 15 x86_64 - gcc 4.6.1:
    • On virtual machine with AMD 1055T - identical crash at Time 251.9 s.
I'll update this post as results continue to come in.

edit 21:02 2012-01-22: Fedora 15 crashed in the exact same way+place as the others.
edit 06:45 2012-01-23: openSUSE 12.1 completed with success.

Best regards,
Bruno
__________________

Last edited by wyldckat; January 23, 2012 at 01:46. Reason: see edits
wyldckat is offline   Reply With Quote

Old   January 23, 2012, 04:21
Default
  #5
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 498
Rep Power: 20
JBeilke is on a distinguished road
ScientificLinux 6.1 x86_64 - gcc 4.4.5:
- On virtual machine with i7-2600 - no crash - ClockTime = 14413 s.
JBeilke is offline   Reply With Quote

Old   January 23, 2012, 16:28
Default
  #6
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 498
Rep Power: 20
JBeilke is on a distinguished road
CentOS 6.2 x86_64 - gcc 4.4.6:
- On virtual machine with i7-2600 - no crash

I just copied the OF installation from OpenSuse 11.2 (where it crashed) without recompilation. So the error is very likely not a compiler problem.
JBeilke is offline   Reply With Quote

Old   January 25, 2012, 17:42
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Joern,

Quote:
Originally Posted by JBeilke View Post
I just copied the OF installation from OpenSuse 11.2 (where it crashed) without recompilation. So the error is very likely not a compiler problem.
Mmm... then it might be an issue related to GLIBC, MPFR, GMP or MPC... I'm not certain if one or more of the latter 3 are statically linked into the GNU G++ libraries.

Let me see... OK, I think DistroWatch.com has the right version list for GLIBC, the rest I will have to dig deeper:
  • GLIBC:
    • Ubuntu 11.10: 2.13
    • Ubuntu 11.04: 2.13
    • Ubuntu 10.04: 2.11.1
    • openSUSE 12.1: 2.14.1
    • Fedora 15: 2.13.90
  • MPFR:
    • Ubuntu 11.10: libmpfr4 3.0.1-5
    • Ubuntu 11.04: libmpfr4 3.0.0-7
    • Ubuntu 10.04: libmpfr1ldbl 2.4.2-3ubuntu1
    • openSUSE 12.1: 3.0.1-3.1.5
    • Fedora 15: mpfr-3.0.0-4.fc15
  • GMP:
    • Ubuntu 11.10: libgmp10 2:5.0.1+dfsg-7ubuntu2
    • Ubuntu 11.04: libgmp3c2 2:4.3.2+dfsg-1ubuntu3
    • Ubuntu 10.04: libgmp3c2 2:4.3.2+dfsg-1ubuntu1
    • openSUSE 12.1: 5.0.2-8.1.5
    • Fedora 15: gmp-1:4.3.2-3.fc15
  • MPC:
    • Ubuntu 11.10: libmpc2 0.9-3
    • Ubuntu 11.04: libmpc2 0.9-1
    • Ubuntu 10.04: not used by GCC.
    • openSUSE 12.1: 0.8.2-12.1.6
    • Fedora 15: libmpc-0.8.3-0.3.svn855.fc15
I'll fill out the rest of the list as soon as I can collect them. But the first assumption is that GLIBC 2.13 is veeeery suspicious...
edit: yep, GLIBC 2.13 looks very suspicious indeed!

Best regards,
Bruno
__________________

Last edited by wyldckat; January 25, 2012 at 18:27. Reason: Added fedora 15 & openSUSE 12.1 & Ubuntu 11.04 & 10.04. All done!
wyldckat is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Run with Initial values file krrishcfd CFX 1 July 28, 2011 02:35
First Parallel Run - need some help Gian Maria OpenFOAM 3 June 17, 2011 12:08
Record Run Times in Fluent Ravi FLUENT 3 October 7, 2008 22:41
Processor to run FLUENT rashid FLUENT 0 July 22, 2008 00:00
How to run and save tranisent case on Cray XD1 Leon FLUENT 0 October 3, 2006 21:59


All times are GMT -4. The time now is 18:10.