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

VS2017 and IVF 17.0.4.210 Can't compile from Visual Studio

Svein-Atle_Engeseth
212 Views

Hi,
I have just installed VS2017 and IVF version 17 on a Windows 10 machine.
When I try to build a Fortran project nothing happens. Same if I try rebuild.
Building a C++ project works.
Running ifort from the command line works.
Previously I used VS2015 with the same compiler without problems.

Build Log
 	 	
 Build started: Project: ABCD, Configuration: Debug|x64 

Output
 	 	
Deleting intermediate files and output files for project 'ABCD', configuration 'Debug|x64'.

ABCD - 0 error(s), 0 warning(s)


 

      PROGRAM ABCDPGM
      IMPLICIT NONE
      PRINT*, "HALLO"
      END PROGRAM ABCDPGM
From the command line:

Intel(R) MPI Library 2017 Update 3 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright (C) 2007-2017 Intel Corporation. All rights reserved.

Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
Intel(R) Compiler 17.0 Update 4 (package 210)

**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0.26430.16
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\F90\DT>ifort ..\pgm\abcdpgm.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.4.210 Build 20170411
Copyright (C) 1985-2017 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.10.25019.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:abcdpgm.exe
-subsystem:console
abcdpgm.obj

C:\F90\DT>abcdpgm
 HALLO

C:\F90\DT>

Any suggestions as to what is wrong?

Regards,
Svein-Atle Engeseth

 

 


 

0 Kudos
2 Replies
Steve_Lionel
Black Belt Retired Employee
212 Views
Svein-Atle_Engeseth
212 Views

Hi Steve,
Thank you, that did the trick.
Svein-Atle

Reply