View Issue Details

IDProjectCategoryView StatusLast Update
0000674OpenFOAMBugpublic2012-11-29 09:30
Reporteruser507Assigned Touser4 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformSGI Altix Ice XOSSLESOS Version11sp1
Summary0000674: Lagrangian libraries crash when finished and solver hangs
DescriptionWhen a simulation with lagrangian particles is finished, something crashes, giving lots of error messages:

*** glibc detected *** icoUncoupledKinematicParcelFoam: free(): invalid pointer: 0x00000000027a46f0 ***

This happens when the number of processes is large (say above approx. 64), and independently of the solver used. In this case the error is reproduced with icoUncoupledKinematicParcelFoam, but it occurs in other solvers as well (also a solver of my own).

The big problem is that the processes DOES NOT QUIT/ABORT, so they hang until you kill them manually. If the variable MALLOC_CHECK_ is set to 0, no error message is displayed, but the processes still hang until killed.

See attached log file.
Steps To Reproduce1: Compile OpenFOAM with Intel compiler, if possible, version 12.0.5.220
2: Run a large parallel case with lagrangian particles. You do not need many particles, just many processes.
Additional InformationThis error only occurs if OpenFOAM is compiled with Intel compilers (I have used 12.0.5.220). The error is present independently on the compile flags used (even with -O1). The error is not reproducible with GCC. This makes it possible to rule out for example MPI or other system libraries, since both GCC and Intel link to the same libraries.

The error is present in all OpenFOAM versions from 2.0.1 and up to 2.1.x (as of october 27th 2012). The MPI implementation used is SGI's MPT.
TagsNo tags attached.

Activities

user507

2012-10-29 07:53

 

user507

2012-11-28 20:16

  ~0001790

This issue was solved by using version 13.0.1 of the Intel compiler.

user4

2012-11-29 09:30

  ~0001793

Thanks for letting us know!

Issue History

Date Modified Username Field Change
2012-10-29 07:53 user507 New Issue
2012-10-29 07:53 user507 File Added: icoUncoupledKinematicParcelFoam.log
2012-11-28 20:16 user507 Note Added: 0001790
2012-11-29 09:30 user4 Note Added: 0001793
2012-11-29 09:30 user4 Status new => resolved
2012-11-29 09:30 user4 Fixed in Version => Other
2012-11-29 09:30 user4 Resolution open => fixed
2012-11-29 09:30 user4 Assigned To => user4