[Omp] Passing private arrays to subroutines
Håkan Lane
h.l at operamail.com
Tue Jan 9 14:39:32 PST 2007
I have tried for several days now to pass a set of pointers made private by !$OMP parallel private from a do-loop in a calling routine in one module to a subroutine in another. No matter how I do it, I seem to get a segmentation fault sooner or later. I can not see the logic as to where they occur.
I would be grateful if someone could provide the rules for this. I have tried both with pointers and allocatable, but it does not work.
Please let me know what I need to in terms of interfaces (not necessary in the serial version), allocation and deallocation and directives.
Håkan Lane
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
More information about the Omp
mailing list