[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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60801
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.
Andrew,
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,
--Ryan
More information about the Gcc-bugs
mailing list