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

Installing VS and Intel fortran

GWats1
New Contributor I
633 Views

I used to have VS22 and Intel Fortran installed but had to reimage my PC and lost everything. I'm trying to get the best new stuff installed. I have D/L the VS2026 and was not sure what to pick to edit and compile my old Fortran programs. I have D/L the following files:

intel-fortran-compiler-2025.3.3.16.exe
intel-oneapi-hpc-toolkit-2025.3.1.54.exe
intel-oneapi-base-toolkit-2025.3.2.20.exe
VisualStudioSetup_2026.exe
intel-oneapi-hpc-toolkit-2025.1.1.38_offline.exe

I'm wondering which of the above and what order to install them. I think I got VS22 installed and working. 

Thanks 

0 Kudos
1 Solution
nathn34
New Contributor I
543 Views

Hey, yeah I’ve been through this exact mess after a system reset losing the whole Fortran + VS setup is painful.

From what you’re saying, you basically just want your old Fortran projects compiling again inside Visual Studio, right?

What worked for me was keeping it simple:

First install Visual Studio (looks like you already did )

Then install oneAPI Base Toolkit + HPC Toolkit (no need to run that separate intel-fortran exe if you use HPC toolkit, it already includes it)

Make sure during install you enable the VS integration option

I once installed things in random order and VS didn’t detect the compiler at all… had to redo everything.

Not sure if it helps but I just stick to Base + HPC combo now, less headache.

 

After install, does your VS show Intel Fortran project templates or still missing?

View solution in original post

7 Replies
Steve_Lionel
Honored Contributor III
631 Views

For Visual Studio, follow the instructions here. (Intel removed the page, but available through the Internet Archive.)

For Fortran, you need only the first installer you listed. If you need other Intel oneAPI components, the third and then second installer would be the ones to use.

GWats1
New Contributor I
626 Views

Thanks Dr Fortran      

I'll try to muddle through. I seem to remember something about iFort and IFX in the discussion I had when I was getting VS22 running and trying to compile some old Fortran projects.

I'm going to retire this summer and probably have to play with Fortran on my old home PC.

0 Kudos
Steve_Lionel
Honored Contributor III
622 Views

ifx is the replacement for ifort, which is no longer offered. It creates 64-bit executables only.

0 Kudos
GWats1
New Contributor I
621 Views

I think I am on the path. I installed the 2025.3.3.16 and opened VS2026 and opened an old project and it told me I had selected Win32 and I needed to install something. I vaguely remembered that the IFX compiler was 64 bits only, so I did the config manager and created/selected an x64. I built the solution.

 

BTW, how do you select a light background in VS2026? I was used to how VS22 was with the light background.  

witwald
New Contributor II
612 Views

Regarding selecting the light background in VS2026...click on Tools --> Theme from the main menu. You should see a few options at that point: "Blue", "Blue (Extra Contrast)", "Dark", "Light", "Use system setting", and "Get More Themes". At least that's what I see when using VS2022. Hope that helps.

nathn34
New Contributor I
544 Views

Hey, yeah I’ve been through this exact mess after a system reset losing the whole Fortran + VS setup is painful.

From what you’re saying, you basically just want your old Fortran projects compiling again inside Visual Studio, right?

What worked for me was keeping it simple:

First install Visual Studio (looks like you already did )

Then install oneAPI Base Toolkit + HPC Toolkit (no need to run that separate intel-fortran exe if you use HPC toolkit, it already includes it)

Make sure during install you enable the VS integration option

I once installed things in random order and VS didn’t detect the compiler at all… had to redo everything.

Not sure if it helps but I just stick to Base + HPC combo now, less headache.

 

After install, does your VS show Intel Fortran project templates or still missing?

GWats1
New Contributor I
518 Views

Sorry for the late reply, I must not have subscribed to this post somehow. (I thought it was automatic) I asked Google about the background and was able to get it to a lighter setting. I think I am up and running now and need to open up an old project to try it out. Since I was reloading several software packages, I am behind and compiling old Fortran that still works is down the list a long way.

 

I'm very old school and my Fortran skills are stuck back in the 1960's when I learned Fortran IV. I do like to write code to solve engineering problems, but my documentation skills are very bad. I rarely share my code with others and need to learn more about how to debug code when someone reports a problem.

0 Kudos
Reply