wiki:cypress/Programming/FortranExamples

Fortran codes

Hello World

!hello.f90: display a message on the screen 
program helloworld
     print *, "Hello, F90 world."
end program helloworld

Compile with GNU Fortran

gfortran hello.f90

Compile with PGI Fortran

pgf90 hello.f90

Compile with Intel Fortran

ifort hello.f90

Links for tutorial

Examples of Job Script

See Examples

Parallel Fortran

More Examples

Last modified 10 years ago Last modified on 05/15/15 10:00:23
Note: See TracWiki for help on using the wiki.