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 4 years ago Last modified on May 15, 2015 10:00:23 AM