This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
The size of thread level storage under OpenMP.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 23 May 2008 22:02:46 +0200
- Subject: The size of thread level storage under OpenMP.
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
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