[mpich-discuss] Please help, Error with MPI_scatter
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Apr 20 10:01:08 CDT 2012
And yes, as Rajeev mentioned make sure that you are indeed using that large count.
-Jayesh
----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "diana adiyani ahmad" <daa_adiaz5728 at yahoo.com>
Cc: "Najah Abdul Rahman" <najah.silvercs at gmail.com>, "shura Asshura" <nurulasshura at yahoo.com>, mpich-discuss at mcs.anl.gov
Sent: Friday, April 20, 2012 9:56:25 AM
Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter
Hi,
You can find information on derived datatypes in any book that covers MPI (Also see http://www.mpi-forum.org/docs/mpi-11-html/node54.html). You might just need to create a vector datatype (http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Type_vector.html).
You can also find some examples in the MPICH2 test suite (https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/test/mpi/datatype/).
Regards,
Jayesh
----- Original Message -----
From: "diana adiyani ahmad" <daa_adiaz5728 at yahoo.com>
To: "Jayesh Krishna" <jayesh 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: Friday, April 20, 2012 9:23:11 AM
Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter
Hi,
Can you show how to using derived datatypes?
Diana Adiyani Ahmad
R&D SerindIT Com UUM Sdn Bhd
04-9190197
From: Jayesh Krishna <jayesh at mcs.anl.gov>
To: diana adiyani ahmad <daa_adiaz5728 at yahoo.com>; mpich-discuss at mcs.anl.gov
Cc: Najah Abdul Rahman <najah.silvercs at gmail.com>; shura Asshura <nurulasshura at yahoo.com>
Sent: Friday, April 20, 2012 4:09 AM
Subject: Re: [mpich-discuss] Please help, Error with MPI_scatter
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
_______________________________________________
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