<br><tt><font size=2>mpi3-fortran-bounces@lists.mpi-forum.org wrote on
06/12/2009 12:52:00 PM:<br>
<br>
</font></tt>
<br><tt><font size=2>> <br>
> However, there was an earlier discussion raised by Jim about how a
<br>
> compiler might want to copy-in/copy-out even if for assumed-shape
<br>
> arrays. I think Jim's example had to do with copying vector
sized <br>
> objects even though the user is only using a portion of a vector.<br>
> <br>
> So does DIMENSION(..) restrict copy-in/copy-out?<br>
</font></tt>
<br>
<br><tt><font size=2>I don't remember I raised discussion on this very
topic, but this is a valid argument. In short, DIMENSION(..) alone
will not restrict copy-in/copy-out. The most effective way to suppress
copying is through VOLATILE/ASYNCHRONOUS attribute on the dummy argument.</font></tt>
<br>
<br><tt><font size=2>Thanks</font></tt>
<br>
<br><font size=2 face="sans-serif">Jim Xia<br>
<br>
XL Fortran Compiler Test<br>
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7<br>
Phone (905) 413-3444 Tie-line 313-3444<br>
email: jimxia@ca.ibm.com<br>
D2/YF7/8200 /MKM<br>
<br>
</font><a href=http://www.ibm.com/software/awdtools/fortran/xlfortran><font size=2 face="sans-serif">http://www.ibm.com/software/awdtools/fortran/xlfortran</font></a>
<br>