<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi,</span></div><div><span><br></span></div><div><span>Can you show how to using derived datatypes?</span></div><div>&nbsp;</div><div><font style="font-weight:bold;"><span style="color: rgb(127, 0, 127); font-size: 10px; font-family: tahoma, times, serif; ">Diana Adiyani Ahmad<br>R&amp;D SerindIT Com UUM Sdn Bhd<br></span></font></div><div style="background-color:transparent;font-style:normal;"><font style="font-weight:bold;"><span class="yui_3_2_0_2_132746691550448"><span style="color: rgb(127, 0, 127); font-size: x-small; font-family: tahoma, times, serif; "><b style="line-height:normal;text-align:left;"><font style="line-height:11px;">04-9190197</font></b>&nbsp;</span><br></span></font></div><div><br></div>  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family:
 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jayesh Krishna &lt;jayesh@mcs.anl.gov&gt;<br> <b><span style="font-weight: bold;">To:</span></b> diana adiyani ahmad &lt;daa_adiaz5728@yahoo.com&gt;; mpich-discuss@mcs.anl.gov <br><b><span style="font-weight: bold;">Cc:</span></b> Najah Abdul Rahman &lt;najah.silvercs@gmail.com&gt;; shura Asshura &lt;nurulasshura@yahoo.com&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, April 20, 2012 4:09 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] Please help, Error with MPI_scatter<br> </font> </div> <br>
Hi,<br> Looks like you are running on a 32-bit machine and hit by the max size of an integer used for count argument in the Scatter call (Is the count = 2576980378 ?). Try using derived datatypes.<br><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "diana adiyani ahmad" &lt;<a ymailto="mailto:daa_adiaz5728@yahoo.com" href="mailto:daa_adiaz5728@yahoo.com">daa_adiaz5728@yahoo.com</a>&gt;<br>To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Cc: "Najah Abdul Rahman" &lt;<a ymailto="mailto:najah.silvercs@gmail.com" href="mailto:najah.silvercs@gmail.com">najah.silvercs@gmail.com</a>&gt;, "shura Asshura" &lt;<a ymailto="mailto:nurulasshura@yahoo.com" href="mailto:nurulasshura@yahoo.com">nurulasshura@yahoo.com</a>&gt;<br>Sent: Thursday, April 19, 2012 3:46:57 AM<br>Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter<br><br><br><br><br>My coding is at
 attachment. <br><br><br>Thank you. <br><br>Diana Adiyani Ahmad <br>R&amp;D SerindIT Com UUM Sdn Bhd <br><br>04-9190197 <br><br><br><br><br><br><br>From: diana adiyani ahmad &lt;<a ymailto="mailto:daa_adiaz5728@yahoo.com" href="mailto:daa_adiaz5728@yahoo.com">daa_adiaz5728@yahoo.com</a>&gt; <br>To: "<a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>" &lt;<a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>&gt; <br>Cc: Najah Abdul Rahman &lt;<a ymailto="mailto:najah.silvercs@gmail.com" href="mailto:najah.silvercs@gmail.com">najah.silvercs@gmail.com</a>&gt;; shura Asshura &lt;<a ymailto="mailto:nurulasshura@yahoo.com" href="mailto:nurulasshura@yahoo.com">nurulasshura@yahoo.com</a>&gt; <br>Sent: Thursday, April 19, 2012 12:52 PM <br>Subject: [mpich-discuss] Please help, Error with MPI_scatter <br><br><br><br><br><br>I have a big
 problem with MPI, this is the error : <br>------------------------------------------------------------------------ <br><br><br>Microsoft Windows XP [Version 5.1.2600] <br>(C) Copyright 1985-2001 Microsoft Corp. <br><br>C:\Documents and Settings\user&gt;cd C:\Documents and Settings\user\My Documents\Vi <br>sual Studio 2008\Projects\MPICH\Debug <br><br>C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\MPICH\De <br>bug&gt;mpiexec -hosts 2 192.168.1.12 192.168.1.43 mpich.exe <br>Fatal error in PMPI_Scatter: Invalid count, error stack: <br>PMPI_Scatter(791): MPI_Scatter(sbuf=00000000, scount=-429496730, MPI_INT, rbuf=0 <br>0000000, rcount=-429496730, MPI_INT, root=0, MPI_COMM_WORLD) failed <br>PMPI_Scatter(728): Negative count, value is -429496730 <br><br>job aborted: <br>rank: node: exit code[: error message] <br>0: 192.168.1.12: 1: process 0 exited without calling finalize <br>1: 192.168.1.43: 123 <br><br><br>Diana Adiyani Ahmad
 <br>R&amp;D SerindIT Com UUM Sdn Bhd <br><br>04-9190197 <br><br>_______________________________________________ <br>mpich-discuss mailing list <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a> <br>To manage subscription options or unsubscribe: <br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a> <br><br><br><br>_______________________________________________<br>mpich-discuss mailing list&nbsp; &nbsp;  <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br><br><br> </div> </div>  </div></body></html>