Are complex*16 variables static by default?

Steffen Boerm sb@informatik.uni-kiel.de
Fri Jan 27 22:46:00 GMT 2017


Hello,

how are complex*16 variables handled by gfortran if "-frecursive" is
not specified?

Is it possible that they are stored as static variables?

I am using LAPACK's zlarfg and zlarf functions within a C program, and
my code works just fine as long as OpenMP is disabled. When I enable
multi-threading, the code behaves erratically, and I am wondering
whether this might be due to the complex*16 constants "one" and "zero"
in zlarf or the complex*16 variable "temp" in zgerc.

Best regards,
Steffen



More information about the Fortran mailing list