Re: [Paraview] Two questions regarding animations in batch
Thank you, Utkarsh! It tried CameraAnimationCue, but it still segfaulted with the error No camera to animate. Therefore, I added Show(reader) Render() before creating a cue. Now it works. However, the resulting movie is just one black frame lasting for a fraction of a second. How can I tell the script to add the object itself to the movie and to do it for every frame? I have over 100 frames in .vtk files. -- Morten On Mon, Feb 4, 2013 at 6:02 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Morten, (i) Use CameraAnimationCue instead of KeyFrameAnimationCue. (ii) Try using the WarpByVector() filter. Utkarsh On Mon, Feb 4, 2013 at 6:54 AM, Morten Olsen morten.olsen2...@gmail.com wrote: Hi all, I'm new to the batch interface and trying to batch animations using pvbatch. I have read the wiki and searched through the mailing list for information, and found many useful answers. However, I'm stuck with two questions: i) The following script segfaults with the error message posted at the end of this email. Any idea how to solve it? #!/usr/local/bin/pvbatch from paraview.simple import * reader = PVDReader(FileName='vtkfiles/displacement.pvd') scene = GetAnimationScene() view = GetActiveView() cue = servermanager.animation.KeyFrameAnimationCue() cue.StartTime = 0.0 cue.EndTime = 1.0 cue.AnimatedProxy = view keyf0 = servermanager.animation.CameraKeyFrame() keyf0.KeyTime = 0.0 keyf1 = servermanager.animation.CameraKeyFrame() keyf1.KeyTime = 1.0 cue.KeyFrames = [keyf0, keyf1] movie = servermanager.animation.AnimationScene() movie.ViewModules = [view] movie.Cues.append(cue) movieWriter = servermanager.vtkSMAnimationSceneImageWriter() movieWriter.SetFrameRate(24) movieWriter.SetFileName(movie.avi) movieWriter.SetAnimationScene(movie.SMProxy) movieWriter.Save() ii) How can I add the warp by vector filter? By the way, I'm using the standard 3.14.1 64-bit edition of Paraview on Linux Mint Maya. Here's the segfault output: ERROR: In /build/buildd/paraview-3.14.1/ParaViewCore/ClientServerCore/vtkPVCameraKeyFrame.cxx, line 81 vtkPVCameraKeyFrame (0x2938dc0): This keyframe can only be added to vtkPVCameraCueManipulator. [maya:06239] *** Process received signal *** [maya:06239] Signal: Segmentation fault (11) [maya:06239] Signal code: Address not mapped (1) [maya:06239] Failing at address: (nil) [maya:06239] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f6d300de4a0] [maya:06239] [ 1] /usr/lib/paraview/libvtkPVServerManager.so(_ZN19vtkSMAnimationScene12TickInternalEddd+0x137) [0x7f6d31b6baf7] [maya:06239] [ 2] /usr/lib/paraview/libvtkCommon.so.pv3.14(_ZN15vtkAnimationCue4TickEddd+0xa5) [0x7f6d30a47175] [maya:06239] [ 3] /usr/lib/paraview/libvtkPVServerManager.so(_ZN25vtkSMAnimationSceneWriter4SaveEv+0x42) [0x7f6d31b728d2] [maya:06239] [ 4] /usr/lib/paraview/libvtkPVServerManagerPythonD.so(+0x53775) [0x7f6d08427775] [maya:06239] [ 5] /usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x53a5) [0x7f6d25e49845] [maya:06239] [ 6] /usr/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855) [0x7f6d25e14605] [maya:06239] [ 7] /usr/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32) [0x7f6d25e14932] [maya:06239] [ 8] /usr/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0xb0) [0x7f6d25e15740] [maya:06239] [ 9] /usr/lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xdf) [0x7f6d25e15b8f] [maya:06239] [10] /usr/lib/libpython2.7.so.1.0(Py_Main+0xbdc) [0x7f6d25e179cc] [maya:06239] [11] /usr/lib/paraview/pvbatch(_ZN14ParaViewPython3RunEiiPPc+0x119) [0x4017e9] [maya:06239] [12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f6d300c976d] [maya:06239] [13] /usr/lib/paraview/pvbatch() [0x401471] [maya:06239] *** End of error message *** Segmentation fault (core dumped) Thanks for all help, really appreciated! -- Morten ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] FW: Value Range
Dear All I'm looking for a command that will get me the contour value ranges for the loaded data set I mean when you load the data on Paraview you can see the range of the contour values, so I would like to get that range using python scripting thanks ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] [Xdmf] How to write voxel or image data xdmf file.
I finally got it to work, at least for Scalar values. The Dimensions in the topology section need to be 1 more than in the DataItem section because the Xdmf reader is creating a Rectilinear Grid and not ImageData. So once I finally figured that out then I could load up some of my scalar values. 2 Step forward. I then tried to load up a Vector data set, i.e., at set that has 3 component array at each Cell Center. This failed with various error messages also so I guess I'll try the process of elimination again for that today. It would be really helpful if there were more xdmc examples on their web page. Promising technology. Just needs some more documentation. Grid Name=Block 1 GridType=Uniform Topology TopologyType=3DCoRectMesh Dimensions=118 202 190/Topology Geometry Type=ORIGIN_DXDYDZ !-- Origin -- DataItem Format=XML Dimensions=30.0 0.0 0.0/DataItem !-- DxDyDz -- DataItem Format=XML Dimensions=30.25 0.25 0.25/DataItem /Geometry Attribute Name=GrainIds AttributeType=Scalar Center=Cell DataItem Format=HDF Dimensions=117 201 189 NumberType=Int Precision=4Small_IN100.dream3d:/VoxelDataContainer/CELL_DATA/GrainIds/DataItem /Attribute Attribute Name=EulerAngles AttributeType=Vector Center=Cell DataItem Format=HDF Dimensions=117 201 189 NumberType=Float Precision=4Small_IN100.dream3d:/VoxelDataContainer/CELL_DATA/EulerAngles/DataItem /Attribute /Grid -- Mike Jackson www.bluequartz.net On Feb 4, 2013, at 11:29 PM, Jason Fleming jason.flem...@seahorsecoastal.com wrote: I'm looking at an XDMF xml file that I generated that works with Paraview (although for a 2D unstructured mesh). In the Topology element, I've set the NumberOfElements attribute ... I wonder if the XDMF reader needs that value to set up the loop to load the attribute data ... maybe try setting NumberOfElements in your Topology element instead of Dimensions? I wouldn't think that interlacing the values into a 1D array would cause problems ... thats what they do in the xml examples at least. Cheers Jason On Mon, 2013-02-04 at 17:37 -0500, Michael Jackson wrote: I was wondering that myself as the data inside the HDf5 file is actually encoded as a 1D array of 32 bit integers but in the xdmc file I am telling the XDMF reader that the data is 3D. Wonder if that matters? I have tried both ways and either get a read error or a ParaView crash. -- Mike Jackson www.bluequartz.net On Feb 4, 2013, at 5:30 PM, Jason Fleming jason.flem...@seahorsecoastal.com wrote: Hello Mike I'm not sure what the issue is ... I'm assuming the hdf5 file containing the attribute data is in the same dir and the internal path is correct etc ... it all depends on how picky the XDMF reader is ... for example the number type for your Xdmf Attribute is Int but the Precision attribute is set to 4 ... I wonder if that matters to the reader. Cheers Jason On Mon, 2013-02-04 at 16:54 -0500, Michael Jackson wrote: I have this: ?xml version=1.0 ? !DOCTYPE Xdmf SYSTEM Xdmf.dtd [] Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2 Information Name=DREAM3D Data File for Small IN100 Value=0/ Domain Grid Name=Structured Grid GridType=Uniform Topology TopologyType=3DCoRectMesh Dimensions=117 201 189/ Geometry GeometryType=ORIGIN_DXDYDZ DataItem Dimensions=3 NumberType=Float Precision=4 Format=XML 0 0 0 /DataItem DataItem Dimensions=3 NumberType=Float Precision=4 Format=XML 0.25 0.25 0.25 /DataItem /Geometry Attribute Name=GrainIds AttributeType=Scalar Center=Cell DataItem Dimensions=117 201 189 NumberType=Int Precision=4 Format=HDF Small_IN100.dream3d:/VoxelDataContainer/CELL_DATA/GrainIds /DataItem /Attribute /Grid /Domain /Xdmf But I get an Can't read attribute data error from ParaView. -- Mike Jackson www.bluequartz.net On Feb 4, 2013, at 11:24 AM, Jason Fleming jason.flem...@seahorsecoastal.com wrote: Hello Mike I've developed some XDMF routines for ADCIRC, a finite element coastal ocean model. Its been a struggle, but ultimately successful. The XDMF technology is valuable, but somehow the community around it seems ... scarce. Anyway, I had a look at your xml, and my first guess is that you have placed the dimensions for your Topology element in the NumberOfElements attribute, instead of the Dimensions attribute ... maybe try Topology TopologyType=3DCoRectMesh Dimensions=117 201 189/ instead of Topology TopologyType=3DCORECTMesh NumberOfElements=117 201 189 / Cheers Jason On Mon, 2013-02-04 at 10:33 -0500, Michael Jackson wrote: I have an HDF5 file that stores data on a regular voxelized grid. I have the origin, dimensions and grid deltas for each of the axis store in the file along side my data. I have tried a few different xdmf files but ParaView 3.14.1 seems to just crash or
Re: [Paraview] [Xdmf] How to write voxel or image data xdmf file.
On 05.02.2013 13:27, Michael Jackson wrote: I finally got it to work, at least for Scalar values. The Dimensions in the topology section need to be 1 more than in the DataItem section because the Xdmf reader is creating a Rectilinear Grid and not ImageData. So once I finally figured that out then I could load up some of my scalar values. 2 Step forward. I then tried to load up a Vector data set, i.e., at set that has 3 component array at each Cell Center. This failed with various error messages also so I guess I'll try the process of elimination again for that today. I might be mistaken, but as far as I recall, vector components have to be on cell NODES, not centers if you want to take advantage of PV's vector field visualization tools (arrows, streamlines and such). I use something like Attribute Name=my_vec_field AttributeType=Vector Center=Node DataItem ItemType=Function Dimensions=128 128 128 3 Function= JOIN( $0,$1,$2 ) DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_x /DataItem DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_y /DataItem DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_z /DataItem /DataItem /Attribute to load vector data, and it works reasonably well. In your case though, a complication might arise from the possible need to convert a grid of 3D vectors into a set of three separate grids for each components. As a side note, it has proven advantageous for debugging purposes to start with XML-only files (replacing the file reference with some (obviously smaller) sample data, and work from there. That way, the dimension mismatch you mentioned earlier would have been detectable to others not in possession of your heavy data file. It would be really helpful if there were more xdmc examples on their web page. Promising technology. Just needs some more documentation. That's exactly my impression as well... Good luck, Jens. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView VTK Legacy File Questions
The only comment in a vtk legacy file is allowed on the second line of the file and must be 255 chars or less. As for the vectors, if you are creating POINT_DATA then you MUST include data for each of the points, whether or not you actually have any data there to represent. You may have to write 3 sets of POINT_DATA, one for each of Tangent, Binormal and Normal. You might be able to put a (0,0,0) as the vector to basically not have it show up but I am not sure if that would work or not. Try this: # vtk DataFile Version 1.0 3D Crack Modeling ASCII DATASET POLYDATA POINTS 4 float 0.0 0.0 5.0 1.0 0.0 5.0 0.0 1.0 5.0 1.0 1.0 5.0 POLYGONS 2 8 3 0 1 2 3 1 3 2 LINES 2 6 2 0 1 2 2 3 POINT_DATA 4 SCALARS node_numbering int 1 LOOKUP_TABLE default 0 2 4 6 VECTORS Binormal float 0 1 0 0 1 0 0 0 0 0 1 0 VECTORS Tangent float 0 0 1 0 0 1 0 0 0 0 0 1 VECTORS Normal float 1 0 0 1 0 0 0 0 0 1 0 0 CELL_DATA 4 SCALARS cell_numbering int 1 LOOKUP_TABLE default -1 -1 0 2 Then use the Glyph Filter to display the vectors as arrows. ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio mike.jack...@bluequartz.net www.bluequartz.net On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote: I realized that my past email was not detailed enough as I was in a rush to get it out, but attached are 3 files that should help explain what I am trying to convey. The image named No vectors is what I currently have modeled in ParaView from the data file (also included). What I am hoping to have, is in the data file, a place to enter in the data for 3 different vectors at as many points as I want and then be able to apply a filter via ParaView so that the end result would look like the second image name BNT. Hopefully this makes more sense.Thank you. Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus daniel.levi...@gmail.com wrote: I have two questions regarding the VTK Legacy file format. The first being how can one write comments in the file without ParaView returning an error? I have tried #, %, //, /* and none have seemed to work. I have searched online as well and cannot seem to find something that suggests other methods. The second and bit more in depth question is: How can I apply three different sets of vector data to the same point in the Legacy format? I have a simple triangular grid and at certain points I want to be able to declare Tangent, Binormal, and Normal vectors for those points. If more clarification is required please let me know Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 BNT.pngNo vectors.PNGStep 0.vtk___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Value Range
Looks the DataInformation discussion here: http://paraview.org/Wiki/ParaView/Python_Scripting#Source_Proxies On Wed, Jan 30, 2013 at 4:23 AM, the lily the.1.l...@hotmail.com wrote: Dear All I'm looking for a command that will get me the contour value ranges for the loaded data set I mean when you load the data on Paraview you can see the range of the contour values, so I would like to get that range using python scripting thanks ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] [Xdmf] How to write voxel or image data xdmf file.
On Feb 5, 2013, at 10:23 AM, Jens Kleimann wrote: On 05.02.2013 13:27, Michael Jackson wrote: I finally got it to work, at least for Scalar values. The Dimensions in the topology section need to be 1 more than in the DataItem section because the Xdmf reader is creating a Rectilinear Grid and not ImageData. So once I finally figured that out then I could load up some of my scalar values. 2 Step forward. I then tried to load up a Vector data set, i.e., at set that has 3 component array at each Cell Center. This failed with various error messages also so I guess I'll try the process of elimination again for that today. I might be mistaken, but as far as I recall, vector components have to be on cell NODES, not centers if you want to take advantage of PV's vector field visualization tools (arrows, streamlines and such). I use something like Attribute Name=my_vec_field AttributeType=Vector Center=Node DataItem ItemType=Function Dimensions=128 128 128 3 Function= JOIN( $0,$1,$2 ) DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_x /DataItem DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_y /DataItem DataItem Dimensions=128 128 128 NumberType=Float Format=HDF my_file.h5:/path/comp_z /DataItem /DataItem /Attribute to load vector data, and it works reasonably well. In your case though, a complication might arise from the possible need to convert a grid of 3D vectors into a set of three separate grids for each components. As a side note, it has proven advantageous for debugging purposes to start with XML-only files (replacing the file reference with some (obviously smaller) sample data, and work from there. That way, the dimension mismatch you mentioned earlier would have been detectable to others not in possession of your heavy data file. It would be really helpful if there were more xdmc examples on their web page. Promising technology. Just needs some more documentation. That's exactly my impression as well... Good luck, Jens. Thanks for the thoughts. I'll take that into consideration when trying to figure out what is going wrong. Now on to see if XDMF will allow me to display my data with my chosen set of colors. --- Mike Jackson ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView VTK Legacy File Questions
The vector data seemed to work fine. I thought I tried that before but must have had an error somewhere. As for the comments, does the XML VTK format allow comments? Or is there another file type that allows comments that is a similar format as the VTK Legacy File? Thank you Mike for your help. Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson mike.jack...@bluequartz.net wrote: The only comment in a vtk legacy file is allowed on the second line of the file and must be 255 chars or less. As for the vectors, if you are creating POINT_DATA then you MUST include data for each of the points, whether or not you actually have any data there to represent. You may have to write 3 sets of POINT_DATA, one for each of Tangent, Binormal and Normal. You might be able to put a (0,0,0) as the vector to basically not have it show up but I am not sure if that would work or not. Try this: # vtk DataFile Version 1.0 3D Crack Modeling ASCII DATASET POLYDATA POINTS 4 float 0.0 0.0 5.0 1.0 0.0 5.0 0.0 1.0 5.0 1.0 1.0 5.0 POLYGONS 2 8 3 0 1 2 3 1 3 2 LINES 2 6 2 0 1 2 2 3 POINT_DATA 4 SCALARS node_numbering int 1 LOOKUP_TABLE default 0 2 4 6 VECTORS Binormal float 0 1 0 0 1 0 0 0 0 0 1 0 VECTORS Tangent float 0 0 1 0 0 1 0 0 0 0 0 1 VECTORS Normal float 1 0 0 1 0 0 0 0 0 1 0 0 CELL_DATA 4 SCALARS cell_numbering int 1 LOOKUP_TABLE default -1 -1 0 2 Then use the Glyph Filter to display the vectors as arrows. ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio mike.jack...@bluequartz.net www.bluequartz.net On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote: I realized that my past email was not detailed enough as I was in a rush to get it out, but attached are 3 files that should help explain what I am trying to convey. The image named No vectors is what I currently have modeled in ParaView from the data file (also included). What I am hoping to have, is in the data file, a place to enter in the data for 3 different vectors at as many points as I want and then be able to apply a filter via ParaView so that the end result would look like the second image name BNT. Hopefully this makes more sense.Thank you. Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus daniel.levi...@gmail.com wrote: I have two questions regarding the VTK Legacy file format. The first being how can one write comments in the file without ParaView returning an error? I have tried #, %, //, /* and none have seemed to work. I have searched online as well and cannot seem to find something that suggests other methods. The second and bit more in depth question is: How can I apply three different sets of vector data to the same point in the Legacy format? I have a simple triangular grid and at certain points I want to be able to declare Tangent, Binormal, and Normal vectors for those points. If more clarification is required please let me know Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 BNT.pngNo vectors.PNGStep 0.vtk___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView VTK Legacy File Questions
When you say comments are you just wanting some comments in your data file? or do you want these comments to be rendered/available inside paraview? If the first is what you want (just a way to demark the sections of data) then the XML based vtk files are standard XML so you can use the XML style comments: !-- XML Comment -- If that does NOT work then Vtk/ParaView is not implementing a standard XML reader. -- Mike Jackson www.bluequartz.net On Feb 5, 2013, at 10:49 AM, Daniel Levitus wrote: The vector data seemed to work fine. I thought I tried that before but must have had an error somewhere. As for the comments, does the XML VTK format allow comments? Or is there another file type that allows comments that is a similar format as the VTK Legacy File? Thank you Mike for your help. Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson mike.jack...@bluequartz.net wrote: The only comment in a vtk legacy file is allowed on the second line of the file and must be 255 chars or less. As for the vectors, if you are creating POINT_DATA then you MUST include data for each of the points, whether or not you actually have any data there to represent. You may have to write 3 sets of POINT_DATA, one for each of Tangent, Binormal and Normal. You might be able to put a (0,0,0) as the vector to basically not have it show up but I am not sure if that would work or not. Try this: # vtk DataFile Version 1.0 3D Crack Modeling ASCII DATASET POLYDATA POINTS 4 float 0.0 0.0 5.0 1.0 0.0 5.0 0.0 1.0 5.0 1.0 1.0 5.0 POLYGONS 2 8 3 0 1 2 3 1 3 2 LINES 2 6 2 0 1 2 2 3 POINT_DATA 4 SCALARS node_numbering int 1 LOOKUP_TABLE default 0 2 4 6 VECTORS Binormal float 0 1 0 0 1 0 0 0 0 0 1 0 VECTORS Tangent float 0 0 1 0 0 1 0 0 0 0 0 1 VECTORS Normal float 1 0 0 1 0 0 0 0 0 1 0 0 CELL_DATA 4 SCALARS cell_numbering int 1 LOOKUP_TABLE default -1 -1 0 2 Then use the Glyph Filter to display the vectors as arrows. ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio mike.jack...@bluequartz.net www.bluequartz.net On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote: I realized that my past email was not detailed enough as I was in a rush to get it out, but attached are 3 files that should help explain what I am trying to convey. The image named No vectors is what I currently have modeled in ParaView from the data file (also included). What I am hoping to have, is in the data file, a place to enter in the data for 3 different vectors at as many points as I want and then be able to apply a filter via ParaView so that the end result would look like the second image name BNT. Hopefully this makes more sense.Thank you. Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus daniel.levi...@gmail.com wrote: I have two questions regarding the VTK Legacy file format. The first being how can one write comments in the file without ParaView returning an error? I have tried #, %, //, /* and none have seemed to work. I have searched online as well and cannot seem to find something that suggests other methods. The second and bit more in depth question is: How can I apply three different sets of vector data to the same point in the Legacy format? I have a simple triangular grid and at certain points I want to be able to declare Tangent, Binormal, and Normal vectors for those points. If more clarification is required please let me know Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 BNT.pngNo vectors.PNGStep 0.vtk___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe:
Re: [Paraview] ParaView VTK Legacy File Questions
Comments within my data file. I want to be able to describe the sections in detail such that people within my research group understand the purpose of the inputted data. I suppose then the XML format will be necessary. Thank you again for your help, it is much appreciated. Best, Dan -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Tue, Feb 5, 2013 at 9:54 AM, Michael Jackson mike.jack...@bluequartz.net wrote: When you say comments are you just wanting some comments in your data file? or do you want these comments to be rendered/available inside paraview? If the first is what you want (just a way to demark the sections of data) then the XML based vtk files are standard XML so you can use the XML style comments: !-- XML Comment -- If that does NOT work then Vtk/ParaView is not implementing a standard XML reader. -- Mike Jackson www.bluequartz.net On Feb 5, 2013, at 10:49 AM, Daniel Levitus wrote: The vector data seemed to work fine. I thought I tried that before but must have had an error somewhere. As for the comments, does the XML VTK format allow comments? Or is there another file type that allows comments that is a similar format as the VTK Legacy File? Thank you Mike for your help. Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson mike.jack...@bluequartz.net wrote: The only comment in a vtk legacy file is allowed on the second line of the file and must be 255 chars or less. As for the vectors, if you are creating POINT_DATA then you MUST include data for each of the points, whether or not you actually have any data there to represent. You may have to write 3 sets of POINT_DATA, one for each of Tangent, Binormal and Normal. You might be able to put a (0,0,0) as the vector to basically not have it show up but I am not sure if that would work or not. Try this: # vtk DataFile Version 1.0 3D Crack Modeling ASCII DATASET POLYDATA POINTS 4 float 0.0 0.0 5.0 1.0 0.0 5.0 0.0 1.0 5.0 1.0 1.0 5.0 POLYGONS 2 8 3 0 1 2 3 1 3 2 LINES 2 6 2 0 1 2 2 3 POINT_DATA 4 SCALARS node_numbering int 1 LOOKUP_TABLE default 0 2 4 6 VECTORS Binormal float 0 1 0 0 1 0 0 0 0 0 1 0 VECTORS Tangent float 0 0 1 0 0 1 0 0 0 0 0 1 VECTORS Normal float 1 0 0 1 0 0 0 0 0 1 0 0 CELL_DATA 4 SCALARS cell_numbering int 1 LOOKUP_TABLE default -1 -1 0 2 Then use the Glyph Filter to display the vectors as arrows. ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio mike.jack...@bluequartz.net www.bluequartz.net On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote: I realized that my past email was not detailed enough as I was in a rush to get it out, but attached are 3 files that should help explain what I am trying to convey. The image named No vectors is what I currently have modeled in ParaView from the data file (also included). What I am hoping to have, is in the data file, a place to enter in the data for 3 different vectors at as many points as I want and then be able to apply a filter via ParaView so that the end result would look like the second image name BNT. Hopefully this makes more sense.Thank you. Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus daniel.levi...@gmail.com wrote: I have two questions regarding the VTK Legacy file format. The first being how can one write comments in the file without ParaView returning an error? I have tried #, %, //, /* and none have seemed to work. I have searched online as well and cannot seem to find something that suggests other methods. The second and bit more in depth question is: How can I apply three different sets of vector data to the same point in the Legacy format? I have a simple triangular grid and at certain points I want to be able to declare Tangent, Binormal, and Normal vectors for those points. If more clarification is required please let me know Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 BNT.pngNo vectors.PNGStep 0.vtk___ Powered by www.kitware.com
[Paraview] ParaView 3.98.x superbuild: hdf5 run time errors
Hi, I am having trouble with running ParaView built via the SuperBuild. I've tried setting ParaView GIT_TAG in versions.cmake to v3.98.0 and master (as of Feb 4 at 5:00pm MST) on my Mac OSX-10.7.5 with Xcode-4.4.1. There are two problems I keep running into: 1. When I launch open install/Applications/paraview.app or ./install/Applications/paraview.app/Contents/MacOS/paraview I get the run-time error: Dyld Error Message: Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/USER/*/paraview.app/Contents/MacOS/paraview Reason: image not found 2. I tried running ctest cpack -GDragNDrop and I get the same behavior with install/Applications/paraview.app. I can run paraview.app in the dmg file generated by cpack. However, when I try to load a custom plugin, I get: ERROR: In /Users/schmitt/paraview/opt/ParaView-3.98.1_RC1_OSX-10.7/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVPluginLoader.cxx, line 296 vtkPVPluginLoader (0x7fa8fce2c2e0): dlopen(/Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib, 1): Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib Reason: image not found The command otool -L /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib shows the full path to every library except the following two: libhdf5.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) libhdf5_hl.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) Another confusing data point: it seems there are two versions of hdf5 (5.1.8.9 and 5.7.3.0) installed: $ find . -name libhdf5.\*dylib ./_CPack_Packages/Darwin/DragNDrop/ParaView-3.98.1-RC2-Darwin-64bit/paraview.app/Contents/Libraries/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.7.3.0.dylib ./hdf5/src/hdf5-build/bin/libhdf5.dylib ./install/lib/libhdf5.1.8.9.dylib ./install/lib/libhdf5.7.3.0.dylib ./install/lib/libhdf5.dylib If you're wondering, these are the CMake settings I used: BUILD_TESTINGON CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX /usr/local CMAKE_OSX_ARCHITECTURES x86_64 CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk ENABLE_acusolve OFF ENABLE_boost ON ENABLE_cgns ON ENABLE_cosmologytoolsOFF ENABLE_diy ON ENABLE_ffmpegON ENABLE_freetype ON ENABLE_hdf5 ON ENABLE_libxml2 ON ENABLE_manta OFF ENABLE_matplotlibON ENABLE_mpi ON ENABLE_numpy ON ENABLE_paraview ON ENABLE_png ON ENABLE_qhull ON ENABLE_qtON ENABLE_silo ON ENABLE_szip ON ENABLE_visitbridge OFF ENABLE_vistrails OFF ENABLE_zlib ON NIGHTLY_BINARY_TESTING ON PARAVIEW_DATA_ROOT PARAVIEW_DATA_ROOT-NOTFOUND PV_NIGHTLY_SUFFIX64bit-NIGHTLY QT_QMAKE_EXECUTABLE /usr/bin/qmake USE_SYSTEM_mpi OFF USE_SYSTEM_pythonON USE_SYSTEM_qtOFF qt_EXTRA_CONFIGURATION_OPTIONS Any ideas of what I'm doing wrong? Thanks! Pete ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView 3.98.x superbuild: hdf5 run time errors
Some of this I can explain, I think. 2 Versions of HDF5. The actual version of HDF5 is 1.8.9 and the library version is the 7.3.0. If I remember correctly the way things work with HDF5 is that there should have been a bunch of symlinks that all finally link back to the libhdf5.1.8.9.dylib library. The issue with the dylib not loading is because most likely there is an issue with the superbuild not looking in enough directories to properly find the hdf5 library and fixing it up to have the proper embedded path. I am not sure of the proper fix for #2. -- Mike Jackson www.bluequartz.net On Feb 5, 2013, at 1:10 PM, Peter Schmitt wrote: Hi, I am having trouble with running ParaView built via the SuperBuild. I've tried setting ParaView GIT_TAG in versions.cmake to v3.98.0 and master (as of Feb 4 at 5:00pm MST) on my Mac OSX-10.7.5 with Xcode-4.4.1. There are two problems I keep running into: 1. When I launch open install/Applications/paraview.app or ./install/Applications/paraview.app/Contents/MacOS/paraview I get the run-time error: Dyld Error Message: Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/USER/*/paraview.app/Contents/MacOS/paraview Reason: image not found 2. I tried running ctest cpack -GDragNDrop and I get the same behavior with install/Applications/paraview.app. I can run paraview.app in the dmg file generated by cpack. However, when I try to load a custom plugin, I get: ERROR: In /Users/schmitt/paraview/opt/ParaView-3.98.1_RC1_OSX-10.7/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVPluginLoader.cxx, line 296 vtkPVPluginLoader (0x7fa8fce2c2e0): dlopen(/Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib, 1): Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib Reason: image not found The command otool -L /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib shows the full path to every library except the following two: libhdf5.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) libhdf5_hl.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) Another confusing data point: it seems there are two versions of hdf5 (5.1.8.9 and 5.7.3.0) installed: $ find . -name libhdf5.\*dylib ./_CPack_Packages/Darwin/DragNDrop/ParaView-3.98.1-RC2-Darwin-64bit/paraview.app/Contents/Libraries/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.7.3.0.dylib ./hdf5/src/hdf5-build/bin/libhdf5.dylib ./install/lib/libhdf5.1.8.9.dylib ./install/lib/libhdf5.7.3.0.dylib ./install/lib/libhdf5.dylib If you're wondering, these are the CMake settings I used: BUILD_TESTINGON CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX /usr/local CMAKE_OSX_ARCHITECTURES x86_64 CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk ENABLE_acusolve OFF ENABLE_boost ON ENABLE_cgns ON ENABLE_cosmologytoolsOFF ENABLE_diy ON ENABLE_ffmpeg
[Paraview] ANN: ParaView 3.98.1, Release Candidate 2 now available for download
In preparation of the next ParaView release, the ParaView 3.98.1, RC2 is now available for download (http://paraview.org/paraview/resources/software.php). We will have a detailed summary for the new features and enhancements in this release soon. In the mean time, a complete list of features implemented and bugs fixed in this release can be found on the bug tracker (http://paraview.org/Bug/changelog_page.php). The ParaView Team ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] XDMF Utilities
Hello everyone, I have had quite a bit of difficulty building 3.14.1 on my Mac with XDMF Utilities turned on. I will be reading files in XDMF format. Am I missing anything important if I don't build the utilities? There doesn't seem to be much documentation about what that CMake flag enables. Thanks Lucas This electronic message transmission and any attachments that accompany it contain information from DRCĀ® (Dynamics Research Corporation) or its subsidiaries, or the intended recipient, which is privileged, proprietary, business confidential, or otherwise protected from disclosure and is the exclusive property of DRC and/or the intended recipient. The information in this email is solely intended for the use of the individual or entity that is the intended recipient. If you are not the intended recipient, any use, dissemination, distribution, retention, or copying of this communication, attachments, or substance is prohibited. If you have received this electronic transmission in error, please immediately reply to the author via email that you received the message by mistake and also promptly and permanently delete this message and all copies of this email and any attachments. We thank you for your assistance and apologize for any inconvenience. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] XDMF Utilities
What's the exact name of the Cmake flag? I can do a grep to see what it does. On Tue, Feb 5, 2013 at 5:00 PM, Pettey . Lucas lpet...@drc.com wrote: Hello everyone, I have had quite a bit of difficulty building 3.14.1 on my Mac with XDMF Utilities turned on. I will be reading files in XDMF format. Am I missing anything important if I don't build the utilities? There doesn't seem to be much documentation about what that CMake flag enables. Thanks Lucas This electronic message transmission and any attachments that accompany it contain information from DRCĀ® (Dynamics Research Corporation) or its subsidiaries, or the intended recipient, which is privileged, proprietary, business confidential, or otherwise protected from disclosure and is the exclusive property of DRC and/or the intended recipient. The information in this email is solely intended for the use of the individual or entity that is the intended recipient. If you are not the intended recipient, any use, dissemination, distribution, retention, or copying of this communication, attachments, or substance is prohibited. If you have received this electronic transmission in error, please immediately reply to the author via email that you received the message by mistake and also promptly and permanently delete this message and all copies of this email and any attachments. We thank you for your assistance and apologize for any inconvenience. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView 3.98.x superbuild: hdf5 run time errors
Peter, The application generated under install/Applications in not supported to be used directly. Try running cpack once the build has completed to generate the complete app and that should work. cd superbuild-build dir make cpack -G DragNDrop Utkarsh On Tue, Feb 5, 2013 at 1:10 PM, Peter Schmitt pschmit...@gmail.com wrote: Hi, I am having trouble with running ParaView built via the SuperBuild. I've tried setting ParaView GIT_TAG in versions.cmake to v3.98.0 and master (as of Feb 4 at 5:00pm MST) on my Mac OSX-10.7.5 with Xcode-4.4.1. There are two problems I keep running into: 1. When I launch open install/Applications/paraview.app or ./install/Applications/paraview.app/Contents/MacOS/paraview I get the run-time error: Dyld Error Message: Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/USER/*/paraview.app/Contents/MacOS/paraview Reason: image not found 2. I tried running ctest cpack -GDragNDrop and I get the same behavior with install/Applications/paraview.app. I can run paraview.app in the dmg file generated by cpack. However, when I try to load a custom plugin, I get: ERROR: In /Users/schmitt/paraview/opt/ParaView-3.98.1_RC1_OSX-10.7/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVPluginLoader.cxx, line 296 vtkPVPluginLoader (0x7fa8fce2c2e0): dlopen(/Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib, 1): Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib Reason: image not found The command otool -L /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib shows the full path to every library except the following two: libhdf5.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) libhdf5_hl.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) Another confusing data point: it seems there are two versions of hdf5 (5.1.8.9 and 5.7.3.0) installed: $ find . -name libhdf5.\*dylib ./_CPack_Packages/Darwin/DragNDrop/ParaView-3.98.1-RC2-Darwin-64bit/paraview.app/Contents/Libraries/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.7.3.0.dylib ./hdf5/src/hdf5-build/bin/libhdf5.dylib ./install/lib/libhdf5.1.8.9.dylib ./install/lib/libhdf5.7.3.0.dylib ./install/lib/libhdf5.dylib If you're wondering, these are the CMake settings I used: BUILD_TESTINGON CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX /usr/local CMAKE_OSX_ARCHITECTURES x86_64 CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk ENABLE_acusolve OFF ENABLE_boost ON ENABLE_cgns ON ENABLE_cosmologytoolsOFF ENABLE_diy ON ENABLE_ffmpegON ENABLE_freetype ON ENABLE_hdf5 ON ENABLE_libxml2 ON ENABLE_manta OFF ENABLE_matplotlibON ENABLE_mpi ON ENABLE_numpy ON ENABLE_paraview ON ENABLE_png ON ENABLE_qhull ON ENABLE_qtON ENABLE_silo ON ENABLE_szip ON ENABLE_visitbridge OFF ENABLE_vistrails OFF ENABLE_zlib ON NIGHTLY_BINARY_TESTING ON PARAVIEW_DATA_ROOT PARAVIEW_DATA_ROOT-NOTFOUND PV_NIGHTLY_SUFFIX64bit-NIGHTLY QT_QMAKE_EXECUTABLE /usr/bin/qmake USE_SYSTEM_mpi OFF USE_SYSTEM_pythonON USE_SYSTEM_qtOFF qt_EXTRA_CONFIGURATION_OPTIONS Any ideas of what I'm doing wrong? Thanks! Pete ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView 3.98.x superbuild: hdf5 run time errors
(I should really reading email fully :) ) So, you've got the DragNDrop part correct. Now you need to fix your plugin similar to how ParaView fixes the plugins it packages. Look at what one of the plugins does e.g. vistrails.cmake and install_vistrails.cmake. install_vistrails.cmake uses fixup_plugin.py to fix the hdf5/cgns dependencies. I'd recommend creating yourplugin.cmake and install_yourplugin.cmake files modelled on the vistrails example and get you plugin built and fixedup as part of the superbuild process itself. Hope that helps. Utkarsh On Tue, Feb 5, 2013 at 8:33 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Peter, The application generated under install/Applications in not supported to be used directly. Try running cpack once the build has completed to generate the complete app and that should work. cd superbuild-build dir make cpack -G DragNDrop Utkarsh On Tue, Feb 5, 2013 at 1:10 PM, Peter Schmitt pschmit...@gmail.com wrote: Hi, I am having trouble with running ParaView built via the SuperBuild. I've tried setting ParaView GIT_TAG in versions.cmake to v3.98.0 and master (as of Feb 4 at 5:00pm MST) on my Mac OSX-10.7.5 with Xcode-4.4.1. There are two problems I keep running into: 1. When I launch open install/Applications/paraview.app or ./install/Applications/paraview.app/Contents/MacOS/paraview I get the run-time error: Dyld Error Message: Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/USER/*/paraview.app/Contents/MacOS/paraview Reason: image not found 2. I tried running ctest cpack -GDragNDrop and I get the same behavior with install/Applications/paraview.app. I can run paraview.app in the dmg file generated by cpack. However, when I try to load a custom plugin, I get: ERROR: In /Users/schmitt/paraview/opt/ParaView-3.98.1_RC1_OSX-10.7/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVPluginLoader.cxx, line 296 vtkPVPluginLoader (0x7fa8fce2c2e0): dlopen(/Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib, 1): Library not loaded: libhdf5.7.3.0.dylib Referenced from: /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib Reason: image not found The command otool -L /Users/schmitt/paraview/paraview_svn/trunk/plugins/vtkLFMReader/build-v3.98.1_RC1/libvtkLFMReader.dylib shows the full path to every library except the following two: libhdf5.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) libhdf5_hl.7.3.0.dylib (compatibility version 7.3.0, current version 1.8.9) Another confusing data point: it seems there are two versions of hdf5 (5.1.8.9 and 5.7.3.0) installed: $ find . -name libhdf5.\*dylib ./_CPack_Packages/Darwin/DragNDrop/ParaView-3.98.1-RC2-Darwin-64bit/paraview.app/Contents/Libraries/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.1.8.9.dylib ./hdf5/src/hdf5-build/bin/libhdf5.7.3.0.dylib ./hdf5/src/hdf5-build/bin/libhdf5.dylib ./install/lib/libhdf5.1.8.9.dylib ./install/lib/libhdf5.7.3.0.dylib ./install/lib/libhdf5.dylib If you're wondering, these are the CMake settings I used: BUILD_TESTINGON CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX /usr/local CMAKE_OSX_ARCHITECTURES x86_64 CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk ENABLE_acusolve OFF ENABLE_boost ON ENABLE_cgns ON ENABLE_cosmologytoolsOFF ENABLE_diy ON ENABLE_ffmpegON ENABLE_freetype ON ENABLE_hdf5 ON ENABLE_libxml2 ON ENABLE_manta OFF ENABLE_matplotlibON ENABLE_mpi ON ENABLE_numpy ON ENABLE_paraview ON ENABLE_png ON ENABLE_qhull ON ENABLE_qtON ENABLE_silo ON ENABLE_szip ON ENABLE_visitbridge OFF ENABLE_vistrails OFF ENABLE_zlib ON NIGHTLY_BINARY_TESTING ON PARAVIEW_DATA_ROOT PARAVIEW_DATA_ROOT-NOTFOUND PV_NIGHTLY_SUFFIX64bit-NIGHTLY QT_QMAKE_EXECUTABLE /usr/bin/qmake USE_SYSTEM_mpi OFF USE_SYSTEM_pythonON USE_SYSTEM_qtOFF qt_EXTRA_CONFIGURATION_OPTIONS Any ideas of what I'm doing wrong? Thanks! Pete ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: