Intel® Desktop Boards
Peer-to-peer support only
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
11449 Discussions

obtaining an executable fortran file within visual studio 2019

New Contributor I

I am new to VS 2019 . (Had older version)

I have recently installed (on Windows 10 pro..)
1) VS 2019 - community
2) compiler - intel oneAPI base toolkit
3) parallel processing - intel oneAPI hpc toolkit

In command prompt (intel oneapi, x64) I compiled
a simple FORTRAN program "ifort test1.f",
obtained and ran test1.exe successfully.

After a lot of time on the web for help,
I still cannot do the same within VS 2019.
That is .... getting an executable file...

Here is a recent detailed approach...
* launched VS (continue without code)
* file>new>fortran project from existing code...
* file>open>file ...test1.f
* build> configuration manager ... (debug, x64)
* build> build solution (0 errors, 0 warnings - only get BuildLog.htm)

Also tried...
* launched VS (create new project)
* >'all languages' to 'fortran'
* >'all project types' to 'console'
* > selected 'empty project'...'next'
* project name (console1)...location e:\IVS test)... create
* project>add existing items from folder...chose 'test1.f'
* build>build solution
in Output I get...

Build started...
1>------ Build started: Project: Console1, Configuration: Debug Win32 ------
1>Compiling with Intel® Fortran Compiler Classic 2021.2.0 [IA-32]...
1>Embedding manifest...
1>Build log written to "file://E:\IVS%20test\Console1\Debug\BuildLog.htm"
1>Console1 - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

How can I get 'test1.exe' within VS? What am I missing?


0 Kudos
0 Replies