[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #SPM-769661]: netCDF Build



Hello Dave,

I don't have immediate access to the oneAPI compilers to test this, but it 
looks to me like the failures are the result of failed string comparisons.  
Specifically, when comparing different representations of NaN and Infinity.  I 
suspect these failures are safe to ignore.  I will look to see if there's a way 
we can obviate this sort of compiler-specific comparison/failure in our 
testing.  Thank you!

-Ward



> We are trying to build netcdf-Cv 4.9.0 using the Intel oneAPI compilers 
> (ifx/icx)
> We have built hdf5 successfully.
> 
> Not sure what the appropriate congfigure arguments should be but we used:
> ./configure --prefix=/gpfs/site/opt/netcdf/4.9.0/2022.3.1 
> --enable-dynamic-loading --enable-hdf5
> # NetCDF C Configuration Summary
> ==============================
> 
> # General
> -------
> NetCDF Version: 4.9.0
> Dispatch Version: 5
> Configured On: Thu Jan 19 14:57:14 UTC 2023
> Host System: x86_64-pc-linux-gnu
> Build Directory: /gpfs/site/dist/auxlib/netcdf-c-4.9.0
> Install Prefix: /gpfs/site/opt/netcdf/4.9.0/2023.0.0
> Plugin Install Prefix: N.A.--enable-hdf5--enable-hdf5
> 
> # Compiling Options
> -----------------
> C Compiler: 
> /gpfs/site/opt/intel/oneapi-2023.0.0/compiler/2023.0.0/linux/bin/icx
> CFLAGS: -fno-strict-aliasing
> CPPFLAGS:
> LDFLAGS:
> AM_CFLAGS:
> AM_CPPFLAGS:
> AM_LDFLAGS:
> Shared Library: yes
> Static Library: yes
> Extra libraries: -lhdf5_hl -lhdf5 -lm -lz
> XML Parser: libxml2
> 
> # Features
> --------
> NetCDF-2 API: yes
> HDF4 Support: no
> HDF5 Support: yes
> NetCDF-4 API: yes
> NC-4 Parallel Support: no
> PnetCDF Support: no
> DAP2 Support: no
> DAP4 Support: no
> Byte-Range Support: no
> Diskless Support: yes
> MMap Support: no
> JNA Support: nowe used
> CDF5 Support: yes
> ERANGE Fill Support: no
> Relaxed Boundary Check: yes
> Parallel Filters: yes
> NCZarr Support: yes
> Multi-Filter Support: yes
> Quantization: yes# NetCDF C Configuration Summary
> ==============================
> 
> # General
> -------
> NetCDF Version: 4.9.0
> Dispatch Version: 5
> Configured On: Thu Jan 19 14:57:14 UTC 2023
> Host System: x86_64-pc-linux-gnu
> Build Directory: /gpfs/site/dist/auxlib/netcdf-c-4.9.0
> Install Prefix: /gpfs/site/opt/netcdf/4.9.0/2023.0.0
> Plugin Install Prefix: N.A.--enable-hdf5--enable-hdf5
> 
> # Compiling Options
> -----------------
> C Compiler: 
> /gpfs/site/opt/intel/oneapi-2023.0.0/compiler/2023.0.0/linux/bin/icx
> CFLAGS: -fno-strict-aliasing
> CPPFLAGS:
> LDFLAGS:
> AM_CFLAGS:
> AM_CPPFLAGS:
> AM_LDFLAGS:
> Shared Library: yes
> Static Library: yes
> Extra libraries: -lhdf5_hl -lhdf5 -lm -lz
> XML Parser: libxml2
> 
> # Features
> --------
> NetCDF-2 API: yes
> HDF4 Support: no
> HDF5 Support: yes
> NetCDF-4 API: yes
> NC-4 Parallel Support: no
> PnetCDF Support: no
> DAP2 Support: no
> DAP4 Support: no
> Byte-Range Support: no
> Diskless Support: yes
> MMap Support: no
> JNA Support: no
> CDF5 Support: yes
> ERANGE Fill Support: no
> Relaxed Boundary Check: yes
> Parallel Filters: yes
> NCZarr Support: yes
> Multi-Filter Support: yes
> Quantization: yes
> Logging: no
> SZIP Write Support: no
> Standard Filters: deflate bz2
> ZSTD Support: no
> Benchmarks: no
> Logging: no
> SZIP Write Support: no
> Standard Filters: deflate bz2
> ZSTD Support: no
> Benchmarks: no
> 
> the make finshed without errorwe used
> make check fails with 4 errors:
> make[4]: Entering directory '/gpfs/site/dist/auxlib/netcdf-c-4.9.0/ncdump'
> FAIL: tst_netcdf4.sh
> FAIL: tst_ncgen4.sh
> FAIL: run_back_comp_tests.sh
> FAIL: tst_nccopy4.sh
> 
> the tst_netcdf4.log contains:
> ...
> *** Testing NaN
> *** creating NaN test file tst_nans.nc...ok.
> *** Tests successful!
> 6,7c6,7
> <               fvar:_FillValue = nanf ;
> <               fvar:att = -inff, nanf, inff ;
> ---
> >               fvar:_FillValue = NaNf ;
> >               fvar:att = -Infinityf, NaNf, Infinityf ;
> 9,10c9,10
> <               dvar:_FillValue = nan ;
> <               dvar:att = -inf, nan, inf ;
> ---
> >               dvar:_FillValue = NaN ;
> >               dvar:att = -Infinity, NaN, Infinity ;
> 13c13
> <  fvar = -inf, _, _ ;
> ---
> >  fvar = -Infinityf, _, Infinityf ;
> 15c15
> <  dvar = -inf, _, _ ;
> ---
> >  dvar = -Infinity, _, Infinity ;
> FAIL tst_netcdf4.sh (exit status: 1)
> 
> the tst_ncgen4.log contans:
> *** Testing: ref_tst_special_atts
> *** XFAIL : ref_tst_special_atts
> *** Testing: ref_tst_nans
> 6,7c6,7
> <               fvar:_FillValue = NaNf ;
> <               fvar:att = -Infinityf, NaNf, Infinityf ;
> ---
> >               fvar:_FillValue = nanf ;
> >               fvar:att = -inff, nanf, inff ;
> 9,10c9,10
> <               dvar:_FillValue = NaN ;
> <               dvar:att = -Infinity, NaN, Infinity ;
> ---
> >               dvar:_FillValue = nan ;
> >               dvar:att = -inf, nan, inf ;
> 13c13
> <  fvar = -Infinityf, _, Infinityf ;
> ---
> >  fvar = -inf, _, _ ;
> 15c15
> <  dvar = -Infinity, _, Infinity ;
> ---
> >  dvar = -inf, _, _ ;
> *** FAIL: ref_tst_nans
> *** Testing: ref_solar
> ...
> *** SUCCEED: ref_tst_econst2
> *** Testing: ref_tst_vlen_data2
> *** SUCCEED: ref_tst_vlen_data2
> *** Testing: ref_tst_chardata
> *** XFAIL : ref_tst_chardata
> *** Testing: ref_const_test
> *** XFAIL : ref_const_test
> *** Testing: ref_tst_unlim2
> *** XFAIL : ref_tst_unlim2
> *** Testing: ref_tst_special_atts3
> *** XFAIL : ref_tst_special_atts3
> *** Testing: ref_tst_special_atts
> *** XFAIL : ref_tst_special_atts
> *** PASSED: 55/56 ; 8 expected failures ; 1 unexpected failuresFleet 
> Numerical Meteorology and Oceanography Center
> 7 Grace Hopper Ave, Stop 1
> Monterey, CA 93943-5501
> Office Phone: (831) 657-1492
> FAIL tst_ncgen4.sh (exit status: 1)
> 
> Any idea what maybe causing this problem?
> 
> Note: I got same issue when I tried to use the Intel Classic compilers 
> (ifort/icc)
> Appreciate any input on this
> 
> -Dave Reynolds
> address@hidden
> Fleet Numerical Meteorology and Oceanography Center
> 7 Grace Hopper Ave, Stop 1
> Monterey, CA 93943-5501
> Office Phone: (831) 657-1440
> 
> 


Ticket Details
===================
Ticket ID: SPM-769661
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.