This issue exists primarily to summarize the issues and to ensure no one files bug reports against the PRK project because many of the Fortran codes cannot be compiled with PGI 16.10.
pgfortran -Mpreprocess -O2 -DPRKVERSION="'2.16'" -DRADIUS= transpose-pretty.f90 -o transpose-pretty
PGF90-S-0038-Symbol, norm2, has not been explicitly declared (transpose-pretty.f90)
0 inform, 0 warnings, 1 severes, 0 fatal for main
make: *** [transpose-pretty] Error 2
do concurrent
pgfortran -Mpreprocess -O2 -DPRKVERSION="'2.16'" -DRADIUS= transpose.f90 -o transpose
PGF90-S-0034-Syntax error at or near : (transpose.f90: 181)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 182)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 201)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 202)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 243)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 244)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 263)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 264)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 309)
PGF90-S-0034-Syntax error at or near : (transpose.f90: 310)
0 inform, 0 warnings, 10 severes, 0 fatal for main
make: *** [transpose] Error 2
Coarrays
For example:
pgfortran -Mpreprocess -O2 -DPRKVERSION="'2.16'" -DRADIUS= transpose-coarray.f90 -o transpose-coarray
PGF90-S-0034-Syntax error at or near '(/' (transpose-coarray.f90: 76)
PGF90-S-0134-Illegal attribute - duplicate allocatable (transpose-coarray.f90: 77)
PGF90-S-0034-Syntax error at or near '(/' (transpose-coarray.f90: 77)
PGF90-S-0134-Illegal attribute - duplicate allocatable (transpose-coarray.f90: 78)
PGF90-S-0034-Syntax error at or near '(/' (transpose-coarray.f90: 162)
PGF90-S-0034-Syntax error at or near '(/' (transpose-coarray.f90: 168)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 192)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 193)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 203)
PGF90-S-0034-Syntax error at or near identifier all (transpose-coarray.f90: 210)
PGF90-S-0034-Syntax error at or near identifier all (transpose-coarray.f90: 215)
PGF90-S-0034-Syntax error at or near '(/' (transpose-coarray.f90: 238)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 243)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 244)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 260)
PGF90-S-0034-Syntax error at or near identifier all (transpose-coarray.f90: 265)
PGF90-S-0034-Syntax error at or near : (transpose-coarray.f90: 274)
PGF90-S-0034-Syntax error at or near identifier all (transpose-coarray.f90: 279)
PGF90-S-0034-Syntax error at or near identifier all (transpose-coarray.f90: 283)
0 inform, 0 warnings, 19 severes, 0 fatal for main
make: *** [transpose-coarray] Error 2
These are not bugs either in the PRK or PGI Fortran. PGI is not claiming Fortran 2008 support, nor is e.g. http://fortranwiki.org/fortran/show/Fortran+2008+status.
This issue exists primarily to summarize the issues and to ensure no one files bug reports against the PRK project because many of the Fortran codes cannot be compiled with PGI 16.10.
norm2
intrinsicThis is a known and acknowledged issue (https://www.pgroup.com/userforum/viewtopic.php?t=5321&sid=6fd5d9a3a6077568d9e0c3b5929d8846)
do concurrent
Coarrays
For example: