Coarray Fortran

1 program Added 2026-02-07T11:30:39Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: CAF, Co-Array Fortran
Provenance: commit f778a2a0d6 · authored 2026-02-07T12:31:31+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/coarray-fortran
LLM (this repo) · 1WikipediaWikidata · Q1104016

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: parallel · message passing · imperative (procedural · object-oriented) · structured
Typingstrong, static
Designed byPL22.3 Fortran Committee · Robert Numrich · John Reid
Influenced byFortran

Related languages

Co-array Fortran (1.00)Fortran (0.30)FORTRAN III (0.23)ICETRAN (0.22)FORTRAN 77 (0.21)

LLM-contributed programs

Parallel Sum

Provenance: commit f778a2a0d6 · authored 2026-02-07T12:31:31+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.f90 · added: 2026-02-07T11:30:39Z
program parallel_sum
  implicit none
  integer :: me, nproc, i
  real :: local_sum, total_sum[*]
  
  me = this_image()
  nproc = num_images()
  
  ! Each image computes its local sum
  local_sum = 0.0
  do i = me, 100, nproc
    local_sum = local_sum + real(i)
  end do
  
  ! Store result in coarray
  total_sum = local_sum
  
  sync all
  
  ! Image 1 collects all results
  if (me == 1) then
    local_sum = 0.0
    do i = 1, nproc
      local_sum = local_sum + total_sum[i]
    end do
    print *, "Total sum: ", local_sum
  end if
  
end program parallel_sum

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 Coarray Fortran (mapped to pl/coarray-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/Coarray Fortran/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Coalton Cobatwrile →