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

ipsxe-comp-vars.bat always sets TARGET_ARCH=intel64

pascal_M_
Beginner
671 Views

I have intel parallel studio 2017, I am looking at ipsxe-comp-vars.bat :

set TARGET_ARCH=

:ParseArgs
:: Parse the incoming arguments
if /i "%1"==""        goto Build
if /i "%1"=="ia32_intel64" (set TARGET_ARCH=intel64) & shift & goto ParseArgs
if /i "%1"=="intel64"      (set TARGET_ARCH=intel64) & shift & goto ParseArgs
shift & goto ParseArgs

:Build

:: stuff

It seems that `TARGET_ARCH=intel64` even when the first argument is `ia32_intel64`.

Why ?

Now, the start menu (in Intel) link towards this script is augmented with variables "intel64 vs2015".

Regarding the whole script (see attachement) I don't even see how the " vs2015" bit is treated ?

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
671 Views

ia32_intel64 once meant a cross-compiler that ran on IA-32 but built for Intel 64. That no longer exists, so there's no distinction made. If you want to target IA-32, use "ia32" as the argument.

The "vs2015" is used when you have multiple VS versions installed and you want to select one that isn't the latest.

0 Kudos
Reply