rcps-buildscripts icon indicating copy to clipboard operation
rcps-buildscripts copied to clipboard

Install Request: Schrödinger Maestro (via personal email)

Open owainkenwayucl opened this issue 1 year ago • 29 comments

Application: Schrödinger Maestro

Link: https://www.schrodinger.com/products/maestro

Cluster: Michael/Myriad/Kathleen

Description: Maestro is a suite of tools for doing molecular docking. It has a GUI (which uses QT) but can submit jobs into a cluster.

License: There are two license options - The ARUK DDI here at UCL has licenses, and there's a free Academic license which I'm using to test.

Ticket number: personal email

I got it to start in a container with GUI stuff - it needs:

INFO: This system was identified as "rhel".
required_packages for your platform are: fontconfig libX11 libxkbcommon-x11 xcb-util-renderutil libglvnd-egl libglvnd-opengl libxkbcommon
fontconfig-2.13.0-4.3.el7.x86_64
fontconfig-2.13.0-4.3.el7.i686
libX11-1.6.7-2.el7.x86_64
libX11-1.6.7-2.el7.i686
package libxkbcommon-x11 is not installed
package xcb-util-renderutil is not installed
libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64
libglvnd-opengl-1.0.1-0.8.git5baa1e5.el7.x86_64
libxkbcommon-0.7.1-3.el7.x86_64
(libxkbcommon-x11 xcb-util-renderutil) is/are required package/s to use Schrödinger suite. Please install them using:
        sudo yum install libxkbcommon-x11 xcb-util-renderutil

Which would need to be added to the image. I'm currently experimenting to see if I can make it work with those packages in modules.

So there are three options:

  1. Install the missing libs in the image
  2. Install it in a singularity container - this will cause problems for job submission
  3. Get it to work with important libraries in modules

Obviously, in increasing order of difficulty, decreasing order of neatness.

owainkenwayucl avatar Mar 31 '23 15:03 owainkenwayucl

Another option might be for users to run the application on their desktop and submit into the scheduler a la MATLAB - this will be easier once the ACFS is up as they can then mount the filesystem.

owainkenwayucl avatar Mar 31 '23 15:03 owainkenwayucl

Without the packages installed, this is the error - googling this is also a thing with another Schrödinger product, PyMol which may be easier to find docs for:

Myriad [login12] ~ :) > $SCHRODINGER/maestro -SGL

**************************************************************
Maestro Molecular Modeling Interface
Maestro is a product of Schrödinger, Inc.
Legal notices can be viewed by clicking Help->About Maestro
**************************************************************
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vkkhrdisplay, vnc, xcb.

Fatal Python error: Aborted

Current thread 0x00007f9dbfb0b740 (most recent call first):
  File "/home/uccaoke/Applications/Maestro/internal/lib/python3.8/site-packages/schrodinger/utils/qapplication.py", line 121 in get_application
  File "/lustre/home/uccaoke/Applications/Maestro/maestro-v13.5/bin/Linux-x86_64/startup.py", line 1063 in show_fatal_maestro_error
  File "/lustre/home/uccaoke/Applications/Maestro/maestro-v13.5/bin/Linux-x86_64/startup.py", line 1343 in log_and_exit
  File "/home/uccaoke/Applications/Maestro/internal/lib/python3.8/contextlib.py", line 131 in __exit__
  File "/home/uccaoke/Applications/Maestro/internal/lib/python3.8/contextlib.py", line 75 in inner
  File "/home/uccaoke/Applications/Maestro/maestro-v13.5/bin/Linux-x86_64/maestro_launch.py", line 7 in main
  File "/home/uccaoke/Applications/Maestro/maestro-v13.5/bin/Linux-x86_64/maestro_launch.py", line 11 in <module>
Aborted

owainkenwayucl avatar Mar 31 '23 16:03 owainkenwayucl

(proof it runs in a container)

maestro

owainkenwayucl avatar Mar 31 '23 16:03 owainkenwayucl

https://xcb.freedesktop.org/

owainkenwayucl avatar Mar 31 '23 16:03 owainkenwayucl

It looks like it's linked against QT6.

owainkenwayucl avatar Apr 17 '23 15:04 owainkenwayucl

So, set $QT_DEBUG_PLUGINS to 1 and got a spew of output of which this is most interesting, especially as I the xorg-utils module loaded that I thought provided this...

...
Got keys from plugin meta data QList("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/lustre/home/uccaoke/Applications/Maestro/internal/bin/platforms" ...
Cannot load library /lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so: (libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so" : "Cannot load library /lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so: (libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
...

owainkenwayucl avatar Apr 17 '23 16:04 owainkenwayucl

Although... hmm. it doesn't

Huh.

owainkenwayucl avatar Apr 17 '23 16:04 owainkenwayucl

So it appears as we know, X11 packages are terrible.

owainkenwayucl avatar Apr 17 '23 16:04 owainkenwayucl

And it builds with meson because everything in Open Source is terrible. You are now at Yak shaving level 2.

owainkenwayucl avatar Apr 17 '23 16:04 owainkenwayucl

With xkbcommon installed manually we now get to:

QFactoryLoader::QFactoryLoader() checking directory path "/lustre/home/uccaoke/Applications/Maestro/internal/bin/platforms" ...
Cannot load library /lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so" : "Cannot load library /lustre/home/uccaoke/Applications/Maestro/mmshare-v6.1/lib/Linux-x86_64/qt_plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

owainkenwayucl avatar Apr 17 '23 16:04 owainkenwayucl

Now it needs libxcb-limage.

owainkenwayucl avatar Apr 18 '23 10:04 owainkenwayucl

maestro-success

owainkenwayucl avatar Apr 18 '23 10:04 owainkenwayucl

Now I need to do a central install of the xcb stuff and then people should just be able to run Maestro if they install it or if we get a central set of licensing set up we can do a central install.

owainkenwayucl avatar Apr 18 '23 10:04 owainkenwayucl

Needed:

  • [x] - Ninja
  • [x] - xkbcommon
  • [x] - xcb-util
  • [x] - xcb-util-renderutil
  • [x] - xcb-util-image
  • [x] - xcb-util-wm
  • [x] - xcb-util-keysyms

owainkenwayucl avatar Apr 18 '23 12:04 owainkenwayucl

For the sanity of everyone the xcb-util stuff is one module.

owainkenwayucl avatar Apr 18 '23 14:04 owainkenwayucl

I'm meeting with the user who requested this tomorrow.

owainkenwayucl avatar Apr 18 '23 14:04 owainkenwayucl

We've decided to try and get this connected to Chemistry's license servers.

  1. Get IP addresses of Myriad Util Servers + Login nodes.
  2. As Ian if we can add Rob to OOD pilot.

owainkenwayucl avatar Apr 08 '24 10:04 owainkenwayucl

Because this was not obvious in my memory you need to load:

libxkbcommon/1.5.0
xcb-util/0.4.0
xorg-utils

Before starting Maestro

owainkenwayucl avatar Apr 08 '24 10:04 owainkenwayucl

(OOD notes - you can of course SSH to the node your desktop is on)

owainkenwayucl avatar Apr 08 '24 10:04 owainkenwayucl

If I try to X forward to my Mac I get:

libGL error: failed to load driver: swrast

owainkenwayucl avatar Apr 08 '24 11:04 owainkenwayucl

The new container is missing all the xcb stuff :(

INFO: This system was identified as "ubuntu".
required_packages for your platform are: 
libdrm2
libfontconfig1
libfreetype6
libglapi-mesa
libglu1-mesa
libice6
libpng16-16
libsm6
libx11-6
libx11-xcb1
libxau6
libxcb-glx0
libxcb-icccm4
libxcb-image0
libxcb-keysyms1
libxcb-randr0
libxcb-render-util0
libxcb-render0
libxcb-shape0
libxcb-shm0
libxcb-sync1
libxcb-util1
libxcb-xfixes0
libxcb-xinput0
libxcb-xkb1
libxcb1
libxdmcp6
libxext6
libxft2
libxi6
libxkbcommon-x11-0
libxkbcommon0
libxrender1
libxss1
libxt6
mesa-utils
(libdrm2 libfontconfig1 libfreetype6 libglapi-mesa libglu1-mesa libice6 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxft2 libxi6 libxkbcommon-x11-0 libxkbcommon0 libxrender1 libxss1 libxt6 mesa-utils) is/are required package/s to use Schrödinger suite. Please install them using:
        sudo apt-get install libdrm2 libfontconfig1 libfreetype6 libglapi-mesa libglu1-mesa libice6 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxft2 libxi6 libxkbcommon-x11-0 libxkbcommon0 libxrender1 libxss1 libxt6 mesa-utils

dpkg-query: package 'libdrm2' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libfontconfig1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libfreetype6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libglapi-mesa' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libglu1-mesa' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libice6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libpng16-16' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libsm6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libx11-6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libx11-xcb1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxau6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-glx0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-icccm4' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-image0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-keysyms1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-randr0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-render-util0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-render0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-shape0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-shm0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-sync1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-util1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-xfixes0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-xinput0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb-xkb1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxcb1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxdmcp6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxext6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxft2' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxi6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxkbcommon-x11-0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxkbcommon0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxrender1' is not installed and no information is available
dpkg-query: package 'libxss1' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'libxt6' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dpkg-query: package 'mesa-utils' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.

 After installing packages, make sure the following command works: 

$SCHRODINGER/run check_deps.py 

If you are having trouble, please contact support at https://www.schrodinger.com/supportcenter with the output of this script. 
Failure to install these libraries may result in random segfaults, even on a server system that otherwise does not need X11.
** WARNING: Skipping dependency verification
Customized configuration file featureflags.json not found in /home/uccaoke/tar/Schrodinger_Suites_2024-1_Linux-x86_64. Using default settings for installation.
Customized configuration file server.json not found in /home/uccaoke/tar/Schrodinger_Suites_2024-1_Linux-x86_64. Using default settings for installation.
Customized configuration file suitepref.xml not found in /home/uccaoke/tar/Schrodinger_Suites_2024-1_Linux-x86_64. Using default settings for installation.


           ***** Schrodinger software installation is complete. *****

owainkenwayucl avatar Jul 04 '24 15:07 owainkenwayucl

Attempting my own install to see what the issue is in the OOD desktop. I have the license server info.

tar -xvf Schrodinger_Suites_2024-2_Linux-x86_64.tar
Schrodinger_Suites_2024-2_Linux-x86_64/INSTALL

That runs an interactive commandline installer.

  • Told it to install into /home/cceahke/maestro
  • Set tmp directory to $TMPDIR (it will ask if you are sure since it doesn't exist at present)
  • Allowed it to install all of the things (default; could alter that)
  • Choose whether you want it to make application launchers for you.
*) Configuring your installation


   If you need to request or install licenses, run the the Schrodinger software
   configuration tool on a machine with a display.

   The tool can be launched directly via $SCHRODINGER/utilities/configure.
   If the current machine has a display, you can also launch it from this screen.

Launch the configuration GUI now? [y/n]  () n

Run a GUI session to add that info.

heatherkellyucl avatar Jul 23 '24 15:07 heatherkellyucl

When sshed in with -X.

module load libxkbcommon/1.5.0
module load xcb-util/0.4.0
module load xorg-utils

utilities/configure

Takes a long time to bring up the GUI.

Some warnings (OS X, with XQuartz):

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Choose "I can identify my license server". Enter IP address and port, click Save Server

Saves it but says the remote license server is not accessible and shows it has a warning. Clicking the i in the top right shows:

Your Schrodinger software was configured to use the following license server: Host Name: <host> Port: <port>

This resource is working but has a warning: <port@host>

License checkouts are successful but license details are unavailable as the hostname of the license server is not resolvable from this machine.

More information: The license server machine is not accessible. Typically means there is a network issue (e.g., server machines name can't be resolved), but can also be caused by a firewall blocking access. Can be caused by the license server machine being shut down.

That's fine.

heatherkellyucl avatar Jul 25 '24 12:07 heatherkellyucl

Still on the login node, with modules as above, if I launch maestro I do get the GUI to start with, but then froze and exits with error:

[cceahke@login13 maestro]$ ./maestro

**************************************************************
Maestro Molecular Modeling Interface
Maestro is a product of Schrödinger, Inc.
Legal notices can be viewed by clicking Help->About Maestro
**************************************************************
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
qt.qpa.xcb: could not connect to display localhost:34.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vkkhrdisplay, vnc, xcb.

Fatal Python error: Aborted

At some point in there the display died and I had to ssh -X back in again.

Next explicitly ran ./maestro -SGL and got it to crash by clicking on the Fit: Ligand button (Auto is selected). Did not kill the display.

So, a bit flaky when run in our login node environment.

Next, try in OOD.

heatherkellyucl avatar Jul 25 '24 12:07 heatherkellyucl

maestro -I 
      Run but display information such as the X Visual at startup

  maestro -SGL 
      Run with the Schrodinger-supplied OpenGL library  (default is 
      to use the system OpenGL library)

  maestro -NOSGL 
      Force running with system OpenGL library (ignores -SGL)

  maestro -stdtheme 
      Ignore desktop theme settings (colors, fonts, etc.)

  maestro -nosplash 
      Don't display a splash screen when Maestro starts up.

  maestro -prefwarn 
      Show any warnings from preference command errors on startup.

$SCHRODINGER/maestro -SGL displays the splash screen, gets toward loading, then instantly exits with a fatal error, no further details given.

Without the -SGL (on a non-GPU node) we get this and then it exits.

X server has no OpenGL GLX extension.
Try a different display or try enabling GLX in your X Server
or invoking Maestro with -SGL. (Using -SGL results in 3D  graphics being
done in software and may significantly reduce graphics performance.)

and the terminal output is

MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

$SCHRODINGER/run check_deps.py

INFO: This system was identified as "ubuntu".
required_packages for your platform are: 
libdrm2
libfontconfig1
libfreetype6
libglapi-mesa
libglu1-mesa
libice6
libpng16-16
libsm6
libx11-6
libx11-xcb1
libxau6
libxcb-glx0
libxcb-icccm4
libxcb-image0
libxcb-keysyms1
libxcb-randr0
libxcb-render-util0
libxcb-render0
libxcb-shape0
libxcb-shm0
libxcb-sync1
libxcb-util1
libxcb-xfixes0
libxcb-xinput0
libxcb-xkb1
libxcb1
libxdmcp6
libxext6
libxft2
libxi6
libxkbcommon-x11-0
libxkbcommon0
libxrender1
libxss1
libxt6
mesa-utils
(libdrm2 libfontconfig1 libfreetype6 libglapi-mesa libglu1-mesa libice6 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxft2 libxi6 libxkbcommon-x11-0 libxkbcommon0 libxrender1 libxss1 libxt6 mesa-utils) is/are required package/s to use Schrödinger suite. Please install them using:
        sudo apt-get install libdrm2 libfontconfig1 libfreetype6 libglapi-mesa libglu1-mesa libice6 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxft2 libxi6 libxkbcommon-x11-0 libxkbcommon0 libxrender1 libxss1 libxt6 mesa-utils

dpkg-query: package 'libdrm2' is not installed and no information is available
dpkg-query: package 'libfontconfig1' is not installed and no information is available
dpkg-query: package 'libfreetype6' is not installed and no information is available
dpkg-query: package 'libglapi-mesa' is not installed and no information is available
dpkg-query: package 'libglu1-mesa' is not installed and no information is available
dpkg-query: package 'libice6' is not installed and no information is available
dpkg-query: package 'libpng16-16' is not installed and no information is available
dpkg-query: package 'libsm6' is not installed and no information is available
dpkg-query: package 'libx11-6' is not installed and no information is available
dpkg-query: package 'libx11-xcb1' is not installed and no information is available
dpkg-query: package 'libxau6' is not installed and no information is available
dpkg-query: package 'libxcb-glx0' is not installed and no information is available
dpkg-query: package 'libxcb-icccm4' is not installed and no information is available
dpkg-query: package 'libxcb-image0' is not installed and no information is available
dpkg-query: package 'libxcb-keysyms1' is not installed and no information is available
dpkg-query: package 'libxcb-randr0' is not installed and no information is available
dpkg-query: package 'libxcb-render-util0' is not installed and no information is available
dpkg-query: package 'libxcb-render0' is not installed and no information is available
dpkg-query: package 'libxcb-shape0' is not installed and no information is available
dpkg-query: package 'libxcb-shm0' is not installed and no information is available
dpkg-query: package 'libxcb-sync1' is not installed and no information is available
dpkg-query: package 'libxcb-util1' is not installed and no information is available
dpkg-query: package 'libxcb-xfixes0' is not installed and no information is available
dpkg-query: package 'libxcb-xinput0' is not installed and no information is available
dpkg-query: package 'libxcb-xkb1' is not installed and no information is available
dpkg-query: package 'libxcb1' is not installed and no information is available
dpkg-query: package 'libxdmcp6' is not installed and no information is available
dpkg-query: package 'libxext6' is not installed and no information is available
dpkg-query: package 'libxft2' is not installed and no information is available
dpkg-query: package 'libxi6' is not installed and no information is available
dpkg-query: package 'libxkbcommon-x11-0' is not installed and no information is available
dpkg-query: package 'libxkbcommon0' is not installed and no information is available
dpkg-query: package 'libxrender1' is not installed and no information is available
dpkg-query: package 'libxss1' is not installed and no information is available
dpkg-query: package 'libxt6' is not installed and no information is available
dpkg-query: package 'mesa-utils' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.

 After installing packages, make sure the following command works: 

$SCHRODINGER/run check_deps.py 

If you are having trouble, please contact support at https://www.schrodinger.com/supportcenter with the output of this script. 
Failure to install these libraries may result in random segfaults, even on a server system that otherwise does not need X11.

(Removed many copies of dpkg --info line).

I was assuming that it might be looking for the wrong versions of the libraries for the version of Ubuntu we have in the container, but dpkg -l and apt list --installed in the container return no packages at all so it doesn't have a database populated for those.

Libraries be in /lib/x86_64-linux-gnu.

We don't appear to have libglapi-mesa or libglu1-mesa but we have all the rest of the above in what look like the wanted versions.

We have

libglapi.so.0
libglapi.so.0.0.0
libGL.so
libGL.so.1
libGL.so.1.7.0
libGLU.so.1
libGLU.so.1.3.1
libGLX_indirect.so.0
libGLX_mesa.so.0
libGLX_mesa.so.0.0.0
libGLX.so
libGLX.so.0
libGLX.so.0.0.0

heatherkellyucl avatar Jul 25 '24 13:07 heatherkellyucl

Got an OOD instance with a GPU on a type-E node.

$SCHRODINGER/maestro -SGL takes a lot longer to load, but fails in exactly the same way. (Still need to use -SGL since we don't have graphics).

heatherkellyucl avatar Jul 25 '24 14:07 heatherkellyucl

Created an Ubuntu 24.01 (Noble) container with the base OOD desktop package set, and every single thing the installer asked for, as far as I can tell, and installed the whole Schrödinger suite into it.

It still either fails to launch entirely (with -SGL), or crashes after trying to do anything (without -SGL), with Mesa errors.

# Including all of these binds to make sure I can reach anything I need or that X needs
# And writable-tmpfs to stop it complaining about not being able to write a schrodinger.hosts file
# The definition file is /shared/ucl/apps/siflib/build/schro.def
$ apptainer  shell --writable-tmpfs -B /shared,/opt/sge,/opt/geassist,/scratch,/lustre,/var,/run,/tmp /shared/ucl/apps/siflib/build/schro.sif
Apptainer > export SCHRODINGER=/opt/schro
Apptainer > export SCHRODINGER_TMPDIR=/tmp
Apptainer> ./maestro -SGL

**************************************************************
Maestro Molecular Modeling Interface
Maestro is a product of Schrödinger, Inc.
Legal notices can be viewed by clicking Help->About Maestro
**************************************************************
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
WARNING =====================================================
WARNING Your Maestro license is expiring soon (less than 31 days).
WARNING Please contact your account manager or [email protected] 
WARNING for more information.
WARNING =====================================================
MESA-LOADER: failed to open zink: /opt/schro/maestro-v14.0/lib/Linux-x86_64/gl/zink_dri.so: cannot open shared object file: No such file or directory (search paths /opt/schro/maestro-v14.0/lib/Linux-x86_64/gl, suffix _dri)
did not find extension DRI_Mesa version 1
**************************************************************
You do not have a properly installed license.
Please report this problem at https://www.schrodinger.com/supportcenter, and upload the following files, to help us diagnose this problem:
/home/uccaiki/.schrodinger/appcrash/maestro_error_230499.txt
**************************************************************
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Apptainer> ./maestro 

**************************************************************
Maestro Molecular Modeling Interface
Maestro is a product of Schrödinger, Inc.
Legal notices can be viewed by clicking Help->About Maestro
**************************************************************
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
No matching fbConfigs or visuals found
X Error of failed request:  GLXBadCurrentWindow
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  57
  Current serial number in output stream:  57
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
WARNING =====================================================
WARNING Your Maestro license is expiring soon (less than 31 days).
WARNING Please contact your account manager or [email protected] 
WARNING for more information.
WARNING =====================================================
MESA-LOADER: failed to open zink: /opt/schro/maestro-v14.0/lib/Linux-x86_64/gl/zink_dri.so: cannot open shared object file: No such file or directory (search paths /opt/schro/maestro-v14.0/lib/Linux-x86_64/gl, suffix _dri)
MESA-LOADER: failed to open swrast: libLLVM-12.so: cannot open shared object file: No such file or directory (search paths /opt/schro/maestro-v14.0/lib/Linux-x86_64/gl, suffix _dri)

ikirker avatar Aug 29 '24 12:08 ikirker

Tried 2024-3 release just in case it solved this problem. It doesn't.

ikirker avatar Aug 30 '24 13:08 ikirker

Hi all thanks so much for your help, I have a response from Katalin at Schrodinger after she read this thread:

Hi Rob,

Thanks very much for your message. Could I please ask you to share the full installation check report generated by running:

$SCHRODINGER/installation_check -testall

The error message you are seeing indicates a graphic issue and you can check the details from:

https://support.schrodinger.com/s/article/980022 To see if this could help?

If the machine has a dedicated GPU, please make sure that the driver is installed correctly and is active.

If there is no GPU, you’d need to start Maestro using the following command:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 $SCHRODINGER/maestro

Could you please give this a try to see if this helps?

Many thanks,

Katalin

rles001 avatar Sep 03 '24 07:09 rles001