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

[netCDF #AVS-844020]: FAIL: nf_test Error



Hi Preeti,

Sorry to have taken so long to respond to your support question.

> I am trying to install netcdf on 64-bit AIX system. The compilers are set to
> xlf xlc xlC xlf90.
> I also set CPPFLAGS=-DIBMR2Fortran and OBJECT_MODE=64
> I also set ARFLAGS='-X64 cru' and NMFLAGS='-X64'.
> 
> I configured as
> 
> ./configure --prefix=$HOME/local/netcdf --disable-v2 --enable-shared
> 
> But I am getting this error on "make check"
> 
> 
> *** Creating fills.nc.
> *** SUCCESS!
> PASS: create_fills.sh
> *** Testing netCDF-3 Fortran 77 API.
> /bin/sh: 2027632 Segmentation fault(coredump)
> FAIL: nf_test
> *** Testing netCDF-3 Fortran 90 API.
> /bin/sh: 2027638 Segmentation fault(coredump)
> FAIL: tst_f90
> =========================================
> 2 of 3 tests failed
> Please report to address@hidden
> =========================================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/home/others/preeti/usrbin/netcdf-3.6.3/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/home/others/preeti/usrbin/netcdf-3.6.3/nf_test'
> make: *** [check-recursive] Error 1
> 
> 
> Can you please let me know if I am missing something?

Instead of using the old 3.6.3 distribution, could you please try the new 
version 4.1.1-rc2 (without specifying --enable-netcdf-4 to the configure
script) to see if it fixes the problem with AIX?  I think it may be a
problem with a free() call to a NULL pointer returned by a previous 
malloc(0) that is fixed in this release candidate version.

The release is available here:

  ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.1.1-rc2.tar.gz

If you build without specifying --enable-netcdf-4, it will just
build and test the netCDF-3 version of the software.

--Russ


Thanks
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: AVS-844020
Department: Support netCDF
Priority: Urgent
Status: Closed