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

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

Bo_W_
Beginner
1,055 Views

I have installed VS2010 and IVF 13.1. In VS everything is OK. But the Command Prompt doesn't work, both 32-bit and 64-bit. I tried to use "ifortvars.bat" to set the environment, but it still does not work. And I have reinstall the VS2010 and IVF for many times. The problem can not be solved still. Please someone to help me.

0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,055 Views

Please show the output from the command prompt window where you invoke ifortvars.bat and the attempt to link. Did you try the command prompt shortcut found under Intel Parallel Studio XE 2013 in the Start menu?

0 Kudos
Bo_W_
Beginner
1,055 Views

Steve, the output from the command prompt window is as follow:

C:\Program Files (x86)\Intel\Composer XE 2013\bin>ifortvars.bat ia32_intel64 vs2
010

Setting environment for IMSL Fortran Library - Intel(R) 64
ERROR: Visual Studio 2010 is not found in the system.

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

Yes, I really try the command prompt shortcut found under Intel Parallel Studio XE 2013 in the Start menu.

 

C:\ftest>ifort test.f90
Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 1
3.1.0.149 Build 20130118
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

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

C:\ftest>

 

0 Kudos
Bo_W_
Beginner
1,055 Views

Steve Lionel (Intel) wrote:

Please show the output from the command prompt window where you invoke ifortvars.bat and the attempt to link. Did you try the command prompt shortcut found under Intel Parallel Studio XE 2013 in the Start menu?

 

Steve, the output from the command prompt window is as follow:

C:\Program Files (x86)\Intel\Composer XE 2013\bin>ifortvars.bat ia32_intel64 vs2

010

Setting environment for IMSL Fortran Library - Intel(R) 64

ERROR: Visual Studio 2010 is not found in the system.

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

Yes, I really try the command prompt shortcut found under Intel Parallel Studio XE 2013 in the Start menu.

 

C:\ftest>ifort test.f90

Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 1

3.1.0.149 Build 20130118

Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

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

C:\ftest>

0 Kudos
TimP
Honored Contributor III
1,055 Views
Your specification of vs2010 requires a full vs2010 pro installation prior to installing ifort. If you selected 2010 shell which installs with ifort it should be found without "vs2010".
0 Kudos
Steven_L_Intel1
Employee
1,055 Views

Tim, I don't think that's the problem. He says he can use the compiler from Visual Studio.

From a command prompt window, please type the following commands and show me the output:

set vs
dir "%VS100COMNTOOLS%..\IDE\devenv.exe" 
dir "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat"

0 Kudos
TimP
Honored Contributor III
1,055 Views

In a private reply he said his VS2010 Pro setup used to work in this manner but somehow it seems the configuration has broken.

0 Kudos
Reply