<?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 Your test runs fine. in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082329#M4903</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Your test runs fine.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;% mpirun -n 2 a.out 16366
Process 0 is receiving 8183 elements from process 1
Process 1 is sending 8183 elements to process 0
Process 0 received from process 1
Process 1 completed sending to process 0
% mpirun -n 2 a.out 1000000
Process 1 is sending 500000 elements to process 0
Process 0 is receiving 500000 elements from process 1
Process 0 received from process 1
Process 1 completed sending to process 0&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2016 23:22:49 GMT</pubDate>
    <dc:creator>Gregg_S_Intel</dc:creator>
    <dc:date>2016-09-20T23:22:49Z</dc:date>
    <item>
      <title>MPI_Send/ MPI_Rcv don't work with more then 8182 double</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082326#M4900</link>
      <description>&lt;P&gt;Hi, I'm having some troubles with the attached code SendReceive.c.&lt;/P&gt;&lt;P&gt;The idea is to open a dataset with process p-1 and then to distribute it to the remaining processes. This solution works when the variable ln (local number of elements) is less than 8182. When I increase the number of elements I've the following error:&lt;/P&gt;&lt;P&gt;mpiexec -np 2 ./sendreceive 16366&lt;BR /&gt;Process 0 is receiving 8183 elements from process 1&lt;BR /&gt;Process 1 is sending 8183 elements to process 0&lt;BR /&gt;Fatal error in MPI_Recv: Other MPI error, error stack:&lt;BR /&gt;MPI_Recv(224)...................: MPI_Recv(buf=0x2000590, count=8183, MPI_DOUBLE, src=1, tag=MPI_ANY_TAG, MPI_COMM_WORLD, status=0x1) failed&lt;BR /&gt;PMPIDI_CH3I_Progress(623).......: fail failed&lt;BR /&gt;pkt_RTS_handler(317)............: fail failed&lt;BR /&gt;do_cts(662).....................: fail failed&lt;BR /&gt;MPID_nem_lmt_dcp_start_recv(288): fail failed&lt;BR /&gt;dcp_recv(154)...................: Internal MPI error! cannot read from remote process&lt;/P&gt;&lt;P&gt;I'm using the student license of the intel implementation of mpi (obtained by installing Intel® Parallel Studio XE Cluster Edition (includes Fortran and C/C++)).&lt;/P&gt;&lt;P&gt;Is this a limitation of the licence? Otherwise, what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 20:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082326#M4900</guid>
      <dc:creator>Paolo_M_</dc:creator>
      <dc:date>2016-09-19T20:19:43Z</dc:date>
    </item>
    <item>
      <title>This is a broadcast, use MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082327#M4901</link>
      <description>&lt;P&gt;This is a broadcast, use MPI_Bcast.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:43:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082327#M4901</guid>
      <dc:creator>Gregg_S_Intel</dc:creator>
      <dc:date>2016-09-20T16:43:58Z</dc:date>
    </item>
    <item>
      <title>This is a simplified example,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082328#M4902</link>
      <description>&lt;P&gt;This is a simplified example, in my real code process p-1 sends different elements to every process {1,2,..,,p-2}.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;The idea is to open a dataset with process p-1, split it and then to distribute chunks to the remaining processes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:48:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082328#M4902</guid>
      <dc:creator>Paolo_M_</dc:creator>
      <dc:date>2016-09-20T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Your test runs fine.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082329#M4903</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Your test runs fine.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;% mpirun -n 2 a.out 16366
Process 0 is receiving 8183 elements from process 1
Process 1 is sending 8183 elements to process 0
Process 0 received from process 1
Process 1 completed sending to process 0
% mpirun -n 2 a.out 1000000
Process 1 is sending 500000 elements to process 0
Process 0 is receiving 500000 elements from process 1
Process 0 received from process 1
Process 1 completed sending to process 0&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 23:22:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082329#M4903</guid>
      <dc:creator>Gregg_S_Intel</dc:creator>
      <dc:date>2016-09-20T23:22:49Z</dc:date>
    </item>
    <item>
      <title>Thank you Gregg, probably the</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082330#M4904</link>
      <description>Thank you Gregg, probably the problem is in my mpi installation.</description>
      <pubDate>Wed, 21 Sep 2016 12:47:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082330#M4904</guid>
      <dc:creator>Paolo_M_</dc:creator>
      <dc:date>2016-09-21T12:47:07Z</dc:date>
    </item>
    <item>
      <title>There is a Linux system</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082331#M4905</link>
      <description>&lt;P&gt;There is a Linux system parameter in /etc/security/limits.conf that you configure to set the limits for memlock. You may need a larger value than default. See &lt;A href="https://software.intel.com/en-us/blogs/2014/12/16/best-known-methods-for-setting-locked-memory-size"&gt;this &lt;/A&gt;for additional information.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 12:37:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082331#M4905</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-09-23T12:37:31Z</dc:date>
    </item>
    <item>
      <title>I have same problem on ubuntu</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082332#M4906</link>
      <description>&lt;P&gt;I have same problem on ubuntu 14.04.5 LTS(4.4.0-31-generic, x64_86), compliled with intel 2017.0.098 or 2016.3.210, the root can run rightly but other account can't run, but&amp;nbsp; that program can run on other system compiled with intel MPI, or with openmpi 2.0.1&lt;/P&gt;

&lt;P&gt;The iptables and firewall have closed.&lt;/P&gt;

&lt;P&gt;The ulimit for normal account:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63773
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 63773
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited&lt;/PRE&gt;

&lt;P&gt;source code:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;use mpi
implicit none
real*8 send_data(2000000),recv_data(2000000)
integer ierr,mynode,numnodes,status(5000)
integer i,j,k

send_data=0.0d0
call mpi_init(ierr)
call mpi_comm_rank(MPI_Comm_World, mynode, ierr)
call mpi_comm_size(MPI_Comm_World, numnodes, ierr)
do k=1,10
	i=mod(mynode-1+numnodes,numnodes)
	j=mod(mynode+1 ,numnodes)
	call mpi_sendrecv(send_data,2000000,mpi_double_precision,j,0, &amp;amp;
		&amp;amp; recv_data,2000000,mpi_double_precision,i,0,MPI_Comm_World,status,ierr) 
	print*,i,'-&amp;gt;',mynode,'-&amp;gt;',j
	if(mynode==0)print*,k
enddo
call mpi_barrier(MPI_Comm_World,ierr)
call mpi_finalize(ierr)
end&lt;/PRE&gt;

&lt;DIV class="syntaxhighlighter  " id="highlighter_104118"&gt;
	&lt;DIV class="lines"&gt;
		&lt;DIV class="line alt1"&gt;
			&lt;TABLE width="49" height="14"&gt;
				&lt;TBODY&gt;
					&lt;TR&gt;
						&lt;TD class="number"&gt;&amp;nbsp;&lt;/TD&gt;
						&lt;TD class="content"&gt;&amp;nbsp;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;UL&gt;
	&lt;LI&gt;compile: mpiifort -o mpiring mpiring.f90&lt;/LI&gt;
&lt;/UL&gt;

&lt;UL&gt;
	&lt;LI&gt;run: hpc@ntd01:~$ mpiexec -n 4 ./mpiring
		&lt;PRE class="brush:bash;"&gt;Fatal error in MPI_Sendrecv: Other MPI error, error stack:
MPI_Sendrecv(259)...............: MPI_Sendrecv(sbuf=0x6b5820, scount=8183, MPI_DOUBLE_PRECISION, dest=3, stag=0, rbuf=0x83c220, rcount=8183, MPI_DOUBLE_PRECISION, src=1, rtag=0, MPI_COMM_WORLD, status=0x9c2c20) failed
PMPIDI_CH3I_Progress(623).......: fail failed
pkt_RTS_handler(317)............: fail failed
do_cts(662).....................: fail failed
MPID_nem_lmt_dcp_start_recv(288): fail failed
dcp_recv(154)...................: Internal MPI error!  cannot read from remote process
Fatal error in MPI_Sendrecv: Other MPI error, error stack:
MPI_Sendrecv(259)...............: MPI_Sendrecv(sbuf=0x6b5820, scount=8183, MPI_DOUBLE_PRECISION, dest=0, stag=0, rbuf=0x83c220, rcount=8183, MPI_DOUBLE_PRECISION, src=2, rtag=0, MPI_COMM_WORLD, status=0x9c2c20) failed
PMPIDI_CH3I_Progress(623).......: fail failed
pkt_RTS_handler(317)............: fail failed
do_cts(662).....................: fail failed
MPID_nem_lmt_dcp_start_recv(288): fail failed
dcp_recv(154)...................: Internal MPI error!  cannot read from remote process
Fatal error in MPI_Sendrecv: Other MPI error, error stack:
MPI_Sendrecv(259)...............: MPI_Sendrecv(sbuf=0x6b5820, scount=8183, MPI_DOUBLE_PRECISION, dest=1, stag=0, rbuf=0x83c220, rcount=8183, MPI_DOUBLE_PRECISION, src=3, rtag=0, MPI_COMM_WORLD, status=0x9c2c20) failed
MPID_Irecv(160).................: fail failed
MPID_nem_lmt_RndvRecv(208)......: fail failed
do_cts(662).....................: fail failed
MPID_nem_lmt_dcp_start_recv(288): fail failed
dcp_recv(154)...................: Internal MPI error!  cannot read from remote process

&lt;/PRE&gt;
	&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;It is ok if change recv_data(8183) and send_data(8183) to recv_data(8182) and send_data(8182), and can run on 200 processes on one node(4 cpu cores), but if it is 8183, it can't run even on 2 processes.&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;/etc/hosts:&lt;/LI&gt;
&lt;/UL&gt;

&lt;PRE class="brush:bash;"&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost ntd01
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters&lt;/PRE&gt;

&lt;UL&gt;
	&lt;LI&gt;ifconfig:&lt;/LI&gt;
	&lt;LI&gt;
		&lt;PRE class="brush:bash;"&gt;eth0      Link encap:Ethernet  HWaddr 74:d4:35:b7:dd:72 
          inet addr:xxx.xxx.xx.xx  Bcast:xxx.xxx.xx.255  Mask:255.255.254.0
          inet6 addr: fe80::76d4:35ff:feb7:dd72/64 Scope:Link
          inet6 addr: 2001:da8:d800:144:76d4:35ff:feb7:dd72/64 Scope:Global
          inet6 addr: 2001:da8:d800:144:1c9e:3c0:ab1f:44c/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1310326 (1.3 MB)  TX bytes:214986 (214.9 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:6392 (6.3 KB)  TX bytes:6392 (6.3 KB)

&lt;/PRE&gt;
	&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:25:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082332#M4906</guid>
      <dc:creator>hmli_l_</dc:creator>
      <dc:date>2016-10-25T14:25:14Z</dc:date>
    </item>
    <item>
      <title>Hi, I didn't solve the</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082333#M4907</link>
      <description>Hi, I didn't solve the problem. I tried also with the solution of Jim but nothing.
My interest was mainly in the correctness of my code.
I hope that someone else could help to solve the problem.</description>
      <pubDate>Tue, 25 Oct 2016 15:30:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082333#M4907</guid>
      <dc:creator>Paolo_M_</dc:creator>
      <dc:date>2016-10-25T15:30:41Z</dc:date>
    </item>
    <item>
      <title>Any news about this issue?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082334#M4908</link>
      <description>&lt;P&gt;Any news about this issue?&lt;/P&gt;

&lt;P&gt;I have updated the parallel studio xe to 2017 update 1 hopping this would be fixed, but still the same thing.&lt;/P&gt;

&lt;P&gt;And there's no answer from any one.&lt;/P&gt;

&lt;P&gt;Is at least a way or workaround to continue working without this issue?&lt;/P&gt;

&lt;P&gt;I cannot found any way to solve this.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 02:32:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082334#M4908</guid>
      <dc:creator>Luis_Diego_C_</dc:creator>
      <dc:date>2016-11-09T02:32:16Z</dc:date>
    </item>
    <item>
      <title>Paolo,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082335#M4909</link>
      <description>&lt;P&gt;Paolo,&lt;/P&gt;

&lt;P&gt;Please run with I_MPI_HYDRA_DEBUG=1 and attach the output as a file.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 20:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Send-MPI-Rcv-don-t-work-with-more-then-8182-double/m-p/1082335#M4909</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2016-11-23T20:26:26Z</dc:date>
    </item>
  </channel>
</rss>

