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

ifort: error #10037: could not find 'link'

awa5114
Beginner
3,364 Views

I have recently acquired a copy of Microsoft Visual Studio 2012 and Intel Parallel Studio Visual Fortran Compiler XE 2013.

When I attempt to run a simple Fortran Program through the command prompt, I get the following error message

ifort: error #10037: Could not find 'link'

I don't really think this is an installation issue. This was how my installation procedure went:

1) Install Intel Parallel Studio XE 2013

2) Install Microsoft Visual Studio 2012

3) Uninstall Intel Parallel Studio XE 2013

4)Re-install Intel Parallel Studio XE 2013

The reason for steps 3) and 4) was that I could not see Fortran project types in Visual Studio after step 2). Steps 3) and 4) fixed this.

I would much rather fix this without having to install, uninstall or repair any of the above software. Thanks.

 

 

 

0 Kudos
22 Replies
awa5114
Beginner
532 Views

@Steve

I think it worked. Here's what I did:

1) Uninstalled Visual Studio 2012

2) Uninstalled Intel Visual Fortran

3) Deleted the Microsoft Visual Studio 11.0 folder from Program Files (86)

4) Reinstalled Intel Visual Fortran.

I am now running under Microsoft Visual Studio 2010. I cannot open solutions from later versions however I can open the project of interest. Therefore I will go with this for now. Compiling a simple source file from the command prompt gave the following:

Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
Intel(R) Composer XE 2013 Update 1 (package 119)
Setting environment for using Microsoft Visual Studio Shell 2010 x64 tools.


C:\Program Files (x86)\Intel\Composer XE 2013>D:

D:\>cd TEMP\FortranTest

D:\TEMP\FortranTest>ifort HELLO.f
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 13.0.1.119 Build 20121008
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.

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

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

D:\TEMP\FortranTest>HELLO
 Hello World

Thanks for your help and I will update this thread if I face further problems, but I am content with this for now.

 

 

 

 

0 Kudos
Steve_Lionel
Honored Contributor III
532 Views

Very good. You can now install VS2012, rerun the Intel Visual Fortran install and it will ask you if you want to add VS2012 integration. Even if that doesn't work, you can still use VS2010.

0 Kudos
Reply