<?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:Using oneAPI buffers in MPI calls in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1211141#M7173</link>
    <description>&lt;P&gt;Hi Florent,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;After logging into the devcloud you will be in a login node. You have to launch MPI in a compute node through a queue instead on a login node.&lt;/P&gt;&lt;P&gt;To run in a compute node, you must submit a job through a queue.&lt;/P&gt;&lt;P&gt;You can submit jobs to the queue using below command (Here you can change the nodes as per requirement, below command will allocate 2 nodes)&lt;/P&gt;&lt;P&gt;&lt;B&gt;qsub -I -l nodes=2:ppn=2&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can see the nodefile(&lt;B&gt;echo $PBS_NODEFILE&lt;/B&gt;) to check which nodes are allocated to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if you need any help&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Sep 2020 12:19:54 GMT</pubDate>
    <dc:creator>PrasanthD_intel</dc:creator>
    <dc:date>2020-09-21T12:19:54Z</dc:date>
    <item>
      <title>Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209134#M7135</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;As far as I understand, the buffer object is an abstract view of data.&lt;BR /&gt;Then, an accessor is needed (with an access mode) to interact with that data.&lt;/P&gt;
&lt;P&gt;Most of MPI implementation provide a way to use CUDA device pointers to perform MPI communication.&lt;/P&gt;
&lt;P&gt;Is there a way to perform MPI calls with this data abstraction? (with IntelMPI? with OpenMPI?)&lt;BR /&gt;Does the oneAPI MKL provide parallel implementation through MPI?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Florent Germain&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:16:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209134#M7135</guid>
      <dc:creator>germainf</dc:creator>
      <dc:date>2020-09-14T09:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209540#M7143</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, we can use both MPI and DPCPP and write a hybrid application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attaching a sample code and Makefile on how to use DPCPP along with MPI.&lt;/P&gt;
&lt;P&gt;You can use OneAPI MKL with dpcpp in which you can use MKL call to launch kernels. I am attaching a GitHub repo link, please refer to this link &lt;A href="https://github.com/intel/HPCkit-code-samples" target="_blank" rel="noopener noreferrer"&gt;https://github.com/intel/HPCkit-code-samples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you need anything.&lt;/P&gt;
&lt;P&gt;Regarding how to use MKL with IMPI I will get back to you.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:01:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209540#M7143</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-15T12:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209552#M7145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for the answer and the examples, it will help a lot.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Florent&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:43:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1209552#M7145</guid>
      <dc:creator>germainf</dc:creator>
      <dc:date>2020-09-15T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1210207#M7162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;An error occurs when I try to run an MPI programm on devcloud:&lt;/P&gt;
&lt;P&gt;mpirun -n 2 bin/vector_copy&lt;BR /&gt;Abort(2664079) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:&lt;BR /&gt;MPIR_Init_thread(136).........: &lt;BR /&gt;MPID_Init(1127)...............: &lt;BR /&gt;MPIDI_SHMI_mpi_init_hook(29)..: &lt;BR /&gt;MPIDI_POSIX_mpi_init_hook(141): &lt;BR /&gt;MPIDI_POSIX_eager_init(2109)..: &lt;BR /&gt;MPIDU_shm_seg_commit(261).....: unable to allocate shared memory&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems to be an communication layer initialization failure. Is there any way to run an mpi based programm on the oneapi devcloud? I attach a copy of my source code and Makefile.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Florent&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:13:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1210207#M7162</guid>
      <dc:creator>germainf</dc:creator>
      <dc:date>2020-09-17T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re:Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1211141#M7173</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;After logging into the devcloud you will be in a login node. You have to launch MPI in a compute node through a queue instead on a login node.&lt;/P&gt;&lt;P&gt;To run in a compute node, you must submit a job through a queue.&lt;/P&gt;&lt;P&gt;You can submit jobs to the queue using below command (Here you can change the nodes as per requirement, below command will allocate 2 nodes)&lt;/P&gt;&lt;P&gt;&lt;B&gt;qsub -I -l nodes=2:ppn=2&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can see the nodefile(&lt;B&gt;echo $PBS_NODEFILE&lt;/B&gt;) to check which nodes are allocated to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if you need any help&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:19:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1211141#M7173</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-21T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re:Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1213105#M7194</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since you have marked my response as a solution, I think you are able to use IMPI and DPCPP together. &lt;/P&gt;&lt;P&gt;As I said I will get back to you on how to run IMPI, DPCPP and OneMKL together, here is the command below. You must link MPI and MKL libraries with dpcpp.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;dpcpp -g -o&amp;lt;executable&amp;gt; &amp;lt;Foo.cpp&amp;gt; -I$MKLROOT/include $MKLROOT/lib/intel64/libmkl_sycl.a -L$MKLROOT/lib/intel64&amp;nbsp;-I$I_MPI_ROOT/include/ -L$I_MPI_ROOT/lib/release&amp;nbsp;-DMKL_ILP64 -lmpi -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lOpenCL -ldl&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if you face any issues.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:18:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1213105#M7194</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-28T11:18:57Z</dc:date>
    </item>
    <item>
      <title>Re:Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1215860#M7221</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. If you face any issue while using those commands, please reach out to us.  &lt;/P&gt;&lt;P&gt;Else if you found the answer helpful please confirm so we can close this thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Oct 2020 07:55:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1215860#M7221</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-08T07:55:49Z</dc:date>
    </item>
    <item>
      <title>Re:Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1215869#M7222</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I posted a new topic here:&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Base-Toolkit/Use-mathimf-h-with-dpcpp/td-p/1215586" target="_blank"&gt;https://community.intel.com/t5/Intel-oneAPI-Base-Toolkit/Use-mathimf-h-with-dpcpp/td-p/1215586&lt;/A&gt;&amp;nbsp;with the new issue I encountered to avoid this thread to diverges.&lt;/P&gt;
&lt;P&gt;I think this thread can be closed, thanks for your help, it helped a lot.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Florent&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:13:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1215869#M7222</guid>
      <dc:creator>germainf</dc:creator>
      <dc:date>2020-10-08T08:13:09Z</dc:date>
    </item>
    <item>
      <title>Re:Using oneAPI buffers in MPI calls</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1216228#M7227</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. We are closing this thread.&amp;nbsp;Any further interaction in this thread will be considered community only&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:28:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Using-oneAPI-buffers-in-MPI-calls/m-p/1216228#M7227</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-09T10:28:19Z</dc:date>
    </item>
  </channel>
</rss>

