[mpich-discuss] Please help, Error with MPI_scatter

Jayesh Krishna jayesh at mcs.anl.gov
Thu Apr 19 15:09:32 CDT 2012


Hi,
 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.

Regards,
Jayesh

----- Original Message -----
From: "diana adiyani ahmad" <daa_adiaz5728 at yahoo.com>
To: mpich-discuss at mcs.anl.gov
Cc: "Najah Abdul Rahman" <najah.silvercs at gmail.com>, "shura Asshura" <nurulasshura at yahoo.com>
Sent: Thursday, April 19, 2012 3:46:57 AM
Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter




My coding is at attachment. 


Thank you. 

Diana Adiyani Ahmad 
R&D SerindIT Com UUM Sdn Bhd 

04-9190197 






From: diana adiyani ahmad <daa_adiaz5728 at yahoo.com> 
To: "mpich-discuss at mcs.anl.gov" <mpich-discuss at mcs.anl.gov> 
Cc: Najah Abdul Rahman <najah.silvercs at gmail.com>; shura Asshura <nurulasshura at yahoo.com> 
Sent: Thursday, April 19, 2012 12:52 PM 
Subject: [mpich-discuss] Please help, Error with MPI_scatter 





I have a big problem with MPI, this is the error : 
------------------------------------------------------------------------ 


Microsoft Windows XP [Version 5.1.2600] 
(C) Copyright 1985-2001 Microsoft Corp. 

C:\Documents and Settings\user>cd C:\Documents and Settings\user\My Documents\Vi 
sual Studio 2008\Projects\MPICH\Debug 

C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\MPICH\De 
bug>mpiexec -hosts 2 192.168.1.12 192.168.1.43 mpich.exe 
Fatal error in PMPI_Scatter: Invalid count, error stack: 
PMPI_Scatter(791): MPI_Scatter(sbuf=00000000, scount=-429496730, MPI_INT, rbuf=0 
0000000, rcount=-429496730, MPI_INT, root=0, MPI_COMM_WORLD) failed 
PMPI_Scatter(728): Negative count, value is -429496730 

job aborted: 
rank: node: exit code[: error message] 
0: 192.168.1.12: 1: process 0 exited without calling finalize 
1: 192.168.1.43: 123 


Diana Adiyani Ahmad 
R&D SerindIT Com UUM Sdn Bhd 

04-9190197 

_______________________________________________ 
mpich-discuss mailing list mpich-discuss at mcs.anl.gov 
To manage subscription options or unsubscribe: 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 



_______________________________________________
mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list