sourceryinstitute / hello-world

"Hello, world!" programs demonstrating features introduced by various historical Fortran standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Hello World Retrospective

This repository contains versions of "Hello, world!" that demonstrate some of the features introduced by several Fortran standards:

Demonstration codes

Fortran 90

Demonstrations of features introduced in Fortarn 90:

Fortran 2003

Demonstrations of features introduced in Fortarn 95 and 2003:

Fortran 2018

Demonstrations of features introduced in Fortarn 2008 and 2018:

Downloaing, Building, and Running

With gfortran and OpenCoarrays installed, execute the following at a command line in Linux, macOS, or Windows Subsystem for Linux:

fpm run hello_90
fpm run hello_2003
fpm run hello_2018 --compiler caf --runner "cafrun -n 2"

About

"Hello, world!" programs demonstrating features introduced by various historical Fortran standards


Languages

Language:Fortran 100.0%