How to download and install FortranTo get started with using Fortran you need a compiler compatible with your desired Fortran version. NTNU has an educational license for NAG Fortran builder, and it supports FORTRAN 90 with most of the implementations from FORTRAN 2008. For a guide to dowloading and setting up licensing properly visit NTNU softwares pages (link). |
Getting started with FortranIn the Fortran builder most work is done in projects. The project folder should contain all the files for the current project, including input and output files. Creating your first project
Creating a new file
Hello WorldCopy the code snippet bellow to create your first program. It will print "Hello world" to the i/o window.
Execute a programTo run a script click the lightning symbol on the toolbar. This will execute the script without debugging features. The play button next to the lightning will execute the script with debugging features |
Useful tutorials
|