-
-
April 3, 2023 at 11:48 pm
ISAR CHARMCHI
SubscriberHi,
What is the recommended fortran compiler for ANSYS CFX 221 and 222. I am using Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on IA-32, Version 2021.8.0. I am trying to run tutorial 19 to get figure out the copiler but When I want to compile and create shared library I get the below error:
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\bin\intel64\ifort -iface:cvf -MD -check:uninit -warn:declarations -Qdiag-error:6717 -O2 -Qfp-speculation:safe -fp:precise -fp:source -Qimf-arch-consistency:true -Qno-opt-dynamic-align -fpe:0 -align:dcommons,sequence -real_size:32 -integer_size:32 -fpp -include:"C:\Program Files\ANSYS Inc\v222\CFX\include" -object:winnt-amd64\TStat_Control.o -c TStat_Control.F
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on IA-32, Version 2021.8.0 Build 20221119_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.ifort: command line warning #10212: /fp:precise evaluates in source precision with Fortran.
ifort: command line warning #10434: option '/real_size' use with underscore is deprecated; use '/real-size' instead
ifort: command line warning #10434: option '/integer_size' use with underscore is deprecated; use '/integer-size' instead
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\bin\intel64\ifort -threads -dll -exe:.\winnt-amd64\TStat_Control.dll winnt-amd64\TStat_Control.o C:\Program Files\ANSYS Inc\v222\CFX\lib\winnt-amd64\solver-mpi.lib
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on IA-32, Version 2021.8.0 Build 20221119_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.ifort: command line warning #10161: unrecognized source type 'winnt-amd64\TStat_Control.o'; object file assumed
Microsoft (R) Incremental Linker Version 14.29.30136.0
Copyright (C) Microsoft Corporation. All rights reserved.-out:.\winnt-amd64\TStat_Control.dll
-dll
-implib:.\winnt-amd64\TStat_Control.lib
winnt-amd64\TStat_Control.o
"C:\Program Files\ANSYS Inc\v222\CFX\lib\winnt-amd64\solver-mpi.lib"
Creating library .\winnt-amd64\TStat_Control.lib and object .\winnt-amd64\TStat_Control.exp
TStat_Control.o : error LNK2019: unresolved external symbol _SET_A_0@8 referenced in function _AC_ON
C:\Program Files\ANSYS Inc\v222\CFX\lib\winnt-amd64\solver-mpi.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86'
.\winnt-amd64\TStat_Control.dll : fatal error LNK1120: 1 unresolved externals
An error has occurred in cfx5mkext:C:\Program Files
(x86)\Intel\oneAPI\compiler\latest\windows\bin\intel64\ifort exited with
return code 96. -
April 4, 2023 at 7:12 am
Amine Ben Hadj Ali
Ansys EmployeePlease Check this Help WebSite after you select the release you are now using: 2.2. Compiler Requirements for Windows Systems (ansys.com).
-
April 17, 2023 at 11:10 pm
ISAR CHARMCHI
SubscriberI checked the link and IBM website basically there is no way to have the compatible fortran compiler with CFX as the version that CFX is based on is not available to download anymore. Do you have any solution to this problem?
-
November 14, 2023 at 3:16 am
Diego Pena
SubscriberYou should edit the cfx5mkext.ccl, use /integer-size instead of integer_size. Change the _ by -
-
- The topic ‘Fortran compiler’ is closed to new replies.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3872
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.