Skip to content

Issue in the latest 25.2 Fluent image #3926

@mkundu1

Description

@mkundu1

Seeing the following error while running Fluent container in -gu mode (also seen in CI):

mkundu@AAPAomeLhXO1rdt:~/devel/pyfluent$ docker run -it -e "ANSYSLMD_LICENSE_FILE=1055@host.docker.internal" ghcr.io/ansys/pyfluent:v25.2.0 3ddp -gu
Waiting for Xvfb...
/ansys_inc/v252/fluent/fluent25.2.0/bin/fluent -r25.2.0 3ddp -gu
/ansys_inc/v252/fluent/fluent25.2.0/cortex/lnamd64/cortex.25.2.0 -f fluent -gu (fluent "3ddp -pdefault  -host -r25.2.0 -t1 -mpi=intel -path/ansys_inc/v252/fluent -ssh")
Could not initialize GLX
/ansys_inc/v252/fluent/fluent25.2.0/bin/fluent: line 3121:   127 Aborted                 (core dumped) $NO_RUN $CORTEX_PRE $EXE -f $FLUENT_PROD $CX_FLAGS "$CX_FUNCTION"

The issue can be resolved by unsetting the DISPLAY env var defined in Dockerfile (although that adds a 10 sec delay):

mkundu@AAPAomeLhXO1rdt:~/devel/pyfluent$ docker run -it -e "ANSYSLMD_LICENSE_FILE=1055@host.docker.internal" -e "DISPLAY=" ghcr.io/ansys/pyfluent:v25.2.0 3ddp -gu
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Waiting for Xvfb...
Xvfb failed to start within 10 seconds.
/ansys_inc/v252/fluent/fluent25.2.0/bin/fluent -r25.2.0 3ddp -gu
Warning:  DISPLAY environment variable is not set.
 Graphics and GUI will not operate correctly
 without this being set properly.
/ansys_inc/v252/fluent/fluent25.2.0/cortex/lnamd64/cortex.25.2.0 -f fluent -gu (fluent "3ddp -pdefault  -host -r25.2.0 -t1 -mpi=intel -path/ansys_inc/v252/fluent -ssh")
Opening input/output transcript to file "//fluent-20250411-141755-142.trn".
Auto-Transcript Start Time:  14:17:55, 11 Apr 2025 
/ansys_inc/v252/fluent/fluent25.2.0/bin/fluent -r25.2.0 3ddp -pdefault -host -t1 -mpi=intel -path/ansys_inc/v252/fluent -ssh -cx 525da1493f11:42027:36979
Warning:  DISPLAY environment variable is not set.
 Graphics and GUI will not operate correctly
 without this being set properly.
Starting /ansys_inc/v252/fluent/fluent25.2.0/lnamd64/3ddp_host/fluent.25.2.0 host -cx 525da1493f11:42027:36979 "(list (rpsetvar (QUOTE parallel/function) "fluent 3ddp -flux -node -r25.2.0 -t1 -pdefault -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) "/ansys_inc/v252/fluent") (rpsetvar (QUOTE parallel/hostsfile) "") (rpsetvar (QUOTE gpuapp/devices) ""))"
             Welcome to ANSYS Fluent 25.2.0
             Copyright 1987-2025 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: Apr 09 2025 02:20:27 EDT  Build Id: 166  Revision: 6cc0401add  Branch: develop

Messages file /ansys_inc/v252/licensingclient/language/en-us/ansysli_msgs.xml does not exist.
Connected License Server List:  1055@host.docker.internal
*********************************************
Info: Your license enables 4-way parallel execution.
For faster simulations, please start the application with the appropriate parallel options.
*********************************************
Host spawning Node 0 on machine "525da1493f11" (unix).
/ansys_inc/v252/fluent/fluent25.2.0/bin/fluent -r25.2.0 3ddp -flux -node -t1 -pdefault -mpi=intel -ssh -mport 172.17.0.2:172.17.0.2:36733:0
Starting /ansys_inc/v252/fluent/fluent25.2.0/multiport/mpi/lnamd64/intel/bin/mpirun -f /tmp/fluent-appfile..664 -genv I_MPI_FABRICS shm -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 /ansys_inc/v252/fluent/fluent25.2.0/../../commonfiles/CPython/3_10/linx64/Release/python -genv FLUENT_PROD_DIR /ansys_inc/v252/fluent/fluent25.2.0 -genv FLUENT_AFFINITY 0 -genv I_MPI_PIN enable -genv KMP_AFFINITY disabled -n 1 /ansys_inc/v252/fluent/fluent25.2.0/lnamd64/3ddp_node/fluent_mpi.25.2.0 node -mpiw intel -pic shmem -mport 172.17.0.2:172.17.0.2:36733:0
--------------------------------------------------------------------------------
ID    Hostname      Core  O.S.      PID  Vendor                                
--------------------------------------------------------------------------------
n0    525da1493f11  1/24  Linux-64  735  12th Gen Intel(R) Core(TM) i7-12850HX 
host  525da1493f11        Linux-64  333  12th Gen Intel(R) Core(TM) i7-12850HX 
MPI Option Selected: intel
--------------------------------------------------------------------------------
Cleanup script file is //cleanup-fluent-525da1493f11-333.sh
WARNING:
This is a prototype version that has not yet been tested and validated.
ANSYS, Inc. makes no commitment to resolve defects reported against this
prototype version.  However, your feedback will help us improve the overall
quality of the product.
Graphics driver currently in use: null
+------------------------------------------------------------------+
|                    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                            |
|                                                                  |
+------------------------------------------------------------------+
> 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions