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

Switch from IFORT to IFX

Jing1
Novice
383 Views

Our FORTRAN projects can be built successfully in VS 2022 with IFORT compiler.

After switched to IFX(no code changes), got two kinds of link errors for some functions/subroutines:

- undefined symbol

- duplicate symbol

 

What FORTRAN project properties need to be set/modify to solve these errors?

Thanks.

 

 

0 Kudos
5 Replies
Steve_Lionel
Honored Contributor III
330 Views

You should not need to adjust anything. Please show the actual errors. Better is if you ZIP the buildlog.htm and attach the zip here. Best is if you zip the entire project and attach it.

0 Kudos
Jing1
Novice
235 Views

Thanks, Steve.

It's not allowed to attach the code here.

 

 

0 Kudos
JohnNichols
Valued Contributor III
328 Views

What is the symbol name and can you provide a simple example.  

Are you using implicit none? 

0 Kudos
Jing1
Novice
235 Views

Thanks, John.

The errors were thrown out of 2 big FORTRAN projects. Project 1 depends on project 2.

Yes, we are using "implicit none".

What's the issue to use it with IFX compiler?

 

 

0 Kudos
Steve_Lionel
Honored Contributor III
231 Views

There is no issue using IMPLICIT NONE with IFX.

Please construct a minimal example that demonstrates the problem. Otherwise, everyone's time is being wasted.

Reply