Fortran 90 Compilers  Intel Fortran Compiler for Linux        G95            Gfortran - the GNU Fortran Compiler

Fortran 90 Tutorial      :    Good One         More tutorials


Background Text editor   Please install and use    GNU Emacs   text editor,     Beginner's Emacs

For unix users                :  
Basic UNIX commandsUnix Command Summary,    Unix commands

For Windows users       :  Windows XP Commands  ,   GNU Emacs FAQ For MS Windows

Cours Fortran (french)
Lets GO................................................................go
1) Open a file name Simple.f90 by using emacs and put the text in.
       >>>  emacs Simple.f90&
 PROGRAM Simple
     IMPLICIT NONE
     WRITE(6,*) " Hello it is me "
     WRITE(6,*)  " It is time to leave Bye Bye "
END PROGRAM Simple


2) Compile the file Simple.f90 by using your favorite fortran compiler
         and use an option to specify the name of the output file, if not there is a default file (c
heck it).
     
compile - use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed
            >>> ifort         Simple.f90 -o MyRun  
|   Or
  |  >>>g95         
Simple.f90 -o MyRun 
|   Or
  |  >>>gfortran 
Simple.f90 -o MyRun 
       MyRun  is the name of computer-readable machine file, Compiler are named "ifort" or "g95" or "gfortran"
3) Run the  the output file of the compilation
     >>> ./MyRun
 
Hello it is me
  It is time to leave Bye Bye

GOOD................................................................GOOD

 
   More  complex case