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

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

Bo_W_
初學者
1,059 檢視

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 積分
6 回應
Steven_L_Intel1
1,059 檢視

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?

Bo_W_
初學者
1,059 檢視

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>

 

Bo_W_
初學者
1,059 檢視

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>

TimP
榮譽貢獻者 III
1,059 檢視
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".
Steven_L_Intel1
1,059 檢視

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"

TimP
榮譽貢獻者 III
1,059 檢視

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

回覆