The size of thread level storage under OpenMP.

Toon Moene toon@moene.indiv.nluug.nl
Fri May 23 20:03:00 GMT 2008


Jakub,

I have an OpenMP enabled Fortran program that dies a quick death when 
compiled with -fopenmp (it shortly runs with 172 % CPU as evidenced by 
'top' on this quad core Debian machine).  I presume that a limited 
amount of thread local storage might be a problem (the person who's most 
knowledgable about the OpenMP coding of this application tells me he had 
a hard time limiting it - it might well run into tens of megabytes).

Is there a way to specify the maximum TLS size ?  If so, how (I couldn't 
find anything in the 4.3.0 GNU Fortran manual, nor the OpenMP 2.5 
Standard) ?

Thanks in advance,

-- 
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.indiv.nluug.nl/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/ml/gcc/2008-01/msg00009.html



More information about the Fortran mailing list