Kunal,

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.
> 
>   ---------------------------------------------------------------------
> 
>   PGF90-W-0155-Unrecognized DEC directive: if (H5f90global.f90: 160)
> 
>   ---------------------------------------------------------------------
> 
>   I have done the configuration as:
> 
>   $./configure --enable-fortran
> 
>   Any suggestion on how to resolve this error ?
> 
> Thanks & Regards,
> Kunal
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to