The difference between:<br>array1(1:60000)<br>array2(1:2, 1:30000)<br><br>would be reflected in the size of the executable, not the size of the data.<br>Right? <br>Peter<br><br><br><div class="gmail_quote">On Wed, Nov 11, 2009 at 9:01 AM, Michael H. Frese <span dir="ltr"><<a href="mailto:Michael.Frese@numerex-llc.com">Michael.Frese@numerex-llc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div></div><div class="h5">
At 06:43 PM 11/10/2009, Larry Stewart wrote:<br><br>
<br>
<blockquote type="cite">On Tue, Nov 10, 2009 at 8:30 PM,
amjad ali
<<a href="mailto:amjad11@gmail.com" target="_blank">amjad11@gmail.com</a>>
wrote:<br>

<dl>
<dd>HI,<br><br>

</dd><dd>suppose we have four arrays with same number of elements say 60000.,
but different dimensions like:<br><br>

</dd><dd>array1(1:60000)<br>

</dd><dd>array2(1:2, 1:30000)<br>

</dd><dd>array3(1:2, 1:300, 1:100)<br>

</dd><dd>array4(1:4, 1:15, 1:10,  1:100)<br><br>
<br>

</dd><dd>Does each of these arrays in fortran will occupy same amount of
memory?<br><br>

</dd><dd>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)? <br><br>

</dd></dl>They should take the same amount of space and have nearly identical
transfer times with MPI.<br>
(If you send the whole thing)<br><br>
-L</blockquote><br></div></div>
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.  <br><br>
Thus, they can each be transmitted by exactly the same MPI send.<br><br>
<br>
Mike<br>
</div>

<br>_______________________________________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
<br></blockquote></div><br>