wiki:cypress/Programming/FortranExamples

Version 1 (modified by cmaggio, 7 years ago) (diff)

migrated content from ccs wiki

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