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

[netCDF #UCB-925022]: Error make check, please report to support



Hello, 

This issue stems from a combination of issues between these older versions of 
netCDF-C and netCDF-Fortran.

If you replaces all instances of '4.3.3.1` with '4.5.0` (for netCDF-C) and 
'4.4.2` with '4.4.4` (for netCDF-Fortran) in the script you attached, you 
should be able to install the latest versions and avoid these issues.

I hope this helps!

-Ward

> I have an issue in make check of the netcdf download version 4.3.3.1
> based on the make file attached
> 
> =============================================
>    netCDF 4.3.3.1: nc_test4/test-suite.log
> =============================================
> 
> # TOTAL: 55
> # PASS:  54
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: tst_files
> ===============
> 
> 
> *** Testing netcdf-4 file functions.
> *** testing version 4.3.3.1 of Nov 21 2017 18:45:48 $...ok.
> *** testing with bad inputs...ok.
> *** testing simple opens and creates...ok.
> *** testing more complex opens and creates...ok.
> *** testing redef for netCDF classic...ok.
> *** testing redef for netCDF 64-bit offset...ok.
> *** testing redef for netCDF-4 ...ok.
> *** testing redef for netCDF-4, with strict netCDF-3 rules...ok.
> *** testing different formats...ok.
> *** testing CLASSIC_MODEL flag with classic formats...ok.
> *** testing multiple open files...Sorry! Unexpected result, tst_files.c,
> line: 347
> 
> 
> 
> 
> In addition when I try to compile the test files I get following error,
> also with all other files. Probably some library issue but I dont know
> anymore what I could try
> 
> gfortran -L/home/tobias/PhD/Programming/NEW/system/lib -lnetcdff
> -I/home/tobias/PhD/Programming/NEW/system/include simple_xy_wr.f90
> 
> /tmp/ccmifyBH.o: In function `check.3497':
> simple_xy_wr.f90:(.text+0x7c): undefined reference to
> `__netcdf_MOD_nf90_strerror'
> /tmp/ccmifyBH.o: In function `MAIN__':
> simple_xy_wr.f90:(.text+0x1b1): undefined reference to
> `__netcdf_MOD_nf90_create'
> simple_xy_wr.f90:(.text+0x201): undefined reference to
> `__netcdf_MOD_nf90_def_dim'
> simple_xy_wr.f90:(.text+0x24d): undefined reference to
> `__netcdf_MOD_nf90_def_dim'
> simple_xy_wr.f90:(.text+0x384): undefined reference to
> `__netcdf_MOD_nf90_def_var_manydims'
> simple_xy_wr.f90:(.text+0x3cb): undefined reference to
> `__netcdf_MOD_nf90_enddef'
> simple_xy_wr.f90:(.text+0x484): undefined reference to
> `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
> simple_xy_wr.f90:(.text+0x4b6): undefined reference to
> `__netcdf_MOD_nf90_close'
> 
> flags are like following:
> 
> /system/bin/nf-config --fflags --flibs
> -I/home/tobias/PhD/Programming/NEW/system/include
> -L/home/tobias/PhD/Programming/NEW/system/lib -lnetcdff
> -L/home/tobias/PhD/Programming/NEW/system/lib -lnetcdf -lnetcdf
> 
> 
> 


Ticket Details
===================
Ticket ID: UCB-925022
Department: Support netCDF
Priority: High
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.