Ansys Products

Ansys Products

ANSYS 19.1 installation on Linux

    • pcaicedo
      Subscriber

      Hi all,


      I have been trying to install ANSYS 19.1 on Linux for half day, and it remains at 89% of the installation for so long. It may be some errors because the administrator of the cluster have tried too and had the same problem.


      It would be great if someone could help me to solve this problem.


      Regards,


      Paul

    • tsiriaks
      Ansys Employee

      Hi Paul,


      Please provide the output of 


      cat /etc/*release


      Then, refer to the Linux Installation guide Chapter 2 : Platform Details . This Chapter would list all prerequisites for different OS level. Make sure that the prerequisites are installed.


      Also, don't install it on your home directory. Ask your cluster admin to install it in the directory that's accessible by any users.


      Thank you,


      Win


       

    • pcaicedo
      Subscriber

      Hi Win,


      Here is the output


      CentOS Linux release 7.4.1708 (Core)


      NAME="CentOS Linux"


      VERSION="7 (Core)"


      ID="centos"


      ID_LIKE="rhel fedora"


      VERSION_ID="7"


      PRETTY_NAME="CentOS Linux 7 (Core)"


      ANSI_COLOR="0;31"


      CPE_NAME="cpeo:centos:centos:7"


      HOME_URL="https://www.centos.org/"


      BUG_REPORT_URL="https://bugs.centos.org/"


       


      CENTOS_MANTISBT_PROJECT="CentOS-7"


      CENTOS_MANTISBT_PROJECT_VERSION="7"


      REDHAT_SUPPORT_PRODUCT="centos"


      REDHAT_SUPPORT_PRODUCT_VERSION="7"


       


      CentOS Linux release 7.4.1708 (Core)


      CentOS Linux release 7.4.1708 (Core)


      Do I need install all the libraries indicated in CentOS 7.3 even if my version is 7.4.1708? I can't use sudo; how could I install the libraries?


      I am reading that chapter to check what I am missing, but at this moment I need to install in my home directory because the cluster admin spent a day trying to install in the directory that's accessible by any users without any luck, and he is not willing to spend more time, so if this works in my home directory he will scale up.


      Thanks,
      Paul

    • JakeC
      Ansys Employee

      Hi Paul,


      Please try installing libpng12.
      Something like:
      yum install libpng12


      Thank you,
      Jake


       

    • pcaicedo
      Subscriber

      Hi Jake,


      It says this


      Loaded plugins: fastestmirror, langpacks, priorities


      You need to be root to perform this command.


      So, I think there is no option to install those libraries if I am not the admin of the cluster, right?


      Thanks,


      Paul

    • JakeC
      Ansys Employee

      Hi Paul,
      Correct, the admin will need to install that library.  It is required to finish the installation.

      Thank you,
      Jake

    • hose
      Subscriber

      Hi Jake,


      I have same problem with installing ANSYS 19.1 on suse 15. It stuck in third installation disk and never progress the installation. The command cat etc/*release gives:


      NAME="SLED"
      VERSION="15"
      VERSION_ID="15"
      PRETTY_NAME="SUSE Linux Enterprise Desktop 15"
      ID="sled"
      ID_LIKE="suse"
      ANSI_COLOR="0;32"
      CPE_NAME="cpeo:suse:sled:15"


      Also I installed libpng12 on the machine and tried to install ANSYS as root, but did not work.


       


      Thanks for help


      Hosein


       

    • JakeC
      Ansys Employee

      Hi Hosein,


      Unfortunately Suse15 is not on the list of support platforms.  Please see the .pdf here:


      https://www.ansys.com/-/media/ansys/corporate/files/pdf/solutions/it-professionals/platform-support/ansys-191-platform-support-by-application.pdf?la=en


       


      My suggestion would be to switch to a supported OS.


       


      Thank you,


      Jake


       


       

    • apurba
      Subscriber

      Hi pcaicedo,


      I too faced similar situation while installation of Ansys 19.0 in my Ubuntu 18.04. and followed the steps of correction as suggested in the posts above. Would you tell if the same is solved or not and how?


      Thank u,


      apurba


    • tsiriaks
      Ansys Employee

      Hi apurba ,


      You might be able to get past this issue with


      apt-get install libmotif-dev


      apt-get install lsb


      However, please note that Ubuntu is not supported and it's very likely that you will run into other issues. The best bet here is to use CentOS , SLES, or RHEL


      Thanks,


      Win

    • apurba
      Subscriber

      Hi tsiriaks,


      thanks for u'r reply. I have changed my platform. Installed in CentOS7. Installed successfully. However there's a different issue. Workbench is opening, but while using static Structural  block, I am unable to open the geometry editor. Here's a snap of what happened. How to sort out this issue!!

    • JakeC
      Ansys Employee

      Hi apurba,


      Can you please post screenshots of the following commands:


      cat /etc/*release*


      lspci -nnk | grep -i vga -A3 | grep 'in use'


      glxinfo | grep -i "opengl renderer"


       


      Thank you,


      Jake

    • hisham
      Subscriber

      Hello,


      I also had exactly the same problem during installation of Ansys 19 on Linux mint OS, the installation stops by 89%.


      I am very new in using Linux, so I would highly appreciate if you can answer in simply or provide direct links if I need to install some other preliminary software.


       


      Thanks


      Hisham

    • JakeC
      Ansys Employee

      Hi Hisham,


      Unfortunately MintOS is not a support OS.


      Please see the platform support document here for a list of supported operating systems:


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


       


      Thank you,


      Jake

    • MemoriseXuxu
      Subscriber

      Dear Jcallery


      I come across the problem he mentioned.




    • MemoriseXuxu
      Subscriber


      Some parts of the WB cannot be opened.But the Fluent and CFX work fine.However, the Mesh,the Modal, the Transient Structure cannot be opened.


      I'm doubted what the problems is.


      Thank you guys.

    • JakeC
      Ansys Employee

      Hi MemoriseXuxu,


      Please create a new topic for your issue if the following does not solve your problem.


       


      You do not appear to have any hardware graphics acceleration, which is most likely your issue.


      We can try forcing Workbench etc.. into a software rendering mode, but I can't promise it will work.


      From the terminal enter:


      export LIBGL_ALWAYS_SOFTWARE=1


      export LIBGL_ALWAYS_INDIRECT=1


       


      Now try launching workbench from that same terminal session.


       


      Thank you,


      Jake


       

    • MemoriseXuxu
      Subscriber

      Hi, Jcallery


      Thank you for your support!!!  And I will have a try on it. But I have a doubt whether the external graphics is necessary. Beceuse this node doesn't have the graphics cards. However, my other compoent like Fluent and CFX works fine with GUI.And my CPU is Xeon Gold 5188.


      Or if I install the GraphicsDriver correctly, it will be OK ?


      And I read the discussion below which the libpng12 is mentioned. Is it the problem ?


      Thank you


      Xuxu

    • tsiriaks
      Ansys Employee

      Hi Xuxu,


      Different tools in ANSYS have different requirements for graphics. When you don't have a good dedicated graphics card, some tools may not function correctly. The software rendering mode that Jake mentioned could sometimes help out in this situation. But I would recommend to try all of the followings to make sure you are using Mesa library as well


       


      export LIBGL_ALWAYS_INDIRECT=1


      export LIBGL_ALWAYS_SOFTWARE=1


      export LD_LIBRARY_PATH=/ansys_inc/v195/Framework/bin/Linux64/Mesa


      /ansys_inc/v195/Framework/bin/Linux64/runwb2 -oglmesa


      Thanks,


      Win

    • MemoriseXuxu
      Subscriber

      Dear Win,


      I'm using the Nvidia P6000 Professional Cards. Is it the problem of graph driver . 


      What's more , it is necessary to enter the code that Jake mentioned every time I use the WB.


      Thanks,


      Xuxu

    • tsiriaks
      Ansys Employee

      Hi Xuxu,


      Yes, in that case, there is some issue in systems/graphics setup that doesn't use your Nvidia as default.


      If everything is setup properly, output of these commands have to be all Nvidia


      lspci -vnn | grep VGA -A 12


      glxinfo | grep OpenGL


      nvidia-smi


      By the way, if you want to keep using software rendering mode for now, you can permanently set those environment variables, so you don't have to do it each time/terminal.


      Thanks,


      Win

    • yskale
      Subscriber

      Hi ,


      I am installing Ansys 19 on SUSE 15.... when I try to run the ./INSTALL it gives me following error 


       Executing /tmp/ans_install_tmp22270/instcore
      instcore: cannot connect to X server localhost:0

    • olin
      Subscriber

      I'm also having a similar issue with the Geometry editor saying "Unable to start the geometry editor". I tried the following suggestion:


      export LIBGL_ALWAYS_INDIRECT=1


      export LIBGL_ALWAYS_SOFTWARE=1


      export LD_LIBRARY_PATH=/ansys_inc/v195/Framework/bin/Linux64/Mesa


      /ansys_inc/v195/Framework/bin/Linux64/runwb2 -oglmesa


       


      However, this didn't help.


      I'm using RHEL7 and the outputs of the following commands are as follows:


      lspci -nnk | grep -i vga -A3 | grep 'in use'
              Kernel driver in use: i915
      glxinfo | grep -i "opengl renderer"
              OpenGL renderer string: Mesa DRI Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)

    • tsiriaks
      Ansys Employee

      Try updating your Mesa driver but essentially, ANSYS only officially supports machines with good graphics cards, ref:


      https://www.ansys.com/-/media/ansys/corporate/files/pdf/solutions/it-professionals/platform-support/graphical-display-graphics-cards-tested-2020-r1.pdf?la=en&hash=6FAC80890F2CFFD6B74DE7B3361ABA7AE96B035C

    • olin
      Subscriber

      Thanks, that's probably the issue because I have only an integrated GPU in an intel i5 CPU. I have previously used the geometry editor also with an integrated GPU in another intel i5 CPU (some years older machine) but that was running in Windows.


      The openGL version seems to be only 3.0 (the chart in the link suggested it should be at least 4.5), but it cannot be updated to a newer version in this RHEL7.

    • tsiriaks
      Ansys Employee

      Yes, unfortunately, that's the issue.


       

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