[mpich-discuss] MPI_Allreduce INVALID DATATYPE error
Jayesh Krishna
jayesh at mcs.anl.gov
Thu May 5 10:08:07 CDT 2011
Hi,
Are you using MPICH2 32-bit or 64-bit binaries/headers (You should be using 32-bit MPICH2 binaries/headers)?
Regards,
Jayesh
----- Original Message -----
From: "hi" <hiralsmaillist at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Wednesday, May 4, 2011 9:58:57 AM
Subject: [mpich-discuss] MPI_Allreduce INVALID DATATYPE error
Greetings !!!
I am observing following error messages when executing attached test program...
Environment:
OS: Windows 7 64-bit
Compilers: Visual Studio 2008 32bit and Intel ifort 32bit
MPICH2: pre-built libraries
C:\test>mpirun mar_f.exe
0
0
0
size= 1 , rank= 0
start --
a= 2.00000000000000 2.00000000000000 2.00000000000000
2.00000000000000 2.00000000000000
b= 3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000 3.00000000000000 3.00000000000000
3.00000000000000
c= 0.000000000000000E+000 0.000000000000000E+000 0.000000000000000E+000
0.000000000000000E+000 0.000000000000000E+000
sum= 0.000000000000000E+000 0.000000000000000E+000 0.000000000000000E+000
0.000000000000000E+000 0.000000000000000E+000
sum= 30.0000000000000 30.0000000000000 30.0000000000000
30.0000000000000 30.0000000000000
Fatal error in MPI_Allreduce: Invalid MPI_Op, error stack:
MPI_Allreduce(919): MPI_Allreduce(sbuf=00FC29A0, rbuf=00406140,
count=5, INVALID DATATYPE, op=0x0, MPI_COMM_WORLD) failed
MPI_Allreduce(866): Invalid MPI_Op
MPI_Allreduce(865): Invalid datatype
--------------------------------------------------------------------------
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
--------------------------------------------------------------------------
Thank you.
-Hiral
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list