NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] HDF5-1.8.8

On Dec 2, 2011, at 3:28 PM, Dave Allured wrote:

> [[Please fix your subject line]]

Sorry, my fault.

I am using the compiler that comes from Apple with XCode, which apparently is 
4.2.

$ gcc -version
i686-apple-darwin11-llvm-gcc-4.2: no input files

Ken


> 
> Ken et al,
> 
> My IT team also got a successful build of netCDF 4.1.3 with HDF-1.8.8 on Mac 
> Pro with OS X 10.7.2.  We did *not* get any conversion test failures like you 
> did.
> 
> This may be related to GCC version.  We used GCC 4.5.3 from Mac Ports, not 
> Apple default which is older, not 4.6.*.  This may be a reasonable 
> workaround.  What C compiler are you using?
> 
> mac27:/usr/local/src/hdf5-1.8.8 78> \
> ? grep gcc- install.gfortran
> compiler 'gcc' is GNU gcc-4.5.3
> 
> mac27:/usr/local/src/hdf5-1.8.8 79> \
> ? grep -e 'hard.*long double.*char' install.gfortran
> Testing hard normalized long double -> signed char conversions PASSED
> Testing hard normalized long double -> unsigned char conversions PASSED
> Testing hard denormalized long double -> signed char conversions PASSED
> Testing hard denormalized long double -> unsigned char conversions PASSED
> Testing hard special long double -> signed char conversions PASSED
> Testing hard special long double -> unsigned char conversions PASSED
> 
> Note there is a high priority bug, maybe related to GCC version, currently 
> being addressed by the HDF group.  The symptoms are similar to yours.
> 
> http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2011-November/005314.html
> 
> --Dave
> 
> On 12/2/2011 12:35 PM, Dr. Kenneth P. Bowman wrote:
>> FYI, I just tried building netCDF with HDF-1.8.8 on a Mac Pro
>> running OS X 10.7.2 (Lion).
>> 
>> Zlib installs fine, but HDF5 will not build properly. I get the same
>> error running 'make check' whether I use HDF5-1.8.6, 1.8.7, or 1.8.8
>> (see below).
>> 
>> The response from HDFGroup is "use OS X 10.6.8". Unfortunately all
>> new Macs come with 10.7, and downgrading is not really an option.
>> 
>> NetCDF 4.1.3 without HDF5 built just fine. Thanks, guys!
>> 
>> Ken Bowman
>> 
>> 
>> Testing hard normalized float -> unsigned long conversions PASSED
>> Testing hard normalized double -> unsigned long conversions PASSED
>> Testing hard normalized long double -> signed char conversions
>> Command terminated abnormally.
>> 1.61 real 0.09 user 0.03 sys
>> make[4]: *** [dt_arith.chkexe_] Error 1
>> make[3]: *** [build-check-s] Error 2
>> make[2]: *** [test] Error 2
>> make[1]: *** [check-am] Error 2
>> make: *** [check-recursive] Error 1
>> 
>> 
>>> Date: Thu, 01 Dec 2011 12:39:15 -0700
>>> From: Russ Rew <russ@xxxxxxxxxxxxxxxx <mailto:russ@xxxxxxxxxxxxxxxx>>
>>> To: Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx
>>> <mailto:Roy.Mendelssohn@xxxxxxxx>>
>>> Cc: NetCDF Group List <netcdfgroup@xxxxxxxxxxxxxxxx
>>> <mailto:netcdfgroup@xxxxxxxxxxxxxxxx>>
>>> Subject: Re: [netcdfgroup] HDF5-1.8.8
>>> 
>>> Hi Roy,
>>> 
>>>> HDF5-1.8.8 has been announced. Is this a recommended change for
>>>> netcdf?
>>>> Does the most recent library work with it?
>>> 
>>> We've tested on a Fedora 16 platform and verified that HDF5-1.8.8
>>> works
>>> fine with both netCDF-4.1.3 and with the current snapshot release,
>>> which
>>> will soon be a beta release of netCDF-4.2. However, we haven't tested
>>> with HDF5-1.8.8 on other platforms yet.
>>> 
>>> When netCDF-4.2 is released, we'll recommend building it with the most
>>> recent HDF5-1.8.x version (unless you build with
>>> --disable-netcdf-4, in
>>> which case you won't need HDF5).
>>> 
>>> --Russ

____________________________________________________________________________
Kenneth P. Bowman
Professor and Department Head
Department of Atmospheric Sciences
Texas A&M University
3150 TAMU
College Station, TX   77843-3150

k-bowman@xxxxxxxx
Voice 979-845-7671
Fax 979-862-4060

http://atmo.tamu.edu/profile/KBowman






  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: