This is the mail archive of the
mailing list for the GCC project.
Re: [gomp] OMP_STACKSIZE env variable
- From: Asher Langton <langton2 at llnl dot gov>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Jun 2006 15:27:46 -0700
- Subject: Re: [gomp] OMP_STACKSIZE env variable
- References: <20060609220344.GA10129@redhat.com>
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?