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:
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
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.
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.
連結已複製
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.
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.
Ron, you are great. Finally I made it with ABAQUS 2024. Here is what I did:
"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
"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
Thank guys.
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.
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.
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.
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
