You missed the option -xtypemap=real:64. The -r8 option of the PGI compiler is equivalent to -r8const -xtypemap=real:64 using Sun Studio.
Most likely, that will fix the problem. If the problem persists, then the file probably has whole structures/derived types dumped into it and those structures/derived types have paddings between the structure components using different padding rules than what are used by Sun Studio. -- This message posted from opensolaris.org