[Paraview] Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED)
Andy Bauer
andy.bauer at kitware.com
Tue Jan 10 09:52:20 EST 2017
Hi Joe,
I haven't seen this issue or heard anyone else with something like this.
Are you running pvbatch in serial? If you share a python script which
demonstrates the issue it may be an easy issue to track down.
There are some slight differences between pvpython and pvbatch. My guess
would be that it's due to pvbatch initializing mpi while pvpython does not
by default. You could try running pvpython with the --mpi option to see if
having it initialize pvpython gives you the same behavior. Also you could
try -dr to disable the registry (i.e. config settings) to see if that makes
a difference.
Cheers,
Andy
On Tue, Jan 10, 2017 at 9:19 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL
(US) <joseph.g.hennessey2.ctr at mail.mil> wrote:
> CLASSIFICATION: UNCLASSIFIED
>
> Hello,
>
> I have found that pvbatch is silently failing in a python file when
> WriteAnimation
> is called and used with ParaView 5.2.0 under linux.
>
> But pvpython will execute the same command from the same python file
> correctly.
>
> The call where it is failing is below
>
> WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0,
> Compression=True)
>
> and it is not giving any error messages, it just never returns when called
> by pvbatch
>
> Has anyone else experienced this, or have an idea of how to correct it?
>
> Thanks,
>
> Joe
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170110/1e3f142b/attachment.html>
More information about the ParaView
mailing list