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

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.