CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   enGrid (https://www.cfd-online.com/Forums/engrid/)
-   -   engrid GUI doesn't appear (https://www.cfd-online.com/Forums/engrid/154259-engrid-gui-doesnt-appear.html)

almeidatg June 10, 2015 12:32

engrid GUI doesn't appear
 
Hi, enGrid Gurus.

I have a cluster running Centos 5, and I have followed the instructions to build Qt 4.8.6, VTK 5.10 and enGrid 1.4 (all from source).

I know my machine is old, but I was wondering if anyone had run into a problem where everything appears to build correctly, but when trying to execute the engrid executable (after setting the LD_LIBRARY_PATHS), nothing happens. It just hangs (until ctrl-C). No errors/warnings.

Thanks so much for any help you can offer.

Best,

Tom

wyldckat June 10, 2015 15:48

Quick questions:
  1. Does any other GUI built from source code work as intended in your installation? For example ParaView?
  2. What does the following command give you?
    Code:

    ldd engrid
    or
    Code:

    ldd $(which engrid)
    The first one assumes you run the command in the same folder where enGrid is installed; the second one searches the paths in "PATH".

almeidatg June 10, 2015 16:02

Thanks for the quick response, Bruno. I appreciate it.

I have installed ParaView from source, and the GUI worked.

Here is the output you requested:

Code:

ldd engrid
        libtcl8.5.so => /usr/lib/libtcl8.5.so (0x00002b78e034c000)
        libengrid.so.1 => /share/disk2/thomas.almeida/CODES/enGrid/engrid-release-1.4-j4/src/libengrid/libengrid.so.1 (0x00002b78e0666000)
        libng.so.1 => /share/disk2/thomas.almeida/CODES/enGrid/engrid-release-1.4-j4/src/netgen_svn/libng.so.1 (0x00002b78e0c42000)
        libQVTK.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libQVTK.so.5.10 (0x00002b78e110b000)
        libvtkCommon.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkCommon.so.5.10 (0x00002b78e1371000)
        libvtkDICOMParser.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkDICOMParser.so.5.10 (0x00002b78e18ad000)
        libvtkexoIIc.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkexoIIc.so.5.10 (0x00002b78e1ac7000)
        libvtkFiltering.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkFiltering.so.5.10 (0x00002b78e1d0c000)
        libvtkftgl.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkftgl.so.5.10 (0x00002b78e2318000)
        libvtkGenericFiltering.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkGenericFiltering.so.5.10 (0x00002b78e2523000)
        libvtkGraphics.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkGraphics.so.5.10 (0x00002b78e2749000)
        libvtkHybrid.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkHybrid.so.5.10 (0x00002b78e30b5000)
        libvtkImaging.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkImaging.so.5.10 (0x00002b78e3507000)
        libvtkIO.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkIO.so.5.10 (0x00002b78e3ab9000)
        libvtkRendering.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkRendering.so.5.10 (0x00002b78e41aa000)
        libvtksys.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtksys.so.5.10 (0x00002b78e482b000)
        libvtkVolumeRendering.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkVolumeRendering.so.5.10 (0x00002b78e4a66000)
        libvtkWidgets.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkWidgets.so.5.10 (0x00002b78e51f1000)
        libQtXml.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtXml.so.4 (0x00002b78e55ab000)
        libQtOpenGL.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtOpenGL.so.4 (0x00002b78e57ef000)
        libQtGui.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtGui.so.4 (0x00002b78e5af2000)
        libQtNetwork.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtNetwork.so.4 (0x00002b78e67d9000)
        libQtCore.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtCore.so.4 (0x00002b78e6b1f000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000000301f000000)
        libGL.so.1 => /usr/lib64/nvidia/libGL.so.1 (0x0000003f29c00000)
        libstdc++.so.6 => /share/apps/gcc-4.7.2/rtf/lib64/libstdc++.so.6 (0x00002b78e70a3000)
        libm.so.6 => /lib64/libm.so.6 (0x000000301e800000)
        libgcc_s.so.1 => /share/apps/gcc-4.7.2/rtf/lib64/libgcc_s.so.1 (0x00002b78e73ac000)
        libc.so.6 => /lib64/libc.so.6 (0x000000301e400000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000301ec00000)
        libQtWebKit.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtWebKit.so.4 (0x00002b78e75c2000)
        libQtXmlPatterns.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtXmlPatterns.so.4 (0x00002b78e90ee000)
        libQtSql.so.4 => /share/disk2/thomas.almeida/CODES/Qt-4.8.6-j4/lib/libQtSql.so.4 (0x00002b78e9737000)
        libvtkViews.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkViews.so.5.10 (0x00002b78e9978000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003026400000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003024400000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003020400000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003021c00000)
        libvtkInfovis.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkInfovis.so.5.10 (0x00002b78e9bf8000)
        libvtkParallel.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkParallel.so.5.10 (0x00002b78e9ff1000)
        libvtkNetCDF.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkNetCDF.so.5.10 (0x00002b78ea395000)
        libvtkhdf5_hl.so.1.8.5 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkhdf5_hl.so.1.8.5 (0x00002b78ea694000)
        libvtkhdf5.so.1.8.5 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkhdf5.so.1.8.5 (0x00002b78ea8c2000)
        libvtkzlib.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkzlib.so.5.10 (0x00002b78ead61000)
        libvtkfreetype.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkfreetype.so.5.10 (0x00002b78eaf76000)
        libvtkverdict.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkverdict.so.5.10 (0x00002b78eb1fe000)
        libvtkNetCDF_cxx.so => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkNetCDF_cxx.so (0x00002b78eb436000)
        libLSDyna.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libLSDyna.so.5.10 (0x00002b78eb657000)
        libvtkmetaio.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkmetaio.so.5.10 (0x00002b78eb864000)
        libvtksqlite.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtksqlite.so.5.10 (0x00002b78ebafe000)
        libvtkpng.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkpng.so.5.10 (0x00002b78ebda2000)
        libvtkjpeg.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkjpeg.so.5.10 (0x00002b78ebfca000)
        libvtktiff.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtktiff.so.5.10 (0x00002b78ec1fa000)
        libvtkexpat.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkexpat.so.5.10 (0x00002b78ec459000)
        libXt.so.6 => /usr/lib64/libXt.so.6 (0x0000003030a00000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003022800000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x0000003024000000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x0000003025000000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003025c00000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003020800000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003024c00000)
        libz.so.1 => /usr/local/lib/libz.so.1 (0x00002b78ec684000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003021400000)
        librt.so.1 => /lib64/librt.so.1 (0x000000301f800000)
        /lib64/ld-linux-x86-64.so.2 (0x000000301e000000)
        libGLcore.so.1 => /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f29200000)
        libnvidia-tls.so.1 => /usr/lib64/nvidia/tls/libnvidia-tls.so.1 (0x0000003f29000000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003021000000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x0000003020c00000)
        libvtklibxml2.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtklibxml2.so.5.10 (0x00002b78ec89c000)
        libvtkalglib.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libvtkalglib.so.5.10 (0x00002b78ecc2d000)
        libVPIC.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libVPIC.so.5.10 (0x00002b78ece52000)
        libCosmo.so.5.10 => /share/disk2/thomas.almeida/CODES/VTK-5.10-j4/lib/vtk-5.10/libCosmo.so.5.10 (0x00002b78ed06c000)
        libexpat.so.0 => /lib64/libexpat.so.0 (0x0000003022c00000)


wyldckat June 15, 2015 15:46

Hi Thomas,

Sorry, I wasn't able to answer sooner, but I have thought about this in the meantime.

The best I can think of is that since you are using a cluster, there are more possible ways of you to access it's desktop interface:
  1. Directly connected with a monitor to the main machine on the cluster.
  2. Connected via VNC.
  3. Connected via "ssh -X".
  4. Connected via some NX protocol (it's an X-VNC-hybrid protocol).
If the problem occurs with the #1 connection... then I have no idea what's going on :( Perhaps the window pops up behind other windows?


If the problem occurs with either one of the other solutions, then it's odd that it doesn't complain with an error message. Nonetheless, this would be very likely due to the fact that the ldd output points out that it connects directly to the NVidia OpenGL libraries:
Code:

libGLcore.so.1 => /usr/lib64/nvidia/libGLcore.so.1 (0x0000003f29200000)
libnvidia-tls.so.1 => /usr/lib64/nvidia/tls/libnvidia-tls.so.1 (0x0000003f29000000)

Without at least some more details on how you are accessing the desktop interface on the cluster, I can't remember any more possible issues... since most of them that come to mind depend on actual error messages.

I do have a blog post with a collection of threads/posts for when problems occur with ParaView: Related issues to ParaView with OpenFOAM - Fixes and solutions - most of them are applicable to enGrid as well, given that the library dependency stack is very similar (VTK, Qt and OpenGL ;)).

Best regards,
Bruno

almeidatg June 15, 2015 16:08

Dear Bruno,

Thanks once again for taking the time...

I think it must have something to do with the Nvidia library. I have had some issues with the OpenGL renderer crashing my x-session while using Matlab on this system. I traced it down to the Nvidia drivers, but had a terrible time upgrading them. My work-around for the Matlab issue was to force Matlab to use the 'painters' renderer in lieu of the OpenGL renderer.

So far, I have tried to use engird via VNC and ssh -X; I'll try running it from the box itself (direct connection) and see what happens.

I'll post what I find in the near future.

Best,

Tom


All times are GMT -4. The time now is 12:50.