Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28895 Discussions

ABAQUS - Intel Fortran Compiler - Wrong Link

Sindur
Novice
612 Views

Hi,

I installed intel-fortran-essentials-2025.0.0.301_offline.exe in my PC to be linked with Abaqus 2023.

In abq2023.bat, I included the following first two strings:
@call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" -arch intel64 vs2019
@call "C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env\vars.bat" -arch intel64 vs2019
setlocal
set ABA_DRIVERNAME=%~nx0
"C:\SIMULIA\EstProducts\2023\win_b64\code\bin\SMALauncher.exe" %*
endlocal

I also made some adjustments in the system environment variables, in Abaqus CAE and Abaqus Command batch files as follows:

In the system variables, I added:
C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build
 
In Abaqus CAE batch file, I modified to:
"C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env\vars.bat" -arch intel64 vs2019 & C:\SIMULIA\EstProducts\2023\win_b64\resources\install\cmdDirFeature\launcher.bat cae || pause
 
In Abaqus Command batch file:
"C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env\vars.bat" -arch intel64 vs2019 & C:\Windows\System32\cmd.exe /k
 
In abaqus_v6.env file, I added the two following strings at the end:
compile_fortran += ['/names:lowercase',]
link_sl='LINK /NODEFAULTLIB:LIBCMT.LIB /dll /def:%E /out:%U %F %A %L %B'


However, when I verified with abq2023 info=system command, it shows linking to compiler C++ instead of Fortran as in the following message
 
 
Sindur_2-1732701036828.png

 

I have tried with other Intel Fortran Compiler as well such as 

intel-fortran-compiler-2025.0.1.40_offline.exe

w_BaseKit_p_2024.2.1.101_offline.exe and intel-oneapi-hpc-toolkit-2025.0.0.822_offline.exe

 

And I also tried with Abaqus 2020. 

 

All produced the same results.

 

 
Could somebody help me, please. I am really thankful. 
 
0 Kudos
1 Solution
Ron_Green
Moderator
601 Views

I agree with Steve, you need to talk to Abaqus to learn how they recommend using the Intel Fortran Compiler, ifx, version 2025.0.  

Perhaps they have a way to inform their "launcher.bat" to use 'ifx' instead of 'ifort' for the name of the compiler.  Examine that .bat file to see how it referrs to the compiler.

 

I don't recommend this particularly, but one COULD fool Abaqus by going to folder C:\Program File (x86)\Intel\oneAPI\compiler\latest\bin and copy ifx.exe to ifort.exe.  I really do not recommend this and it may not work.  Ideally Abaqus should have a solution for you.

View solution in original post

4 Replies
Steve_Lionel
Honored Contributor III
606 Views

I don't see that message as indicating anything other than which tools it found on your system. There really isn't a concept of "linking to compiler C++". What I do see is that the Abaqus script wasn't able to find a Fortran compiler, but I don't know how it looks for one. In particular, it needs to use the ifx command rather than ifort. You'll have to figure out how to do that.

Ron_Green
Moderator
602 Views

I agree with Steve, you need to talk to Abaqus to learn how they recommend using the Intel Fortran Compiler, ifx, version 2025.0.  

Perhaps they have a way to inform their "launcher.bat" to use 'ifx' instead of 'ifort' for the name of the compiler.  Examine that .bat file to see how it referrs to the compiler.

 

I don't recommend this particularly, but one COULD fool Abaqus by going to folder C:\Program File (x86)\Intel\oneAPI\compiler\latest\bin and copy ifx.exe to ifort.exe.  I really do not recommend this and it may not work.  Ideally Abaqus should have a solution for you.

Sindur
Novice
337 Views

Ron, you are great. Finally I made it with ABAQUS 2024. Here is what I did:

 

In the system variables, I added:
C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build
 
In Abaqus CAE batch file, I modified to:
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" & "C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env\vars.bat" -arch intel64 vs2019 & C:\SIMULIA\EstProducts\2023\win_b64\resources\install\cmdDirFeature\launcher.bat cae || pause
 
In Abaqus Command batch file:
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" & "C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\env\vars.bat" -arch intel64 vs2019 & C:\Windows\System32\cmd.exe /k
 
In C:\Program Files (x86)\Intel\oneAPI\compiler\2025.0\bin, change all ifx.exe and ifx.cfg to ifort.exe and ifort.cfg
 
Run the Abaqus Command batch file in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Dassault Systemes SIMULIA Established Products 2024
 
In checking with abaqus info=system command, it was properly linked. And, they passed both the abaqus -user_std as well as abaqus-user_exp tests.

 

Thank guys.

 

Sindur
Novice
448 Views

I thank Steve and Ron for their thoughts. I changed the ifx.exe and ifx.cfg to ifort.exe and ifort.cfg. In checking with abq2020 info=system command, it seemed to be properly linked. However, they didn't pass the abq2020 -user_std as well as abq2020 -user_exp. Anyway, I really appreciate your efforts; and, at least now I know that there will be a lot issues due to this change to the other applications that require Intel Fortran Compiler  (Abaqus, ANSYS, etc).

 

Sindur.

0 Kudos
Reply