This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/60801] In gfortran, certain array sizes lead to SEGV within OpenMP PARALLEL DO
- From: "genflot at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Apr 2014 03:28:24 +0000
- Subject: [Bug libgomp/60801] In gfortran, certain array sizes lead to SEGV within OpenMP PARALLEL DO
- Auto-submitted: auto-generated
- References: <bug-60801-4 at http dot gcc dot gnu dot org/bugzilla/>
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