Fortran 90 tutorials
********************
This review is limited to practical details, e.g. length, format etc,
no attempt was made to evaluate the tutorials, all of them are useful
and interesting and should be given a try by someone who wishes to
learn the language.
The tutorials are listed here in no particular order.
Michael Metcalf's Fortran 90 CNL Articles
-----------------------------------------
Author: Michael Metcalf
Format: HTML
Size: 9 short and readable articles
URL: Click here
Contents:
o Language Elements
o Expressions and assignments
o Control statements, units and procedures
o Arguments, interface blocks and recursion
o Array handling
o Pointers
o Specification statements
o Intrinsic procedures
These well-known articles are based on the author's book:
M. Metcalf and J. Reid,
Fortran 90/95 Explained,
Oxford, 1996
Introduction to Fortran 90 Programming Workshop presented
by the Albuquerque High Performance Computing Center
-----------------------------------------------------------
Authors:
Dr. Brian T. Smith, Principal Investigator for the UNM Maui Project
Ward Deng, AHPCC Research Assistant (Civil Engr.)
Amy Stevenson, AHPCC Research Assistant (Physics)
Jim Warsa, AHPCC Research Assistant (Chemical and Nuclear Engr.)
Format: HTML
Size: 12 files, about 70KB total
Contents:
o Introduction
o Important Features of Fortran 90
o Fortran 90 Source Programs
o Data Specifications and Operations
o Control Statements
o Arrays
o Program Units
o Software and Environments
o Examples
o Epilogue
URL: Click here
Tutorial by Zane Dodson
-----------------------
Author: Zane Dodson
Computer Science Department
University of New Mexico
Email: [email protected]
Written under support from the Numerical Algorithms Group (NAG).
(and also supported indirectly by the NSF), under the direction
of (and many helpful comments from) Dr. Brian Smith.
Format: PostScript (LaTex source also available)
Size: 51 (?) printed pages
Contents:
1. Survey of the New Fortran Standard
New Source Form
Array Processing
Modules
Derived Types and Generic Functions
Pointers and Dynamic Data Structures
Parameterized Data Types
Numerical Inquiry and Manipulation Functions
2. Examples and Exercises
Getting Started
Basic Fortran Programs
Internal Subprograms
Arrays
Modules
Interfaces and Generic Subprograms
Recursive Subprograms
Dynamic Data Structures
Optional and Keyword Arguments
Achieving Portability
3. Advanced Numerical Experiments
Interval Arithmetic
Subtleties in Solving a Quadratic Equation
4. Complete Example Programs
Rational Arithmetic
Linear Equation Solvers
One-Dimensional Multigrid
URL: PostScript only
+ LaTex etc
Remark: The connection to the host machine is very slow.
A perl script, extractProgs, is also included to extract the Fortran 90
programs from the verbatim sections of the LaTeX source. See the script
for details.
Fortran 90 for the Fortran 77 Programmer (A book)
-------------------------------------------------
Authors:
Bo Einarsson
National Supercomputer Centre, University of Link�ping, SWEDEN
Email: [email protected]
WWW: http://www.nsc.liu.se/~boein/
Yurij I Shokin,
Institute of Computational Technologies,
Russian Academy of Sciences, Siberian Division, RUSSIA
Email: [email protected]
Format: HTML, Available as:
o Compressed ZIP-file
o Compressed tar-file
o Self-extracting Macintosh archive (SEA)
o From a diskette on Windows 3.x
o Printed
Size:
The book contains 18 chapters and 13 appendices, is about 400KB
in compressed form, and expands to about 750KB in 106 files.
URL: Click here
The authors define their aim in the following words:
This tutorial is written in order to ease the transition from the very
common and popular programming language Fortran 77 to the more modern
Fortran 90. This transition uses the fact that Fortran 77 is a pure
subset of Fortran 90.
The book contains a lot of interesting information on Fortran 90,
and Fortran in general.
Manchester Fortran 90 for Fortran 77 programmers course
-------------------------------------------------------
Authors:
Manchester and North High Performance Computing Training & Education
Centre (MAN-T&EC) using the Manchester Computing Centre (MCC) Fortran
90 course as a basis.
Format:
Mostly PostScript compressed by standard UNIX compress
Size: see below
URL: Click here
Mirror at Karlsruhe U.
Options:
o World Wide Web based Resource list in HTML format (1.7 kbytes)
o Course syllabus in compressed PostScript format, either A4 (24.9
kbytes) or US Letter (43.0 kbytes)
o An example timetable for a 3 day course
o Student notes in compressed PostScript format, either A4 (252.5
kbytes) or US Letter (250.9 kbytes)
o Overhead masters in compressed PostScript format, either A4 (180.5
kbytes) or US Letter (180.8 kbytes)
o Speaker notes for overheads in compressed PostScript format,
either A4 (214.6 kbytes) or US Letter (214.7 kbytes)
o Overhead overviews for students in compressed PostScript format A4
(180.6 kbytes) or US Letter (179.7 kbytes)
o List of example programs and solutions to exercises in compressed
PostScript Format A4 (166.2 kbytes) or US Letter (166.1 kbytes)
o Source code of example programs and exercises in compressed tar
file format (69.1 kbytes)
More info: Andrew Grant (inoperative link?)
The Liverpool Fortran 90 Courses
--------------------------------
Authors:
Format:
o An interactive HTML/Java document
o Traditional OHP slides plus Notes package
Size: course dependent
URL: Click here
Uncompressed
Options:
o Comprehensive Interactive HTML / Java Course Modular Programming
with Fortran 90 is designed for the those with programming
experience in a high-level language who wish to receive extensive
tuition in Fortran 90. All language features are described in
detail with the exception of some of the more obscure facets of I/O!
o The 75 minute Seminar An Overview of Fortran 90 is designed for
the those with programming experience in a high-level language
(preferably Fortran 77) who wish to be given an overview of the
key new features of Fortran 90.
o The One Day Course An Introduction to Fortran 90 is designed for
the those with programming experience in a high-level language
(preferably Fortran 77) who wish to be given a concise and
detailed overview of the key features of Fortran 90. The course is
divided into 4 x 1 hour sessions: Overview, Array Features,
Modules and Other Features.
o The Introductory Three Day Course An Introduction to Programming
with Fortran 90 is designed for the those with no previous
programming experience who wish to learn the basics of computing
using Fortran 90. (Details of local compilers and editors are
needed to supplement this course.) The most useful language
constructs are covered and at the end of the course attendees
should be able to write fairly complex programs. Each day is
divided into two 3 hour sessions: 1 hour lecture, 2 hours
practical. The course therefore divided into 6 x 1 hour sessions:
Fundamentals Of Computer Programming, Introduction to Fortran 90,
Control Constructs and Intrinsics, Arrays, Procedures and Modules
and Derived Types. Most intrinsic procedures are covered when
appropriate.
o The Three Day Course Programming in Fortran 90 is designed for the
those with programming experience in a high-level language who
wish to be primed in the Fortran 90 language. The most useful
language constructs are covered in detail and virtually all
features are described to some degree. Each day is divided into
two 3 hour sessions: 1 hour lecture, 2 hours practical. The course
therefore divided into 6 x 1 hour sessions: Introduction, Control
Constructs and Intrinsics, Arrays, Procedures, Modules and Derived
Types and Object-based Programming (Modules). Most intrinsic
procedures are covered when appropriate.
o The Advanced Three Day Course Fortran 90 for Fortran 77
Programmers is designed for the those with programming experience
in Fortran 77 who wish to receive an all-round knowledge of
Fortran 90. A detailed description is given of most language
features. All topics are described to some degree. Each day is
divided into two 3 hour sessions: 1 hour lecture, 2 hours
practical. The course therefore is divided into 6 x 1 hour
sessions: Overview, Objects and Expressions, Control Constructs
and More Expressions, Arrays and Procedures, Procedures and
Modules, Pointers and Derived Types and Object-based Programming
(Modules), Intrinsic procedures are covered when appropriate.
o The Five Day Course Fortran 90 for Programmers is designed for the
those with programming experience in a high-level language who
wish to receive extensive tuition in Fortran 90. All language
features are described in detail with the exception of some of the
more obscure facets of I/O! Each day is divided into two 3 hour
sessions: 1 hour lecture, 2 hours practical. The course therefore
is divided into 10 x 1 hour sessions: Introduction, Elements of
Fortran 90 (Expressions and Assignment,), Control Constructs,
Intrinsics and Basic I/O, Arrays, Procedures, More Procedures,
Pointers and Derived Types, Modules and Object-based Programming,
Parameterised Data Types and I/O and Odds and Ends (Fortran 95
and HPF). Intrinsic procedures are covered when appropriate.
Return to contents page