OpenMP error

Tobias Burnus burnus@net-b.de
Mon Feb 14 10:11:00 GMT 2011


On 02/13/2011 09:44 PM, Andrew Benson wrote:
> My application is segfaulting when compile with gfortran 4.6 r170108 using
> OpenMP. Running it through valgrind I'm seeing an warning about uninitialized
> bytes in syscall param futex(utime) before the segfault occurs.

Thanks for the report. I have notified Jakub about the issue. (Jakub is 
GCC's OpenMP (C, C++, Fortran) maintainer, but he does not follow fortran@.)

The issue is now tracked at 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47731 and Jakub already 
attached there an (untested) patch :-)

Hopefully, the patch will fix not only your futex issue but also the 
real-world program; I think you build GCC yourself thus you could test 
the patch even before it is committed.

Tobias

PS: The OpenMP 3.1 draft specification has been recently released; the 
public comment period ends 1st of May. See: http://openmp.org/wp/ and 
for the announcement/changes: 
http://openmp.org/forum/viewtopic.php?f=9&t=1075



More information about the Fortran mailing list