(j3.2006) MPI usage problems in Fortran

Aleksandar Donev donev1
Wed Mar 19 14:53:57 EDT 2008


On Wednesday 19 March 2008 11:54, Bill Long wrote:
> If the programmer knows the I/O operations complete before return, then
> it is not necessary to specify the ASYNCHRONOUS attribute in the
> declaration of the dummy variable involved in the I/O operation.
So now we are distinguishing between explicit attribute and implicit 
attribute?!? This is getting worse by the minute.
Good programmers should always explicitly list their SAVE, ASYNCHRONOUS, or 
whatever to make the code clear. Regardless of whether it is implied. It 
should NEVER make a difference whether it is explicit or implicit.
> If the effect of an asynchronous declaration on a dummy did not leak
> into the caller, there would be no point in requiring an explicit
> interface based on a dummy argument having the asynchronous attribute.
Exactly. Badly designed set of constraints for which there is no real rime or 
reason.
Aleks

-- 
Aleksandar Donev, Ph.D.
Lawrence Postdoctoral Fellow @ Lawrence Livermore National Laboratory
High Performance Computational Materials Science and Chemistry
E-mail: donev1 at llnl.gov
Phone: (925) 424-6816  Fax: (925) 423-0785
Address: P.O.Box 808, L-367, Livermore, CA 94551-9900
Web: http://cherrypit.princeton.edu/donev



More information about the J3 mailing list