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

Questions about Fortran (IFX) Installation on Machine with ifort.

Gabriel_Toro
Einsteiger
400Aufrufe

Dear Fortran Users and Support people,

I am about to update my ~2020 version of Intel Fortran to IFX and I have some questions. I apologize if these topics were covered earlier but I was not able to find all the answers in this forum and the Intel on-line information is not terribly user-friendly.

1. Visual Studio: different Intel web pages contain inconsistent information regarding compatible VS versions. I currently have VS2019 version 16.11.47. Is it better to update to a later 2019? Is it better to update to VS 2022?

2. I remember that one has to install some VS C++ tool or tools prior to installing Fortran. Which tools are these? I guess this is an issue only if I remove VS 2019 and then install 2022. Right? 

3. Can IFX and IFORT coexist in the same machine and the same VS instance? Does this create problems? I would like to have both during a transition period.

4. I assume I should also update VTune and Inspector. Should I delete the old ones first?

Any other suggestions will be appreciated.

Thank you,

 

Gabriel

 

 

 

0 Kudos
6 Antworten
MarcGrodent
Anfänger
305Aufrufe

Point 2: Visual C++ comes with Visual Studio, so I think you don't need to do something special as long as VS is properly installed.

Point 3: Take care that ifort is no more available in Intel oneAPI. So if you upgrade you'll get ifx only!

Point 4: Intel Inspector, Intel VTune Profiler, ... are managed by the oneAPI installers, so again nothing special to do on your side

JohnNichols
Geschätzter Beitragender III
206Aufrufe

You can upgrade and not lose IFORT. 

1. Install the latest VS 2022 either normal or preview. 

2. Using the method I set out in the recent post you use Windows Control Panel to upgrade without losing IFORT. 

If you do a complete clean install then you lose IFORT. 

 

Mentzer__Stuart
Neuer Beitragender I
167Aufrufe

Since IFORT compatibility with VS 2022 releases is no longer checked or maintained I suggest installing VS 2019 for use with IFORT. This avoids a scenario where IFX needs a version of VS 2022 that breaks IFORT compatibility. It has been and probably will continue to be OK to let VS 2019 do 16.11.xx updates without much risk of losing IFORT compatibility.

JohnNichols
Geschätzter Beitragender III
141Aufrufe

You can have all three VS versions installed, and then you use the combination that works for you.  

2019 is 6 years ago.  

Mentzer__Stuart
Neuer Beitragender I
137Aufrufe

Your point is???

I did not say you should remove VS 2022! I said only to install and use VS 2019 for IFORT.

VS 2019 is fine and is still updated, unlike IFORT.

I suggested what I think is the best way to keep using IFORT without interfering with the use of new compilers and VS. I can see that you like to live on the edge and try to run everything with the latest VS. That is fine for you but very bad advice for most of us who want to get work done without ending up in a pickle.

JohnNichols
Geschätzter Beitragender III
81Aufrufe

My point is that you can use all three versions of VS and it is not a bad idea.  You need to have the VS installed to do the integration with Intel Fortran so if you have IFORT installed but no installer - then you are struck on 2019 for IFORT.   It will not update to 2022 and then you run out when 2019 is no longer supported about 2 years is a good guess. 

I offered an opinion, it is your right to use any opinion in any way you see fit.  

I have Intel on 10 machines some that are 10 years old and only use Windows 10, I always check VS updates and OneAPI updates on a latest machine so if I do have a problem I do not update on the other remote machines.  The only long running problem is watch and that has easy work arounds from the 1960's. 

My greatest problem comes from Windows and graphics updates not simple Fortran programs, that have bugs one learns to work around.  

It is also preferable that one does not flame.  

Antworten