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

Switching from oneAPI 2024.1 ifort to ifx in VS2022

JKrob1
Beginner
1,693 Views

All,

 

Been running oneAPI ifort under VS2022 for a while & with the latest oneAPI 2024.1, got the notice of ifort going away & the recommendation to switch over to ifx...OK.

 

I thought, from within VS2022, the switch from ifort to ifx should be fairly simple... right-click on the IFORT Solution>Intel Compiler> and the choice should be listed to choose. However, within the 'Intel Compiler' is only:

Guided Auto Parallelism

Code Coverage...

Profile Guided Optimization...

 

What needs to be done to get the ifx selection option visible?

Windows 10 Pro

22H2

19045.4412

VS2022 (64-bit) 17.9.7

Intel oneAPI Base Toolkit 2024.1

Intel HPC Toolkit 2024.1

 

Thanks in advance,

Jeff

 

0 Kudos
4 Replies
Devorah_H_Intel
Moderator
1,656 Views

Make sure you are using a 64-bit build configuration.  Check this article for details

0 Kudos
JKrob1
Beginner
1,492 Views

Thanks...but that is the problem - it's not listed as an option to switch to.

Within the Configuration Manager, the only things listed are:

Win32

<New...>

<Edit...>

 

Now, when I create a project from scratch, it defaults to x64 & IFORT is available to switch to but why is that option not available for a preexisting project?

0 Kudos
Devorah_H_Intel
Moderator
1,459 Views

With preexisting project - in x64 configuration there is an option to switch compilers between ifx and ifort. Right-click on the project and select Compiler

selectIFXcompiler (1).png

0 Kudos
Steve_Lionel
Honored Contributor III
1,459 Views

It is available in old projects, but only if you have selected an x64 configuration, if it exists. Really old projects won't have one by default, so you'll have to add one in the Configuration Manager.

0 Kudos
Reply