<?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 Broadcasting multidimensional arrays in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Broadcasting-multidimensional-arrays/m-p/1189421#M8141</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using MPI for parallelization. I want to broadcast a multidimensional array. Is there today a way to do this directly?&lt;/P&gt;
&lt;P&gt;If not, is it possible to broadcast by using DO-loops?&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;The integer array a(m,n) shall be broadcasted. Will this work?&lt;/P&gt;
&lt;P&gt;DO i=1,m&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CALL MPI_BCAST(a(i,1:n),n,MPI_INTEGER8,0,MPI_COMM_WORLD,ierr)&lt;/P&gt;
&lt;P&gt;ENDDO&lt;/P&gt;
&lt;P&gt;If yes, can I broadcast in the same way for dimensions above 2?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Anders S&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jul 2020 20:17:30 GMT</pubDate>
    <dc:creator>Anders_S_1</dc:creator>
    <dc:date>2020-07-03T20:17:30Z</dc:date>
    <item>
      <title>Broadcasting multidimensional arrays</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Broadcasting-multidimensional-arrays/m-p/1189421#M8141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using MPI for parallelization. I want to broadcast a multidimensional array. Is there today a way to do this directly?&lt;/P&gt;
&lt;P&gt;If not, is it possible to broadcast by using DO-loops?&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;The integer array a(m,n) shall be broadcasted. Will this work?&lt;/P&gt;
&lt;P&gt;DO i=1,m&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CALL MPI_BCAST(a(i,1:n),n,MPI_INTEGER8,0,MPI_COMM_WORLD,ierr)&lt;/P&gt;
&lt;P&gt;ENDDO&lt;/P&gt;
&lt;P&gt;If yes, can I broadcast in the same way for dimensions above 2?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Anders S&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 20:17:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Broadcasting-multidimensional-arrays/m-p/1189421#M8141</guid>
      <dc:creator>Anders_S_1</dc:creator>
      <dc:date>2020-07-03T20:17:30Z</dc:date>
    </item>
  </channel>
</rss>

