Basic HTML version of Foils prepared August 7 98

Foil 14 Hints for Using Fortran 90/95

From DoD HPF Training -- 2. Fortran90 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


Declare arrays to be the natural size and shape
  • ALLOCATE in main routine (or when size is set)
  • Automatic local arrays
  • Assumed shape dummies (controversial)
Array operations are great for data parallelism
  • But they don't cover everythingŠ
Use MODULE and INTERFACE
  • Consistency checking for you
  • Extra information for the compiler
Complicated data structures are possible
  • Unclear what compilers will optimize well



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 9 1998