
 			INTRODUCTION TO FORTRAN90

!------------------------------------------------------------------------------!
!------------------------------------------------------------------------------!


The fundamental aspects of programming consist of (a) sequence, (b) control 
(c) repetition. I also like to add (d) modularity.

The eleven example programs in this directory (f90_intro) demonstrate simply 
these basic features. Run each of them in turn. Vary the parameters in each 
program and make sure you understand fully how they work. Learn by observation 
and practice. 

To run these programs, login to ludwig as usual. Move to the directory 
f90_intro. To compile the first example, type  

			ifort example1.f90

A return to the system prompt without any messages indicates successful
compilation. An executable file called `a.out' has now been created. 
To run this program, simply type:

			./a.out

Compare the outcome of executing this program with what you expect from 
reading the file example1.f90 (the source code). 

Now work through the remaining example programs in turn (example1.f90 to 
example11.f90) observing the action performed by the program and comparing 
this with your expectations having read the program.

An alternative compiler is also available on Ludwig: type g95 instead of ifort.

There is a manual on Ludwig for the ifort compiler; type 

			man ifort
!------------------------------------------------------------------------------!

