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.

[netcdfgroup] "make check" fails on AIX

I haven't found similar problem on AIX operating systems on the
archives (but I haven't scoped the archives very thoroughly, so sorry
for potential doubling).

Platform configuration: IBM Power 775 cluster built on POWER7 processors. The
cluster is running AIX version 7.1 and uses native XL C compilers:

spj@boreasz:/home/staff/spj> xlc -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0012

I am trying to compile non-parallel (for now) NetCDF version 4.3.0 with
standard configure/make procedure (also tried CMake, but "make test" fails in
even more cases then - even with NetCDF 4 option disabled).

I'm invoking configure with a following command:

./configure \
  MAKE='/p7data/opt/gnu/make/3.82/gcc4.2.0-powerpc/bin/make' \
  CC='xlc' \
  CFLAGS='-q64 -O0' \
  CPPFLAGS='-I/p7data/opt/zlib/1.2.8/include
-I/p7data/opt/hdf5/szip/2.1/include
-I/p7data/opt/hdf5/1.8.11/serial-debug/include' \
  LDFLAGS='-q64 -L/p7data/opt/zlib/1.2.8/lib
-L/p7data/opt/hdf5/szip/2.1/lib
-L/p7data/opt/hdf5/1.8.11/serial-debug/lib' \
  LIBS='-lhdf5 -lsz -lz' \
  RANLIB='ranlib -X64' \
  AR='ar -X64' \
  NM='nm -X64' \
  --enable-utilities \
  --disable-dap \
  --enable-netcdf-4 \
  --enable-extra-tests \
  --enable-large-file-tests \
  --enable-extra-example-tests \
  --prefix='/p7data/opt/netcdf/4.3.0/serial-configure'

Configuration passes (log in "configure.log.zip" file in attachment), make also
(with several warnings - log in "make.log.zip"). make check fails - see
"make-check.log.zip" file in attachment.

First fail when testing ncdump (make check stops at this point):

PASS: run_tests.sh
PASS: tst_64bit.sh
PASS: ctest
PASS: ctest64
PASS: tst_output.sh
PASS: tst_lengths.sh
PASS: tst_calendars.sh
PASS: tst_utf8
PASS: run_utf8_tests.sh
PASS: tst_nccopy3.sh
PASS: tst_charfill.sh
PASS: tst_iter.sh
PASS: tst_create_files
PASS: tst_group_data
PASS: tst_enum_data
PASS: tst_opaque_data
PASS: tst_string_data
PASS: tst_vlen_data
PASS: tst_comp
PASS: tst_comp2
PASS: tst_nans
PASS: tst_special_atts
FAIL: tst_netcdf4.sh
PASS: tst_h_rdc0
PASS: tst_unicode
PASS: tst_fillbug
PASS: tst_fillbug.sh
PASS: tst_netcdf4_4.sh
PASS: tst_compress
PASS: tst_nccopy4.sh
PASS: tst_grp_spec.sh
PASS: tst_mud.sh
FAIL: run_back_comp_tests.sh
PASS: tst_ncgen4_classic.sh
FAIL: tst_ncgen4.sh

I ran one of FAIL scripts "tst_ncgen4.sh" manually - see
"make-check-ncdump-tst_ncgen4.log.zip" file in attachment. Basically the it
gives "HDF Error".

HDF5 was safe-compiled without any optimization (-O0 flag) - make check passes
100/100. I think this might be problem with NetCDF, not HDF5, as CMake tests
fail even with -DENABLE_NETCDF_4=OFF, so without HDF5 linked. I can provide more
information on CMake failures, if one thinks it's relevant.

Kind regards,
Szymon Jaranowski
ICM, Warsaw University

Attachment: configure.log.zip
Description: Zip archive

Attachment: make.log.zip
Description: Zip archive

Attachment: make-check.log.zip
Description: Zip archive

Attachment: make-check-ncdump-tst_ncgen4.log.zip
Description: Zip archive

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