Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Fortran & C compilers

fort
Beginner
889 Views

I'm porting a Fortran application to Windows 10.

I installed ifort 2022.0.0

The fortran routines compiled  (apparently) with warnings, but no errors.

Oops, the application has some C routines!

Installed C compiler 2022.0.3

The C routines compiled (apparently) without trouble.

Linking is done with ifort command, but now ifort is not recognized as a command in the Intel oneAPI command prompt.

I've searched for *vars.bat, but haven't found one that resets the environment so I can compile with ifort.

 

Thanks,

 

Please tell me which Location to Select, if this is not the best.

0 Kudos
1 Solution
Ron_Green
Moderator
631 Views

Oh wait

 

You cannot have Fortran at one version, 2022.0.0 and Intel C/C++ at another version 2022.0.3

There is a common link 'latest' that is used to point to the current COMPILERS (plural) version (singular).

SO if you installed C/C++ from a oneAPI 2022.1.3 package, you need the matching Fortran from a oneAPI 2022.1.3 package.

Else ifort 2022.0.0 will not be found - the 'latest' link got set to 2022.0.3 by the C/C++ installation.

View solution in original post

7 Replies
Alberto_R_Intel
Moderator
815 Views

fort, Thank you for posting in the Intel® Communities Support.


In reference to this scenario, just to let you know, I just moved your thread to the proper department so they can further assist you on this matter as soon as possible.


Regards,

Albert R.


Intel Customer Support Technician



Steve_Lionel
Black Belt Retired Employee
803 Views

C:\Program Files (x86)\Intel\oneAPI\setvars.bat

 

Soumya_M_Intel
Moderator
651 Views

Hi fort,


Please let us know if there are any further issues. Do let us know if your concern persists even with the path provided by Steve_Lionel on the thread.


Regards,

Soumya


Ron_Green
Moderator
632 Views

Oh wait

 

You cannot have Fortran at one version, 2022.0.0 and Intel C/C++ at another version 2022.0.3

There is a common link 'latest' that is used to point to the current COMPILERS (plural) version (singular).

SO if you installed C/C++ from a oneAPI 2022.1.3 package, you need the matching Fortran from a oneAPI 2022.1.3 package.

Else ifort 2022.0.0 will not be found - the 'latest' link got set to 2022.0.3 by the C/C++ installation.

Soumya_M_Intel
Moderator
562 Views

Hi fort,


Please let us know if there are any further concerns.


Regards,

Soumya


Soumya_M_Intel
Moderator
534 Views

Hi fort,


We understand that you might be looking into the issue. However, this is to update you that we have not heard from you on our previous responses. Please reply within the next 24 business hours to keep this thread active.

 

Regards,

Soumya


Soumya_M_Intel
Moderator
511 Views

Hi fort,


Since our internal team has responded back with the answer, we are closing this thread. However, if you need any additional information, please feel free to post a new question as this thread will no longer be monitored by Intel®. 


Have a wonderful day ahead!


Regards,

Soumya


Reply