[Paraview] [BUG] segfault playing a simulation
Sergi Mateo Bellido
sergi.mateo.bellido at gmail.com
Mon Aug 31 03:27:23 EDT 2015
Hi Cory,
I'm stuck with this issue :(
1. Changing just the pvti file is not enough: I got a segfault using the
raw binary files.
2. I tried also adding a dummy slice at the end of all pieces to fix the
problem that I reported in one of my previous emails. So, instead of
changing the PVTI files I tried changing the VTI files.
2.1. First of all, I had to increase the number of tuples of the
VtkArray because I was adding the dummy slice. Since I didn't change
the whole extent and the piece extent of each VTI file, I got this
warning message:
Warning: In /opt/VTK-6.2.0/Common/DataModel/vtkDataSet.cxx, line 421
vtkImageData (0x3450390): Point array Var with 1 components, has
4080501 tuples but there are only 4040100 points
This didn't work either.
2.2. Afterwards, I tried modifying also the whole extent and the
piece extent. This seemed to work :)
Despite 2.2 seemed to work, I'm not sure if this is a valid solution or
just a workaround: If I open a VTI file directly (because I want to see
the data produced by a MPI process) the dummy slice is visualized.
From my point of view, I think that we're trying to address an issue of
the PVTI format modifying something that works fine (VTI files).
Best regards,
Sergi
On 08/12/2015 02:46 PM, Sergi Mateo Bellido wrote:
> Cory,
>
> I did not change the VTI files in the first experiment but it crashed
> anyway.
>
> Thanks!
> Sergi
>
> On 08/12/2015 01:55 PM, Cory Quammen wrote:
>> Sergi,
>>
>> Note that I did *not* change the whole extents of the VTI files after
>> I changed the listed extents in the PVTI files.
>>
>> Cory
>>
>> On Wed, Aug 12, 2015 at 1:47 AM, Sergi Mateo Bellido
>> <sergi.mateo.bellido at gmail.com
>> <mailto:sergi.mateo.bellido at gmail.com>> wrote:
>>
>> Cory,
>>
>> The ascii version is the more stable version and it usually
>> doesn't crash (even the original version, I reported that in one
>> of my first emails). I tried to different things without
>> regenerating the *.vti *.pvti (using the zipped raw version):
>>
>> 1. Changing the piece extent in all the *.pvti files to what you
>> proposed in your last email -> segfault
>> 2. Changes describe in 1. + changing the whole extension of the
>> VTI files that contain the second piece -> Paraview warns me
>> because the size of the second piece doesn't correspond with the
>> data.
>>
>> vtkXMLImageDataReader (0x419ef70): Cannot read point data array
>> "var" from PointData in piece 0. The data array in the element
>> may be too short.
>>
>> Following your advice, I will try to generate an extra dummy
>> slice in the first piece. I will let you know the results :)
>>
>> Best,
>> Sergi
>>
>>
>>
>> On 08/11/2015 11:57 PM, Cory Quammen wrote:
>>> Actually, you could try one other thing first:
>>>
>>> Change the extents of the pieces in the .pvti files to the
>>> following:
>>>
>>> <Piece Extent="0 200 0 200 0 100" Source="ascii_2_0.vti"/>
>>> <Piece Extent="0 200 0 200 100 200" Source="ascii_2_1.vti"/>
>>>
>>> I'm able to load the files and move between time steps fine
>>> doing this.
>>>
>>> Cory
>>>
>>> On Tue, Aug 11, 2015 at 5:10 PM, Cory Quammen
>>> <cory.quammen at kitware.com <mailto:cory.quammen at kitware.com>> wrote:
>>>
>>> Ideally both pieces would contain a copy of the slice, but I
>>> think for the first piece you could just write some dummy
>>> values into this extra slice. When you load it, the valid
>>> values from the first piece will overwrite the dummy values.
>>>
>>> I'm frankly surprised this extra slice would be needed
>>> because the ghost level is set to 0. But I'll admit I don't
>>> fully understand this format yet.
>>>
>>> Cory
>>>
>>> On Tue, Aug 11, 2015 at 3:37 PM, Sergi Mateo Bellido
>>> <sergi.mateo.bellido at gmail.com
>>> <mailto:sergi.mateo.bellido at gmail.com>> wrote:
>>>
>>> Hi Cory,
>>>
>>> This extra slice is the first slice of the second piece.
>>> Should both pieces contain this slice?
>>>
>>> In my case, each MPI process computes something and
>>> writes its portion of the mesh. All these portions are
>>> completely disjoint among them.
>>>
>>> Thanks!
>>> Sergi
>>>
>>>
>>>
>>>
>>> --
>>> Cory Quammen
>>> R&D Engineer
>>> Kitware, Inc.
>>>
>>>
>>>
>>>
>>> --
>>> Cory Quammen
>>> R&D Engineer
>>> Kitware, Inc.
>>
>>
>>
>>
>> --
>> Cory Quammen
>> R&D Engineer
>> Kitware, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150831/6198d3e4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.tar.gz
Type: application/gzip
Size: 16409 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150831/6198d3e4/attachment.bin>
More information about the ParaView
mailing list