Hello, ParaView genii,
I would like to run ParaView to view some data in parallel using the following
script from a user as a basis. I'm not sure how to do this right. I've never
scripted Paraview before, and am thus clueless how to make it work. Can
someone on this list tell me how Paravie
Hi Rich,
The command line will be:
mpirun -np 1 /path/to/pvbatch /path/to/script.py
The pvbatch executable is similar to pvserver, except proc 0 doesn't wait
for a client connection, it reads the python script specified on the
command line and executes the script as if it were instructions from
OK, so what I'm hearing is that the pvbatch process will use its MPI rank to
decompose the data correctly.
Does this decomposition work correctly for all data formats? I suspect not, so
is there a way to confirm that decomposition is working for a particular type
of data? In the GUI, I can pai
Right, the decomposition is up to the reader, so you need a reader that is
"parallel aware". If you're starting with a .pvtu file, then you should be
all set. If you look inside the pvtu file, it should just be an xml format
that lists all the pieces, and the pieces are .vtu. Each rank will read
Looks like I need to study up on PV scripting -- I'm so used to VisIt and
EnSight, I was hoping the syntax would be pretty intuitive but some of what you
are doing there is not clear to me, just because I'm such a newbie. Thanks for
the clarification. I think this sets my mind at ease and helps
In case you don't know about the feature, you can enable "trace" and
paraview will record your actions in the GUI and generate python code for
you. It can be a nice way to learn. You can find lots of information
about python scripting and the trace feature on the wiki page, or just go
to the Tool
Fantastic, I'm sure Alan has told me that in the past but I had surely
forgotten! Thanks!
-- Rich
On Feb 14, 2013, at 5:08 PM, Pat Marion wrote:
In case you don't know about the feature, you can enable "trace" and paraview
will record your actions in the GUI and generate python code for you.