netcdf-c icon indicating copy to clipboard operation
netcdf-c copied to clipboard

nczarr_test_run_interop failes with static build

Open WardF opened this issue 1 year ago • 0 comments

In the current main branch, nczarr_test/run_interop.sh fails when using cmake and building with -DBUILD_SHARED_LIBS=OFF.

NOTE: nczarr_test/run_interop.sh succeeds when using an autotools-based build.

When run, nczarr_test/run_interop.sh fails with the following error:

  7/230 Test #229: nczarr_test_run_interop ...................***Failed    0.31 sec
findplugin.sh loaded
final HDF5_PLUGIN_DIR=/Users/wfisher/Desktop/gitprojects/netcdf-c/build/plugins
-e 	o Running File Testcase:	power_901_constants	zarr	
/Users/wfisher/Desktop/gitprojects/netcdf-c/build/ncdump/ncdump: file:///Users/wfisher/Desktop/gitprojects/netcdf-c/build/nczarr_test/testset_1708453854/testdir_interop/ref_power_901_constants.file#mode=zarr,file: NetCDF: Not a valid ID

@DennisHeimbigner any insight into what might be happening, or why it only happens under cmake? Static builds work with autoconf-based builds

WardF avatar Feb 20 '24 18:02 WardF