<div dir="ltr"><div>Ben,<br><br></div>I am not able to reproduce this locally. Can you file an issue to help me keep track of it on ParaView's new gitlab issue tracker?<br><br><a href="https://gitlab.kitware.com/paraview/paraview/issues">https://gitlab.kitware.com/paraview/paraview/issues</a><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Thu, Aug 4, 2016 at 3:24 PM, Benjamín Hernández <span dir="ltr"><<a href="mailto:benjha@gmail.com" target="_blank">benjha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello,</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">I've compiled Paraview 5.1 with multithreaded mpi and ospray (with OpenMP) support using the next modules:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px"> 1) gcc/4.8.2 5) xalt/0.5.3 9) szip/2.1 13) boost/1.61.0</span><br style="font-size:12.8px"><span style="font-size:12.8px"> 2) openmpi/1.8.4_mtm 6) DefApps 10) hdf5/1.8.11 14) libtool/2.4.2</span><br style="font-size:12.8px"><span style="font-size:12.8px"> 3) PE-gnu/4.8.2-1.8.4 7) qt4/4.8.5 11) mxml/2.9 15) git/</span><a href="http://1.8.0.2/" style="font-size:12.8px" target="_blank">1.8.0.2</a><br style="font-size:12.8px"><span style="font-size:12.8px"> 4) lustredu/1.4 8) python/2.7.9 12) adios/1.9.0 16) cmake/3.5.2</span><br style="font-size:12.8px"><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">and wrote a python script that loads a vtu file and renders it as glyph particles. </span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">When running pvbatch in one node it works fine, I can visualize and save images. However, when running pvbatch with mpi the script just hangs in the line that enables OSPRay:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">oSPRayRendered3DView1.</span><span style="font-size:12.8px">EnableOS<wbr>PRay = 1</span><br style="font-size:12.8px"><br style="font-size:12.8px"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am using the next mpi commands with no success:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0)"><font face="monospace, monospace">mpirun -npernode 16 pvbatch --mpi --use-offscreen-rendering myscript inputfile.vtu outputimage.png</font></span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Consolas,monospace">mpirun -np 13 --map-by ppr:1:socket:pe=16 </font><font face="Consolas,monospace" size="2">pvbatch --mpi --use-offscreen-rendering myscript inputfile.vtu outputimage.png</font><br></div><div><font face="Consolas,monospace" size="2"><span style="font-size:16px"><br></span></font></div><br>I did a simpler script that does the following:<br><font face="monospace, monospace"><br>#### import the simple module from the paraview<br>from paraview.simple import *<br>#### disable automatic camera reset on 'Show'<br>paraview.simple._<wbr>DisableFirstRenderCameraReset(<wbr>)<br><br># set active view<br>SetActiveView(None)<br>CreateLayout('Layout #1')<br><br># Create a new 'Render View'<br>print "Creating render view"<br>renderView1 = CreateView('RenderView')<br>renderView1.ViewSize = [11520, 3240]<br>renderView1.CameraPosition = [0.0, 0.0, 6.69]<br>renderView1.CameraFocalPoint = [0.0, 0.0, 0.0]<br>renderView1.CameraViewUp = [0.0, 1.0, 0.0]<br>renderView1.CameraViewAngle = 30.0<br>renderView1.<wbr>CameraParallelScale = 1.73<br>renderView1.Background = [0.32, 0.34, 0.43]<br>print "Before Enabling OSPRay"<br>renderView1.EnableOSPRay = 1<br>print "After Enabling OSPRay"<br>renderView1.Shadows = 1<br>renderView1.AmbientSamples = 4<br>renderView1.SamplesPerPixel = 8<br>renderView1.MaxFrames = 1<br>renderView1.LightScale = 1.0<br><br>print "Done!"<br><br><br>#### saving camera placements for all active views<br><br># current camera placement for renderView1<br>renderView1.CameraPosition = [148.48492741767512, 106.10239872416838, -28480.984448300518]<br>renderView1.CameraFocalPoint = [137.62326776804608, 95.85538889348155, -28593.41405565134]<br>renderView1.CameraViewUp = [-0.529722197084864, 0.8477698001026378, -0.02609137691878691]<br>renderView1.<wbr>CameraParallelScale = 19159.165918040744</font><br><br><br><br>but it never reaches the<font face="monospace, monospace"> print "After Enabling OSPRay"</font> line<br><br><br><br>Any advice will be appreciated,<br><br><br><br>Benjamin Hernandez<br>OLCF<br>Oak Ridge National Laboratory</div><div><br></div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>