[J3] Problem with contiguous

Van Snyder van.snyder at jpl.nasa.gov
Tue Dec 11 03:02:00 EST 2018


On Tue, 2018-12-11 at 07:57 +0000, Bill Long wrote:
> If the max size is known at the beginning of the run, one option is to
> create a module with declaring the arrays as allocatable, with a
> contained INIT routine that is called before your routine is called
> the first time.  The INIT routine allocates the arrays.   At least you
> pay the allocation cost only once. 

Of course, Bill is assuming we're too stupid to have thought of this,
after fifty five years's Fortran programming experience.

We rejected it because it's not thread safe.





More information about the J3 mailing list