Quale versione del fortran utilizzi?
A cura di Giuseppe Ciaburro
Pubblicato il 31/05/2007
Un manuale completo sul fortran 95 per chi già programma in fortran 77
Sommario
Sources
Brief History
Fortran 90 Additions
Fortran 95 Additions
Fortran 95 Deletions
Constructs Considered Harmful
Constructs
Considered Obsolete
F95 Compilers
From F77 to F95
Fixed to Free
Format
Capitals-Only to Insensitive
Variable Names
Expression
Continuations
String Continuations
Comments
Relational Operators
Implicit to Strict Typing
Variable Declarations
Variable
Initialization
Constant Parameters
Precision
Array Declarations
Passing Arrays
Strings
Array Expressions
Array Conditionals
Array Sections
COMMON or BLOCK DATA becomes MODULE
Non-Advancing I/O
Entirely New in F90/F95
PURE Routines
ELEMENTAL Routines
Timing
Intrinsic
Loop CYCLE and EXIT
Numeric Intrinsics
Array Intrinsics
Dynamic Array Allocation
Tensor Functions
Derived Types
Argument
Intent
Optional and Keyword Arguments
Modules
Data Hiding
Operator Overloading
Namelists
Construct Names
Sources
Fortran 95 for Fortran 77 Users
comp.lang.fortran
A Brief
History of Fortran
http://en.wikipedia.org/wiki/Fortran
http://en.wikipedia.org/wiki/Fortran_language_features
Fortran Standards website
Fortran 95/2003 Explained
Fortran 90
Programming, Class Materials
Introduction to FORTRAN 90
Brief
History
Fortran is 50 years old in 2007.
Created by IBM team lead by John
Backus.
1957: FORTRAN I
1958: FORTRAN II (added linker)
1958:
FORTRAN III (never publicly released)
1961: FORTRAN IV (clean up of II)
1966: FORTRAN 66 (first standard)
1977: FORTRAN 77 (many new things
added)
1992: Fortran 90 (superset of 77, many additions)
1998: Fortran
95 (deleted a few 77 features; minor tweaks)
2004: Fortran 2003
(object-oriented, c-interop, and i/o)
200?: Fortran 2008 (co-arrays; minor
tweaks)
Fortran 90 Additions
Free format source code form (f90)
Modern control structures (CASE, DO WHILE, and ENDDO)
User-defined data
types, (TYPE)
Array notation
Dynamic memory allocation
Operator
overloading
Keyword and optional arguments
Argument INTENT
Numeric
precision specification
Modules
Fortran 95 Additions
CPU_TIME
Null pointer declaration
Comments in namelists
FOR ALL and nested
WHERE constructs
PURE and ELEMENTAL routines
Fortran 95
Deletions
Non-integer DO indices
ASSIGN
Branching to END IF
PAUSE
H edit descriptor
Constructs Considered Harmful
BLOCK DATA
INCLUDE
COMMON
DIMENSION
DOUBLE PRECISION
DSQRT, CSQRT,
DABS, etc.
ENTRY
EQUIVALENCE
PARAMETER
Arithmetic IF
Constructs Considered Obsolete
PRINT (Kleb opinion)
Fixed source form
Computed GOTO
CHARACTER*
DATA statements in executables
Statement functions
Share do loop termination
F95
Compilers
Absoft
Cray
G95
Gfortran
HP
IBM
Intel
Lahey-Fujitsu
Numerical Analysis Group (NAG)
PathScale
Portland
Group Inc (PGI)
Salford
SGI
Sun
PER CONSULTARE IL MANUALE CLICCARE SUL LINK SEGUENTE: