On 08/04/2016 03:40 PM, Carl Ponder wrote:
*On 07/25/2016 01:40 PM, Prentice Bisbal wrote:*

    I'm having trouble building HDF5 with the Portland Group (PGI)
    compilers, version 16.5. Here is my configure command:

        .....

    I'm also building with GCC 5.4.0, GCC 6.1.0, and Intel 2015, and
    I only get this error with the PGI compilers. Does anyone know of
    afix for this? Googling hasn't proivded much help. I assume the
    PGI compilers much be doing some overly strict checking and there
    is a compiler switch to turn it off, but I haven't been able to
find the correct switch yet, if that's the case.
Prentice -- I just built HDF5 1.10.0-patch1 with the PGI 16.7 compiler, which is now available.
If you're still having the above problem, I can send you the details.
My scripts would probably work just as well with PGI 16.5.


Thanks for the offer. However, I found a fix for my problem. I've been meaning to update the list, but kept procrastinating, so here it is:

I fixed this problem by specifying the system cpp with CPP=cpp rather than using the PGI C preprocessor. After searching the 'net for days, this solution was mentioned as a solution to a different, but similar, issue someone else was having with the PGI compilers.

--
Prentice

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to