[Bug libgomp/60801] In gfortran, certain array sizes lead to SEGV within OpenMP PARALLEL DO

genflot at yahoo dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 10 03:28:00 GMT 2014


Ryan <genflot at yahoo dot com> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Ryan <genflot at yahoo dot com> ---
(In reply to Andrew Pinski from comment #1)
> This sounds like you are running out of stack space.  a 515x515 array of 4
> byte wide is over a meg of data which is too big for the stack.


You are correct: that was my problem.

It had occurred to me that this could be a stack space issue, so I (uselessly)
tried "ulimit -s unlimited" before posting my original message.  After reading
your comment, I did "export OMP_STACKSIZE=1G", which solved my problem.

Thank you for your help,

More information about the Gcc-bugs mailing list