<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:Intel 2020 Update 4, vcpkg, and static MKL solution conflict in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1241899#M30595</link>
    <description>&lt;P&gt;The last line: "&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;error #11023: Not all components required for linking are present on command line&lt;/SPAN&gt;" shows that not you need to add mkl's directory to your systems paths&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Dec 2020 05:42:08 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2020-12-30T05:42:08Z</dc:date>
    <item>
      <title>Intel 2020 Update 4, vcpkg, and static MKL solution conflict</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238362#M30518</link>
      <description>&lt;P&gt;Hello, I have 2 different Visual Studio 2019 c++ solutions:&lt;BR /&gt;- Solution A is a .dll and compiles the MKL statically;&lt;BR /&gt;- Solution B is a .lib and compiles the MKL statically.&lt;/P&gt;
&lt;P&gt;After I installed vcpkg (because I needed the MongoDB and AWS libraries for other solutions) and updated the intel compiler to 2020 update 4, Solution A still works, but Solution B stopped working:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;...\lib\eigen\Eigen/src/Core/util/MKL_support.h(57): error : cannot open source file "mkl.h"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already ran .\mklvars.bat intel64 and tried to run vcpkg.exe install intel-mkl:x64-windows-static, but it didn't work.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;D:\vcpkg&amp;gt; .\vcpkg.exe install intel-mkl:x64-windows-static
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
Computing installation plan...
The following packages will be built and installed:
    intel-mkl[core]:x64-windows-static -&amp;gt; 2020.0.0
Detecting compiler hash for triplet x64-windows-static...
Could not locate cached archive: C:\Users\rsampaio\AppData\Local\vcpkg\archives\e0\e00c8b35410404b24a76708bdae0a0036a784ffd.zip
Starting package 1/1: intel-mkl:x64-windows-static
Building package intel-mkl[core]:x64-windows-static...
CMake Warning (dev) at ports/intel-mkl/portfile.cmake:10:
  Syntax Warning in cmake code at column 38

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  scripts/ports.cmake:136 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at ports/intel-mkl/portfile.cmake:15 (message):
  Could not find MKL.  Before continuing, please download and install MKL
  (20200000 or higher) from:

      https://registrationcenter.intel.com/en/products/download/3178/



  Also ensure vcpkg has been rebuilt with the latest version (v0.0.104 or
  later)
Call Stack (most recent call first):
  scripts/ports.cmake:136 (include)


Error: Building package intel-mkl:x64-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: intel-mkl:x64-windows-static
  Vcpkg version: 2020.11.12-nohash

Additionally, attach any relevant sections from the log files above.&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Does anyone know what it can be?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:27:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238362#M30518</guid>
      <dc:creator>mariopsr-inc_com</dc:creator>
      <dc:date>2020-12-17T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intel 2020 Update 4, vcpkg, and static MKL solution conflict</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238365#M30519</link>
      <description>&lt;P&gt;If I remove the mkl include, it still gives an error related to ipo x vcpkg:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;3&amp;gt;    Tracking command:
3&amp;gt;    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\15.0\FileTracker\FileTracker32.dll" /i D:\Development\maximum-flows\build\windows\Release\maximum-flows.tlog /r "D:\DEVELOPMENT\MAXIMUM-FLOWS\BUILD\WINDOWS\RELEASE\MAIN.OBJ|D:\DEVELOPMENT\MAXIMUM-FLOWS\BUILD\WINDOWS\RELEASE\PARALLEL.OBJ|D:\DEVELOPMENT\MAXIMUM-FLOWS\LIB\PSRNETWORK-LIBRARY\BIN\WINDOWS\STATIC\RELEASE\PSRNETWORK.LIB|D:\DEVELOPMENT\MAXIMUM-FLOWS\LIB\PSRNETWORK-LIBRARY\LIB\PSRCLASSES\VISUALSTUDIO\DATA\BIN\WINDOWS\RELEASE-V2019\PSRDATA.LIB" /b MSBuildConsole_CancelEventdf57ed4278eb44ea9f6a2de9cbe9f1cc  /c "D:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020\windows\bin\Intel64\xilink.exe"  -qm64 /OUT:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\\" /LIBPATH:"D:\vcpkg\scripts\buildsystems\msbuild\..\..\..\installed\x64-windows\lib" /LIBPATH:"D:\vcpkg\scripts\buildsystems\msbuild\..\..\..\installed\x64-windows\lib\manual-link" msmpi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "D:\vcpkg\scripts\buildsystems\msbuild\..\..\..\installed\x64-windows\lib\*.lib" /MANIFEST /manifest:embed /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.lib" /MACHINE:X64 "D:\Development\maximum-flows\\build\windows\Release\parallel.obj"
3&amp;gt;    "D:\Development\maximum-flows\\build\windows\Release\main.obj"
3&amp;gt;    "D:\Development\maximum-flows\lib\psrnetwork-library\lib\psrclasses\visualstudio\data\bin\windows\Release-v2019\PSRData.lib"
3&amp;gt;    "D:\Development\maximum-flows\lib\psrnetwork-library\bin\windows\static\Release\PSRNetwork.lib"
3&amp;gt;    ipo: : error #11018: Cannot open D:\vcpkg\scripts\buildsystems\msbuild\..\..\..\installed\x64-windows\lib\*.lib
3&amp;gt;    ipo: : warning #11021: unresolved __std_init_once_begin_initialize
3&amp;gt;            Referenced in PSRNetwork.lib(psrnetwork_core.obj)
3&amp;gt;    ipo: : warning #11021: unresolved __std_init_once_complete
3&amp;gt;            Referenced in PSRNetwork.lib(psrnetwork_core.obj)
3&amp;gt;    ipo: : error #11023: Not all components required for linking are present on command line
3&amp;gt;    The command exited with code -1.
3&amp;gt;    Output Property: LinkSkippedExecution=False
3&amp;gt;  Done executing task "XILINK" -- FAILED.&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:39:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238365#M30519</guid>
      <dc:creator>mariopsr-inc_com</dc:creator>
      <dc:date>2020-12-17T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Intel 2020 Update 4, vcpkg, and static MKL solution conflict</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238371#M30520</link>
      <description>&lt;P&gt;and finally, when I remove vcpkg from the solution, I still get an error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;3&amp;gt;    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\15.0\FileTracker\FileTracker32.dll" /i D:\Development\maximum-flows\build\windows\Release\maximum-flows.tlog /r "D:\DEVELOPMENT\MAXIMUM-FLOWS\BUILD\WINDOWS\RELEASE\MAIN.OBJ|D:\DEVELOPMENT\MAXIMUM-FLOWS\BUILD\WINDOWS\RELEASE\PARALLEL.OBJ|D:\DEVELOPMENT\MAXIMUM-FLOWS\LIB\PSRNETWORK-LIBRARY\BIN\WINDOWS\STATIC\RELEASE\PSRNETWORK.LIB|D:\DEVELOPMENT\MAXIMUM-FLOWS\LIB\PSRNETWORK-LIBRARY\LIB\PSRCLASSES\VISUALSTUDIO\DATA\BIN\WINDOWS\RELEASE-V2019\PSRDATA.LIB" /b MSBuildConsole_CancelEventfae79a88cf064152a800859dde5f9500  /c "D:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020\windows\bin\Intel64\xilink.exe"  -qm64 /OUT:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\\" msmpi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /manifest:embed /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Development\maximum-flows\\bin\windows\Release\maximum-flows.lib" /MACHINE:X64 "D:\Development\maximum-flows\\build\windows\Release\parallel.obj"
3&amp;gt;    "D:\Development\maximum-flows\\build\windows\Release\main.obj"
3&amp;gt;    "D:\Development\maximum-flows\lib\psrnetwork-library\lib\psrclasses\visualstudio\data\bin\windows\Release-v2019\PSRData.lib"
3&amp;gt;    "D:\Development\maximum-flows\lib\psrnetwork-library\bin\windows\static\Release\PSRNetwork.lib"
3&amp;gt;    ipo: : warning #11021: unresolved __std_init_once_begin_initialize
3&amp;gt;            Referenced in PSRNetwork.lib(psrnetwork_core.obj)
3&amp;gt;    ipo: : warning #11021: unresolved __std_init_once_complete
3&amp;gt;            Referenced in PSRNetwork.lib(psrnetwork_core.obj)
3&amp;gt;    ipo: : error #11023: Not all components required for linking are present on command line&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:54:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1238371#M30520</guid>
      <dc:creator>mariopsr-inc_com</dc:creator>
      <dc:date>2020-12-17T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re:Intel 2020 Update 4, vcpkg, and static MKL solution conflict</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1239771#M30563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm investigating your issue and will get back to you soon with the updates.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2020 12:18:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1239771#M30563</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-12-22T12:18:34Z</dc:date>
    </item>
    <item>
      <title>Re:Intel 2020 Update 4, vcpkg, and static MKL solution conflict</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1241899#M30595</link>
      <description>&lt;P&gt;The last line: "&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;error #11023: Not all components required for linking are present on command line&lt;/SPAN&gt;" shows that not you need to add mkl's directory to your systems paths&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Dec 2020 05:42:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-2020-Update-4-vcpkg-and-static-MKL-solution-conflict/m-p/1241899#M30595</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-12-30T05:42:08Z</dc:date>
    </item>
  </channel>
</rss>

