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

Moving from ifort 2021.13.1 to ifx 2024.2.1

MattHouston
New Contributor I
376 Views

I used to compile old Fortran code

ifort -c -fpp /O3 /fast toto.f90
ifort -c -fpp /O3 /fast tata.f90
ifort -c -fpp /O3 /fast tutu.f90
ifort  -o final.dll toto.obj tata.obj tutu.obj

and it worked. (final.dll was used and results were validated etc.)

Would I replace ifort with ifx (as the support for ifort will stop soon) the three first commands work and the fourth lead to :

-out:final.dll
-dll
-implib:final.lib
toto.obj
tata.obj
tutu.obj
toto.obj : fatal error LNK1107: invalid or corrupt file: cannot read at 0xA2378

I have no idea what happens, the three fortran files are antidiluvean, I did not write them but wrote code using the final.dll. What should I investigate first ?

Labels (2)
0 Kudos
0 Replies
Reply