Ansys Products

Ansys Products

Ansys 2022 R2 on Ubuntu 20.04

    • dyat
      Subscriber

      I noticed version 2022 R2 is now available and the release notes say that "The Ansys Linux product installation is now compatible with the Ubuntu platform"

      I downloaded the three .iso images for Linux and used them to install on an Ubuntu 20.04 system.  The GUI installer ran without problems and the install log recorded no problems.

      I was able to successfully start "mapdl" from the command line.  It checked out academic licenses without problems.  I ran "fluent" and the GUI started without problems.

      But, I tried to run Workbench using "runwb2" and the following error was printed:

       
      Unhandled exception caught :

      System.DllNotFoundException: Ans.QT.dll assembly: type: member:(null)
        at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.Application.ans_qt_Application_setPluginDirectory(intptr,string)
        at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000d1] in :0
        at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in :0
        at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in :0
        at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
        at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
        at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
      --- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
        at Ansys.UI.UIManager..ctor () [0x00055] in :0
        at Ansys.UI.UIManager.get_Instance () [0x00023] in :0
        at Ans.Program.Runtime.InitializeSplashScreen () [0x00057] in <533ef4cf2ec54545830ecf48d3de026d>:0
        at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x0021a] in <533ef4cf2ec54545830ecf48d3de026d>:0
        at Ans.Program.ExecutableBase.Run (Ans.Program.CommandLineParse parser) [0x0000d] in :0
        at Ans.Program.ExecutableBase.DoMain (System.String[] args) [0x000be] in :0

      I copied the installation (57 GB) from the Ubuntu 20.04 system to a CentOS 7 system.  The runwb2 command ran without problems on the CentOS 7 system.

      I understand that 2022 R2 is the first version to officially support the Ubuntu platform.  I can't find any other info in the release notes about the the above problem.

      I am also unclear about exactly which products are supported by Ubuntu.  The Ansys Electronics Desktop 2022 R2 installer fails when I try running it on Ubuntu 20.04:

      symbol lookup error: /usr/lib/x86_64-linux-gnu/libXrender.so.1: undefined symbol: _XGetRequest

      The Lumerical 2022 R2 installer still insists on running as root (which is dumb) and then trys using yum and rpm external commands which are not present on Ubuntu systems. 


    • Matt Madore
      Ansys Employee

      Please ensure you have the necessary prerequisites in place. You can find the requirements on the Ansys Help pages.

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/installation/unix_platform_libraries.html

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/installation/unix_platform_add_det.html

      https://support.ansys.com/Components/DownloadFile?file=/Secure/DownloadAssets/2022R2/AnsysEMInstallGuide-Linux.pdf#page=9

      For details on the products supported under Ubuntu, please refer to the Supported Platforms page.

      https://www.ansys.com/it-solutions/platform-support

      For Lumerical on Ubuntu, you can refer to this page: https://optics.ansys.com/hc/en-us/articles/1500005392522-Ubuntu-Linux-installation-guide

    • dyat
      Subscriber

      Hello,
      I appreciate your reply.
      But your answers were not very helpful. The first link is to a page with 27 tables listed hundreds of libraries in columns.  I asked specificly about the "runwb2" program but none of the tables on that page seem to refer to that program.  If specific system libraries are required by the Ansys software, why doesn't the installer check for them during and report any missing ones when the software is installed?  Assuming a missing library is the cause of the problem, the error message I included is not useful in determining what is missing.

    • Matt Madore
      Ansys Employee

      While you may not feel it is useful, please confirm you have all of the prerequisite libraries for the Ubuntu system. We do not break down each library for each Ansys binary, rather the list of libraries for the Ansys version being installed as well as some additional libraries for certain Products.

    • dyat
      Subscriber

      Which of the 27 tables on the web page should I use as the list of libraries you want me to check?

    • Matt Madore
      Ansys Employee

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/installation/unix_platform_libraries.html

      Look at the first table, the right hand column for "Ubuntu 20.04 LTS".

       

    • Matt Madore
      Ansys Employee

      You will also want to refer to any of the other tables specific to what products the users will be running.

    • dyat
      Subscriber

      OK, all the libraries in the first table are present.

      I don't know which other table shows the "runwb2" libraries.

Viewing 7 reply threads
  • You must be logged in to reply to this topic.