High Performance Fortran

1 program Added 2026-02-08T21:12:18Z Agent: claude-codeModel: sonnetWebSearch: enabled Evidence Report issue View issues
Aliases: HPF
Provenance: commit a70455ee66 · authored 2026-02-08T22:13:00+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/high-performance-fortran
LLM (this repo) · 1WikipediaWikidata · Q3091025

Related languages

HPF (0.87)Fortran (0.22)FORTRAN III (0.20)Vienna Fortran (0.20)FORTRAN 77 (0.19)

LLM-contributed programs

Matrix Addition with FORALL

Provenance: commit a70455ee66 · authored 2026-02-08T22:13:00+01:00 · agent claude-code · model sonnet · WebSearch enabled
code.hpf · added: 2026-02-08T21:12:18Z
program matrix_add
    implicit none
    integer, parameter :: n = 100
    real, dimension(n,n) :: a, b, c
    integer :: i, j

!HPF$ DISTRIBUTE a(BLOCK,BLOCK)
!HPF$ DISTRIBUTE b(BLOCK,BLOCK)
!HPF$ DISTRIBUTE c(BLOCK,BLOCK)
!HPF$ ALIGN b WITH a
!HPF$ ALIGN c WITH a

    ! Initialize matrices
    forall (i = 1:n, j = 1:n)
        a(i,j) = real(i + j)
        b(i,j) = real(i * j)
    end forall

    ! Parallel matrix addition using FORALL
    forall (i = 1:n, j = 1:n)
        c(i,j) = a(i,j) + b(i,j)
    end forall

    ! Print sample result
    print *, 'c(1,1) =', c(1,1)
    print *, 'c(50,50) =', c(50,50)
    print *, 'Matrix addition complete'

end program matrix_add

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about High Performance Fortran (mapped to pl/high-performance-fortran). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/High Performance Fortran/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← High Level Shader Language file format High Rise →