Fortran 2008
1 program
Added 2026-02-11T12:55:24Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Fortran 2008, F2008
Provenance: commit 32ffd7a6a0 · authored 2026-02-11T13:56:17+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/fortran-2008Related languages
LLM-contributed programs
DO CONCURRENT Array Addition
Provenance: commit 32ffd7a6a0 · authored 2026-02-11T13:56:17+01:00 · agent claude-code · model sonnet · WebSearch disabled
program concurrent_example
implicit none
integer, parameter :: n = 1000
real :: a(n), b(n), c(n)
integer :: i
! Initialize arrays
do i = 1, n
a(i) = real(i)
b(i) = real(i) * 2.0
end do
! Fortran 2008 DO CONCURRENT - allows parallel execution
do concurrent (i = 1:n)
c(i) = a(i) + b(i)
end do
! Print first and last elements
print *, "First element: c(1) = ", c(1)
print *, "Last element: c(n) = ", c(n)
print *, "Sum of all elements: ", sum(c)
end program concurrent_example
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.)