<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Can you please help me modify the coding? I don't know where is the error in that coding?</span></div><div> </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&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> </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> Rajeev Thakur <thakur@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> diana adiyani ahmad <daa_adiaz5728@yahoo.com>; mpich-discuss@mcs.anl.gov <br><b><span style="font-weight: bold;">Cc:</span></b> Jayesh Krishna <jayesh@mcs.anl.gov>; Najah Abdul Rahman <najah.silvercs@gmail.com>; shura Asshura <nurulasshura@yahoo.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, April 20, 2012 10:50 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] Please help, Error with MPI_scatter<br> </font> </div> <br>
If you are not using a count value that large, something else is wrong in your code. (Derived datatypes won't help.)<br><br><br>On Apr 20, 2012, at 9:23 AM, diana adiyani ahmad wrote:<br><br>> Hi,<br>> <br>> Can you show how to using derived datatypes?<br>> <br>> Diana Adiyani Ahmad<br>> R&D SerindIT Com UUM Sdn Bhd<br>> 04-9190197 <br>> <br>> From: Jayesh Krishna <<a ymailto="mailto:jayesh@mcs.anl.gov" href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>><br>> To: diana adiyani ahmad <<a ymailto="mailto:daa_adiaz5728@yahoo.com" href="mailto:daa_adiaz5728@yahoo.com">daa_adiaz5728@yahoo.com</a>>; <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 <<a ymailto="mailto:najah.silvercs@gmail.com" href="mailto:najah.silvercs@gmail.com">najah.silvercs@gmail.com</a>>; shura Asshura <<a
ymailto="mailto:nurulasshura@yahoo.com" href="mailto:nurulasshura@yahoo.com">nurulasshura@yahoo.com</a>> <br>> Sent: Friday, April 20, 2012 4:09 AM<br>> Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter<br>> <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" <<a ymailto="mailto:daa_adiaz5728@yahoo.com" href="mailto:daa_adiaz5728@yahoo.com">daa_adiaz5728@yahoo.com</a>><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" <<a ymailto="mailto:najah.silvercs@gmail.com"
href="mailto:najah.silvercs@gmail.com">najah.silvercs@gmail.com</a>>, "shura Asshura" <<a ymailto="mailto:nurulasshura@yahoo.com" href="mailto:nurulasshura@yahoo.com">nurulasshura@yahoo.com</a>><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&D SerindIT Com UUM Sdn Bhd <br>> <br>> 04-9190197 <br>> <br>> <br>> <br>> <br>> <br>> <br>> From: diana adiyani ahmad <<a ymailto="mailto:daa_adiaz5728@yahoo.com" href="mailto:daa_adiaz5728@yahoo.com">daa_adiaz5728@yahoo.com</a>> <br>> To: "<a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>" <<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 <<a ymailto="mailto:najah.silvercs@gmail.com" href="mailto:najah.silvercs@gmail.com">najah.silvercs@gmail.com</a>>; shura Asshura <<a ymailto="mailto:nurulasshura@yahoo.com" href="mailto:nurulasshura@yahoo.com">nurulasshura@yahoo.com</a>> <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>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>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&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 <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>> 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> </div> </div> </div></body></html>