Ansys Products

Ansys Products

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

Ansys Fluent Cannot Start on Linux Ubuntu

    • Mohammad Zandsalimy
      Subscriber

      Hello everyone,

      I have installed Ansys step by step according to the installation guide on my workstation which uses the Linux Ubuntu 22.04 operating system.

      The Workbench starts fine and I can create projects in there.
      For example, I have created a Fluent project.
      The DesignModeler works fine to make a Geometry.
      The Mesh also works fine and I can generate a mesh.
      But, when running Fluent in the Setup section, I run into issues.

      Fluent does cannot start and closes after around 5 minutes of loading.
      The error that I get back in Workbench after this reads "The FLUENT application failed to validate the connection.".

      Running Fluent directly (not starting Fluent from Workbench), results in a similar issue.
      This time Fluent does not close but gives me an error in the Fluent console which I have attached in the last part of this message.
      After this error, Fluent stays open but has no functionality and everything seems blank.

      I would really appriciate your time if you can give me some help with this.

      Best,
      Mohammad

      Fluent Startup Log
      =========================================

      /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/bin/fluent -r23.2.0 2ddp -pshmem -host -alnamd64 -t1 -mpi=intel -path/home/user/Ansys/ansys_inc/v232/fluent -ssh -cx decoy.computer.name:11111:11111
      Starting /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/lnamd64/2ddp_host/fluent.23.2.0 host -cx decoy.computer.name:11111:11111 "(list (rpsetvar (QUOTE parallel/function) "fluent 2ddp -flux -node -alnamd64 -r23.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) "/home/user/Ansys/ansys_inc/v232/fluent") (rpsetvar (QUOTE parallel/hostsfile) "") (rpsetvar (QUOTE gpuapp/devices) ""))"

                    Welcome to ANSYS Fluent 2023 R2

                    Copyright 1987-2023 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 2023 07:35:13 EDT  Build Id: 10212  
       
      Connected License Server List: 1055@decoy.license.server

      *********************************************
      Info: Your license enables 4-way parallel execution.
      For faster simulations, please start the application with the appropriate parallel options.
      *********************************************


           --------------------------------------------------------------
           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 "decoy.computer.name" (unix).
      /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/bin/fluent -r23.2.0 2ddp -flux -node -alnamd64 -t1 -pshmem -mpi=intel -ssh -mport 111.111.111.111:111.111.111.111:11111:0
      Starting /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/multiport/mpi/lnamd64/intel2021/bin/mpirun --rsh=ssh -f /tmp/fluent-appfile.root.17657 -genv FI_PROVIDER tcp -genv FLUENT_ARCH lnamd64 -genv I_MPI_DEBUG 0 -genv I_MPI_ADJUST_GATHERV 3 -genv I_MPI_ADJUST_ALLREDUCE 2 -genv I_MPI_PLATFORM auto -genv PYTHONHOME /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/../../commonfiles/CPython/3_10/linx64/Release/python -genv FLUENT_PROD_DIR /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0 -genv FLUENT_AFFINITY 0 -genv I_MPI_PIN enable -genv KMP_AFFINITY disabled -n 1 /home/user/Ansys/ansys_inc/v232/fluent/fluent23.2.0/lnamd64/2ddp_node/fluent_mpi.23.2.0 node -mpiw intel -pic shmem -mport 111.111.111.111:111.111.111.111:11111:0

      0: mpt_connect: error: connect failed: Connection timed out

      0: mpt_connect: error: connect failed: Connection timed out

      0: mpt_connect: error: connect failed: Connection timed out

      0: mpt_establish_connection: error: unable to connect: Connection timed out

      0: mpt_connect_to_server: error: cannot establish connection; bye.: Connection timed out
      terminate called without an active exception

      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 0 PID 17708 RUNNING AT decoy.computer.name
      =   KILLED BY SIGNAL: 6 (Aborted)
      ===================================================================================

    • George Karnos
      Ansys Employee

      Do you have iptables enabled?
      Check the iptables log file to see if MPI is being blocked.

      • Mohammad Zandsalimy
        Subscriber

        Thanks for your reply George!

        I have tried turning my firewall off before.

        Here is the output of "sudo iptables -L":

        Chain INPUT (policy ACCEPT)
        target     prot opt source               destination         

        Chain FORWARD (policy ACCEPT)
        target     prot opt source               destination         

        Chain OUTPUT (policy ACCEPT)
        target     prot opt source               destination

        The iptables log file did not contain anything.

        Further, when running Fluent from terminal in the /ansys_inc/v232/fluent/bin/ directory using "./fluent", I get the following result in the terminal:

        /ansys_inc/v232/fluent/fluent23.2.0/bin/fluent -r23.2.0
        /ansys_inc/v232/fluent/fluent23.2.0/bin/fluent -r23.2.0 2ddp -t1 -nm -ssh -license=pro
        /ansys_inc/v232/fluent/fluent23.2.0/cortex/lnamd64/cortex.23.2.0 -f fluent -nm -license=pro (fluent "2ddp -pshmem  -host -alnamd64 -r23.2.0 -t1 -mpi=intel -path/ansys_inc/v232/fluent -ssh")
        libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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)
        libGL error: failed to load driver: crocus
        libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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)
        libGL error: failed to load driver: crocus
        libGL error: 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)
        libGL error: failed to load driver: swrast
        /usr/bin/glxinfo
        libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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)
        libGL error: failed to load driver: crocus
        libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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)
        libGL error: failed to load driver: crocus
        libGL error: 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)
        libGL error: failed to load driver: swrast
        X Error of failed request:  BadValue (integer parameter out of range for operation)
          Major opcode of failed request:  152 (GLX)
          Minor opcode of failed request:  24 (X_GLXCreateNewContext)
          Value in failed request:  0x0
          Serial number of failed request:  80
          Current serial number in output stream:  81

Viewing 1 reply thread
  • The topic ‘Ansys Fluent Cannot Start on Linux Ubuntu’ is closed to new replies.