[MOAB-dev] r4636 - MOAB/trunk/tools/vtkMOABReader

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Mar 24 08:18:05 CDT 2011


Author: tautges
Date: 2011-03-24 08:18:05 -0500 (Thu, 24 Mar 2011)
New Revision: 4636

Modified:
   MOAB/trunk/tools/vtkMOABReader/README
Log:
Adding a little info on what options should be enabled in paraview build.



Modified: MOAB/trunk/tools/vtkMOABReader/README
===================================================================
--- MOAB/trunk/tools/vtkMOABReader/README	2011-03-23 23:28:01 UTC (rev 4635)
+++ MOAB/trunk/tools/vtkMOABReader/README	2011-03-24 13:18:05 UTC (rev 4636)
@@ -1,10 +1,17 @@
 A MOAB reader plugin for VTK/Paraview.  To build:
-- download and build Paraview from www.paraview.org
-- run 'ccmake .'; point MOAB_DIR to the MOAB install location, and ParaView_DIR to
+- build your version of MOAB; YOU MUST ENABLE SHARED LIBS IN MOAB, since running a paraview plugin requires
+  a shared lib and some of MOAB's dependencies (e.g. hdf5) should be the same ones used by Paraview.
+  (Note, I haven't tested this, but maybe you can get away with building MOAB static but the plugin shared)
+- download and build Paraview from www.paraview.org; for my build, I turn on python (PARAVIEW_ENABLE_PYTHON=ON), 
+  point hdf5 to the same one used with MOAB (HDF5_INCLUDE_DIR=/usr/include, HDF5_LIBRARY=/usr/lib/libhdf5.so),
+  and the rest of the settings the default ones.
+- In this directory, run 'ccmake .'; point MOAB_DIR to the MOAB install location, and ParaView_DIR to
   THE PARAVIEW BUILD DIRECTORY (NOT the ParaView source directory); specifically, this is
   the directory containing the ParaViewConfig.cmake file.  Configure, then generate.
 - run make; this should compile a 'libvtkMOABReader.so' shared library file, which serves
   as a ParaView plugin
+- as a check, run 'ldd libvtkMOABReader.so', and check that all the dependent libraries can be found and look
+  correct
 - to read into ParaView, select Tools->Manage Plugins, then "Load New...", pointing it at
   the libvtkMOABReader.so file; to read that plugin every time you start ParaView, expand
   the '+' next to the plugin name and check the "Auto Load" box





























More information about the moab-dev mailing list