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


[cid:[email protected]][cid:[email protected]]

dr. ir. Menno A. Deij-van Rijswijk


Researcher / Software Engineer


Maritime Simulation & Software Group




MARIN




        2, Haagsteeg

E [email protected]<mailto:[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<http://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



_______________________________________________
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