Re: libgomp: Thread creation failed: Invalid argument

2006-08-16 Thread Tim Schmielau
On Tue, 15 Aug 2006, Asher Langton wrote: > On 8/15/06, Tim Schmielau <[EMAIL PROTECTED]> wrote: > > On Tue, 15 Aug 2006, Asher Langton wrote: > > > Are you using a lot of threadprivate variables? Try setting the > > > GOMP_STACKSIZE environment variable to a large value (in kB) and see > > > if

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Asher Langton
On 8/15/06, Tim Schmielau <[EMAIL PROTECTED]> wrote: On Tue, 15 Aug 2006, Asher Langton wrote: > Tim Schmielau wrote on 08/15/06: > > The problem appears for any OMP_NUM_THREADS value other than 1 (I tried > > up to 8 on an 8-way machine). > > Extracting a testcase from the 18.000 lines of code

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Asher Langton wrote: > Tim Schmielau wrote on 08/15/06: > > The problem appears for any OMP_NUM_THREADS value other than 1 (I tried > > up to 8 on an 8-way machine). > > Extracting a testcase from the 18.000 lines of code will probably require > > some work, so I was looking f

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Asher Langton
Tim Schmielau wrote on 08/15/06: The problem appears for any OMP_NUM_THREADS value other than 1 (I tried up to 8 on an 8-way machine). Extracting a testcase from the 18.000 lines of code will probably require some work, so I was looking for easier things to chek first. But I'll try to do that, th

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Diego Novillo wrote: > Tim Schmielau wrote on 08/15/06 10:15: > > > How to further debug this problem? > > I am currently using gcc-4.2-20060812 on i686 and x86_64 SuSE 10.0 Linux > > systems. > > > Please submit a bug report including the code you are trying to compile. >

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Diego Novillo
Tim Schmielau wrote on 08/15/06 10:15: > How to further debug this problem? > I am currently using gcc-4.2-20060812 on i686 and x86_64 SuSE 10.0 Linux > systems. > Please submit a bug report including the code you are trying to compile. ( http://gcc.gnu.org/bugs.html) How many threads are you t

libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
large program fails with the message libgomp: Thread creation failed: Invalid argument resulting from a failing call to pthread_create() in libgomp/team.c. Using gdb I see that pthread_create() is called with the same gomp_thread_attr argument as for the smaller, succeeding testcases. strace