MantisBT - ParaView
View Issue Details
0012970ParaView(No Category)public2012-02-29 14:162012-07-25 20:09
Orion Poplawski 
Dave DeMarle 
normalminorhave not tried
closedfixed 
 
3.14.13.14.1 
TBD
0012790-netcdf4-with-system-hdf5
feature
0012970: No way to use netcdf4 with system netcdf
There appears to be no way to set USE_NETCDF4=ON when using the system netcdf libraries. I also see the following:

ENABLE_NETCDF4 not allowed because netcdf4 functionality requires HDF5_BUILD_HL_LIB.

Though I'm not explicitly setting ENABLE_NETCDF4. I'm using system versions of hdf5 and netcdf4.
No tags attached.
Issue History
2012-02-29 14:16Orion PoplawskiNew Issue
2012-02-29 14:25Dave DeMarleNote Added: 0028330
2012-02-29 15:19Orion PoplawskiNote Added: 0028331
2012-02-29 15:22Dave DeMarleAssigned To => Dave DeMarle
2012-02-29 15:22Dave DeMarleStatusbacklog => tabled
2012-03-05 13:17Utkarsh AyachitProjectVTK => ParaView
2012-03-05 13:18Utkarsh AyachitStatustabled => todo
2012-03-05 13:18Utkarsh AyachitProduct Version5.8.0 =>
2012-03-05 13:18Utkarsh AyachitTarget Version => 3.14.1
2012-03-21 10:43Dave DeMarleStatustodo => active development
2012-03-21 10:49Dave DeMarleTopic Name => 001279-netcdf4-with-system-hdf5
2012-03-21 10:49Dave DeMarleNote Added: 0028380
2012-03-21 10:49Dave DeMarleStatusactive development => gatekeeper review
2012-03-21 10:49Dave DeMarleFixed in Version => git-next
2012-03-21 10:49Dave DeMarleResolutionopen => fixed
2012-03-21 14:47Orion PoplawskiNote Added: 0028381
2012-03-21 14:52Dave DeMarleNote Added: 0028382
2012-03-21 15:07Orion PoplawskiNote Added: 0028383
2012-03-22 11:41Dave DeMarleNote Added: 0028384
2012-03-23 11:44Orion PoplawskiNote Added: 0028388
2012-03-26 10:28Utkarsh AyachitFixed in Versiongit-next => git-master
2012-03-26 10:28Utkarsh AyachitStatusgatekeeper review => customer review
2012-03-26 10:43Utkarsh AyachitTopic Name001279-netcdf4-with-system-hdf5 => 0012790-netcdf4-with-system-hdf5
2012-04-05 17:03Utkarsh AyachitFixed in Versiongit-master => 3.14.1
2012-07-25 20:09Alan ScottNote Added: 0028939
2012-07-25 20:09Alan ScottStatuscustomer review => closed

Notes
(0028330)
Dave DeMarle   
2012-02-29 14:25   
The message:
ENABLE_NETCDF4 not allowed because netcdf4 functionality requires HDF5_BUILD_HL_LIB.
is expected.

It just means that until your system HDF5 has this flag set, you won't be able to use the new (to us) parts of netcdf that use hdf5. Instead you get the old (netcdf3) behavior we've had for years.

Try turning HDF5_BUILD_HL_LIB on in your system hdf5, and report on the bug if it still doesn't work.
(0028331)
Orion Poplawski   
2012-02-29 15:19   
HDF5_BUILD_HL_LIB is a VTKism, hdf5 does not define this. Our system hdf5 does have the _hl library.
(0028380)
Dave DeMarle   
2012-03-21 10:49   
fixed vtknetcdf's cmakelists to recognize external hdf5's hl lib
fixed paraview superbuild to turn on hl lib and use it

tested paraview with vtkhdf5, system hdf5 from macports, and the superbuild built hdf5
all could open the exodus on hdf5 file I have access to

for system hdf5, I started my cmakecache with
VTK_USE_SYSTEM_HDF5:BOOL=ON
HDF5_INCLUDE_DIR:PATH:/opt/local/include.
I suspect on other platforms it will be similar.
(0028381)
Orion Poplawski   
2012-03-21 14:47   
Is this in git master? Can't any changes to vtknetcdf/CMakeLists.txt.
(0028382)
Dave DeMarle   
2012-03-21 14:52   
It's only in the next branch until Friday when the next gatekeeper review happens.

It is in VTK master and release branches if you want to try the VTK level out.
(0028383)
Orion Poplawski   
2012-03-21 15:07   
Hmm, getting:

[orion@orca ParaView (next *)]$ git submodule update
fatal: reference is not a tree: d673341b51ab8e4fdbabf3accd1c494f70a10513
Unable to checkout 'd673341b51ab8e4fdbabf3accd1c494f70a10513' in submodule path 'VTK'
[orion@orca ParaView (next *)]$ git diff
diff --git a/VTK b/VTK
index d673341..b327915 160000
--- a/VTK
+++ b/VTK
@@ -1 +1 @@
-Subproject commit d673341b51ab8e4fdbabf3accd1c494f70a10513
+Subproject commit b327915a5ae65f3747e2d84619ad4cf522511b8b
(0028384)
Dave DeMarle   
2012-03-22 11:41   
I think your checkout of ParaView only has the VTK remote and needs the PVVTK remote.

The VTK one is sufficient for the master branch since pvvtk changes get merged there when they are
fully cooked.

For the next branch, you need the PVVTK remote, which is where ParaView's vtk changes live until they get promoted to VTK proper.

cd VTK
git remote add pvvtk git://paraview.org/PVVTK.git [^]
git fetch pvvtk
cd ..
git submodule update
(0028388)
Orion Poplawski   
2012-03-23 11:44   
Okay, that looks pretty good, though I suspect from the following you end up overlinking:

-- Found HDF5: debug;/usr/lib64/libhdf5_hl.so;debug;/usr/lib64/libhdf5.so;debug;/usr/lib64/libz.so;debug;/usr/lib64/librt.so;debug;/usr/lib64/libm.so;optimized;/usr/lib64/libhdf5_hl.so;optimized;/usr/lib64/libhdf5.so;optimized;/usr/lib64/libz.so;optimized;/usr/lib64/librt.so;optimized;/usr/lib64/libm.so

Thanks!
(0028939)
Alan Scott   
2012-07-25 20:09   
User stated it is fixed. Closed.