[Omp] Threadprivate fortran90 Module

Donald Kenzakowski kenzakow at craft-tech.com
Fri Jan 6 08:41:00 PST 2006


Is it possible to a fotran90 module of pointer variables as threadprivate?

In this manner the module becomes sort of a dynamic common block.
I have seen examples in the "Practical Programming" book on the latter,
but not for use of module variables.
For example:

module usarry
   real,allocatable,dimension(:,:):: wk1, wk2
end module usarry

Thanks
Don





More information about the Omp mailing list