Tutor: Dr Chris Cooling
Course Level: Level 1
Prerequisites: No previous programming experience is assumed or required.
Duration: 3 x 2 hour sessions
Format: Microsoft Teams with live teaching and hands-on practice

Fortran is a general-purpose coding language that traces its roots back to the 1950s and the birth of modern computing. Today, it has been extensively updated to include modern programming features and is heavily used for scientific computing applications in a number of fields due, in part, to its high performance. As a result, is frequently used in computationally intensive areas including high performance computing.

This course will cover the basics of how to write a Fortran source file utilising the basic constructs of the language, to compile and run the code and to troubleshoot common errors.


  • What is coding?
  • What is Fortran?
  • What is the compiler and how do we use it?
  • My first program
  • Variables and assignment
  • Loops
  • Conditionals
  • Functions
  • Importing modules
  • Error messages

The course will be delivered through a combination of slides, demonstrations and hands-on practicals.

Learning Outcomes:

After completing this workshop, you will be better able to

  • Define the terms source file, compiler and executable,
  • Use a compiler to create and run simple codes,
  • Apply fundamental components of the Fortran language including variables, loops, conditionals and subroutines
  • Create programs designed to solve simple numerical problems
  • Interpret common compiler and run-time errors and use these to help debug a program

Pre-course setup


Tuesday 18 May 2021, 10:00-12:00 (Part One)
Wednesday 19 May 2021, 10:00-12:00 (Part Two)
Thursday 20 May 2021, 10:00-12:00 (Part Three) 
Microsoft Teams




Summary of the table's contents

Students must attend all three parts to be awarded the course credit