Re: [AMBER-Developers] misused intent(out)

From: Scott Brozell <>
Date: Thu, 30 Sep 2010 14:46:52 -0400


On Thu, Sep 30, 2010 at 08:46:56AM -0400, Jason Swails wrote:
> Well intent(out) is applied to an array in which only a chunk of the array
> is initialized (the charges of a single residue, or 2, are changed in the
> global charge array). According to the Fortran standard, I think the rest
> of the array is technically undefined. So it would be legitimate compiler
> behavior to trash the remaining array values. If I'm mistaken here, please

Sorry, when i read this the first time i saw derived type, not array.
So I don't think this is an example of the problem demonstrated at
I'm checking the f90 standard.

What is the file and source line ?


AMBER-Developers mailing list
Received on Thu Sep 30 2010 - 12:00:04 PDT
Custom Search