I’ve downloaded the Mantid 6.11 installer for Linux from the website and extracted the txz archive. However, running any of the scripts fails with errors like
./mantidworkbench
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
xkbcommon: ERROR: failed to add default include path /jenkins_workdir/workspace/release-next_nightly_deployment/_bundle_build/mantidworkbench/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /jenkins_workdir/workspace/release-next_nightly_deployment/_bundle_build/mantidworkbench/share/X11/xkb
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
xkbcommon: ERROR: failed to add default include path /jenkins_workdir/workspace/release-next_nightly_deployment/_bundle_build/mantidworkbench/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /jenkins_workdir/workspace/release-next_nightly_deployment/_bundle_build/mantidworkbench/share/X11/xkb
Segmentation fault (core dumped)
I assume one has to customise the scripts (using cmake?) so it doesn’t contain details of someone else’s installation, but there’s absolutely nothing about this on the website. Could you please help?
Which website did you download the install from? It looks like the nightly rather than the stable version of v6.11. It would be useful for us to look into whether there is a problem with the current nightly. You should not need to customise any scripts to make it work.
We would recommend installing the conda version of Mantid if you are having problems with the standalone package. Details of how to set up a conda environment and do this can be found on the Installation page at Installation — MantidProject landing page documentation
Thank you for highlighting this issue. I have done some checking and it appears that since v6.10.0 I cannot launch the standalone Linux package on Ubuntu. What flavour of Linux are you using? We focus our testing around our IDAaaS analysis platform, which uses Rocky Linux 8, which is why we missed this issue. We have a release (v6.12.0) scheduled to go out in a couple of weeks so we will attempt to fix it for that. In the meantime I think you have two options:
Use v6.9.1, which should work for you.
Install mantidworkbench using Conda, then you can use the latest release.
Thank you for providing the screenshot. The reason I asked is that you can also download packages direct from our GitHub repository. As this is also our page I just wanted to double check.
Thank you for letting us know which Ubuntu version you are using. We will make sure to test on 24.04 going forward and will let you know of our progress towards fixing it for the upcoming release. If it’s fixed before then it will be available in a nightly build and we will let you know on this thread.
In the meantime I think your only solution will be to use a conda install (unless you want to try an even older version of mantid).