<?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: Re:Compiling PETSc on Windows with MKL, MPI + Intel Compiler 2019 Update 5 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230765#M30386</link>
    <description>&lt;P&gt;Thanks! Adding the lmpi.lib file did indeed fix it &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt; I assumed (wrongly) that the library in the directory above was all that was needed!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 09:46:20 GMT</pubDate>
    <dc:creator>RPepper</dc:creator>
    <dc:date>2020-11-23T09:46:20Z</dc:date>
    <item>
      <title>Compiling PETSc on Windows with MKL, MPI + Intel Compiler 2019 Update 5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230707#M30383</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm trying to compile the PETSc 3.14.1 libraries on Windows with Intel Compiler (from Parallel Studio XE), MKL and MPI (all v. 2019 update 5). I've run into an issue when linking which gives the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   Creating library C:\Users\rpepper\git\library\tools\windows\petsc\PETSC-~1\ARCH-M~1\lib\libpetsc.lib and object C:\Users\rpepper\git\library\tools\windows\petsc\PETSC-~1\ARCH-M~1\lib\libpetsc.exp
eventlog.o : error LNK2001: unresolved external symbol MPI_Wtime
plexgeometry.o : error LNK2001: unresolved external symbol MPI_Wtime
plog.o : error LNK2001: unresolved external symbol MPI_Wtime
xmllogevent.o : error LNK2001: unresolved external symbol MPI_Wtime
classlog.o : error LNK2001: unresolved external symbol MPI_Wtime
stagelog.o : error LNK2001: unresolved external symbol MPI_Wtime
sfwindow.o : error LNK2019: unresolved external symbol MPI_Win_create_dynamic referenced in function PetscSFGetWindow
sfwindow.o : error LNK2019: unresolved external symbol MPI_Win_attach referenced in function PetscSFGetWindow
sfwindow.o : error LNK2019: unresolved external symbol MPI_Win_allocate referenced in function PetscSFGetWindow
C:\Users\rpepper\git\library\tools\windows\petsc\PETSC-~1\ARCH-M~1\lib\libpetsc.dll : fatal error LNK1120: 4 unresolved externals&lt;/LI-CODE&gt;&lt;P&gt;What is strange is that if I try and compile a test MPI executable, the function MPI_Wtime appears to be present. I assume it's some error in how I'm linking MPI to PETSc but haven't been able to figure out a solution.&amp;nbsp;&amp;nbsp;I've tried using VS2015 and VS2019.&lt;/P&gt;&lt;P&gt;I'm using the following for configure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./configure --with-debugging=0 \
            --with-blaslapack-lib="-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~1/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib" \
            --with-cc="win32fe icl" \                                                                                                              
            --with-cxx="win32fe icl" \
            --with-fc=0 \
            --with-precision="single" \
            --with-mpi-include="/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~1/windows/mpi/intel64/include" \
            --with-mpi-lib="/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~1/windows/mpi/intel64/lib/libmpi_ilp64.lib" \
            --with-mpiexec="/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~1/windows/mpi/intel64/bin/mpiexec -localonly" \
            --prefix="../$PETSC_VERSION-single"&lt;/LI-CODE&gt;&lt;P&gt;Has anyone run into a similar issue?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 07:07:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230707#M30383</guid>
      <dc:creator>RPepper</dc:creator>
      <dc:date>2020-11-23T07:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling PETSc on Windows with MKL, MPI + Intel Compiler 2019 Update 5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230751#M30384</link>
      <description>&lt;P&gt;I am not exactly sure to build PETS on win, but you may try an additionally to link against&amp;nbsp;mkl_scalapack_lp64_dll.lib mkl_blacs_lp64_dll.lib impi.lib. Please check what the mkl linker will suggest.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230751#M30384</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-11-23T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re:Compiling PETSc on Windows with MKL, MPI + Intel Compiler 2019 Update 5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230752#M30385</link>
      <description>&lt;P&gt;&lt;A href="https://sfederation.intel.com/affwebservices/public/saml2sso?SPID=www.intel.com&amp;amp;ProtocolBinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&amp;amp;RelayState=" target="_blank"&gt;https://sfederation.intel.com/affwebservices/public/saml2sso?SPID=www.intel.com&amp;amp;ProtocolBinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&amp;amp;RelayState=&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:09:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230752#M30385</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-11-23T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiling PETSc on Windows with MKL, MPI + Intel Compiler 2019 Update 5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230765#M30386</link>
      <description>&lt;P&gt;Thanks! Adding the lmpi.lib file did indeed fix it &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt; I assumed (wrongly) that the library in the directory above was all that was needed!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:46:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-PETSc-on-Windows-with-MKL-MPI-Intel-Compiler-2019/m-p/1230765#M30386</guid>
      <dc:creator>RPepper</dc:creator>
      <dc:date>2020-11-23T09:46:20Z</dc:date>
    </item>
  </channel>
</rss>

