On Mon, Feb 24, 2020 at 10:19 AM Larry McVoy <lm@mcvoy.com> wrote:
On Mon, Feb 24, 2020 at 10:40:10AM +0100, Sijmen J. Mulder wrote:
> Larry McVoy <lm@mcvoy.com> wrote:
> > Fortran programmers are formally trained (at least I
> > was, there was a whole semester devoted to this) in accumulated errors.
> > You did a deep dive into how to code stuff so that the error was reduced
> > each time instead of increased.  It has a lot to do with how floating
> > point works, it's not exact like integers are.

>
> I was unaware that there's formal training to be had around this but
> it's something I'd like to learn more about. Any recommendations on
> materials? I don't mind diving into Fortran itself either.


My training was 35 years ago, I have no idea where to go look for this
stuff now.  I googled and didn't find much.  I'd go to the local
University that teaches Fortran and ask around.

  1. Download the Intel Fortran compiler for your Mac, Linux or Windows box.  This will also give you a number of tuning tools.   This compiler can understand syntax back to FORTRAN-66 through Fortran2018  (and often without any switches - it can usually figure it out and do the right thing).
  2. Get a copy of https://www.amazon.com/Explained-Numerical-Mathematics-Scientific-Computation/dp/0199601429
  3. Go to the physics and chem depts a place start as Larry said 
  4. Or head to a supercomputer center in the US or EU