Department of Engineering

IT Services

Using Fortran 90 on the Teaching System

Users needing fortran 90 on the Teaching system should use the Intel Fortran Compiler The compiler is called ifort. More information about the language can be found at the Intel Fortran page.

Compiler basics are similar to the other compilers:

ifort -c triangle.f90 (Compiles the program triangle.f90)

ifort  -o triangle triangle.o (produces the executable file triangle)

./triangle (runs the program)

Welcome, please enter the lengths of the 3 sides.
3, 4, 5
Triangle's area:  6.0