Apparently PGI doesn't recognize some MS Windows de-facto standard Fortran directives such as
!DEC$if defined.... ( <--- in HDF5 used for building Fortran DLLs )
but it recognizes some others like ALIAS or ATTRIBUTES.
I guess, one has to edit the source to get rid of "if" statements or come up with more portable code Any patches will be welcome.
I would also suggest to check for pgf90 compiler flags to ignore !DEC directives.
Elena
···
On Jul 18, 2010, at 12:33 PM, Kunal Rao wrote:
Hello
While doing "make" for HDF5-1.8.5 using PGI cygwin environment on Windows, I am getting the following error in fortran/src/H5f90global.f90 file.