Re: Speed penalty for using allocatable arrays?



Walter Spector <w6ws_xthisoutx@xxxxxxxxxxxxx> wrote:

jomarbueyes@xxxxxxxxxxx wrote:
... I noticed that the
version
of the program that allocates the large arrays we use runs at a much
slower speed compared to the version of the same program that uses
static allocation...

Are you using POINTERs or are you using ALLOCATABLEs?

Plus a bunch of other similar questions to tie down whether the problem
has been misidentified in describing it as coming from allocatable
arrays. Is that absolutely the only change in the program, or did other
things, which you might think irrelevant, also change?

For example, did you change dummy arrays to assumed shape?

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages