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

ABAQUS - Intel Fortran Compiler - Wrong Link

Sindur
Novice
7,159 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
7,148 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

9 Replies
Steve_Lionel
Honored Contributor III
7,153 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
7,149 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
6,884 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
6,995 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
Muzafar
Beginner
6,147 Views

Hello Sindur,
Were you able to resolve the verification issue?

I am also stuck with the same situation.

 

Muzafar

0 Kudos
Sindur
Novice
6,120 Views

Yes of course; perhaps I am just lucky. What is your problem exactly?

0 Kudos
Muzafar
Beginner
6,096 Views

Thanks for your reply, Sindur!

I followed the same steps as you mentioned in the posts above. However, for my case also, checking with abaqus verify=user, it shows that Fortran 2025 compiler is linked, but it fails abaqus verify -user_std. I am unable to resolve this issue.
It would be good if you please let me know how you managed to solve this issue.
Thankyou!

 

Muzafar.

0 Kudos
Sindur
Novice
5,993 Views

If you have followed the steps in my message as of this date 11-29-2024 04:35 PM, and the problem persists, I don't know how to fix it. Thank you.

0 Kudos
steinigo
Novice
3,561 Views

I posted a solution. You have to change the win86 configuration for for Fortran compiler. Then it should work.

 

Edit: you should try to run a file, because this Abaqus info=system is looking for an old Fortran compiler, but we would like to use the ifx compiler (normally). If you compile a file, then you will see, that it is using the newest (2024 version) that is currently working, that I know.

https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Abaqus-2025-with-VS-2022-and-OneAPI-2025-Fortran/m-p/1702177/thread-id/176252

0 Kudos
Reply