Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

ANSYS Installation on CentOS 8.0

    • liwei
      Subscriber
      I am trying to install ANSYS on a HPC cluster that has been configured with CentOS 8.0. I was not able to install ANSYS 2020 R2 and it seems the supported platforms are up to CentOS 7.7. nIs there a way that I can walk by this requirement and install ANSYS (in particular, FLUENT and Chemkin-Pro)on this cluster? Thank you very much.n n
    • Rob
      Forum Moderator
      According to Platform Support https://www.ansys.com/solutions/solutions-by-role/it-professionals/platform-support we will probably support 8.1 with 2021R1. I think there's a fix on the OS side to replace some missing libraries, but it's not technically supported (ie we've not tested it): note, in my role I break computers, Array and out IT team gets the fun job of fixing them.....
    • ANSYS_MMadore
      Forum Moderator
      We currently do not have any documented fixes for CentOS 8.0. Customers may have found their way through library issues, but it is unsupported. Installation on CentOS 8.0 has been a known problem.
    • liwei
      Subscriber
      I see. Thank you.
    • liwei
      Subscriber
      I am trying to find the ANSYS Installation Guide. Can you share me the links/documents if there are any so I can review the library requirements? Thank you.
    • Rob
      Forum Moderator
      There's some information here https://www.ansys.com/solutions/solutions-by-role/it-professionals/platform-support otherwise I think the installation stuff is in with the download, or accessible from the same location.
    • liwei
      Subscriber
      Thanks for the help on a follow-up question. After the installation of ANSYS on the HPC cluster, how should I set up the license information?

      For example, FLUENT executable is located in "/shared/ansys_inc/2020_R2/v202/fluent/bin". Our license server is
         ANSYSLI_SERVERS: 2325@OurLicenseServerID 
         FLEXlm Servers: 1055@OurLicenseServerID

      Can I set up the license by adding the following lines to "~/.bashrc"? Any comments and corrections are welcome. Thank you.
      export NTI_LICENSE_FILE=2325@OurLicenseServerID
      export PATH=/shared/ansys_inc/2020_R2/v202/fluent/bin:$PATH
    • liwei
      Subscriber
      .

      One more question on "QXcbConnection: XCB error", which popped up when I ran fluent on the cluster (BTW, I am using PuTTY+Xming). I did some research and it seems Qt_5_PRIVATE_API is missing. Here are some screenshots. Can you help me with this issue? Thanks.



      .
    • ANSYS_MMadore
      Forum Moderator
      Array Are you trying to run the FLUENT UI over this connection? Do you have Qt installed as that is a required 3rd party install that requires 777 permissions. You may need IT to help with obtaining this if you don't currently have it on the systems.

      Thanks
      Matt
    • liwei
      Subscriber
      Array Qt is installed. Can you take a look at the attachment in the previous post? I showed all details. Also, can you help me with the license server connection? Thank you.
    • ANSYS_MMadore
      Forum Moderator
      Array Can you send the current setting of your LD_LIBRARY_PATH? Perhaps you can try:
      export LD_LIBRARY_PATH=/shared/ansys_inc/2020_R2/v202/tp/qt/5.9.6/linx64/lib/libQt5Quick.so.5:$LD_LIBRARY_PATH && fluent

      For licensing, set ANSYSLMD_LICENSE_FILE=1055@LicenseServerHostname and ANSYSLI_SERVERS=2325@LicenseServerHostname

      Thank you,
      Matt

    • liwei
      Subscriber
      .

      Thank you, Matt. I did the changes, but FLUENT still doesn't work. Please see the attachment for details. Thanks.

      .
    • liwei
      Subscriber
      .

      For information. Thanks.

      .
    • ANSYS_MMadore
      Forum Moderator
      Can you try setting this to see if it helps?
      setenv QT_XCB_NO_XI2 1
      or
      export QT_XCB_NO_XI2=1

      Thanks,
      Matt
    • liwei
      Subscriber
      .

      Just tried, but it still did not work. Here is the (same) error message. Thanks.

      .
    • ANSYS_MMadore
      Forum Moderator
      Just to confirm, is this a viz node you're trying to run on?
    • liwei
      Subscriber
      I am not sure what is "a viz node".
      I am trying to run FLUENT on a HPC cluster. This cluster has the OS of Centos 8.0 and additional libraries of Centos 7.0.
      I am connecting to the cluster from my local Windows PC via PuTTY + Xming.


    • ANSYS_MMadore
      Forum Moderator
      "viz node" is a machine with graphic display and designated graphics card, rather than only a command line system.
    • ANSYS_MMadore
      Forum Moderator
    • liwei
      Subscriber
      Thank you, Matt.
      Is this a new requirement? Two years ago, I used to (from a Windows machine) remotely run FLUENT on a HPC with the graphic interface. I recall it only involved some X-window forwarding option. But at that time I was a user and didn't know about the HPC system settings. Now that I am trying to set the HPC and more/different requirements may be needed.
      Can you give me some instruction on the software installation/preparation, both for the local Windows machines and the remote HPC cluster? I'd like to (from a Windows machine) remotely run FLUENT on the cluster with the graphic interface. Thanks.

    • ANSYS_MMadore
      Forum Moderator
      Array It is not new, it was never officially supported though may have worked with older releases. Newer releases are more sensitive to graphics requirements, tested and supported to run on the setups from the shared link.
      If you have access to the Customer Portal there are KMs posted available on using RSM to run a FLUENT solve from your Windows machine to solve on a remote Linux cluster.
    • liwei
      Subscriber
      Thanks, Matt. I checked the RSM, but am still interested in Remote Display & Virtual Desktop.
      For Device "VNC Connect 6.7 with VirtualGL 2.6", how should I configure the CentOS cluster and the local Windows computer? Thanks.


    • ANSYS_MMadore
      Forum Moderator
      Array You'll need to follow instructions available with VNC on the installation and configuration.
    • liwei
      Subscriber
      Array Can you elaborate which "instructions available with VNC on the installation and configuration"? I did find the instruction for VNC installation, but how should I configure it for ANSYS environment? What are the other configurations needed to set up the Virtual Desktop for ANSYS?
      There is little information in ANSYS INC Installation Guides and if not with your help, I wouldn't have the document of Support for Remote Display & Virtual Desktop. Can you give me the guidance with more details? Thank you.
    • ANSYS_MMadore
      Forum Moderator
      Array You need to install and run VNC Connect 6.7 at minimum. Install this as instructed by VNC Installation documentation for your Windows / Linux configuration. You also need to install VirtualGL 2.6. This is an installation entirely separate from ANSYS. If you have it installed and running, you should be able to have a remote desktop environment from the Linux side displayed on your Windows machine through the VNC window. That's where you would be able to run ANSYS. There must also be supported graphics devices on the Linux machine you'll be connecting to.
    • liwei
      Subscriber
      .

      mmadore I was not able to set up a virtual machine, so I am trying to run it in batch mode.

      I tested the command "fluent 2d -g -t8 -i journalfile.jou out.out", and got the attached error messages "BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES", even I only used one core (-t1). Could you give me some help? Thank you.

      .
    • ANSYS_MMadore
      Forum Moderator
      Array Can you please post the contents of the files you've shared? We are not able to download files from the forum.

    • liwei
      Subscriber
      Array Here are the error messages. Thanks for any comments and recommendation.

      "/shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/bin/fluent ‐r20.2.0 2d ‐pshmem
      ‐host ‐t1 ‐mpi=intel ‐path/shared/ansys_inc/2020_R2/v202/fluent ‐ssh ‐cx
      apollo:39917:37665
      Starting
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/lnamd64/2d_host/fluent.20.2.0
      host ‐cx apollo:39917:37665 "(list (rpsetvar (QUOTE parallel/function) "fluent 2d
      ‐flux ‐node ‐r20.2.0 ‐t1 ‐pshmem ‐mpi=intel ‐ssh") (rpsetvar (QUOTE parallel/rhost)
      "") (rpsetvar (QUOTE parallel/ruser) "") (rpsetvar (QUOTE parallel/nprocs_string)
      "1") (rpsetvar (QUOTE parallel/auto‐spawn?) #t) (rpsetvar (QUOTE
      parallel/trace‐level) 0) (rpsetvar (QUOTE parallel/remote‐shell) 1) (rpsetvar
      (QUOTE parallel/path) "/shared/ansys_inc/2020_R2/v202/fluent") (rpsetvar (QUOTE
      parallel/hostsfile) "") )"
      Welcome to ANSYS Fluent 2020 R2
      Copyright 1987‐2020 ANSYS, Inc. All Rights Reserved.
      Unauthorized use, distribution or duplication is prohibited.
      This product is subject to U.S. laws governing export and re‐export.
      For full Legal Notice, see documentation.
      Build Time: May 29 2020 10:12:26 EDT Build Id: 10176
      ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
      This is an academic version of ANSYS FLUENT. Usage of this product
      license is limited to the terms and conditions specified in your ANSYS
      license form, additional terms section.
      ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
      Host spawning Node 0 on machine "apollo" (unix).
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/bin/fluent ‐r20.2.0 2d ‐flux
      ‐node ‐t1 ‐pshmem ‐mpi=intel ‐ssh ‐mport 172.16.100.1:172.16.100.1:37775:0
      Starting
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/intel/bin/
      mpirun ‐‐rsh=ssh ‐f /tmp/fluent‐appfile.root.937448 ‐genv FLUENT_ARCH lnamd64 ‐genv
      I_MPI_DEBUG 0 ‐genv I_MPI_PIN disable ‐genv I_MPI_ADJUST_REDUCE 2 ‐genv
      I_MPI_ADJUST_ALLREDUCE 2 ‐genv I_MPI_ADJUST_BCAST 1 ‐genv I_MPI_ADJUST_BARRIER 2
      ‐genv I_MPI_ADJUST_ALLGATHER 2 ‐genv I_MPI_ADJUST_GATHER 2 ‐genv
      I_MPI_ADJUST_ALLTOALL 1 ‐genv I_MPI_ADJUST_SCATTER 2 ‐genv I_MPI_PLATFORM auto
      ‐genv PYTHONHOME
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/../../commonfiles/CPython/3_7/li
      nx64/Release/python ‐genv FLUENT_PROD_DIR
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0 ‐genv KMP_AFFINITY disabled
      ‐genv TMI_CONFIG
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/intel/etc/
      tmi.conf ‐n 1 ‐host apollo
      /shared/ansys_inc/2020_R2/v202/fluent/fluent20.2.0/lnamd64/2d_node/fluent_mpi.20.2.
      0 node ‐mpiw intel ‐pic shmem ‐mport 172.16.100.1:172.16.100.1:37775:0
      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES= PID 937491 RUNNING AT apollo
      = EXIT CODE: 1
      = CLEANING UP REMAINING PROCESSES
      = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
      ===================================================================================
      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      = PID 937491 RUNNING AT apollo
      = EXIT CODE: 1
      = CLEANING UP REMAINING PROCESSES
      = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
      ===================================================================================
      Intel(R) MPI Library troubleshooting guide:
      https://software.intel.com/node/561764
      ===================================================================================
      Client interrupted.
      Done.
      +‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐+
      | ANSYS Product Improvement |
      | |
      | ANSYS Product Improvement Program helps improve ANSYS |
      | products. Participating in this program is like filling out a |
      | survey. Without interrupting your work, the software reports |
      | anonymous usage information such as errors, machine and |
      | solver statistics, features used, etc. to ANSYS. We never |
      | use the data to identify or contact you. |
      | The data does NOT contain: |
      | ‐ Any personally identifiable information including names, |
      | IP addresses, file names, part names, etc. |
      | ‐ Any information about your geometry or design specific |
      | inputs. |
      | You can stop participation at any time. To change your |
      | selection go to Help >> ANSYS Product Improvement Program |
      | in the GUI. |
      | For more information about the ANSYS Privacy Policy, please |
      | check: http://www.ansys.com/privacy |
      | |
      +‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐+
      999999: MPT_csend_int: error: file = ../../src/mpcommun.c, line = 1467: mpid = 0
      undefined: Resource temporarily unavailable
      999999: MPT_crecv_int: error: file = ../../src/mpcommun.c, line = 1467: mpid = 0
      undefined: Resource temporarily unavailable
      Reading journal file journalfile.jou...
      > /file/read‐case D5L10_tube_5umGrid.cas
      Error: read‐case: invalid machine
      Error Object: #f
      Warning: An error or interrupt occurred while reading the journal file.
      Some commands may not have been completed.
      > exit
      999999: MPT_csend_int: error: file = ../../src/mpcommun.c, line = 1467: mpid = 0
      undefined: Resource temporarily unavailable
      999999: MPT_crecv_int: error: file = ../../src/mpcommun.c, line = 1467: mpid = 0
      undefined: Resource temporarily unavailable "
    • ANSYS_MMadore
      Forum Moderator
      Array Are you still running CentOS 8? Please note that this is unsupported and prone to problems. You can try adding mpi=openmpi to your command and see if that helps.
    • WilliamWilson
      Subscriber
      We are having the same problem on Centos 8.2. We get the following error:
      /packages/ansys/21r1/v211/licensingclient/linx64/ansyscl: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
      We have the following rpms installed:
      openssl.x86_64 1:1.1.1g-12.el8_3
      krb5-libs.x86_64 1.18.2-5.el8

      We're an academic institution.
    • ANSYS_MMadore
      Forum Moderator
    • WilliamWilson
      Subscriber
      Much further on the install. The support document indicates Centos 8.1 good for Ansys and specifically Fluent. At the end of the install, we have some errors. Any clue on how to fix them?
      ANSYS installation: Thu Mar 4 11:26:04 2021
      Revision: 2021 R1

         ERROR: /usr/ansys_inc/v211/aisol/.workbench -cmd /usr/ansys_inc/v211/aisol/../commonfiles/MainWin/linx64/mw/bin-amd64_linux_optimized/regsvr32 -c -nodisplay /usr/ans
      ys_inc/v211/aisol/dll/linx64/libans.graphics.graphutilityu.so failed
         ERROR: /usr/ansys_inc/v211/aisol/.workbench -cmd /usr/ansys_inc/v211/aisol/../commonfiles/MainWin/linx64/mw/bin-amd64_linux_optimized/regsvr32 -c -nodisplay /usr/ans
      ys_inc/v211/aisol/dll/linx64/libans.cadint.configmgrcom.so failed
        /usr/ansys_inc/v211/CFX/bin/../tools/perl-5.28.2/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
        ###### Error #######
        Error executing configuration script '/usr/ansys_inc/v211/commonfiles/configs/linx64/config/AnsConfigCFX.sh'
        '"/usr/ansys_inc/v211/commonfiles/configs/linx64/config/AnsConfigCFX.sh" -installdir "/usr/ansys_inc" -rev 211 -dotrev 2021 R1 -scripttosource "/usr/ansys_inc/v211/co
      mmonfiles/configs/linx64/config/ConfigCommon.tcl" -sourcedir "/tmp/ans_install_tmp2569060" -os_lang en-us -install -skip_file_associations ' terminated after 1 attempts w
      ith the following error(s):
            Unknown error
        Exit Code: 127

      With that, trying to run runwb2 just to test, we get:
      Unhandled exception caught :

      System.DllNotFoundException: Ans.QT.dll
       at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000f2] 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 () [0x0000f] in :0
       at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in :0
       at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in :0
      --- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
       at Ansys.UI.UIManager..ctor () [0x00060] in :0
       at Ansys.UI.UIManager.get_Instance () [0x00029] in :0
       at Ans.Program.Runtime.InitializeSplashScreen () [0x00060] in :0
       at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x00237] in :0
       at Ans.Program.ExecutableBase.Run (Ans.Program.CommandLineParse parser) [0x0000d] in :0
       at Ans.Program.ExecutableBase.DoMain (System.String[] args) [0x000cf] in :0

    • himanshubanait17
      Subscriber
      .

      For "System.DllNotFoundException: Ans.QT.dll"

      Please install "libpng12-0" on linux

      sudo add-apt-repository ppa:linuxuprising/libpng12

      sudo apt update

      sudo apt install libpng12-0

      .
    • jchrisj
      Subscriber
      .

      We are seeing the libk5crypto error on our version 8 systems but not on version 7

      .
    • ANSYS_MMadore
      Forum Moderator
      .

      jchrisj Please search the forum for related threads. This is known for version 8 for Ansys releases which don't support 8.x.

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

      .
Viewing 34 reply threads
  • The topic ‘ANSYS Installation on CentOS 8.0’ is closed to new replies.