next up previous contents
Next: Optimised Life Up: Problem with Allocatable Arrays Previous: Problem with Allocatable Arrays

Solution

A template is a static object whereas allocatable arrays are dynamic. In the general case it is not possible to declare a template that can always have an allocatable array aligned to it efficiently. This precludes using modules in such a way. The best one can do is to place the PROCESSORS declaration in the module.


next up previous contents
Next: Optimised Life Up: Problem with Allocatable Arrays Previous: Problem with Allocatable Arrays

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996