[Bug libgomp/63700] It is impossible to set the OpenMP stack size from inside a program
walter.zimmer at dlr dot de
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 12:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63700
--- Comment #2 from Walter Zimmer <walter.zimmer at dlr dot de> ---
We upgraded to gcc 7 and it seems nothing has changed in setting the stack size
(except for Darwin).
One solution would be to add a gomp call to alter the stack size in
gomp_thread_attr after it was initialized by OMP_STACK_SIZE but before the
first thread is created.
Another possibility, as mentioned by Joost, would be to be able to define the
default stack size from the program (compile time would also be fine for us).
What is your preference? For version one we could provide an implementation.
We really would like to get rid of this external dependency...
More information about the Gcc-bugs
mailing list