Thanks for the reply, Menno. I tried doing that before, but I got a
segmentation fault due to a missing filename, and I'm not sure where in the
function call for CreateReader I would put a file name or what file name I
should use. I ended up getting the following error message along with 2
slight variations on it, followed by the segmentation fault message:

ERROR: In
/lustre/cmf/scratch/k/kpai/projects/ParaView-v4.3.1-source/VTK/IO/Xdmf2/vtkXdmfReader.cxx,
line 189
vtkXdmfReader (0x48997f0): File name not set

ERROR: In
/lustre/cmf/scratch/k/kpai/projects/ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkExecutive.cxx,
line 784
vtkPVCompositeDataPipeline (0x489fe20): Algorithm
vtkFileSeriesReader(0x489de90) returned failure for request: vtkInformation
(0x4891ab0)
  Debug: Off
  Modified Time: 165325
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

Unless there's a bug in the plugin, I don't think this should be happening
if I input the required information correctly. Here's what I did:

1. I opened the xdmf file in ParaView and added a ParallelImageDataWriter
to it in the pipeline. In the File Name field of ParallelImageDataWriter, I
entered output%t.pvti. I expect the output files to be in this form if I
understand what ParallelImageDataWriter does correctly.

2. I exported state from the SpatioTemporal menu. As my xdmf file was the
only file in the pipeline, I simply added it.

3. Next, as the xdmf file gets its data from binary files in a separate
directory, I entered the file path to those files in the file location
field (i.e. <path>/NeptuneData_2015-07-28/0000/f*.bin). I think this is
where the plugin will get its data (this may be where the problem is).

4. Finally, I chose not to output images, entered a time compartment size
of 4, and chose a location to save the generated python script.

Obviously, the generated script contained the fileinfo=<path> argument in
the CreateReader call among other issues, and I just want to understand
what's going wrong. As always, any help is appreciated.

Thanks,
Krishna Pai


On Fri, Jul 31, 2015 at 2:44 AM, Deij-van Rijswijk, Menno <[email protected]>
wrote:

> If I’m not mistaken, it should be called like this
>
>
>
> xdmf_test_v01xdmf = STP.CreateReader(XDMFReader,
> '/lustre/cmf/scratch/k/kpai/projects/NeptuneData_2015-07-28/xdmf_test_v01.xdmf')
>
>
>
> That is, without the keyword argument fileinfo='<path>'
>
>
>
> Best wishes,
>
>
>
>
>
> Menno
>
>
>
> dr. ir. Menno A. Deij-van Rijswijk
>
> Researcher / Software Engineer
> Maritime Simulation & Software Group
>
>
>
> *MARIN*
>
>
> 2, Haagsteeg E [email protected] P.O. Box 28 T +31 317 49 39 11 6700 AA
> Wageningen F +31 317 49 32 45 T  +31 317 49 35 06 The Netherlands I
> www.marin.nl
>
>
>
> MARIN news: Coöperatief zonne-energieproject op dak MARIN
> <http://www.marin.nl/web/News/News-items/Cooperatief-zonneenergieproject-op-dak-MARIN.htm>
>
> This e-mail may be confidential, privileged and/or protected by copyright.
> If you are not the intended recipient, you should return it to the sender
> immediately and delete your copy from your system.
>
>
>
> *From:* ParaView [mailto:[email protected]] *On Behalf Of *Krishna
> Pai
> *Sent:* donderdag 30 juli 2015 21:20
> *To:* [email protected]
> *Subject:* [Paraview] Using SpatioTemporalParallelism plugin in ParaView
>
>
>
> Hi all,
>
> I've been working with spatio-temporal data stored in an xdmf file. I
> found that ParaView doesn't handle parallel processing of this file well,
> so I thought I would use the SpatioTemporalParallelism plugin to partition
> the data better. I chose the Parallel Image Data Writer to write to a .pvti
> before using the plugin to export state. Once the python script was
> generated, and I tried running it with pvbatch, I got the following error
> message:
>
>
> Traceback (most recent call last):
>   File "./yoda.py", line 26, in <module>
>     xdmf_test_v01xdmf = STP.CreateReader(XDMFReader,
> fileinfo='/lustre/cmf/scratch/k/kpai/projects/NeptuneData_2015-07-28/xdmf_test_v01.xdmf')
> TypeError: CreateReader() takes exactly 2 non-keyword arguments (1 given)
>
> The file path above is to the xdmf file on a remote machine.
>
> I'm not sure what other arguments need to be given, considering the script
> was generated by ParaView (maybe I exported state incorrectly?). I would
> appreciate any help.
>
> Thanks,
>
> Krishna Pai
>
>
>
>


-- 
          1   1
          1   /
          1 1                     1
          1 1      _    0   _   1 _       _      _
          1   \   1  1  1  (     1   7   1  7    _)
          1    !  1      1   )    1   1   1  1   {_}
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to