1998-03-31
boein@nsc.liu.se
Course in Fortran 90/95 and HPF
When
Thursday 23 April,
09:00 - 16.30, with breaks for lunch and coffee.
Where
Linköping University,
Lecture room: GG 31, House G (FOA Building).
During the afternoon work stations in the B Building will be used.
Prerequisites
Basic knowledge of Fortran 77 or FORTRAN IV.
The course material however includes a complete text on Fortran.
Those unfamiliar with Fortran may get it in advance.
Contents
The course will concentrate on the new features introduced with Fortran 90.
Also Fortran 95 (approved last December) and HPF will be discussed.
During the afternoon access to workstations for running Fortran 90 and HPF
on DEC and Cray will be available. Access to Cray requires that you bring your
smartcard and have a valid account. HPF is not available on the C90.
- New free form of the source code permitting significant blanks
- New control statements: CASE, DO WHILE, FOR ALL
- Dynamic memory allocation
- Array operations
- Keyword and optional arguments
- Recursive functions
- Generic functions
- Intrinsic functions and subroutines
- New precision concept
- Pointers (there is a difference between Cray pointers and Fortran 90 pointers)
- Modules
- Some differences between cf77 and f90 on the Cray
- Incompatibility problems (Fortran 77 -> Fortran 90, Fortran 90 -> Fortran 95)
- High Performance Fortran (HPF) and the
Portland Group HPF compiler
The lecture will be based on Fortran 90 for
the Fortran 77 Programmer with its
Appendix 8 discussing
High Performance Fortran. It will also be based on the Swedish
Lärobok i Fortran 90, available both in HTML and PostScript.
The Swedish book is now also available in Acrobat form (PDF), for instructions
see my Fortran page.
A
draft of the forthcoming
Fortran 95 Tutorial
will be distributed to the participants.
Fortran 95 was published as ISO/IEC 1539-1:1997 on December 15, 1997,
and Fortran 90 (ISO/IEC 1539:1991) was withdrawn.
Registration
Do you want to participate? Please, send your name, e-mail address, and phone
number to me. You will find my address below. Registration is required!
Please state your special wishes regarding what you wish the course to cover.
Also mention whether you wish the Fortran 95 Tutorial as a self expanding
EXE-file for Windows 95 or as a tar-file or zip-file for any other system.
It consists of a large number of HTML-files, Fortran source code examples,
and some pictures in GIF and JPG.
Questions?
Send me an e-mail!
Bo Einarsson E-mail: boein@nsc.liu.se
National Supercomputer Centre Phone: +46 13 281432
Linköping University Fax: +46 13 282535
S-581 83 Linköping, Sweden