This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Are complex*16 variables static by default?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]