[Paraview] [Non-DoD Source] Re: Problem with WriteAnimation in a python file silently failing under pvbatch but working when called with pvpython (UNCLASSIFIED)
Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
joseph.g.hennessey2.ctr at mail.mil
Tue Jan 10 15:53:14 EST 2017
CLASSIFICATION: UNCLASSIFIED
Andy,
I have tried the various options --mpi , -dr and I also tried --mpi -dr and it
had no effect.
What I did find though was that the compute nodes are running an osmesa build
of paraview.
and I had been running in a hardware accelerated GL build of paraview when I
ran pvpython.
When I forced it to use the pvpython version from the osmesa build (which is
the one the batch file uses.)
I got this error.
GL_Version: ERROR: In
/p/home/joeh/PV/Build_5.1.2_osmesa/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
line 597
vtkOSOpenGLRenderWindow (0x2fcc250): GLEW could not be initialized.
When it hit the
WriteAnimation('full_image_path.png', Magnification=2, FrameRate=15.0,
Compression=True)
line. This error message did not occur when running the GL build of pvpython
from ParaView 5.1.2.
Thanks,
Joe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph G. Hennessey Ph.D., SAIC
Team SAIC
Army Research Lab
DOD Supercomputing Resource Center
-----Original Message-----
From: Andy Bauer [mailto:andy.bauer at kitware.com]
Sent: Tuesday, January 10, 2017 9:52 AM
To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
<joseph.g.hennessey2.ctr at mail.mil>
Cc: ParaView <paraview at paraview.org>
Subject: [Non-DoD Source] Re: [Paraview] Problem with WriteAnimation in a
python file silently failing under pvbatch but working when called with
pvpython (UNCLASSIFIED)
All active links contained in this email were disabled. Please verify the
identity of the sender, and confirm the authenticity of all links contained
within the message prior to copying and pasting the address to a Web browser.
________________________________
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 <
Caution-mailto: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 Caution-www.kitware.com < Caution-http://www.kitware.com >
Visit other Kitware open-source projects at
Caution-http://www.kitware.com/opensource/opensource.html <
Caution-http://www.kitware.com/opensource/opensource.html >
Please keep messages on-topic and check the ParaView Wiki at:
Caution-http://paraview.org/Wiki/ParaView <
Caution-http://paraview.org/Wiki/ParaView >
Search the list archives at: Caution-http://markmail.org/search/?q=ParaView <
Caution-http://markmail.org/search/?q=ParaView >
Follow this link to subscribe/unsubscribe:
Caution-http://public.kitware.com/mailman/listinfo/paraview <
Caution-http://public.kitware.com/mailman/listinfo/paraview >
CLASSIFICATION: UNCLASSIFIED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5615 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170110/1626651b/attachment.bin>
More information about the ParaView
mailing list