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

Problem with ifortvars.bat

Peter_Simon
Beginner
5,025 Views
I just installed 11.1 (038) on a Windows/XP SP3 32-bit machine, taking the default installation, and am now attempting to compile and link a complex Fortran program from within a custom batch file. In this file, prior to invoking the compiler, I include the line

@call "c:\Program Files\Intel\Compiler\11.1\038\bin\ifortvars.bat" ia32 vs2008


This produces the expected message that the build environment has been set. Compilation proceeds without problem until the link step, where I get the following error message:

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


When I compile from within the "Fortran Build Environment" shell that comes with IVF, the program compiles and links without error.

I modified my batch file to include several "set" commands bracketing the @call command as follows:

set > before.txt
@call "c:\Program Files\Intel\Compiler\11.1\038\bin\ifortvars.bat" ia32 vs2008
set > after.txt

before.txt and after.txt show the status of all environment variables prior to and after invoking the ifortvars.bat file. I also executed the following line from within the supplied "Fortran Build Environment" shell:

set > intel_build.txt

which shows the (successful) environment created by the build shell.

I noted the following diferences between the environment variables listed in after.txt and those in intel_build.txt:

1. The CPATH and FPATH variables have repeated entries in them in after.txt, but the directories appear only once in intel_build.txt. Note that these variables are not listed at all (do not exist) in the before.txt environment.

2. There are several Microsoft Visual Studio 9 directories listed in the PATH, INCLUDE and LIB variables in intel_build.txt that are absent in after.txt. I suspect this is the cause of the link failure.

3. The variables VCINSTALLDIR and VSINSTALLDIR that are defined in intel_build.txt are missing from after.txt.

Is there some simple fix other than my creating a new batch file to call from my compilation script to set these variables?

I've attached the three text files in case you want to examine them.

Thanks,
Peter
0 Kudos
1 Solution
Steven_L_Intel1
Employee
5,025 Views
Ah, now I see. Remove the "vs2008" from your invocation of ifortvars.bat, as that is not appropriate if you have the VS2008 Shell (at least the way the .bat is coded.)

View solution in original post

0 Kudos
14 Replies
Steven_L_Intel1
Employee
5,025 Views
Would you please attach the ifortvars.bat file (rename as .txt) as installed? All I'm seeing with your attachments is the outputs of SET commands.

Please also do this. Open VS2008, select Help > About. Click the Copy Info button. Paste the result into a reply (or into a text file you attach.)
0 Kudos
TimP
Honored Contributor III
5,025 Views
I don't believe vs2008 belongs in that command. The path to the Microsoft C++ directory including link.exe must be set. ifortvars.bat should run the vcvars32.bat in order to set the MSVC path.
0 Kudos
Steven_L_Intel1
Employee
5,025 Views
Quoting - tim18
I don't believe vs2008 belongs in that command. The path to the Microsoft C++ directory including link.exe must be set. ifortvars.bat should run the vcvars32.bat in order to set the MSVC path.

As of 11.1, it does - or at least can be specified. This allows you to choose which VS version to set up for on the command line rather than using the one the installer chose. The symptoms here suggest that the installer did not recognize the VS2008 installation.
0 Kudos
Peter_Simon
Beginner
5,025 Views
Would you please attach the ifortvars.bat file (rename as .txt) as installed? All I'm seeing with your attachments is the outputs of SET commands.

Please also do this. Open VS2008, select Help > About. Click the Copy Info button. Paste the result into a reply (or into a text file you attach.)

Hi, Steve. Thanks for looking at this. ifortvars.txt is attached

The Help -> About -> Copy Info copies the following to the clipboard:

Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: IDE Standard

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB952241) KB952241
This hotfix is for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/952241.

Intel Visual Fortran Compiler Integration Package ID: w_cprof_p_11.1.038
Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2008, 11.1.3463.2008, Copyright (C) 2002-2009 Intel Corporation
* Other names and brands may be claimed as the property of others.


--Peter


0 Kudos
Peter_Simon
Beginner
5,025 Views
I noticed that the ifortvars.txt attachment I added to my original post's attachment folder doesn't show up. I've attached it again to this message using a different folder name. Hopefully this will work.

--Pete
0 Kudos
Steven_L_Intel1
Employee
5,025 Views
Thanks. Would you please now attach ifortvars_ia32.bat ?

0 Kudos
Peter_Simon
Beginner
5,025 Views
Thanks. Would you please now attach ifortvars_ia32.bat ?

c:/Program Files/Intel/Compiler/11.1/038/bin/ia32/ifortvars_ia32.bat is attached as ifortvars_ia32.txt

--Peter
0 Kudos
Steven_L_Intel1
Employee
5,026 Views
Ah, now I see. Remove the "vs2008" from your invocation of ifortvars.bat, as that is not appropriate if you have the VS2008 Shell (at least the way the .bat is coded.)
0 Kudos
Peter_Simon
Beginner
5,025 Views
Ah, now I see. Remove the "vs2008" from your invocation of ifortvars.bat, as that is not appropriate if you have the VS2008 Shell (at least the way the .bat is coded.)
That fixed the problem. Thanks! However, I maintain the documentation is misleading, at least:

---------------------------------------------------------------
The batch file takes two arguments:

binifortvars.bat []

is one of the following

ia32: Compiler and libraries for IA-32 architecture only

ia32_intel64: Compiler running on IA-32 architecture that generates code for Intel 64 architecture; uses Intel 64 architecture libraries

ia32_ia64: Compiler running on IA-32 architecture that generates code for IA-64 architecture; uses IA-64 architecture libraries

intel64: Compiler and libraries for Intel 64 architecture only

ia64: Compiler and libraries for IA-64 architectures only

, if specified, is one of the following:

vs2005: Microsoft Visual Studio 2005
vs2008: Microsoft Visual Studio 2008
If is not specified, the script uses the version of Visual Studio that was detected during the installation procedure.
-------------------------------------------------------------------------------------------------------------------------

Perhaps it should warn that using the second argument casues problems?

Thanks again.

--Peter
0 Kudos
Steven_L_Intel1
Employee
5,025 Views
I agree that there is a problem with either the documentation or the script when VS2008 Shell is used. I'll take that up with the developers. Thanks.
0 Kudos
qingsun1024
Beginner
5,025 Views

Hi Steve,
I set the Fortran build environment by running IFortVars.bat. I got the error as follows:

C:A>IFortVars
ERROR: Unknown switch ''
Accepted values: ia32, ia32_intel64, intel64, ia32_ia64, ia64

The IFortVars.bat is copyed as follows:

@echo off

Rem

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

Rem

Rem The information and source code contained herein is the exclusive property

Rem of Intel Corporation and may not be disclosed, examined, or reproduced in

Rem whole or in part without explicit written authorization from the Company.

Rem

IF (%2)==() GOTO ARG1

IF {%2} EQU {vs2008} (

if {%1} EQU {ia32} (

@call "C:Program FilesIntelCompiler11.1�38binia32ifortvars_ia32.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbia32vc9bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbia32vc9bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat" @call "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat"

if exist "%FNL_DIR%ia32binfnlsetup.bat" @call "%FNL_DIR%ia32binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_intel64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_intel64ifortvars_ia32_intel64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tvc9bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tvc9bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {intel64} (

@call "C:Program FilesIntelCompiler11.1�38binintel64ifortvars_intel64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tvc9bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tvc9bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_ia64ifortvars_ia32_ia64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia64ifortvars_ia64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

goto err1

) ELSE (

IF {%2} EQU {vs2005} (

if {%1} EQU {ia32} (

@call "C:Program FilesIntelCompiler11.1�38binia32ifortvars_ia32.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbia32vc8bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbia32vc8bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat" @call "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat"

if exist "%FNL_DIR%ia32binfnlsetup.bat" @call "%FNL_DIR%ia32binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_intel64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_intel64ifortvars_ia32_intel64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tvc8bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tvc8bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {intel64} (

@call "C:Program FilesIntelCompiler11.1�38binintel64ifortvars_intel64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tvc8bintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tvc8bintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_ia64ifortvars_ia32_ia64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia64ifortvars_ia64.bat" %2

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

goto err1

) ELSE (

goto err2

)

)

:ARG1

if {%1} EQU {ia32} (

@call "C:Program FilesIntelCompiler11.1�38binia32ifortvars_ia32.bat"

if exist "C:Program FilesIntelCompiler11.1�38tbbia32nonebintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbia32nonebintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars32.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat" @call "C:Program FilesIntelCompiler11.1�38ippia32toolsenvippenv.bat"

if exist "%FNL_DIR%ia32binfnlsetup.bat" @call "%FNL_DIR%ia32binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_intel64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_intel64ifortvars_ia32_intel64.bat"

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tnonebintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tnonebintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {intel64} (

@call "C:Program FilesIntelCompiler11.1�38binintel64ifortvars_intel64.bat"

if exist "C:Program FilesIntelCompiler11.1�38tbbem64tnonebintbbvars.bat" @call "C:Program FilesIntelCompiler11.1�38tbbem64tnonebintbbvars.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvarsem64t.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat" @call "C:Program FilesIntelCompiler11.1�38ippem64ttoolsenvippenvem64t.bat"

if exist "%FNL_DIR%intel64binfnlsetup.bat" @call "%FNL_DIR%intel64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia32_ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia32_ia64ifortvars_ia32_ia64.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

if {%1} EQU {ia64} (

@call "C:Program FilesIntelCompiler11.1�38binia64ifortvars_ia64.bat"

if exist "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat" @call "C:Program FilesIntelCompiler11.1�38mkltoolsenvironmentmklvars64.bat"

if exist "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat" @call "C:Program FilesIntelCompiler11.1�38ippia64toolsenvippenv64.bat"

if exist "%FNL_DIR%ia64binfnlsetup.bat" @call "%FNL_DIR%ia64binfnlsetup.bat"

exit /B 0

)

:err1

@echo ERROR: Unknown switch '%1'

@echo Accepted values: ia32, ia32_intel64, intel64, ia32_ia64, ia64

exit /B 1

:err2

@echo ERROR: Unknown switch '%2'

@echo Accepted values: vs2005, vs2008

exit /B 1


Could you please help me out?

Joseph

0 Kudos
TimP
Honored Contributor III
5,025 Views
Quoting - qingsun1024

I set the Fortran build environment by running IFortVars.bat. I got the error as follows:

C:A>IFortVars
ERROR: Unknown switch ''
Accepted values: ia32, ia32_intel64, intel64, ia32_ia64, ia64

.....

Could you please help me out?

Are you saying you don't like the message, or have difficulty making a choice? You could invoke ifortvars.bat by clicking on one of the choices in the Start menu under Intel Software, which should include any of those compilers which you have installed. If you have already opened a cmd window, which seems a likely interpretation of what you put here, you could select the environment settings for any of those 5 compilers which you may have installed; e.g.
ifortvars intel64
for the 64-bit compiler to build native code on the X64 versions of Windows, from XP64 to Windows Server 2008 R2, or
ifortvars ia32
to set up the 32-bit compiler.
ia32_intel64 would be a cross compiler to run on 32-bit Windows and make code to run on X64
ia32_ia64 cross compiler to run on 32-bit Windows to make code for Itanium Windows
ia64 to build native code on Itanium

If you have both VS2005 and VS2008 installed, you could select one of them by adding that choice after the compiler choice. Otherwise, the default chosen when the compiler was installed will be taken.
0 Kudos
qingsun1024
Beginner
5,025 Views
Quoting - tim18
Are you saying you don't like the message, or have difficulty making a choice? You could invoke ifortvars.bat by clicking on one of the choices in the Start menu under Intel Software, which should include any of those compilers which you have installed. If you have already opened a cmd window, which seems a likely interpretation of what you put here, you could select the environment settings for any of those 5 compilers which you may have installed; e.g.
ifortvars intel64
for the 64-bit compiler to build native code on the X64 versions of Windows, from XP64 to Windows Server 2008 R2, or
ifortvars ia32
to set up the 32-bit compiler.
ia32_intel64 would be a cross compiler to run on 32-bit Windows and make code to run on X64
ia32_ia64 cross compiler to run on 32-bit Windows to make code for Itanium Windows
ia64 to build native code on Itanium

If you have both VS2005 and VS2008 installed, you could select one of them by adding that choice after the compiler choice. Otherwise, the default chosen when the compiler was installed will be taken.

Thanks Tim.
In the previous post, whatI was asking about is the errormessage thatmade me feel like some errors occurring. Then I checked the ifortvars.bat and found something really weird. For example,tbbvars.bat and ippenv.bat which appear in ifortvars.bat can not be found in c drivesoI thought that there are some files missingand resulted in the errormessage.

0 Kudos
TimP
Honored Contributor III
5,025 Views
If TBB or IPP were installed by the C++ installer, ifortvars would set up their paths, so as to support a mixed language build. This should have nothing to do with a message produced by incomplete invocation of ifortvars.
0 Kudos
Reply