Re: [AMBER-Developers] New features in pmemd

From: Jason Swails <jason.swails.gmail.com>
Date: Fri, 14 Feb 2014 06:01:12 -0500

On Fri, Feb 14, 2014 at 4:38 AM, Josh Berryman <
the.real.josh.berryman.gmail.com> wrote:

>
> >>You guys realize that there is no short circuit evaluation in Fortran
> >>right?
>
> Actually I had no idea.... long-time c programmer here. Thanks for the tip.
>

While there's no guarantee of short-circuiting in the Fortran standard (so
don't rely on it to avoid looking off the end of an array inside the
conditional), it's not forbidden by the standard either and every compiler
we support implements it (I checked some time ago, even old versions like
gfortran 4.1.2). So the performance implications are more of a pedagogical
concern than a real one.

-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Feb 14 2014 - 03:30:02 PST
Custom Search