<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Also, you should use the latest stable release MPICH-3.1.3 at <a href="http://www.mpich.org/downloads/">http://www.mpich.org/downloads/</a></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--Junchao Zhang</div></div>
<br><div class="gmail_quote">On Thu, Oct 16, 2014 at 8:40 AM, Seo, Sangmin <span dir="ltr"><<a href="mailto:sseo@anl.gov" target="_blank">sseo@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi Victor,
<div><br>
</div>
<div>Your code was not attached. Can you send it again?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Sangmin</div>
<div><br>
</div>
<div><br>
<div><div><div class="h5">
<div>On Oct 16, 2014, at 6:34 AM, Victor Vysotskiy <<a href="mailto:victor.vysotskiy@teokem.lu.se" target="_blank">victor.vysotskiy@teokem.lu.se</a>> wrote:</div>
<br>
</div></div><blockquote type="cite">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div class="h5">
<div style="direction:ltr;font-family:Tahoma;font-size:10pt">
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Hi, </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
I am straggling with a simple MPI program when a vector derived datatype is used as origin/remote datatypes in the MPI_Put RMA operation. The underlying idea is quite simple: a contiguous piece of memory is interpreted as a 2D array and only its certain slice
is going to be updated via MPI_Put. To this end, I am using a MPI_Type_vector call. Everything works fine when the stride value <= 24000, regardless count and blocklength. However, if stride is greater than 24000 then program simply hangs. The source code
is attached and you can simply verify the issue by compiling and running it with the following parameters:</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
mpicc mpi_tvec_rma.c</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
mpirun -np 2 ./a.out 10000 2000 </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Ok</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
mpirun -np 2 ./a.out 20000 2000 </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Ok</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
mpirun -np 2 ./a.out 30000 2000 </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Hangs</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Is there any internal/known limits to the size of MPI_TYPE_VECTOR datatypes?</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
So, I am really puzzled what is happening here and any help will be greatly appreciated! </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
With best regards,</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
Victor.</p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
P.S. The attached code is perfectly runs with the OpenMPI v1.8.2. </p>
<p style="margin-right:0px;margin-bottom:1.5em;margin-left:0px;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;color:rgb(83,87,94)">
P.P.S. Below are given some details about hardware and software setups used:</p>
<div>
<div style="font-family:Tahoma;font-size:13px">
<div><font><span style="font-size:10pt">
<div>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 Version: 1.5</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 Release date: Mon Oct 8 14:00:48 CDT 2012</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 Device: ch3:nemesis</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 configure: --prefix=/opt/mpi/mpich2/ --disable-weak-symbols</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 CC: gcc -O2</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 CXX: c++ -O2</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 F77: gfortran -O2</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;font-family:Menlo">
MPICH2 FC: gfortran -O2</p>
<div><br>
</div>
<div>GCC version 4.7.3</div>
<div><br>
</div>
<div><br>
</div>
</div>
</span></font></div>
</div>
</div>
</div></div></div>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></div>
</blockquote>
</div>
<br>
</div>
</div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div>