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

Fortran Compiler Output not shown in Output Window

Marcus-Koizar
Beginner
532 Views

The FORTRAN compiler results (warnings and errors) are no longer displayed in the output window of Visual Studio 2022, but are only visible in the BuildLog.html.

 

Maybe I have missed an option or setting here. Any help is appreciated.

 

Kind regards

Marcus Koizar

 

Configuration

Microsoft Visual Studio Professional 2022 (64-bit) Version 17.4.2

Intel Fortran Compiler - w_oneAPI_2022.2.0.9540

 

VS2022 Output Window

1>------ Build started: Project: Test (IFORT), Configuration: Debug x64 ------
1>Compiling with Intel® Fortran Compiler Classic 2021.7.0 [Intel(R) 64]...
1>Test.f90
1>
1>Build log written to "file://D:\Dev\Source\...\BuildLog.htm"
1>Test - 0 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 00:00,701 ==========

 

BuildLog.html

Compiling with Intel® Fortran Compiler Classic 2021.7.0 [Intel(R) 64]...
ifort /nologo /debug:full /MP /Od /heap-arrays0 /fpp /I"C:\Program Files (x86)\Intel\oneAPI\compiler\2022.2.0\windows\..\..\..\mkl\latest\include\Intel64\lp64" /Dmarcus /D_DEBUG /free /noaltparam /Qdiag-error-limit:3000 /Qdiag-disable:8753 /debug-parameters:used /warn:unused /warn:truncated_source /warn:uncalled /warn:nousage /warn:interfaces /real-size:64 /assume:byterecl /fpe:0 /fpconstant /iface:mixed_str_len_arg /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc170.pdb" /traceback /check:pointer /check:bounds /check:uninit /check:format /check:arg_temp_created /libs:dll /threads /dbglibs /Qmkl:parallel /c /Qlocation,link,"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64" /Qm64 "D:\Dev\Source\Test.f90"
"D:\Dev\Source\Test.f90"(440): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE PURE RECURSIVE FUNCTION ...
if(NEPOL > 0 .and. NEPOL > NEIN)
---------------------------------------------^
"D:\Dev\Source\Test.F90"(444): error #6317: An ENDIF occurred without a corresponding IF THEN or ELSE statement.
end if
------------^
"D:\Dev\Source\Test.F90"(445): error #6607: An END SELECT statement exists without an associated SELECT CASE statement.
end select
----------^
"D:\Dev\Source\Test.F90"(447): error #6609: A case-selector exists without a preceding SELECT CASE statement.
case(1) !Ref. Machine (NMPOL)
--------^
"D:\Dev\Source\Test.F90"(297): error #5508: Declaration of routine 'POLWIN' conflicts with a previous declaration
Subroutine POLWIN(NSYN_A,NSYN_E,NPART)
-----------^
ifort: error #10298: problem during post processing of parallel object compilation
compilation aborted for "D:\Dev\Source\Test.F90" (code 1)

 

 

Labels (1)
0 Kudos
1 Reply
JohnNichols
Valued Contributor III
497 Views

17.4.2 has problems with Fortran, if you are lucky you can roll back to 17.3.6 which does not have problems. Use the installer and modify button to rollback.  

Otherwise us 2019 until IFORT catches up to the VS 

0 Kudos
Reply