Quantcast
Channel: Math.NET Numerics - Math.NET
Viewing all articles
Browse latest Browse all 224

MKL with Intel Parallel Studio XE 2017 - MSB3086 bulid error

$
0
0

@cdrnet wrote:

If you try to build our MKL native providers with the newest Intel MKL distribution with Parallel Studio 2017, you may run into the following error:

error MSB4086: A numeric comparison was attempted on "$(SuiteVer)" that evaluates to "[Intel Compiler is not installed]" instead of a number, in condition "$(SuiteVer) >= 17 OR $(MKLMNewArgFormat) == 1".

One way to fix this is to make a small change in

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\ImportBefore\Intel.Libs.MKL.v140.targets

In this file, change <_MKLArgPlatform>ia-32</_MKLArgPlatform> to <_MKLArgPlatform>ia32</_MKLArgPlatform>, and remove the next line.

If someone has a more "correct" solution that does not require to mess with the machine configuration, please let me know.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 224

Trending Articles