Re: [netcdfgroup] [Hdf-forum] netCDF 4.3 Release Candidateavailable --- CMake build in Windows

Good afternoon John,

Currently, using find_package(HDF5 NO_MODULE) results in Visual Studio attempting to link against the shared libraries (.dll) themselves, instead of the associated import libraries (.lib). I'm still trying to figure out why this is, exactly, but in the mean time I am using the work-around mentioned in your previous email.

As of now there are no 'known' failures, assuming you are linking against the release libraries; all tests are passing in my development environment. When linking against the debug libraries, there are a number of known failures, many of which relate to how memory is managed between the hdf5 and netcdf shared libraries (a fix has been discussed with a member of the hdf team for these).

Can you provide any further information regarding the failures you're seeing? Ideally, this should work everywhere and not just in most development environments.

Thanks, have a great afternoon,

-Ward
wfisher@xxxxxxxxxxxxxxxx

On 4/21/13 3:53 AM, Biddiscombe, John A. wrote:

Just a follow up, it turns out my code was linking to debug libraries for hdf, but release for hdf5_hl, I hadn't removed all the necessary hdf5 link crud, once that was fixed, tests are almost complete. Just 3 fails, which I'll look at later.

JB

c:\cmakebuild\netcdf-4.3>"c:\Program Files\cmake-2.8.10.1-win32-x86\bin\ctest.exe" -C Debug

Test project C:/cmakebuild/netcdf-4.3

        Start   1: ncdump_ctest

  1/106 Test   #1: ncdump_ctest .....................   Passed    0.18 sec

        Start   2: ncdump_ctest64

  2/106 Test   #2: ncdump_ctest64 ...................   Passed    0.02 sec

        Start   3: ncdump_tst_utf8

  3/106 Test   #3: ncdump_tst_utf8 ..................   Passed    0.02 sec

        Start   4: ncdump_tst_create_files

  4/106 Test   #4: ncdump_tst_create_files ..........   Passed    0.03 sec

        Start   5: ncdump_tst_group_data

  5/106 Test   #5: ncdump_tst_group_data ............   Passed    0.11 sec

        Start   6: ncdump_tst_enum_data

  6/106 Test   #6: ncdump_tst_enum_data .............   Passed    0.04 sec

        Start   7: ncdump_tst_opaque_data

  7/106 Test   #7: ncdump_tst_opaque_data ...........   Passed    0.03 sec

        Start   8: ncdump_tst_string_data

  8/106 Test   #8: ncdump_tst_string_data ...........   Passed    0.03 sec

        Start   9: ncdump_tst_vlen_data

  9/106 Test   #9: ncdump_tst_vlen_data .............   Passed    0.04 sec

        Start  10: ncdump_tst_comp

10/106 Test  #10: ncdump_tst_comp ..................   Passed    0.08 sec

        Start  11: ncdump_tst_comp2

11/106 Test  #11: ncdump_tst_comp2 .................   Passed    0.04 sec

        Start  12: ncdump_tst_nans

12/106 Test  #12: ncdump_tst_nans ..................   Passed    0.02 sec

        Start  13: ncdump_tst_unicode

13/106 Test  #13: ncdump_tst_unicode ...............   Passed    0.03 sec

        Start  14: nctest

14/106 Test  #14: nctest ...........................   Passed    1.70 sec

        Start  15: tst_rename

15/106 Test  #15: tst_rename .......................   Passed    0.03 sec

        Start  16: nc_test_t_nc

16/106 Test  #16: nc_test_t_nc .....................   Passed    0.03 sec

        Start  17: nc_test_tst_small

17/106 Test  #17: nc_test_tst_small ................   Passed    2.03 sec

        Start  18: nc_test_tst_misc

18/106 Test  #18: nc_test_tst_misc .................   Passed    0.06 sec

        Start  19: nc_test_tst_norm

19/106 Test  #19: nc_test_tst_norm .................   Passed    0.02 sec

        Start  20: nc_test_tst_names

20/106 Test  #20: nc_test_tst_names ................   Passed    0.16 sec

        Start  21: nc_test_tst_nofill

21/106 Test  #21: nc_test_tst_nofill ...............   Passed    0.24 sec

        Start  22: nc_test_tst_nofill2

22/106 Test  #22: nc_test_tst_nofill2 ..............   Passed    0.09 sec

        Start  23: nc_test_tst_nofill3

23/106 Test  #23: nc_test_tst_nofill3 ..............   Passed    0.07 sec

        Start  24: nc_test_tst_atts

24/106 Test  #24: nc_test_tst_atts .................   Passed    0.04 sec

        Start  25: nc_test

25/106 Test  #25: nc_test ..........................   Passed   43.26 sec

        Start  26: nc_test4_tst_dims

26/106 Test  #26: nc_test4_tst_dims ................   Passed    0.20 sec

        Start  27: nc_test4_tst_dims2

27/106 Test  #27: nc_test4_tst_dims2 ...............   Passed    4.89 sec

        Start  28: nc_test4_tst_dims3

28/106 Test  #28: nc_test4_tst_dims3 ...............   Passed    0.25 sec

        Start  29: nc_test4_tst_files

29/106 Test  #29: nc_test4_tst_files ...............   Passed    0.44 sec

        Start  30: nc_test4_tst_files4

30/106 Test  #30: nc_test4_tst_files4 ..............   Passed    0.06 sec

        Start  31: nc_test4_tst_vars

31/106 Test  #31: nc_test4_tst_vars ................***Failed   45.60 sec

        Start  32: nc_test4_tst_varms

32/106 Test  #32: nc_test4_tst_varms ...............   Passed    0.05 sec

        Start  33: nc_test4_tst_unlim_vars

33/106 Test  #33: nc_test4_tst_unlim_vars ..........   Passed    0.07 sec

        Start  34: nc_test4_tst_converts

34/106 Test  #34: nc_test4_tst_converts ............   Passed    0.05 sec

        Start  35: nc_test4_tst_converts2

35/106 Test  #35: nc_test4_tst_converts2 ...........***Failed    1.39 sec

        Start  36: nc_test4_tst_grps

36/106 Test  #36: nc_test4_tst_grps ................   Passed    0.21 sec

        Start  37: nc_test4_tst_grps2

37/106 Test  #37: nc_test4_tst_grps2 ...............   Passed    0.14 sec

        Start  38: nc_test4_tst_compounds

38/106 Test  #38: nc_test4_tst_compounds ...........   Passed    0.12 sec

        Start  39: nc_test4_tst_compounds2

39/106 Test  #39: nc_test4_tst_compounds2 ..........   Passed    0.04 sec

        Start  40: nc_test4_tst_compounds3

40/106 Test  #40: nc_test4_tst_compounds3 ..........   Passed    0.04 sec

        Start  41: nc_test4_tst_opaques

41/106 Test  #41: nc_test4_tst_opaques .............   Passed    0.05 sec

        Start  42: nc_test4_tst_strings

42/106 Test  #42: nc_test4_tst_strings .............   Passed    0.16 sec

        Start  43: nc_test4_tst_strings2

43/106 Test  #43: nc_test4_tst_strings2 ............   Passed    0.03 sec

        Start  44: nc_test4_tst_interops

44/106 Test  #44: nc_test4_tst_interops ............   Passed    0.09 sec

        Start  45: nc_test4_tst_interops4

45/106 Test  #45: nc_test4_tst_interops4 ...........   Passed    0.40 sec

        Start  46: nc_test4_tst_interops6

46/106 Test  #46: nc_test4_tst_interops6 ...........   Passed    0.06 sec

        Start  47: nc_test4_tst_enums

47/106 Test  #47: nc_test4_tst_enums ...............   Passed    0.07 sec

        Start  48: nc_test4_tst_coords

48/106 Test  #48: nc_test4_tst_coords ..............   Passed    0.33 sec

        Start  49: nc_test4_tst_coords2

49/106 Test  #49: nc_test4_tst_coords2 .............   Passed    0.16 sec

        Start  50: nc_test4_tst_coords3

50/106 Test  #50: nc_test4_tst_coords3 .............   Passed    0.23 sec

        Start  51: nc_test4_tst_vars3

51/106 Test  #51: nc_test4_tst_vars3 ...............   Passed    1.25 sec

        Start  52: nc_test4_tst_vars4

52/106 Test  #52: nc_test4_tst_vars4 ...............   Passed    0.03 sec

        Start  53: nc_test4_tst_chunks

53/106 Test  #53: nc_test4_tst_chunks ..............   Passed    0.41 sec

        Start  54: nc_test4_tst_chunks2

54/106 Test  #54: nc_test4_tst_chunks2 .............   Passed    1.37 sec

        Start  55: nc_test4_tst_utf8

55/106 Test  #55: nc_test4_tst_utf8 ................   Passed    0.05 sec

        Start  56: nc_test4_tst_fills

56/106 Test  #56: nc_test4_tst_fills ...............   Passed    0.14 sec

        Start  57: nc_test4_tst_fills2

57/106 Test  #57: nc_test4_tst_fills2 ..............   Passed    0.07 sec

        Start  58: nc_test4_tst_fillbug

58/106 Test  #58: nc_test4_tst_fillbug .............   Passed    0.04 sec

        Start  59: nc_test4_tst_xplatform

59/106 Test  #59: nc_test4_tst_xplatform ...........   Passed    0.04 sec

        Start  60: nc_test4_tst_xplatform2

60/106 Test  #60: nc_test4_tst_xplatform2 ..........   Passed    0.04 sec

        Start  61: nc_test4_tst_h_atts2

61/106 Test  #61: nc_test4_tst_h_atts2 .............   Passed    0.02 sec

        Start  62: nc_test4_tst_endian_fill

62/106 Test  #62: nc_test4_tst_endian_fill .........   Passed    0.04 sec

        Start  63: nc_test4_tst_atts

63/106 Test  #63: nc_test4_tst_atts ................   Passed    0.05 sec

        Start  64: nc_test4_t_type

64/106 Test  #64: nc_test4_t_type ..................   Passed    0.02 sec

        Start  65: nc_test4_cdm_sea_soundings

65/106 Test  #65: nc_test4_cdm_sea_soundings .......   Passed    0.03 sec

        Start  66: nc_test4_tst_vl

66/106 Test  #66: nc_test4_tst_vl ..................   Passed    0.06 sec

        Start  67: nc_test4_tst_atts1

67/106 Test  #67: nc_test4_tst_atts1 ...............   Passed    0.17 sec

        Start  68: nc_test4_tst_atts2

68/106 Test  #68: nc_test4_tst_atts2 ...............   Passed    0.06 sec

        Start  69: nc_test4_tst_vars2

69/106 Test  #69: nc_test4_tst_vars2 ...............   Passed    0.35 sec

        Start  70: nc_test4_tst_files5

70/106 Test  #70: nc_test4_tst_files5 ..............   Passed    0.03 sec

        Start  71: nc_test4_tst_files6

71/106 Test  #71: nc_test4_tst_files6 ..............   Passed    0.03 sec

        Start  72: nc_test4_tst_sync

72/106 Test  #72: nc_test4_tst_sync ................   Passed    0.09 sec

        Start  73: nc_test4_tst_h_strbug

73/106 Test  #73: nc_test4_tst_h_strbug ............   Passed    0.10 sec

        Start  74: nc_test4_tst_h_refs

74/106 Test  #74: nc_test4_tst_h_refs ..............   Passed   13.39 sec

        Start  75: tst_h_files

75/106 Test  #75: tst_h_files ......................   Passed    1.56 sec

        Start  76: tst_h_files2

76/106 Test  #76: tst_h_files2 .....................   Passed    0.32 sec

        Start  77: tst_h_files4

77/106 Test  #77: tst_h_files4 .....................   Passed    0.11 sec

        Start  78: tst_h_atts

78/106 Test  #78: tst_h_atts .......................   Passed    2.72 sec

        Start  79: tst_h_atts3

79/106 Test  #79: tst_h_atts3 ......................   Passed    0.09 sec

        Start  80: tst_h_atts4

80/106 Test  #80: tst_h_atts4 ......................   Passed    0.08 sec

        Start  81: tst_h_vars

81/106 Test  #81: tst_h_vars .......................***Failed    2.33 sec

        Start  82: tst_h_vars2

82/106 Test  #82: tst_h_vars2 ......................   Passed    2.96 sec

        Start  83: tst_h_vars3

83/106 Test  #83: tst_h_vars3 ......................   Passed    0.26 sec

        Start  84: tst_h_grps

84/106 Test  #84: tst_h_grps .......................   Passed    0.16 sec

        Start  85: tst_h_compounds

85/106 Test  #85: tst_h_compounds ..................   Passed    0.27 sec

        Start  86: tst_h_compounds2

86/106 Test  #86: tst_h_compounds2 .................   Passed    0.05 sec

        Start  87: tst_h_wrt_cmp

87/106 Test  #87: tst_h_wrt_cmp ....................   Passed    0.05 sec

        Start  88: tst_h_rd_cmp

88/106 Test  #88: tst_h_rd_cmp .....................   Passed    0.19 sec

        Start  89: tst_h_vl

89/106 Test  #89: tst_h_vl .........................   Passed    0.19 sec

        Start  90: tst_h_opaques

90/106 Test  #90: tst_h_opaques ....................   Passed    0.06 sec

        Start  91: tst_h_strings

91/106 Test  #91: tst_h_strings ....................   Passed    0.10 sec

        Start  92: tst_h_strings1

92/106 Test  #92: tst_h_strings1 ...................   Passed    0.16 sec

        Start  93: tst_h_strings2

93/106 Test  #93: tst_h_strings2 ...................   Passed    0.08 sec

        Start  94: tst_h_ints

94/106 Test  #94: tst_h_ints .......................   Passed    0.10 sec

        Start  95: tst_h_dimscales

95/106 Test  #95: tst_h_dimscales ..................   Passed    0.74 sec

        Start  96: tst_h_dimscales1

96/106 Test  #96: tst_h_dimscales1 .................   Passed    0.09 sec

        Start  97: tst_h_dimscales2

97/106 Test  #97: tst_h_dimscales2 .................   Passed    0.19 sec

        Start  98: tst_h_dimscales3

98/106 Test  #98: tst_h_dimscales3 .................   Passed    0.06 sec

        Start  99: tst_h_enums

99/106 Test  #99: tst_h_enums ......................   Passed    0.09 sec

        Start 100: tst_h_dimscales4

100/106 Test #100: tst_h_dimscales4 .................   Passed    0.14 sec

        Start 101: C_tests_simple_xy_wr

101/106 Test #101: C_tests_simple_xy_wr .............   Passed    0.17 sec

        Start 102: C_tests_simple_xy_rd

102/106 Test #102: C_tests_simple_xy_rd .............   Passed    0.07 sec

        Start 103: C_tests_sfc_pres_temp_wr

103/106 Test #103: C_tests_sfc_pres_temp_wr .........   Passed    0.04 sec

        Start 104: C_tests_sfc_pres_temp_rd

104/106 Test #104: C_tests_sfc_pres_temp_rd .........   Passed    0.08 sec

        Start 105: C_tests_pres_temp_4D_wr

105/106 Test #105: C_tests_pres_temp_4D_wr ..........   Passed    0.07 sec

        Start 106: C_tests_pres_temp_4D_rd

106/106 Test #106: C_tests_pres_temp_4D_rd ..........   Passed    0.07 sec

97% tests passed, 3 tests failed out of 106

Total Test time (real) = 136.75 sec

The following tests FAILED:

         31 - nc_test4_tst_vars (Failed)

         35 - nc_test4_tst_converts2 (Failed)

         81 - tst_h_vars (Failed)

Errors while running CTest



_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

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