[Paraview] Slice not appearing while coprocessing
Tim Gallagher
tim.gallagher at gatech.edu
Fri Jan 29 16:18:40 EST 2016
Hi everybody,
I was working with a colleague to get his simulation running with coprocessing and I am totally stumped on the problem. I have been able to set up and render some very complex things with our code, but for some reason this simulation just won't work as expected.
We generated the coprocessing script with version 4.3 and we are running it on a cluster with the same version, using off-screen rendering. I have attached the script, it really just takes a slice through the center of the domain.
It is producing images of the colorbar and nothing else. I tried to save the slice data to an xdmf file from the coprocessing script and it all reports dimensions of zero. So the slice doesn't seem to be actually doing anything.
We took the exact lines from the Pipeline class and moved them to their own python file. We then removed the coprocessor.RegisterView and changed the coprocessor.CreateProducer line so it loads a datafile off disk instead. We then ran it through the python shell in the paraview GUI and we get exactly the slice we expected to get.
So, for some reason, this renders fine in the GUI but outputs the background with just the colorbar when we are using coprocessing.
Any ideas or glaring problems in the coprocessing script that we are missing?
Thanks,
Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SliceView.py
Type: text/x-python
Size: 7185 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160129/355221dd/attachment.py>
More information about the ParaView
mailing list