Modern Fortran

This course provides an introduction to Modern Fortran, which contains many powerful features that make it a suitable language for programming scientific, engineering and numerical applications. Familiarity with a Unix or Linux environment is assumed. The course is open to all, but is mainly targeted at existing ARCHER users.

Details

Fortran 90/95 is a modern and efficient general purpose programming language, particularly suited to numeric and scientific computation. The language offers advanced array support, and is complimented by a wealth of numerical libraries. Many large scale computing facilities offer heavily optimised Fortran compilers, making Fortran suitable for the most demanding computational tasks.

Topics include: fundamentals, program control, input and output, variables, procedures, modules, arrays.

Intended learning outcomes

On completion of this course students should be able to:

  • Understand and develop modularised Fortran programs.
  • Compile and run Fortran programs on ARCHER.

Prerequisites

The are no prerequisites for this course, although a familiarity with a Unix or Linux environment is assumed.

Timetable

Details are subject to change, but start, end and break times will stay the same.

Day 1

  • 09:30 LECTURE: Fundamentals of Computer Programming
  • 11:00 BREAK: Coffee
  • 11:30 PRACTICAL: Hello world, formatting, simple input
  • 12:30 BREAK: Lunch
  • 13:30 LECTURE: Logical Operations and Control Constructs
  • 14:30 PRACTICAL: Numeric manipulation
  • 15:30 BREAK: Tea
  • 16:00 LECTURE: Arrays
  • 17:00 PRACTICAL: Arrays
  • 17:30 CLOSE

Day 2

  • 09:30 PRACTICAL: Arrays (cont'd)
  • 10:15 LECTURE: Procedures
  • 11:15 BREAK: Coffee
  • 11:45 PRACTICAL: Procedures
  • 12:45 BREAK: Lunch
  • 13:45 LECTURE: Modules and Derived Types
  • 15:15 BREAK: Tea
  • 15:45 PRACTICAL: Modules, Types, Portability
  • 17:00 CLOSE

Course Materials

Slides and exercise material for this course will be available soon.

Location

The course will take place in Imperial College, London

Registration

Please use the registration page to register for ARCHER courses.

Questions?

If you have any questions please contact the ARCHER Helpdesk.