Gavin,

Your ParaView build is not OSMesa enabled. You'll need to build your
own version with OSMesa enabled.

For ParaView 5.5, this page summarizes how to do that:
https://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/Offscreen.html

Utkarsh


On Tue, Mar 13, 2018 at 1:25 PM, Gavin Ridley
<gavin.keith.rid...@gmail.com> wrote:
> Hi all,
>
> I'd like to use MPI pvserver to take advantage of some 48 core nodes we have
> on our cluster. There's not much in the way of GPUs, so I've been trying to
> take the route of using OSMesa with --use-offscreen-rendering. The pvserver
> seems to start well, but as soon as a client connects, the thing aborts. In
> particular, if I try to use pvbatch with a basic sphere rendering, the
> pvserver crashes on running the Render(view) part of the script. Pasted
> below is the error.
>
> Does anyone have any insight on this?
>
>> Waiting for client...
>> Connection URL: cs://node0:11111
>> Accepting connection(s): node0:11111
>> [node0:55287] 47 more processes have sent help message
>> help-mpi-btl-base.txt / btl:no-nics
>> [node0:55287] Set MCA parameter "orte_base_help_aggregate" to 0 to see all
>> help / error messages
>> d^LClient connected.
>> [node0:55292] *** Process received signal ***
>> [node0:55292] Signal: Aborted (6)
>> [node0:55292] Signal code:  (-6)
>> [node0:55292] [ 0] /lib64/libpthread.so.0(+0x12420)[0x7fbf80742420]
>> [node0:55292] [ 1] /lib64/libc.so.6(gsignal+0xcb)[0x7fbf7e2f69fb]
>> [node0:55292] [ 2] /lib64/libc.so.6(abort+0x1b0)[0x7fbf7e2f8800]
>> [node0:55292] [ 3]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkRenderingOpenGL2-pv5.4.so.1(_ZN22vtkXOpenGLRenderWindow13CreateAWindowEv+0x4e2)[0x7fbf6adf6964]
>> [node0:55292] [ 4]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkRenderingOpenGL2-pv5.4.so.1(_ZN21vtkOpenGLRenderWindow29CreateHardwareOffScreenWindowEii+0xa2)[0x7fbf6ad5aa1c]
>> [node0:55292] [ 5]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkRenderingOpenGL2-pv5.4.so.1(_ZN22vtkXOpenGLRenderWindow21CreateOffScreenWindowEii+0x32)[0x7fbf6adf7be6]
>> [node0:55292] [ 6]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkRenderingOpenGL2-pv5.4.so.1(_ZN22vtkXOpenGLRenderWindow10InitializeEv+0xaa)[0x7fbf6adf7ffc]
>> [node0:55292] [ 7]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkRenderingOpenGL2-pv5.4.so.1(_ZN21vtkOpenGLRenderWindow14SupportsOpenGLEv+0x105)[0x7fbf6ad5beb7]
>> [node0:55292] [ 8]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVClientServerCoreRendering-pv5.4.so.1(_ZN23vtkPVDisplayInformation21SupportsOpenGLLocallyEv+0xeb)[0x7fbf78223b81]
>> [node0:55292] [ 9]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVClientServerCoreRendering-pv5.4.so.1(_ZN23vtkPVDisplayInformation14CopyFromObjectEP9vtkObject+0x31)[0x7fbf78223c05]
>> [node0:55292] [10]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(_ZN16vtkPVSessionCore25GatherInformationInternalEP16vtkPVInformationj+0x38)[0x7fbf85c8a890]
>> [node0:55292] [11]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(_ZN16vtkPVSessionCore17GatherInformationEjP16vtkPVInformationj+0x8d)[0x7fbf85c8ab45]
>> [node0:55292] [12]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(_ZN16vtkPVSessionBase17GatherInformationEjP16vtkPVInformationj+0x3e)[0x7fbf85c866fc]
>> [node0:55292] [13]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(_ZN18vtkPVSessionServer25GatherInformationInternalEjPKcjR21vtkMultiProcessStream+0xb7)[0x7fbf85c974b9]
>> [node0:55292] [14]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(_ZN18vtkPVSessionServer24OnClientServerMessageRMIEPvi+0x561)[0x7fbf85c97225]
>> [node0:55292] [15]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVServerImplementationCore-pv5.4.so.1(+0xa537a)[0x7fbf85c9537a]
>> [node0:55292] [16]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkParallelCore-pv5.4.so.1(_ZN25vtkMultiProcessController10ProcessRMIEiPvii+0x356)[0x7fbf826a06ea]
>> [node0:55292] [17]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkParallelCore-pv5.4.so.1(_ZN25vtkMultiProcessController11ProcessRMIsEii+0x6b5)[0x7fbf826a02bb]
>> [node0:55292] [18]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVClientServerCoreCore-pv5.4.so.1(_ZN26vtkTCPNetworkAccessManager21ProcessEventsInternalEmb+0x46d)[0x7fbf85986311]
>> [node0:55292] [19]
>> /opt/OpenFOAM/ThirdParty-5.0/ParaView-5.4.0/build/lib/libvtkPVClientServerCoreCore-pv5.4.so.1(_ZN26vtkTCPNetworkAccessManager13ProcessEventsEm+0x28)[0x7fbf85985ea2]
>> [node0:55292] [20] ./pvserver[0x401acb]
>> [node0:55292] [21] ./pvserver(main+0x25)[0x401b7f]
>> [node0:55292] [22]
>> /lib64/libc.so.6(__libc_start_main+0xea)[0x7fbf7e2e088a]
>> [node0:55292] [23] ./pvserver(_start+0x2a)[0x4017ca]
>> [node0:55292] *** End of error message ***
>>
>
> --
> Thanks,
> Gavin Ridley
>
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/paraview
>
_______________________________________________
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:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to