Are complex*16 variables static by default?
Steffen Boerm
sb@informatik.uni-kiel.de
Sat Jan 28 17:34:00 GMT 2017
Hello,
and thanks for the helpful replies.
>>> how are complex*16 variables handled by gfortran if "-frecursive" is
>>> not specified?
>
> AFAIK they are handled just like other primitive types.
That's what I would have expected.
Still, if I replace zlarfg/zlarf by my own code or disable OpenMP, the
program seems to work. Wouldn't this indicate that zlarfg/zlarf may
introduce strange side effects?
I am using the LAPACK version of Ubuntu 16.04.1 (version
3.6.0-2ubuntu2). Does it make a difference whether the library is
compiled with "-fopenmp" or just with "-frecursive"?
> but the default limit is 32768 bytes which is of course far larger
> than a complex*16 variable. Unless you're talking about arrays rather
> than scalar values?
As far as I can see, zlarfg/zlarf only store scalar values in local
variables.
I'll try downloading LAPACK 3.7 and compiling it myself with "-fopenmp".
May that will fix the problem.
Thanks again and best regards,
Steffen
More information about the Fortran
mailing list