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

I have some issues in running the ifortvars intel64 batch script in order to run intel fortran in the command prompt.

Gerli__Cristina
Beginner
920 Views

I have some issues in running the ifortvars intel64 batch script in order to run intel fortran in the command prompt. I have installed the Intel Compiler 2019 update 5, 64, in my computer together with Visual Studio 2019. I have navigated through the prompt command (C:\ Program Files <x86>\IntelSWTools\compilers_and_libraries_2019.5.281\windows\bin) and run the ifortvars intel 64, and an error comes out "Visual Studio 2013, 2015, 2017 or 2019 is not found in the system ". 

 

Do you know what could be the issue?

Thanks for the help.

Cristina

0 Kudos
4 Replies
MWind2
New Contributor III
920 Views

Did you install fortran before vs2019? The ifortvars.bat 

echo        vs2019      : Set to use Microsoft Visual Studio* 2019
echo    If ^<vs^> is not specified, the version of Visual Studio* detected at install 

would seem to suggest the versions of Visual Studio are detected at install, and I would not count on a rescan of versions being done if an previously unfound installation were specified. I don't have this problem because my vs2019 was detected in an Intel Fortran update and integration was selected with vs2019 during install. That may or not be the same as versions detected at install, but I would think it would be.

It might be worth looking at choosing modify installation of fortran, changing nothing, and selecting customize to see the vs integrations are as desired.

0 Kudos
Gerli__Cristina
Beginner
920 Views

Hi mwindham, thanks for replying. 

I have installed the fortran before vs2019 yes. I have now unistalled and reinstalled it, but a lot of warning come out, like if it would't be able to see vstudio 2019. I copy paste the messages here below. Do you know what could be the problem?

Thanks again, and regards

Cristina

 

"Warning are detected. However they will not block the installation. You can continue with the installation.

Intel® C++ Compiler will not work because none of the supported environments is found on your computer

Intel® C++ Compiler requires that Microsoft Visual Studio* / Microsoft Visual Studio Express Edition* 2013, 2015, 2017, or 2019, or Microsoft Visual Studio Build Tools* 2017, 2019 should be already installed and none was found on your computer.

 

If you select 'Next', Intel® C++ Compiler will be installed but will not work.

 

Please refer to the Release Notes (https://software.intel.com/en-us/articles/intel-c-compiler-190-release-notes) for details.

 

Intel® Visual Fortran Compiler will not work because none of the supported environments is found on your computer

Intel® Visual Fortran Compiler requires that Microsoft Visual Studio* / Microsoft Visual Studio Express Edition* 2013, 2015, 2017, or 2019, or Microsoft Windows SDK* for Windows* 8.1, 10.0 should be already installed and none was found on your computer.

 

You can install a Fortran Integrated Development Environment (IDE) based on Microsoft Visual Studio 2015 Shell*. However, it requires that the Microsoft Windows SDK* for Windows* 10.0 should already be installed and it is not found on your system.

 

Visit Install Windows SDK for VS2015 Shell (https://software.intel.com/en-us/vs2015shell-windowssdk) for detailed instructions. After the SDK is installed, restart the Intel® Parallel Studio XE installation.

 

If you select 'Next', Intel® Visual Fortran Compiler will be installed but will not work.

 

Please refer to the Release Notes (https://software.intel.com/en-us/articles/intel-fortran-compiler-190-release-notes) for details.

 

The Integration(s) in Microsoft Visual Studio* components cannot be installed.

Installation can continue; however, Integration(s) in Microsoft Visual Studio* components will not be installed because they require that Microsoft Visual Studio* 2013, 2015, 2017 or 2019 be installed. Refer to the Release Notes for more details.

 

Microsoft Visual Studio Shell* deprecation

Microsoft* has announced the stand-alone Microsoft Visual Studio Shell* will not be available for Visual Studio 2017. As such, we are no longer providing a standalone shell.

An integrated shell is available as part of the full Microsoft Visual Studio bundle. Please refer to https://visualstudio.microsoft.com/vs/ for further information on the Microsoft Visual Studio product offerings. For any questions or requests please contact us at https://software.intel.com/en-us/support.

 

Microsoft Visual Studio* 2019 does not have "Desktop development with C++" components installed.

Installation can continue; however, Intel® C++ Compiler and Intel® Visual Fortran Compiler will not build using Microsoft Visual Studio* 2019. "

 

0 Kudos
mecej4
Honored Contributor III
920 Views

Whenever you try to use a version of Visual Studio that is newer than the version that was current when your version of Intel Fortran was released, you are likely to encounter problems.

Sometimes, the warnings may be ignored because things work fine -- the Intel installer simply does not know about the quirks of a VS version that was not yet born when the installer was created.

At other times, the mismatch is so bad that you have to uninstall both products, reinstall a compatible, older, version of VS, and then reinstall Intel Fortran.

Similar problems occur with OSX, Linux, etc., as well.

0 Kudos
MWind2
New Contributor III
920 Views

Can you build a console or windows exe c++ file in vs2019 in the ide? Do you have older installs of things that might interfere with paths to things, perhaps like https://software.intel.com/comment/1945363. I would repair  vs2019, make sure I could build c++ files from ide and a 'Hello World' from one of the command line builds available in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools\VC. I have professional so I don't know about other types of vs2019. Once sure of my VS2019 install, then install the fortran(Ithink a repair worked for me after finding cause). From https://software.intel.com/en-us/articles/intel-visual-fortran-compiler-190-for-windows-release-notes-for-intel-parallel-studio-xe-2019 , it would seem 2019 and above should support vs2019.

0 Kudos
Reply