<?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 the MPI standard (see www.mpi in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010158#M3901</link>
    <description>&lt;P&gt;the MPI standard (see &lt;A href="https://community.intel.com/www.mpi-forum.org)" target="_blank"&gt;www.mpi-forum.org)&lt;/A&gt; has a special value MPI_IN_PLACE that can be used when the send and receive buffer are the same. For MPI_Allreduce, the standard says:&lt;/P&gt;

&lt;P&gt;The “in place” option for intracommunicators is specified by passing the value MPI_IN_PLACE to the argument sendbuf at all processes.&lt;/P&gt;

&lt;P&gt;About the MPI types: have you checked the error values of MPI_TYPE_VECTOR and MPI_TYPE_COMMIT?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2015 09:05:52 GMT</pubDate>
    <dc:creator>John_D_6</dc:creator>
    <dc:date>2015-09-07T09:05:52Z</dc:date>
    <item>
      <title>open MPI e intel MPI DATATYPE</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010150#M3893</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have notice small difference between OPEN-MPI and intel MPI.&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;For example in&amp;nbsp;MPI_ALLREDUCE in intel MPI is not allowed to use the same variable in send and receiving Buff.&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have written my code in OPEN-MPI, run in on a intel-MPI cluster.&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Now I have the following error:&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;
	&lt;PRE class="brush:bash;"&gt;Fatal error in MPI_Isend: Invalid communicator, error stack:
MPI_Isend(158): MPI_Isend(buf=0x1dd27b0, count=1, INVALID DATATYPE, dest=0, tag=0, comm=0x0, request=0x7fff9d7dd9f0) failed&lt;/PRE&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;This is how I create my type:&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;
	&lt;PRE class="brush:fortran;"&gt;  CALL  MPI_TYPE_VECTOR(1, Ncoeff_MLS, Ncoeff_MLS, MPI_DOUBLE_PRECISION, coltype, MPIdata%iErr) 
  CALL  MPI_TYPE_COMMIT(coltype, MPIdata%iErr)
  !
  CALL  MPI_TYPE_VECTOR(1, nVar, nVar, coltype, MPI_WENO_TYPE, MPIdata%iErr) 
  CALL  MPI_TYPE_COMMIT(MPI_WENO_TYPE, MPIdata%iErr)&lt;/PRE&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;do you believe that is here the problem?&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Is also this the way how intel MPI create a datatype?&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="color: rgb(34, 34, 34); line-height: normal; font-family: arial, sans-serif; font-size: 12.8px;"&gt;What do you think?&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010150#M3893</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2015-09-02T12:46:00Z</dc:date>
    </item>
    <item>
      <title>I redirecting your question</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010151#M3894</link>
      <description>&lt;P&gt;I redirecting your question to our &lt;A href="https://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;Intel® Clusters and HPC Technology&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; to tap the expertise of our MPI team and community.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 13:01:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010151#M3894</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-09-02T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010152#M3895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Which version of Intel MPI Library do you use?&lt;/P&gt;

&lt;P&gt;Regarding to:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;For example in&amp;nbsp;MPI_ALLREDUCE in intel MPI is not allowed to use the same variable in send and receiving Buff.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;You can set I_MPI_COMPATIBILITY=4 environment variable to avoid this limitation.&lt;/P&gt;

&lt;P&gt;There's the following note in the Intel(R) MPI Library for Linux* OS Release Notes:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Intel(R) MPI Library 4.1 for Linux* OS implements the MPI-2.2&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; standard.&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On top of this, the aliasing of the send and receive buffers in the&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; following collective routines will be rejected:&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o MPI_Gather, MPI_Gatherv&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o MPI_Scatter, MPI_Scatterv&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o MPI_Allgather, MPI_Allgatherv&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o MPI_Alltoall, MPI_Alltoallv, MPI_Alltoallw&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If your application depends on the pre-MPI-2.2 behavior, set the&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; environment variable I_MPI_COMPATIBILITY to 4. If your application&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on the pre-MPI-2.1 behavior, set the environment variable&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_MPI_COMPATIBILITY to 3.&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You will see the diagnostic messages below in case of buffer aliasing&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; issue:&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MPIR_Localcopy(381).......: memcpy arguments alias each other&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Known applications with such kind of limitations:&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPEC MPI2007 V2.0, VASP 5.3&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;MPI_ALLREDUCE isn't mentioned in the note, but this limitation and W/A is applicable for it also.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 07:24:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010152#M3895</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-09-03T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Dear Artem, Dear all,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010153#M3896</link>
      <description>&lt;P&gt;Dear Artem, Dear all,&lt;/P&gt;

&lt;P&gt;when I run&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;mpiifort --version
&lt;/PRE&gt;

&lt;P&gt;I get&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;ifort (IFORT) 12.1.4 20120410
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.
&lt;/PRE&gt;

&lt;P&gt;how can i understand MPI version? Is this what you need?&lt;/P&gt;

&lt;P&gt;Regardin the othes part:&lt;/P&gt;

&lt;P&gt;I use in some part of my code&amp;nbsp;MPI_ALLGATHER.&lt;/P&gt;

&lt;P&gt;How can I set&amp;nbsp;&amp;nbsp;I_MPI_COMPATIBILITY ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:48:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010153#M3896</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2015-09-03T08:48:33Z</dc:date>
    </item>
    <item>
      <title>You can get the Intel MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010154#M3897</link>
      <description>&lt;P&gt;You can get the Intel MPI Library version for example with the command 'mpirun -V'.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;How can I set&amp;nbsp;&amp;nbsp;I_MPI_COMPATIBILITY ?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;In Linux you can set the environment variables with 'export' command before the mpirun call:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;$ export I_MPI_COMPATIBILITY=4&lt;/P&gt;

	&lt;P&gt;$ mpirun ...&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 03 Sep 2015 09:16:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010154#M3897</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-09-03T09:16:33Z</dc:date>
    </item>
    <item>
      <title>If you are switching between</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010155#M3898</link>
      <description>&lt;P&gt;If you are switching between intel and openmpi you must remember not to mix environment. &amp;nbsp;You might use modules to manage this. &amp;nbsp;As the data types encodings differ, you must take care that all objects are built against the same headers.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 12:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010155#M3898</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-09-03T12:54:18Z</dc:date>
    </item>
    <item>
      <title>Dear Tim  Dear all,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010156#M3899</link>
      <description>&lt;P&gt;Dear Tim &amp;nbsp;Dear all,&lt;/P&gt;

&lt;P&gt;The problem is that I am running on my laptop openMPI. This is usefull for me to run amf test my code.&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The cluster where I run my code uses intel MPI.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;what do you mean for&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;use modules to manage this&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;Diego&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 12:59:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010156#M3899</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2015-09-03T12:59:17Z</dc:date>
    </item>
    <item>
      <title>If you are willing to manage</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010157#M3900</link>
      <description>&lt;P&gt;If you are willing to manage it yourself, you remove openmpi (such as your linux distro might provide) from the default paths and build it and install with --prefix, e.g. --prefix=/opt/ompi1.8/x86_64/&lt;/P&gt;

&lt;P&gt;then set PATH and LD_LIBRARY_PATH accordingly for each MPI you use (mpivars script will do it for Intel MPI).&lt;/P&gt;

&lt;P&gt;You will have trouble with OpenMPI itself if you want to use a better version than your distro provides, if you don't remove that version.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2015 13:38:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010157#M3900</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-09-05T13:38:29Z</dc:date>
    </item>
    <item>
      <title>the MPI standard (see www.mpi</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010158#M3901</link>
      <description>&lt;P&gt;the MPI standard (see &lt;A href="https://community.intel.com/www.mpi-forum.org)" target="_blank"&gt;www.mpi-forum.org)&lt;/A&gt; has a special value MPI_IN_PLACE that can be used when the send and receive buffer are the same. For MPI_Allreduce, the standard says:&lt;/P&gt;

&lt;P&gt;The “in place” option for intracommunicators is specified by passing the value MPI_IN_PLACE to the argument sendbuf at all processes.&lt;/P&gt;

&lt;P&gt;About the MPI types: have you checked the error values of MPI_TYPE_VECTOR and MPI_TYPE_COMMIT?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2015 09:05:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/open-MPI-e-intel-MPI-DATATYPE/m-p/1010158#M3901</guid>
      <dc:creator>John_D_6</dc:creator>
      <dc:date>2015-09-07T09:05:52Z</dc:date>
    </item>
  </channel>
</rss>

