Intel V12 and Win7SDK 64bit incompatible

Intel V12 and Win7SDK 64bit incompatible

I'm having some problems with windows 64Bit machines XP & Win7

I have Intel Fortran 2011 Update 11 (V12) installed and works using PSCAD

But if I installed Win7SDK for use with Matlab 2012b then the fortran compiler stops working.

Even after uninstalling the Win7SDK the compiler wont work.

Any Ideas?

Thanks, Gavin

22 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

What does "won't work" mean?  What goes wrong?  Please give the exact error message.

Steve - Intel Developer Support

This is the error log from PSCAD when trying to compile an example.
The example works before Win7SDK is installed but give these errors afterward.
I have tried un-installing, re-installing, checking the PATH but nothing helps.

Icon     Component     Instance           Description      Namespace                              One or more Fortran compiler checks and/or warning options are enabled in the project settings. It is recommended that these options be used during debugging only, as their use can result in a reduction of compile and/or simulation speed.   fixedload                                 Generating network and source code 'C:Files (x86).if12.f'.   fixedload                                 Generating 'C:Files (x86).if12.map'.          fixedload                                 Time for Compile: 188ms  Make: 0ms            fixedload                                    Will execute: call C:Files (x86)XE 2011 SP1.bat  ia32          fixedload                                 Will execute: nmake -f fixedload.mak       fixedload                                 Will execute: C:~2~1~1.IF1\FIXEDL~1.BAT            fixedload                                 Creating EMTDC executable...          fixedload                                 C:Files (x86).if12>call C:~2~1~1.BAT  ia32             fixedload                                 Intel Parallel Studio XE 2011 SP1            fixedload                                 Copyright (C) 1985-2012 Intel Corporation. All rights reserved.      fixedload                                    Intel Composer XE 2011 Update 11 (package 344)  fixedload                                 Setting environment for using Microsoft Visual Studio 2010 x86 tools.       fixedload                                 Microsoft (R) Program Maintenance Utility Version 10.00.30319.01          fixedload                                 Copyright (C) Microsoft Corporation.  All rights reserved.       fixedload                                 Compiling generated source 'Station.f' into object code.     fixedload                                 Compiling generated source 'Main.f' into object code.          fixedload                                    Linking object code and libraries into binary 'fixedload.exe' fixedload                                 LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol __imp__HeapSetInformation@16 referenced in function ___tmainCRTStartup fixedload                                 LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4 fixedload                                 LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4            fixedload                                 LIBCMT.lib(_libm_error_.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4    fixedload                                 LIBCMT.lib(purevirt.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4  fixedload                                 LIBCMT.lib(inputs.obj) : error LNK2019: unresolved external symbol __imp__DecodePointer@4 referenced in function __input_s_l     fixedload                                    LIBCMT.lib(outputs.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4    fixedload                                 LIBCMT.lib(outputp.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4  fixedload                                 LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4 fixedload                                 LIBCMT.lib(onexit.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4            fixedload                                 LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4    fixedload                                 LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4  fixedload                                 LIBCMT.lib(input.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4        fixedload                                 LIBCMT.lib(output.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4     fixedload                                 LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4            fixedload                                 LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4    fixedload                                 LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4  fixedload                                 LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4 fixedload                                 LIBCMT.lib(_libm_error_.obj) : error LNK2019: unresolved external symbol __imp__EncodePointer@4 referenced in function ___libm_error_support           fixedload                                 LIBCMT.lib(purevirt.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4 fixedload                                 LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4            fixedload                                 LIBCMT.lib(cmiscdat.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4     fixedload                                 LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4  fixedload                                 LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4 fixedload                                 LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4            fixedload                                 LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4     fixedload                                 LIBCMT.lib(onexit.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4  fixedload                                 LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4 fixedload                                 LIBCMT.lib(expand.obj) : error LNK2019: unresolved external symbol __imp__HeapQueryInformation@20 referenced in function __is_LFH_enabled     fixedload                                 fixedload.exe : fatal error LNK1120: 4 unresolved externals   fixedload                                 NMAKE : fatal error U1077: '"C:Files (x86)Visual Studio 10.0.exe"' : return code '0x460'           fixedload                                 Stop.    fixedload                                 Unable to generate a simulation executable for namespace 'fixedload'  fixedload                                 Make failed to generate a simulation executable for namespace 'fixedload'. Binary file was not found.           fixedload                                 ======== Build: 33 errors, 1 warnings ========  fixedload                                 Solve Time = 47ms            fixedload_

 

Thanks for the log. This has nothing to do with the compiler. Rather, there are some references to Windows API routines that are not resolving.  But these are defined in kernel32.lib, which EVERYONE uses. I wonder if it is somehow picking up a 64-bit kernel32 first...

Are you able to add options to the build? I would like to see the output when the linker option /verbose is added to the link. It may be in the makefile it uses, or somewhere else.

Steve - Intel Developer Support

Sorry I don;t have muchg knowledge of how the PSCAD and intel work (or are used) I'm just a helpdesk guy.

I tried doing system restore to before the SDK was installed and the compiler works again.
But undoing the restore results in the compiler not working again.

I am also getting the error now.

Icon Component Instance Description Namespace
LINK : fatal error LNK1104: cannot open file 'wsock32.lib' simpleac
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe"' : return code '0x450' simpleac
Unable to generate a simulation executable for namespace 'simpleac' simpleac
Make failed to generate a simulation executable for namespace 'simpleac'. Binary file was not found. simpleac

 

>>>>...But if I installed Win7SDK for use with Matlab 2012b then the fortran compiler stops working.
>>...
>>LNK2001: unresolved external symbol __imp__DecodePointer@4 fixedload
>>...
>>LINK : fatal error LNK1104: cannot open file 'wsock32.lib'
>>...

Try to check paths to import libraries used in the project or in PATH environment variable. I also see that there are only Linker errors and there are No any compilation errors.

>>...I tried doing system restore to before the SDK was installed and the compiler works again.

You needed to create a list of paths in PATH environment variable before and after the System Restore. In that case you would be able to compare these lists for which paths are missing ( if any ).

Please contact Microsoft if you find that some paths are missing and since everything was working before ( as you've stated ) it is clear that Win7SDK possibly has some installation issues.

Let's try this - independent of PSCAD and with the system restored to where the PSDK was installed.

1. Open an Intel Fortran Command Prompt window - Start > All Programs > Intel Parallel Studio XE 2011 > Command Prompt > Parallel Studio XE with Intel Compiler XE 12.1

2. Set default (cd) to a folder you have write permissions to (not under Windows or Program Files).

3. In NOTEPAD, create a file hello.f90 with the following lines:

print *, "hello"
end

4. From that command prompt, type:

ifort hello.f90

5. Type the commands:

set path
set lib

6. Show us the entire text of the command window, from the top where you first opened it.

Steve - Intel Developer Support

Intel Parallel Studio XE 2011 SP1
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
Intel Composer XE 2011 Update 11 (package 344)
The specified configuration type is missing. The tools for the
configuration might not be installed.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>cd \test

C:\test>ifort hello.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 12.1.5.344 Build 20120612
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.

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

C:\test>set path
Path=C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\intel64;C:\Program Fi
les (x86)\Intel\Composer XE 2011 SP1\redist\intel64\compiler;C:\Program Files (x
86)\Intel\Composer XE 2011 SP1\redist\intel64\mkl;C:\Program Files (x86)\Intel\C
omposer XE 2011 SP1\redist\intel64\compiler;C:\Program Files (x86)\Intel\Compose
r XE 2011 SP1\redist\intel64\mkl;C:\Program Files (x86)\Intel\Composer XE 2011 S
P1\redist\ia32\mkl;C:\Program Files (x86)\Common Files\Microsoft Shared\VSA\10.0
\VsaEnv;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel6
4\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel6
4\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia3
2\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\c
ompiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syste
m32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Progra
m Files\SafeNet\Authentication\SAC\x32;C:\Program Files\SafeNet\Authentication\S
AC\x64;C:\Program Files (x86)\lotus\notes\;C:\Program Files\Microsoft Windows Pe
rformance Toolkit\;C:\Program Files (x86)\Intel\Composer XE 2011 SP1\redist\inte
l64\mpirt;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

C:\test>set lib
LIB=C:\Program Files (x86)\Intel\Composer XE 2011 SP1\compiler\lib;C:\Program Fi
les (x86)\Intel\Composer XE 2011 SP1\compiler\lib\intel64;C:\Program Files (x86)
\Intel\Composer XE 2011 SP1\mkl\lib\intel64;C:\Program Files (x86)\Intel\Compose
r XE 2011 SP1\compiler\lib\intel64;

C:\test>

Which Visual Studio do you have installed?  A couple more things to help me diagnose.

In NOTEPAD, edit C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\compilervars_arch.bat

Replace the first line, that reads:

@echo off

with:

@echo on

Save the file (administration privileges required) and open a Fortran command prompt window again (no need for a compile.) Show me the output.

The following instructions assume VS2010. If you have 2008 or 2005, substitute accordingly.

Go to Start > All Programs > Microsoft Visual Studio 2010 > Visual Studio Tools and click on Visual Studio x64 Win64 Command Prompt (2010).  Show me the output from that.

Steve - Intel Developer Support

Visual Studio isn't installed by intself, It has the shell whihc came with the Fortran Composer install

To run the command prompt it's
Start ->  All Programs - Intell Parallel Studio XE 2011 -> Command Prompt -> Parallel Studio XE with Intel Compiler -> Intel 64 Visual Studio 2010 mode

I've dummied out the 'echo off' here is the output

Intel Parallel Studio XE 2011 SP1
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
Intel Composer XE 2011 Update 11 (package 344)
The specified configuration type is missing. The tools for the
configuration might not be installed.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>

Sorry, but your disabling the @echo off doesn't do what I need. Please put in the @echo on.

Steve - Intel Developer Support

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ROOT=C:\Program Files (x86
)\Intel\Composer XE 2011 SP1\bin\

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>call :GetFullPath "C:\Program
Files (x86)\Intel\Composer XE 2011 SP1\bin\\.." ROOT

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>SET ROOT=C:\Program Files (x86
)\Intel\Composer XE 2011 SP1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>GOTO :EOF

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set SCRIPT_NAME=compilervars_a
rch.bat

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_VS=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_VS_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set QUIET=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ARCH_PATH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ARCH_PATH_MPI=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE_VS=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set IMPI_BIN=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "" goto Bui
ld

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32" (set
TARGET_ARCH=ia32 ) & (set TARGET_VS_ARCH=x86 ) & (set ARCH_PATH=ia32 ) & (se
t ARCH_PATH_MPI=ia32 ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32_intel
64" (set TARGET_ARCH=ia32_intel64 ) & (set TARGET_VS_ARCH=x86_amd64 ) & (set A
RCH_PATH=intel64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "intel64" (
set TARGET_ARCH=intel64 ) & (set TARGET_VS_ARCH=amd64 ) & (set ARCH_PATH=intel
64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "" goto Buil
d

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "ia32" (set
TARGET_ARCH=ia32 ) & (set TARGET_VS_ARCH=x86 ) & (set ARCH_PATH=ia32 ) & (set
ARCH_PATH_MPI=ia32 ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "ia32_intel6
4" (set TARGET_ARCH=ia32_intel64 ) & (set TARGET_VS_ARCH=x86_amd64 ) & (set AR
CH_PATH=intel64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "intel64" (s
et TARGET_ARCH=intel64 ) & (set TARGET_VS_ARCH=amd64 ) & (set ARCH_PATH=intel6
4 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2005" (se
t TARGET_VS=vs2005 ) & (set WIN_TITLE_VS=Visual Studio 2005 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2008" (se
t TARGET_VS=vs2008 ) & (set WIN_TITLE_VS=Visual Studio 2008 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2010" (se
t TARGET_VS=vs2010 ) & (set WIN_TITLE_VS=Visual Studio 2010 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "" == "" goto Build

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "" goto Syn
tax

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set BUNDLE_NAME=Intel Parallel
Studio XE 2011 SP1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set PRODUCT_NAME=Intel Compose
r XE 2011

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set PRODUCT_NAME_FULL=Intel Co
mposer XE 2011 Update 11 (package 344)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE=Intel Composer X
E 2011

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32" set
WIN_TITLE_ARCH=IA-32

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32_intel
64" set WIN_TITLE_ARCH=Intel(R) 64

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "intel64" s
et WIN_TITLE_ARCH=Intel(R) 64

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE=Intel Composer X
E 2011 Intel(R) 64 Visual Studio 2010

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>title Intel Composer XE 2011
Intel(R) 64 Visual Studio 2010

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set MSVS_VAR_SCRIPT=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..\IDE\devenv.exe" (if exist "C:\Program Files (x86)\Micr
osoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VS90COMNTOOLS (if exist "..\IDE\devenv.exe" (if exist "..\..\VC\vcva
rsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VS80COMNTOOLS (if exist "..\IDE\devenv.exe" (if exist "..\..\VC\vcva
rsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VSSHELL2008INSTALLDIR (if exist "C:\Program Files (x86)\Intel\Compos
er XE 2011 SP1\bin\vsshell2008vars_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\vsshe
ll2008vars_arch.bat"
goto Calls
) )
if defined VSSHELL2010INSTALLDIR (if exist "C:\Program Files (x86)\Intel\Compos
er XE 2011 SP1\bin\vsshell2010vars_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\vsshe
ll2010vars_arch.bat"
goto Calls
) )
if /I "intel64" == "ia32" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) )
if defined VS90COMNTOOLS (if exist "..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) )
if defined VS80COMNTOOLS (if exist "..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) )
)
call :no_vs 2005, 2008 or 2010
goto End
)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2010" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..\IDE\devenv.exe" (if exist "C:\Program Files (x86)\Micr
osoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VSSHELL2010INSTALLDIR (if exist "C:\Program Files (x86)\Intel\Compos
er XE 2011 SP1\bin\vsshell2010vars_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\vsshe
ll2010vars_arch.bat"
goto Calls
) )
if /I "intel64" == "ia32" (if defined VS100COMNTOOLS (if exist "C:\Program File
s (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) ) )
call :no_vs 2010
goto End
)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "" == "quiet" goto quiet
mode

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>echo Intel Parallel Studio XE
2011 SP1
Intel Parallel Studio XE 2011 SP1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>echo Copyright (C) 1985-2012 I
ntel Corporation. All rights reserved.
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>echo Intel Composer XE 2011 Up
date 11 (package 344)
Intel Composer XE 2011 Update 11 (package 344)
The specified configuration type is missing. The tools for the
configuration might not be installed.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>

Thanks, this is helpful.  One more thing.  From any command prompt window, type:

set vs

and show me the output.

Steve - Intel Developer Support

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

d:\Users\Administrator>set vs
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
\
VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
VSSHELL2010INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\

d:\Users\Administrator>

Ok, that explains it. The VS100COMNTOOLS definition is confusing the compilervars script into thinking that full VS2010 is installed and it is not using the shell.

Try this.  Edit compilervars_arch.bat again.  You can put back the @echo off.

Find the following text:

::VS2010
if /i "%TARGET_VS%"=="vs2010" (
  if defined VS100COMNTOOLS (
    if exist "%VS100COMNTOOLS%..IDEdevenv.exe" (
      if exist "%VS100COMNTOOLS%....VCvcvarsall.bat" (
         set MSVS_VAR_SCRIPT="%VS100COMNTOOLS%....VCvcvarsall.bat"
         goto Calls
      )
    )
  )
  if defined VSSHELL2010INSTALLDIR (
    if exist "%ROOT%binvsshell2010vars_arch.bat" (
      set MSVS_VAR_SCRIPT="%ROOT%binvsshell2010vars_arch.bat"
      goto Calls
    )
  )

and replace it with this:

::VS2010
  if defined VSSHELL2010INSTALLDIR (
    if exist "%ROOT%binvsshell2010vars_arch.bat" (
      set MSVS_VAR_SCRIPT="%ROOT%binvsshell2010vars_arch.bat"
      goto Calls
    )
  )
if /i "%TARGET_VS%"=="vs2010" (
  if defined VS100COMNTOOLS (
    if exist "%VS100COMNTOOLS%..IDEdevenv.exe" (
      if exist "%VS100COMNTOOLS%....VCvcvarsall.bat" (
         set MSVS_VAR_SCRIPT="%VS100COMNTOOLS%....VCvcvarsall.bat"
         goto Calls
      )
    )
  )

The "if defined VSSHELL2010INSTALLDIR" test gets moved before the VS100COMNTOOLS test.

Save the file and see how that works.

Steve - Intel Developer Support

it now says that Visual Studio is not found.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ROOT=C:\Program Files (x86
)\Intel\Composer XE 2011 SP1\bin\

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>call :GetFullPath "C:\Program
Files (x86)\Intel\Composer XE 2011 SP1\bin\\.." ROOT

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>SET ROOT=C:\Program Files (x86
)\Intel\Composer XE 2011 SP1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>GOTO :EOF

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set SCRIPT_NAME=compilervars_a
rch.bat

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_VS=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set TARGET_VS_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set QUIET=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ARCH_PATH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set ARCH_PATH_MPI=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE_VS=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE_ARCH=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set IMPI_BIN=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "" goto Bui
ld

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32" (set
TARGET_ARCH=ia32 ) & (set TARGET_VS_ARCH=x86 ) & (set ARCH_PATH=ia32 ) & (se
t ARCH_PATH_MPI=ia32 ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32_intel
64" (set TARGET_ARCH=ia32_intel64 ) & (set TARGET_VS_ARCH=x86_amd64 ) & (set A
RCH_PATH=intel64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "intel64" (
set TARGET_ARCH=intel64 ) & (set TARGET_VS_ARCH=amd64 ) & (set ARCH_PATH=intel
64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "" goto Buil
d

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "ia32" (set
TARGET_ARCH=ia32 ) & (set TARGET_VS_ARCH=x86 ) & (set ARCH_PATH=ia32 ) & (set
ARCH_PATH_MPI=ia32 ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "ia32_intel6
4" (set TARGET_ARCH=ia32_intel64 ) & (set TARGET_VS_ARCH=x86_amd64 ) & (set AR
CH_PATH=intel64 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "intel64" (s
et TARGET_ARCH=intel64 ) & (set TARGET_VS_ARCH=amd64 ) & (set ARCH_PATH=intel6
4 ) & (set ARCH_PATH_MPI=em64t ) & shift & goto ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2005" (se
t TARGET_VS=vs2005 ) & (set WIN_TITLE_VS=Visual Studio 2005 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2008" (se
t TARGET_VS=vs2008 ) & (set WIN_TITLE_VS=Visual Studio 2008 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2010" (se
t TARGET_VS=vs2010 ) & (set WIN_TITLE_VS=Visual Studio 2010 ) & shift & goto
ParseArgs

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "" == "" goto Build

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "" goto Syn
tax

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set BUNDLE_NAME=Intel Parallel
Studio XE 2011 SP1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set PRODUCT_NAME=Intel Compose
r XE 2011

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set PRODUCT_NAME_FULL=Intel Co
mposer XE 2011 Update 11 (package 344)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE=Intel Composer X
E 2011

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32" set
WIN_TITLE_ARCH=IA-32

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "ia32_intel
64" set WIN_TITLE_ARCH=Intel(R) 64

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "intel64" == "intel64" s
et WIN_TITLE_ARCH=Intel(R) 64

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set WIN_TITLE=Intel Composer X
E 2011 Intel(R) 64 Visual Studio 2010

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>title Intel Composer XE 2011
Intel(R) 64 Visual Studio 2010

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>set MSVS_VAR_SCRIPT=

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..\IDE\devenv.exe" (if exist "C:\Program Files (x86)\Micr
osoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VS90COMNTOOLS (if exist "..\IDE\devenv.exe" (if exist "..\..\VC\vcva
rsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VS80COMNTOOLS (if exist "..\IDE\devenv.exe" (if exist "..\..\VC\vcva
rsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) ) )
if defined VSSHELL2008INSTALLDIR (if exist "C:\Program Files (x86)\Intel\Compos
er XE 2011 SP1\bin\vsshell2008vars_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\vsshe
ll2008vars_arch.bat"
goto Calls
) )
if defined VSSHELL2010INSTALLDIR (if exist "C:\Program Files (x86)\Intel\Compos
er XE 2011 SP1\bin\vsshell2010vars_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\vsshe
ll2010vars_arch.bat"
goto Calls
) )
if /I "intel64" == "ia32" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) )
if defined VS90COMNTOOLS (if exist "..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) )
if defined VS80COMNTOOLS (if exist "..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="..\..\VC\vcvarsall.bat"
goto Calls
) )
)
call :no_vs 2005, 2008 or 2010
goto End
)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if defined VSSHELL2010INSTALLD
IR (if exist "C:\Program Files (x86)\Intel\Composer XE 2011 SP1binvsshell2010var
s_arch.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Intel\Composer XE 2011 SP1binvsshell
2010vars_arch.bat"
goto Calls
) )

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>if /I "vs2010" == "vs2010" (
if defined VS100COMNTOOLS (if exist "C:\Program Files (x86)\Microsoft Visual Stu
dio 10.0\Common7\Tools\..IDEdevenv.exe" (if exist "C:\Program Files (x86)\Micros
oft Visual Studio 10.0\Common7\Tools\....VCvcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\....VCvcvarsall.bat"
goto Calls
) ) )
if /I "intel64" == "ia32" (if defined VS100COMNTOOLS (if exist "C:\Program File
s (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" (
set MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools\..\..\VC\vcvarsall.bat"
goto Calls
) ) )
call :no_vs 2010
goto End
)

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>echo ERROR: Visual Studio 2010
is not found in the system.
ERROR: Visual Studio 2010 is not found in the system.

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>exit /B 1

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>exit /B 0

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>goto End

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>exit /B 0

C:\Program Files (x86)\Intel\Composer XE 2011 SP1>

This is just weird.  Can we set up a time when I can connect to your system so I can see what's going on? If that's acceptable, I'll send you email and we can arrange the details.

Steve - Intel Developer Support

Many Thanks for all the help.

Ok, we solved this. When you start a Fortran command prompt session, a series of .bat files get called to first figure out which Microsoft environment you're using and then set it up. The scripts test various system environment variables and then look for particular files that would get installed by the various VS versions, including the VS Shell. The problem Gavin ran into is that he had the VS2010 Shell installed and then installed the Windows 7 SDK. The SDK added some but not all of what a full VS2010 install would have, and this confused the Fortran scripts into thinking the full VS2010 was there.

The solution was to edit compilervars_arch.bat. There are two sections that test for VS versions, testing for VS2010 first and then the shell. In both of those, I reversed the tests so that it looked for the shell first. This solved the problem. I will write a support article on this ane explain how to fix it.

I recall we've run into a related problem before, dealing with VS Express, and the solution is similar. We can't just reverse the tests in the default code, though, as that would cause other problems. Maybe we can make the script a bit smarter, though.

Steve - Intel Developer Support

Hello Steve,

I have similar problem like Gavin in PSCAD. I have been receiving a particular error as:

Description: make: *** [G.exe] Error 1

Description: Unable to generate a simulation executable for namespace 'G'

Description: Make failed to generate a simulation executable for namespace 'G'. Binary file was not found.

The name of the PSCAD file which I am trying to run in G. Please kinldy suggest something to rectify this. Is this some partiular problem about any missing file or the PSCAD itself. Please kindly helo me.

My email id: pmandava@asu.edu

Thank you.

Hello Steve,

I have a similar problem like Gavin in PSCAD.

Description: make: *** [G.exe] Error 1

Description: Unable to generate a simulation executable for namespace 'G

Description: Make failed to generate a simulation executable for namespace 'G'. Binary file was not found.

The name of the file I am using in PSCAD is G. It would be very helful if you could me solve the problem.

My email id; pmandava@asu.edu

Thank you.

Is there more to the error output from what you showed? Are you also using the Windows 7 SDK?

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today