PLEASE NOTE: This course runs as a series of two one-day workshops, usually one week apart. Please do not apply for this course unless you are able to attend BOTH sessions.
This is an introduction to programming in ‘modern’ Fortran. The workshop is open to everyone, but is aimed at people who already have some programming experience (perhaps in another language) and wish to write scientific, numerical or engineering applications.
Although Fortran has been in use since the early 1950s, modern Fortran (Fortran 90/95) is an efficient programming language ideally suited to numerical and scientific computation. It has excellent support for arrays and external libraries and is equally suited to maintain legacy codes and applications as it is to write fast, modern and efficient code.
In this course we will cover:
- Recap on Fortran, compiled and interpreted programming languages
- Data input and formatting output
- Variables, constants and data types
- Repeating blocks of code with loops
- Navigating pathways through programs with selection
- Manipulating numbers
- Managing procedures
- Handling data with arrays
- Modules and types
- Using external libraries to enhance your code
- Interfacing Fortran to Python and R
- Introduction to debugging and optimisation
Although this is an introductory Fortran course, it is expected that attendees will have some experience of programming in another language. As a minimum, attendees should understand the concepts of variables and data types, loops, selection and procedures.
Two one-day sessions
This course usually runs once each academic year.
All research staff and students
Through the IT Training Unit