<?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:OneAPI compilers cannot find MPI libraries in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1229805#M7340</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved!&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require any additional assistance from Intel, please start a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Nov 2020 08:33:15 GMT</pubDate>
    <dc:creator>GouthamK_Intel</dc:creator>
    <dc:date>2020-11-19T08:33:15Z</dc:date>
    <item>
      <title>OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1227870#M7321</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm trying to test the new oneAPI version but even simple compilations produce errors. The installation includes BaseKit &amp;amp; HPCKit, and everything looks fine once completed. However, compiling even a simple HelloWorld code with mpicc (installed at /opt/intel/oneapi/mpi/2021.1-beta10/bin) returns:&lt;BR /&gt;&lt;EM&gt;/usr/bin/ld: cannot find -lmpifort&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/usr/bin/ld: cannot find -lmpi&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;collect2: error: ld returned 1 exit status&lt;/EM&gt;&lt;BR /&gt;However, at least the first library is there:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ldconfig -p | grep libmpi&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpijava.so.1 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpijava.so.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpijava.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpijava.so&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpifort.so.12 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpifort.so.12&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpifort.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpifort.so&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpicxx.so.12 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpicxx.so.12&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpicxx.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpicxx.so&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libmpi_shm_heap_proxy.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpi_shm_heap_proxy.so&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The system is running Ubuntu 20.04 and oneAPI was built with gnu 9.3.0. The error doesn't make sense to me so either something is wrong or I'm missing something (probably the latter).&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 18:43:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1227870#M7321</guid>
      <dc:creator>Fernandez__Arturo</dc:creator>
      <dc:date>2020-11-12T18:43:17Z</dc:date>
    </item>
    <item>
      <title>Re:OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1228096#M7327</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As mentioned by you, we can see that you are running on Ubuntu 20.04. But as per the oneAPI HPC toolkit system requirements documentation currently Ubuntu* 18.04.3 LTS is the supported Target OS in Ubuntu. &lt;/P&gt;&lt;P&gt;Please refer the below link for more information about the System requirements for oneAPI HPC Toolkit. &lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-hpc-toolkit-system-requirements.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-hpc-toolkit-system-requirements.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, Could you please let us know whether you have sourced the setvars.sh script file before running the code?&lt;/P&gt;&lt;P&gt;If not, please source the setvars.sh file located at /opt/opt/intel/oneapi/mpi/2021.1-beta10/ and run the sample code. &lt;/P&gt;&lt;P&gt;If you still face the issue could you please try reinstalling the HPCkit and try running the code again? &lt;/P&gt;&lt;P&gt;Please refer the below guides for more information&lt;/P&gt;&lt;P&gt;Installation guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Get Started with the Intel® oneAPI HPC Toolkit:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-hpc-linux/top.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-hpc-linux/top.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2020 11:55:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1228096#M7327</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-11-13T11:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1228192#M7331</link>
      <description>&lt;P&gt;Hi Goutham,&lt;BR /&gt;Sourcing setvars.sh partially solves the problem. [In the documentation, this step is not discussed until the FPGA section, not during the general installation; however, it is mentioned in the requirement guide and it could also be that the script said something that I didn't pay attention to, cannot recall]. Anyway, I was able to compile a simple code but building larger apps fails at linking. The message is /usr/bin/ld: cannot find -lmpi. I manually expanded the linking options to include libmpi so that the system now sees:&lt;BR /&gt;ldconfig -p | grep libmpi&lt;BR /&gt;libmpijava.so.1 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpijava.so.1&lt;BR /&gt;libmpijava.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpijava.so&lt;BR /&gt;libmpifort.so.12 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpifort.so.12&lt;BR /&gt;libmpifort.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpifort.so&lt;BR /&gt;libmpicxx.so.12 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpicxx.so.12&lt;BR /&gt;libmpicxx.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpicxx.so&lt;BR /&gt;libmpi_shm_heap_proxy.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/libmpi_shm_heap_proxy.so&lt;BR /&gt;libmpi_ilp64.so.4.1 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/release/libmpi_ilp64.so.4.1&lt;BR /&gt;libmpi_ilp64.so.4 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/release/libmpi_ilp64.so.4&lt;BR /&gt;libmpi_ilp64.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/release/libmpi_ilp64.so&lt;BR /&gt;libmpi.so.12 (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/release/libmpi.so.12&lt;BR /&gt;libmpi.so (libc6,x86-64) =&amp;gt; /opt/intel/oneapi/mpi/2021.1-beta10/lib/release/libmpi.so&lt;BR /&gt;So the library is there but the compiler just cannot use it (similarly to what was happening with libmpifort yesterday). My understanding is that to configure the system, IntelMPI sometimes requires to source $.&amp;lt;installdir&amp;gt;/bin64/mpivars.sh [option] but this script is not in the distribution. The closest thing is /opt/intel/oneapi/mpi/2021.1-beta10/env/vars.sh but sourcing it didn't make any difference.&lt;BR /&gt;Thanks,&lt;BR /&gt;Arturo&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 17:51:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1228192#M7331</guid>
      <dc:creator>Fernandez__Arturo</dc:creator>
      <dc:date>2020-11-13T17:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1229227#M7336</link>
      <description>&lt;P&gt;It finally worked. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 23:42:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1229227#M7336</guid>
      <dc:creator>Fernandez__Arturo</dc:creator>
      <dc:date>2020-11-17T23:42:59Z</dc:date>
    </item>
    <item>
      <title>Re:OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1229805#M7340</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved!&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require any additional assistance from Intel, please start a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2020 08:33:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1229805#M7340</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-11-19T08:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OneAPI compilers cannot find MPI libraries</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1272729#M8066</link>
      <description>I also met this error although I sourced setvars.sh file. I solved this by adding &lt;BR /&gt;export MPIPATH=/oneapi/mpi/2021.2.0&lt;BR /&gt;export PATH=$MPIPATH/bin:$PATH&lt;BR /&gt;export LD_LIBRARY_PATH=$MPIPATH/lib:$LD_LIBRARY_PATH</description>
      <pubDate>Mon, 12 Apr 2021 03:31:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/OneAPI-compilers-cannot-find-MPI-libraries/m-p/1272729#M8066</guid>
      <dc:creator>Jervie</dc:creator>
      <dc:date>2021-04-12T03:31:53Z</dc:date>
    </item>
  </channel>
</rss>

