[Paraview] Unable to build Paraview 3.12 with VisIt readers

Cook, Rich cook47 at llnl.gov
Mon Oct 24 17:27:58 EDT 2011


I have never been able to successfully get Paraview to build and use the MILI readers at LLNL.  
Recently I decided to try building paraview 3.12 to see if I can do it.  

the build exits with the follwoing error.  Can someone point me at a resolution?  Thanks!

[ 30%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o
cd /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/Xdmf2/libsrc && /usr/local/bin/mpiCC   -DXdmf_EXPORTS -DVTK_PYTHON_BUILD -DXDMF_USE_VTK_ZLIB -DLinux -D_HPUX_SOURCE -DXDMF_NO_MPI -I/usr/global/tools/Kitware/Paraview/3.11/chaos_4_x86_64_ib/include  -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include -Wno-deprecated -g -fPIC -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/Ice -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/Xdmf2/Ice -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/Xdmf2/libsrc -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/utils -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/vtk -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/Xdmf2/vtk -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Utilities -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Wrapping -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Wrapping -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Common -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Common -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Charts -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Charts -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Filtering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Filtering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/GenericFiltering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/GenericFiltering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/IO -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/IO -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Imaging -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Imaging -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Rendering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Rendering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Parallel -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Parallel -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Graphics -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Graphics -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Hybrid -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Hybrid -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/VolumeRendering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/VolumeRendering -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Widgets -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Widgets -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Infovis -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Infovis -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Views -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Views -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/GUISupport/Qt -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/GUISupport/Qt -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities/vtklibxml2   -o CMakeFiles/Xdmf.dir/XdmfArray.cxx.o -c /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfArray.cxx
In file included from /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:29,
                from /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfArray.h:28,
                from /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:30:22: error: H5public.h: No such file or directory
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:36:18: error: hdf5.h: No such file or directory
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:42: error: 'hid_t' does not name a type
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:43: warning: 'HDF5TypeToXdmfType' initialized and declared 'extern'

It looks like it's not finding HDF5.  I don't know why.  I grepped for HDF5 in CMakeCache.txt.  There are a few NOTFOUND entries, but would they cause that error?  
Thanks! 

rcook at rzthriller1 (ParaView-3.12.0-RC2-build): grep -i hdf5 CMakeCache.txt
HDF5_BINARY_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities/vtkhdf5
//Build HDF5 C++ Library
HDF5_BUILD_CPP_LIB:BOOL=OFF
//Build HIGH Level HDF5 Library
HDF5_BUILD_HL_LIB:BOOL=OFF
//HDF5 C++ Wrapper compiler.  Used only to detect HDF5 compile
HDF5_CXX_COMPILER_EXECUTABLE:FILEPATH=HDF5_CXX_COMPILER_EXECUTABLE-NOTFOUND
//HDF5 Wrapper compiler.  Used only to detect HDF5 compile flags.
HDF5_C_COMPILER_EXECUTABLE:FILEPATH=HDF5_C_COMPILER_EXECUTABLE-NOTFOUND
HDF5_C_INCLUDE_DIR:PATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/include
//HDF5 file differencing tool.
HDF5_DIFF_EXECUTABLE:FILEPATH=HDF5_DIFF_EXECUTABLE-NOTFOUND
HDF5_DISABLE_COMPILER_WARNINGS:BOOL=ON
HDF5_ENABLE_HSIZET:BOOL=ON
HDF5_ENABLE_LARGE_FILE:BOOL=ON
HDF5_ENABLE_PARALLEL:BOOL=OFF
HDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF
HDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON
HDF5_Enable_Clear_File_Buffers:BOOL=ON
HDF5_Enable_Instrument:BOOL=OFF
//HDF5 library compiled with parallel IO support
HDF5_IS_PARALLEL:BOOL=FALSE
HDF5_METADATA_TRACE_FILE:BOOL=OFF
HDF5_SOURCE_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Utilities/vtkhdf5
HDF5_SRC_BINARY_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities/vtkhdf5/src
HDF5_SRC_SOURCE_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/VTK/Utilities/vtkhdf5/src
HDF5_STRICT_FORMAT_CHECKS:BOOL=OFF
//Use the HDF5 1.6.x API by default
HDF5_USE_16_API_DEFAULT:BOOL=OFF
HDF5_USE_FILTER_FLETCHER32:BOOL=ON
HDF5_USE_FILTER_NBIT:BOOL=ON
HDF5_USE_FILTER_SCALEOFFSET:BOOL=ON
HDF5_USE_FILTER_SHUFFLE:BOOL=ON
HDF5_USE_H5DUMP_PACKED_BITS:BOOL=ON
HDF5_WANT_DATA_ACCURACY:BOOL=ON
HDF5_WANT_DCONV_EXCEPTION:BOOL=ON
//The HDF5_hdf5 library
HDF5_hdf5_LIBRARY:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
HDF5_hdf5_LIBRARY_DEBUG:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
HDF5_hdf5_LIBRARY_RELEASE:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
//The HDF5_hdf5_hl library
HDF5_hdf5_hl_LIBRARY:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
HDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
HDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH=/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so
//Use the system's hdf5 library.
VTK_USE_SYSTEM_HDF5:BOOL=ON
Xdmf_LIB_DEPENDS:STATIC=debug;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;optimized;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;general;vtklibxml2;
vtkPVVTKExtensions_LIB_DEPENDS:STATIC=general;vtkPVCommon;general;vtkPVCommonCS;general;vtkXdmfCS;general;vtkHybridCS;general;vtkParallelCS;general;vtkVolumeRenderingCS;general;vtkWidgetsCS;general;vtkViews;general;vtkViewsCS;general;vtkCharts;general;vtkChartsCS;general;KWCommon;general;vtksys;debug;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;optimized;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;general;/usr/lib64/libGL.so;general;QVTK;
vtkVisItDatabases_LIB_DEPENDS:STATIC=general;vtkVisItAVTAlgorithms;general;vtkNetCDF;debug;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;optimized;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;general;/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/cgns/3.0.8/linux-x86_64_gcc-4.1/lib/libcgns.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib/libmili.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;
vtkhdf5_LIB_DEPENDS:STATIC=general;m;general;vtkzlib;
//Details about finding HDF5
FIND_PACKAGE_MESSAGE_DETAILS_HDF5:INTERNAL=[debug;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;optimized;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;/usr/lib64/libz.so;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a][/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/include][v()]
//ADVANCED property for variable: HDF5_BUILD_CPP_LIB
HDF5_BUILD_CPP_LIB-ADVANCED:INTERNAL=1



--
Rich "wealthychef" Cook
925-784-3077
--
The secrets to success are initiative, and consistency.  Both of these boil down to desire. 


-- 
✐Richard Cook   
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557        
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605    
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)





More information about the ParaView mailing list