This is the mail archive of the gcc-patches@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]

Re: [gomp] OMP_STACKSIZE env variable


At 3:03 PM -0700 6/9/06, Richard Henderson wrote:
Asher Langton reported in private mail that they have programs
that can't run in the default thread stack size.  I believe one
solution for glibc is to use ulimit -s, which sets the default
thread stack size.  But he also mentions that another openmp
implementation provides OMP_STACKSIZE; it seems reasonable to
allow that as well.

The variable name varies from compiler to compiler; among these are KMP_STACKSIZE and MPSTKZ. It would probably be better to use an environment variable that would be unlikely to conflict with another compiler, perhaps GOMP_STACKSIZE?


-Asher


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