<div dir="ltr">Jean,<div>If you use only</div><div>mpirun  -np 1 ./bin/pvserver --egl-device-index=1. Does that work corrrectly?<br></div><div>Can you see in client that it uses device 1?</div><div>Help, About, Connection Information, OpenGL Renderer.<br></div><div>I know we had a bug with how this parameter was passed, but the bug has been fixed a while ago.</div><div><br></div><div><br></div><div>What about</div><div>mpirun  -np 1 ./bin/pvserver<br></div><div>(which should use device 0). Does that work?</div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 11, 2017 at 11:03 AM, Favre  Jean <span dir="ltr"><<a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Folks<br>
<br>
I've used EGL for a long time now, but always with a single GPU. I understand it well.<br>
<br>
I have a new cluster with *two* GPUs on the node and a more recent driver, where I compiled 5.4 with EGL and OpenMPI<br>
<br>
Launching pvserver, and connecting I get this error:<br>
 <br>
mpirun  -np 1 ./bin/pvserver --egl-device-index=0  : -np 1 ./bin/pvserver --egl-device-index=1<br>
<br>
Waiting for client...<br>
Connection URL: cs://greina28:11111<br>
Accepting connection(s): greina28:11111<br>
Client connected.<br>
Warning: In /users/jfavre/ParaView/<wbr>ParaView-v5.4.1/VTK/Rendering/<wbr>OpenGL2/vtkEGLRenderWindow.<wbr>cxx, line 272<br>
vtkEGLRenderWindow (0xed65a0): Setting an EGL display to device index: 0 require EGL_EXT_device_base EGL_EXT_platform_device EGL_EXT_platform_base extensions<br>
<br>
ERROR: In /users/jfavre/ParaView/<wbr>ParaView-v5.4.1/VTK/Rendering/<wbr>OpenGL2/vtkEGLRenderWindow.<wbr>cxx, line 341<br>
vtkEGLRenderWindow (0xed65a0): Only EGL 1.4 and greater allows OpenGL as client API. See eglBindAPI for more information.<br>
<br>
ERROR: In /users/jfavre/ParaView/<wbr>ParaView-v5.4.1/VTK/Rendering/<wbr>OpenGL2/vtkOpenGLRenderWindow.<wbr>cxx, line 819<br>
vtkEGLRenderWindow (0xed65a0): GLEW could not be initialized.<br>
<br>
<div>yet, my ./bin/pvserver depends on <br>
</div>
<div><br>
</div>
<div>    libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00002aaabc2c8000)<br>
    libOpenGL.so.0 => /usr/lib64/libOpenGL.so.0 (0x00002aaabc4f5000)<br>
    libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00002aaabc72a000)</div>
<div><br>
</div>
<div>and nvidia-smi reports a driver which should support EGL1.4 and greater.</div>
<div><br>
</div>
<div>Wed Oct 11 17:00:24 2017       <br>
+-----------------------------<wbr>------------------------------<wbr>------------------+<br>
| NVIDIA-SMI 384.59                 Driver Version: 384.59                    |<br>
|-----------------------------<wbr>--+----------------------+----<wbr>------------------+<br>
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br>
|=============================<wbr>==+======================+====<wbr>==================|<br>
|   0  Tesla P100-SXM2...  On   | 00000000:07:00.0 Off |                  Off |<br>
| N/A   30C    P0    30W / 300W |      0MiB / 16276MiB |      0%      Default |<br>
+-----------------------------<wbr>--+----------------------+----<wbr>------------------+<br>
|   1  Tesla P100-SXM2...  On   | 00000000:84:00.0 Off |                  Off |<br>
| N/A   32C    P0    31W / 300W |      0MiB / 16276MiB |      0%      Default |<br>
+-----------------------------<wbr>--+----------------------+----<wbr>------------------+<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>what setting should I be specifically careful with to overcome this error?</div>
<div><br>
</div>
<div>TIA<br>
<div class="m_6093193043503807140BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="m_6093193043503807140PlainText">-----------------<br>
Jean / CSCS<br>
</div>
</span></font></div>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px"><br>
</div>
</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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br></blockquote></div><br></div>