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

[netCDF #CET-311784]: make check: FAIL: nctest



Hello,

That is a bit peculiar, can you provide the `test-suite.log` file generated 
when you run 'make check'?  It will provide additional information we can use 
to try to diagnose the issue.

Thanks,

-Ward

> Hello,
> 
> I am trying to build NetCDF 4.4.0 on openSUSE Leap 42.1. I am using the 
> following script to build NetCDF:
> 
> # Set environment variables for MPI compilers
> export CC=mpicc
> export CXX=mpicxx
> export FC=mpif90
> export F77=mpif77
> 
> # Configure NetCDF
> ./configure --prefix=/usr/local/netcdf-4.4.0/ --disable-netcdf-4 
> --disable-dap --enable-parallel
> 
> # Make, test, and install NetCDF
> make -j 4
> make check
> make install
> 
> When performing make check I get the following messages on failed test (all 
> previous tests are ok):
> 
> Making check in nctest
> make[1]: Entering directory '/usr/local/bin/netcdf-4.4.0/nctest'
> make  nctest tst_rename
> make[2]: Entering directory '/usr/local/bin/netcdf-4.4.0/nctest'
> make[2]: 'nctest' is up to date.
> make[2]: 'tst_rename' is up to date.
> make[2]: Leaving directory '/usr/local/bin/netcdf-4.4.0/nctest'
> make  check-TESTS
> make[2]: Entering directory '/usr/local/bin/netcdf-4.4.0/nctest'
> make[3]: Entering directory '/usr/local/bin/netcdf-4.4.0/nctest'
> ../test-driver: Zeile 107: 21807 Speicherzugriffsfehler  "$@" > $log_file 2>&1
> FAIL: nctest
> PASS: tst_rename
> FAIL: compare_test_files.sh
> ============================================================================
> Testsuite summary for netCDF 4.4.0
> ============================================================================
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See nctest/test-suite.log
> Please report to address@hidden
> ============================================================================
> Makefile:784: recipe for target 'test-suite.log' failed
> make[3]: *** [test-suite.log] Error 1
> make[3]: Leaving directory '/usr/local/bin/netcdf-4.4.0/nctest'
> Makefile:890: recipe for target 'check-TESTS' failed
> make[2]: *** [check-TESTS] Error 2
> make[2]: Leaving directory '/usr/local/bin/netcdf-4.4.0/nctest'
> Makefile:984: recipe for target 'check-am' failed
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory '/usr/local/bin/netcdf-4.4.0/nctest'
> Makefile:690: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> 
> The test-suite.log file shows:
> 
> =========================================
> netCDF 4.4.0: nctest/test-suite.log
> =========================================
> 
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: nctest
> ============
> 
> Testing V2 API with 2 different netCDF formats.
> 
> 
> Switching to netCDF classic format.
> *** Testing nccreate ...    ok ***
> *** Testing ncopen ...        ok ***
> *** Testing ncredef ...        ok ***
> *** Testing ncendef ...        ok ***
> *** Testing ncclose ...        ok ***
> *** Testing ncinquire ...    ok ***
> *** Testing ncsync ...        ok ***
> *** Testing ncabort ...        ok ***
> *** Testing ncdimdef ...    ok ***
> *** Testing ncdimid ...        ok ***
> *** Testing ncdiminq ...    ok ***
> *** Testing ncdimrename ...    ok ***
> *** Testing ncvardef ...    ok ***
> *** Testing ncvarid ...        ok ***
> *** Testing ncvarinq ...    ok ***
> *** Testing ncvarputg ...    FAIL nctest (exit status: 139)
> 
> FAIL: compare_test_files.sh
> ===========================
> 
> nctest_classic.nc ./ref_nctest_classic.nc differ: byte 8, line 1
> FAIL compare_test_files.sh (exit status: 1)
> 
> Can you please tell me what causes this error and if mmy build is ok?
> 
> Thanks.
> Martin
> 
> 


Ticket Details
===================
Ticket ID: CET-311784
Department: Support netCDF
Priority: Normal
Status: Closed