I managed to replicate the issue.
We test only with the default PGI compilers, which work quite fine. However when I switch to the Cray compilers, I see the same issue you guys are seeing.

We'll add it to our bug tracking system. Thanks for reporting!

Mohamad

On 4/26/2013 9:47 AM, Albert Cheng wrote:
Hi Neil,

I worked in a Cray about 3 to 4 years ago. Back then the cc and ftn were actually cross compilers
provided by PGI.  Maybe they are changed and supported by Intel.

One of our staff has more recent experience with Cray XE6,
    Cray Linux Environment (CLE)  PrgEnv-pgi/4.0.46
hopper.nersc.gov pgcc 12.5-0 64-bit target on x86-64 Linux -tp shanghai pgf90 12.5-0 64-bit target on x86-64 Linux -tp shanghai pgCC 12.5-0 64-bit target on x86-64 Linux -tp shanghai

We are in a pre-release testing for v1.8.11 and a pre-release source tarball is available at: http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/hdf5-1.8.11/hdf5-1.8.11-pre1.tar.gz

After your have downloaded the tar file, untar it into hdf5-1.8.11-pre1/,
cd into it and tried to follow the instruction in release_docs/INSTALL_parallel,
under "2.4. Red Storm (Cray XT3) (for v1.8 and later)" or
"2.5. Hopper (Cray XE6) (for v1.8 and later)".

The section 2.4 is more detailed but it is old information for Red Storm.
The section 2.5 is current. Please see which one is more relevant to your
Cray.  (And let me know too.)

If it still fails for you in any way, please send me all these information:
1. Machine information (Cray so and so)
2. All commands used and their output.
3. compiler versions (e.g. output of "cc --version")

Thanks.

-Albert Cheng
The HDF Group

On 4/24/13 9:57 AM, Neil wrote:
Hi,

I too have had the same problem with both HDF5 1.8.5 and 1.8.8 with the Cray
compiler.

The "-std=c99" flag gets added because the HDF5 configure script incorrectly
identifies the Cray compiler has the Intel compiler and consequently it
automatically sets a load of compiler flags that are intended for the Intel
compilers.

To workarround this edit config/linux-gnulibcl and comment out the two lines
that source files named "intel-flags" and "intel-fflags".

It would be handy if future versions of HDF5 could detect the Cray compiler
correctly.

Hope this helps,

Neil.



--
View this message in context: http://hdf-forum.184993.n3.nabble.com/building-hdf5-1-8-10-patch1-H5-CFLAGS-variable-problems-for-Cray-compiler-tp4026036p4026136.html
Sent from the hdf-forum mailing list archive at Nabble.com.

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



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


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

Reply via email to