[mpich-discuss] MPI_Allreduce INVALID DATATYPE error

hi hiralsmaillist at gmail.com
Wed May 4 09:58:57 CDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mar_f.f
Type: application/octet-stream
Size: 1963 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110504/d9c4623e/attachment.obj>


More information about the mpich-discuss mailing list