Informationsansvarig: Bo Einarsson, bo.einarsson@liu.se
Sidan uppdaterades senast: 2009-09-21
LiU - MAI > ~boein > kurser > TANA70 > Courseinformation


A till Ö | Översikt | Andra sökmöjligheter

[ Hoppa direkt till textinnehållet ]
Gå till LiU.se

TANA70: Innehåll


LiU - MAI > ~boein > kurser > TANA70 > Courseinformation

COURSE INFORMATION TANA 70 Fortran

FORTRAN for C3, D4, I4, IT4, M3, M4, Y3, Y4
Period 1, 2007/2008

Content:

Course Extent:

8 hours lectures
8 hours computer exercises (plus 2 hours in reserve)

Course Literature:

Bo Einarsson and Yurij Shokin: Fortran 90 for the Fortran 77 Programmer, available as a hypertext document http://www.nsc.liu.se/~boein/f77to90/. As the title implies, it is not yet a complete textbook on Fortran 90.

Additional material will perhaps be made available at the lectures.

Appendix 11 of my text contains the Computer Exercises.

Alternative textbooks:

  • T. M. R. Ellis, I. R. Philips, and T. M. Lahey: Fortran 90 Programming, Addison-Wesley, New York 1994. ISBN 0-201-54446-6.
  • W. S. Brainerd, C. H. Goldberg, and J. C. Adams: Programmer's Guide to Fortran 90, Third Edition, Springer, 1995. ISBN 0-387-94570-9.
  • Michael Metcalf and John Reid: Fortran 95/2003 Explained, Oxford University Press, Oxford 2004. ISBN 0-19-852693-8.
  • C. Überhuber and P. Meditz: Software-Entwicklung in Fortran 90, Springer, Vienna 1993. ISBN 3-211-82450-2. (In German)
  • P. Corde and H. Deloui: Cours Fortran 90, 19 May 1995, CNRS, B. P. 167, F-94103, Orsay Cedex. (In French)
  • B. Einarsson and Y. Shokin: FORTRAN-90, Kniga dlja programmiruyushchikh na yazyke Fortran-77, Izdatel'stvo Sibirskogo Otdeleniya Rossijskaya Akademiya Nauk (Siberian Division of the Russian Academy of Sciences), Novosibirsk 1995. ISBN 5-85826-013-6. (In Russian)

Lectures:

The lectures (in Swedish) will cover the major items of the programming language Fortran 95:
  • Fixed mode and free mode
  • The basic elements of the language, its data and program structures
  • Input and output
  • Character manipulation
  • Subroutines and functions
  • Files
  • Modules
  • History of Fortran
  • Debugging of Fortran code
  • Remarks on Fortran 66/77
  • Introduction to HPF (High Performance Fortran)
  • Introduction to Fortran 2003
  • Introduction to F (a subset of Fortran 95 intended for the teaching of general programming)
  • Introduction to co-array Fortran (earlier named "F--", an extension of Fortran 95 for parallel computations)

Computer Exercises:

Practical exercises in Fortran programming. The exercises are performed in groups of two persons. We use the UNIX workstations from Sun.

The exercises are done in groups of two persons and at most 8 such groups form a team. The allotted times for each team of the computer exercises are supposed to be free of collisions for most students of the team. You are therefore supposed to apply for the team that belongs to your line of studies.

Also persons who have not earlier formally applied for Fortran are welcome to apply now.

Each person has a user identity on the UNIX system (the same for Mathematics and Electrical Engineering). Please check that you know your user identity and password.

Remember to check that the teacher makes a note of your presence. For approved course you must have been present on at least four of the exercises, and have been approved on all five assignments (numbered 2 to 16).

Examination:

Completed and approved exercises (assignments) give an approved course (1 credit or 1.5 ECTS credits).

The assignments may be handed to the teacher during the exercise, or put into the teacher's compartment at the Department of Mathematics. Returned assignments (not approved) have to be handed back to the teacher within one week (official examination periods not included).

Teacher:

Compilers:

The computer exercises are normally run on the Mathematics educational system, using the Sun workstations with UNIX (Solaris) and the Sun Fortran 90/95 compilers. There is also a Fortran 77 compiler available. The compilers are named f77, f90, and f95 (the two last are really the same). In order to get access to these compilers you may have to write

    module add workshop
There is also a GNU-compiler available g77.

I recommend that you directly after each login give the command (preferably in each terminal window)

    TANA70setup
which is an abbreviation for
    source /mailocal/lab/numt/TANA70/.cshrc
which makes the Sun compilers and the course library $KURSBIB available.

For those who prefer to work at home there exist some free compilers. From GNU there is both a Fortran 77 compiler and two Fortran 95 compilers, g95 and gfortran, available.

In addition Intel provides a free compiler for a 30 days period on both Windows and Linux, and also a free non-commercial license without support for Linux.

There does also exist one free compiler for a useful subset of Fortran 90.

Autumn 2007:

The computer exercises are in Appendix 11 on the web.

  • Students of Applied Physics and Electrical Engineering (Y) are required to do the exercises 2, 5e, 8, 11, and 12.
  • Students of Computer Science (D) are required to do the exercises 2, 5b, 8, 10, and 15.
  • Students of Computer Science and Engineering (C) are required to do the exercises 2, 5a, 6, 9, and 14.
  • Students of Industrial Engineering and Management (I) are required to do the exercises 2, 3a, 3c, 4a, and 5a.
  • Students of Information Technology (IT) are required to do the exercises 2, 3c, 4b, 5a, and 6.
  • Students of Mechanical Engineering (M) are required to do the exercises 2, 4b, 5b, 6, and 13,
  • Students of Technical Biology (TB) are required to do the exercises 2, 4b, 5b, 6, and 16.

Further information on Sun Fortran, its system parameters, tips on its compiler, and some examples are available.

Further information on DEC Fortran 90, its system parameters, tips on its compiler, as well as some examples, are available online.


This document is available with URL = http://www.mai.liu.se/~boein/kurser/TANA70/Courseinformation/

The simplest way to find my Fortran books is to go to http://go.to/fortran.

The web site of the course is http://www.mai.liu.se/~boein/kurser/TANA70/.