Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] netCDF C/Fortran/C++ 4.1.3 release...

Okay if I add "-lsz" to the LDFLAGS it works.  But I fail on "make check" on 
the fortran tests, and this is an error in the program.  I get:

> /sw/bin/gfortran  -I../fortran -I../f90 -I../f90 -I../include -I../oc  -g -O2 
> -c -o f90tst_vars2.o  f90tst_vars2.f90
> f90tst_vars2.f90:37.34:
> 
>   integer, parameter :: CACHE_SIZE = 8, CACHE_NELEMS = 571, CACHE_PREEMPTION 
> = 
>                                   1
> Error: Symbol 'cache_size' at (1) already has basic type of INTEGER
> f90tst_vars2.f90:86.37:
> 
>        CACHE_NELEMS, CACHE_PREEMPTION))
>                                      1
> Error: Symbol 'cache_preemption' at (1) has no IMPLICIT type
> f90tst_vars2.f90:77.13:
> 
>   call check(nf90_def_var(ncid, VAR5_NAME, NF90_INT, dimids, varid5, 
> chunksizes
>              1

so if I go to the routine I see:

  integer, parameter :: CACHE_NELEMS = 10000, CACHE_SIZE = 1000000
  integer, parameter :: DEFLATE_LEVEL = 4
  integer (kind = 8), parameter :: TOE_SAN_VALUE = 2147483648_8
  character (len = *), parameter :: VAR1_NAME = "Chon-Ji"
  character (len = *), parameter :: VAR2_NAME = "Tan-Gun"
  character (len = *), parameter :: VAR3_NAME = "Toe-San"
  character (len = *), parameter :: VAR4_NAME = "Won-Hyo"
  character (len = *), parameter :: VAR5_NAME = "Yul-Guk"
  integer, parameter :: CACHE_SIZE = 8, CACHE_NELEMS = 571, CACHE_PREEMPTION = 
66

CACHE_SIZE and CACHE_NELEMS are both defined twice as parameters - I am not 
certain of the other errors but with operator overloading given the error above 
ti may not find the correct function.  CACHE_PREEMPTIION goes to column 86 - so 
depending on the compiler and the settings that may not be kosher, and it clear 
isn;t here  (I am using gfortran from fink)

-Roy


On Jun 18, 2011, at 9:09 AM, Ed Hartnett wrote:

> Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx> writes:
> 
>> The release notes mention "Upgrade to hdf5 1.8.7. "  The quick build
>> says hdf5 1.8.6.  Do either, neither or some combination work?  What
>> is recommended?
>> 
>> Thanks,
>> 
>> -Roy
>> 
> 
> Ha! Looks like you just found the first documentation bug of this
> release. ;-)
> 
> Use HDF5 1.8.7.
> 
> Thanks,
> 
> Ed
> -- 
> Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 



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