[Beowulf] array shape difference

Peter St. John peter.st.john at gmail.com
Wed Nov 11 14:40:00 PST 2009


The difference between:
array1(1:60000)
array2(1:2, 1:30000)

would be reflected in the size of the executable, not the size of the data.
Right?
Peter


On Wed, Nov 11, 2009 at 9:01 AM, Michael H. Frese <
Michael.Frese at numerex-llc.com> wrote:

>  At 06:43 PM 11/10/2009, Larry Stewart wrote:
>
>
> On Tue, Nov 10, 2009 at 8:30 PM, amjad ali <amjad11 at gmail.com> wrote:
>  HI,
>
> suppose we have four arrays with same number of elements say 60000., but
> different dimensions like:
>
> array1(1:60000)
> array2(1:2, 1:30000)
> array3(1:2, 1:300, 1:100)
> array4(1:4, 1:15, 1:10,  1:100)
>
>
> Does each of these arrays in fortran will occupy same amount of memory?
>
> For sending/receiving each of these, Does MPI has the same (or nearly same)
> overhead? or any significantly different overhead is involved in handling
> each of these arrays (by MPI)?
>
> They should take the same amount of space and have nearly identical
> transfer times with MPI.
> (If you send the whole thing)
>
> -L
>
>
> Those four array descriptors can all apply to exactly the same space, via
> an 'equivalence' statement.  They are all laid out in memory just like
> array1.
>
> Thus, they can each be transmitted by exactly the same MPI send.
>
>
> Mike
>
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20091111/f5485a11/attachment.html>


More information about the Beowulf mailing list