This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/63700] It is impossible to set the OpenMP stack size from inside a program


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...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]