some more info
* running the script using pvpython and a separate invocation of
pvserver works correctly with any number of mpi ranks
* running pvbatch with 1 mpi rank produces visually correct result (but
valgrind still reports over 1000 errors)
* I compared the ldd output from pvserver and pvbatch they're line for
line identical (was thinking that maybe this could be a factory issue)
I simplified the test script further and added the code to connect to
pvserver with pvpython. attached.
over the weekend I updated the hopper.nersc.gov dashboard to build
against ver 9.2.0 mesa from git, and most of the failures are because of
this issue.
http://open.cdash.org/viewTest.php?onlyfailed&buildid=2933096
On 06/07/2013 07:00 PM, burlen wrote:
Hi All,
pvbatch is not working with os mesa. however there's no issue when
running pvserver in cs mode with same os mesa. so same operations
initiated from a pvbatch script and from the gui in cs mode produce
quite different results. Similarly, valgrind spews pages of unitialzed
value errors (originating from mesa threads) when using pvbatch but
not pvserver.
I'm using mesa from git, the issue was not present in mesa
7.10.1....it's still very curious that things run fine using pvserver
in cs mode and not in pvbatch... Any idea what's going wrong here?
What does pvbatch do differently than pvserver that could account for
the issue?
I'm attaching a python script and the images it produced with pvserver
in cs mode and pvbatch.
You could also find this on the dashboards that use pvbatch and recent
mesa
http://open.cdash.org/testDetails.php?test=193910354&build=2930694
Burlen
from paraview.simple import *
run_in_client=0
run_in_pvpython=0
if run_in_pvpython:
Connect('localhost',11111)
output='mesa-sphere-pvpython.png'
elif run_in_client:
print 'Running in client...'
output='mesa-sphere-pvserver.png'
else:
print 'Running in batch...'
output='mesa-sphere-pvbatch.png'
paraview.simple._DisableFirstRenderCameraReset()
view = GetRenderView()
view.UseCache = 0
view.UseOffscreenRenderingForScreenshots = 0
view.CenterAxesVisibility = 0
view.ViewSize = [300, 300]
Sphere1 = Sphere()
Sphere1.ThetaResolution = 32
Sphere1.PhiResolution = 32
RenderView2 = GetRenderView()
DataRepresentation1 = Show()
RenderView2.CameraPosition = [0.0, 0.0, 3.3432027854673882]
RenderView2.CameraClippingRange = [2.3147707576127146, 4.645850827249399]
RenderView2.CameraParallelScale = 0.8652845525187569
Render()
WriteImage(output)
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview