I compiled CRTM 2.0 with PGI 10.3 on linux box by following command and options
pgf95 -c -g -fast -byteswapio
It complained an internal compiler error and aborted.
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. Scale_Of: bad dtype 0 (CRTM_Atmosphere_Define.f90: 647)
PGF90-S-0000-Internal compiler error. size_of:bad dtype 367 (CRTM_Atmosphere_Define.f90: 647)
PGF90-F-0008-Error limit exceeded (CRTM_Atmosphere_Define.f90: 647)
PGF90/x86 Linux 10.3-0: compilation aborted
Here is the line complained by PGI 10.3
647 IF ( atm%n_Clouds > 0 ) &
648 atm_out%Cloud = CRTM_Cloud_AddLayerCopy( atm%Cloud, atm_out%n_Added_Layers )
I tried to compile the CRTM 2.0 with PGI 8.0-4, it works fine with a few warnings.
Any ideas?
Thanks