I would like to report I bug I find often (not always) restarting
simulations in parallel. The error I get looks like
[bazant:15919] *** Process received signal ***
[bazant:15919] Signal: Floating point exception (8)
[bazant:15919] Signal code: (7)
[bazant:15919] Failing at address: 0x7ff56bccd7fc
[bazant:15919] [ 0] /lib/libpthread.so.0(+0xeff0) [0x7ff569f44ff0]
[bazant:15919] [ 1]
/home/fuster/lib/libgfs3D-1.3.so.2(gfs_face_velocity_advection_flux+0x28c)
[0x7ff56bccd7fc]
As the message points out, the problem comes from the subroutine
gfs_face_velocity_advection_flux (called from
gfs_centered_velocity_advection_diffusion -> variable_sources).
Indeed, I have verified that the error is induced because
face->neighbor gives Floating point exception. Just for fun, if you
comment out the last lines of this subroutine, where face->neighbor is
used,
switch (ftt_face_type (face)) {
case FTT_FINE_FINE:
GFS_VALUE (face->neighbor, par->fv) += flux;
break;
case FTT_FINE_COARSE:
GFS_VALUE (face->neighbor, par->fv) += flux/FTT_CELLS;
break;
default:
g_assert_not_reached ();
}
the error dissapears (although obviously the result is no longer
correct). If then you insert a simple evaluation of face->neighbor as
this
if (face->neighbor) {
/* do nothing*/
}
the error appears again.....
I think that you need relatively heavy simulations to observe this
problem. I wonder if anybody has an idea about from where the error
comes from. I would say that before reaching this subroutine
face->neighbor values have been used in mac_projection
--
www.danielfuster.com
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Gfs-devel mailing list
Gfs-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gfs-devel