For Programmers: Free Programming Magazines  


Home > Archive > Fortran > July 2007 > Q: Best reference for a F77 programmer learning F90?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Q: Best reference for a F77 programmer learning F90?
James Tursa

2007-07-21, 7:06 pm


I am looking for suggestions for a good reference to learn F90, both
from a website and from a good reference book. I don't need hand
holding as I am reasonably experienced in F77. I am a casual c
programmer so I am already familiar with pointers & dynamic memory
allocation as well. Any suggestions?

Gary Scott

2007-07-21, 7:06 pm

James Tursa wrote:
> I am looking for suggestions for a good reference to learn F90, both
> from a website and from a good reference book. I don't need hand
> holding as I am reasonably experienced in F77. I am a casual c
> programmer so I am already familiar with pointers & dynamic memory
> allocation as well. Any suggestions?
>

Fortran 95/2003 Explained (Numerical Mathematics and Scientific
Computation) - Michael Metcalf, John Reid, and Malcolm Cohen

--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Richard Maine

2007-07-21, 7:06 pm

Gary Scott <garylscott@sbcglobal.net> wrote:

> James Tursa wrote:
> Fortran 95/2003 Explained (Numerical Mathematics and Scientific
> Computation) - Michael Metcalf, John Reid, and Malcolm Cohen


I agree with that recommendation. Also, as you say you are reasonably
experienced in F77, I think Cooper Redwine's "Upgrading to Fortran 90"
is excellent, if you can still find a copy, which might be nontrivial.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
Bil Kleb

2007-07-21, 7:06 pm

James Tursa wrote:
> I am looking for suggestions for a good reference to learn F90, both
> from a website and from a good reference book. I don't need hand
> holding as I am reasonably experienced in F77.


A rather quick overview is available as,

http://www.soks.org/Fortran95ForFortran77Programmers

Later,
--
Bil Kleb
http://funit.rubyforge.org
John Harper

2007-07-23, 4:15 am

In article <Yztoi.21018$bz7.16973@newssvr22.news.prodigy.net>,
Gary Scott <garylscott@sbcglobal.net> wrote:
>James Tursa wrote:
>Fortran 95/2003 Explained (Numerical Mathematics and Scientific
>Computation) - Michael Metcalf, John Reid, and Malcolm Cohen


I agree, and I also use for reference the Fortran 95 Handbook, by
Jeanne C. Adams, Walter S. Brainerd, Jeanne T. Martin, Brian T. Smith
and Jerrold T. Wagener, MIT Press 1997. But when those books appear to
disagree with each other, or with your compiler's error messages, or
with what you read in comp.lang.fortran:-) there is no substitute for
the Fortran 95 and Fortran 2003 standards, and the IEEE 754 standard
on floating-point arithmetic. Google will help you find them.

On a much lower level, my notes for f77 -> f95 conversion may help, at
http://www.mcs.vuw.ac.nz/math/papers/JFH10_f95_2007

-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@vuw.ac.nz phone (+64)(4)463 5341 fax (+64)(4)463 5045
Beliavsky

2007-07-23, 4:15 am

On Jul 22, 10:11 pm, har...@mcs.vuw.ac.nz (John Harper) wrote:

<snip>

> I agree, and I also use for reference the Fortran 95 Handbook, by
> Jeanne C. Adams, Walter S. Brainerd, Jeanne T. Martin, Brian T. Smith
> and Jerrold T. Wagener, MIT Press 1997.


I think at least two experts on the newsgroup are working on a F2003
version of the book. I wonder when it will be published.


Dick Hendrickson

2007-07-23, 7:08 pm

Beliavsky wrote:
> On Jul 22, 10:11 pm, har...@mcs.vuw.ac.nz (John Harper) wrote:
>
> <snip>
>
>
> I think at least two experts on the newsgroup are working on a F2003
> version of the book. I wonder when it will be published.
>
>

So do Richard and I :( ! A good guess is "next year".

Dick hendrickson
Clive Page

2007-07-23, 7:08 pm

James Tursa <aklassyguy@hotmail.com> writes
>
>I am looking for suggestions for a good reference to learn F90, both
>from a website and from a good reference book. I don't need hand
>holding as I am reasonably experienced in F77. I am a casual c
>programmer so I am already familiar with pointers & dynamic memory
>allocation as well. Any suggestions?


I'd also recommend the book by Metcalfe, Reid and Cohen. If you want
something longer and with more explanatory material there was a book by
Cooper Redwine called "Upgrading to Fortran90" which was very good in my
opinion, but I think it is now out of print.

If you want something shorter and free, then my own notes from a course
that I used to run are here:
http://www.star.le.ac.uk/~cgp/f90course/f90.html
or f90.pdf if you prefer a PDF format.


--
Clive Page
ryofurue@gmail.com

2007-07-23, 7:08 pm

On Jul 21, 11:20 am, Bil Kleb <Bil.K...@NASA.gov> wrote:
> James Tursa wrote:
>
> A rather quick overview is available as,
>
> http://www.soks.org/Fortran95ForFortran77Programmers


And similar online materials are listed at

http://dmoz.org/Computers/Programmi...tran_90_and_95/

which might be a good starting place.

Having said that, I'm yet to find a tutorial that presents "problems"
in F77 and solves or improves them in F95. I have colleagues who
don't know F95 and I've been seeing them spending days to debug their
codes, often owing to problems that wouldn't exist in (well-written)
F95 codes, such as the mismatch of COMMON variables. (I have to
quickly add that such problems can often be solved also within F77, or
by using tools like ftnchek or suitable compiler switches. But, I
think F95 solutions are often "better" in many ways.) So, I sometimes
ask them why not use F95. Their answer is often "Why bother? I'm
perfectly fine with F77." "But," say I, "you've just been suffering
from your bugs, which can trivially be discovered by an F95 compiler."
"That was OK. I was just not careful enough."---something along the
lines. They simply don't see the benefits of F95 and continue to
waste their time. I thought such a tutorial as I described at the top
of this paragraph may help convince them.

With this problem in mind, I've set out writing a tutorial but finding
not enough time, I don't know when I can finish it.

Cheers,
Ryo

robert.corbett@sun.com

2007-07-24, 4:16 am

On Jul 21, 12:42 pm, James Tursa <aklassy...@hotmail.com> wrote:
> I am looking for suggestions for a good reference to learn F90, both
> from a website and from a good reference book. I don't need hand
> holding as I am reasonably experienced in F77. I am a casual c
> programmer so I am already familiar with pointers & dynamic memory
> allocation as well. Any suggestions?


My favorite Fortran 95 reference book is the Fortran 95 Language
Guide by Wilhelm Gehrke. It was published by Springer-Verlag.
It is out-of-print now, but you might be able to find a used copy.
It is not a tutorial. It described the features of the language
concisely.

Bob Corbett

James Tursa

2007-07-25, 4:19 am


Thanks to everyone for your input. This will help quite a bit in
selecting a good reference ... although as some of you have already
mentioned a few of the books are nowhere to be found on any of the
used book sites. Thanks again.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com