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-fortranWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: parallel · message passing · imperative (procedural · object-oriented) · structured |
|---|---|
| Typing | strong, static |
| Designed by | PL22.3 Fortran Committee · Robert Numrich · John Reid |
| Influenced by | Fortran |
Related languages
LLM-contributed programs
Parallel Sum
Provenance: commit f778a2a0d6 · authored 2026-02-07T12:31:31+01:00 · agent claude-code · model sonnet · WebSearch disabled
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.)