[mpich-discuss] MPI_Abort and MPI_REDUCE error

Jayesh Krishna jayesh at mcs.anl.gov
Fri Jun 13 09:15:39 CDT 2008


 Hi,
  Can you send us your code (or a sample test case) that fails ?

Regards,
Jayesh

-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Ben Tay
Sent: Thursday, June 12, 2008 8:28 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] MPI_Abort and MPI_REDUCE error

Hi,

I have MPICH and MPICH2 installed on my windows xp. When compiling using
either libraries, I get the error:

s2d_c.obj : error LNK2001: unresolved external symbol _MPI_ABORT at 8
Debug/ns2d_c.exe : fatal error LNK1120: 1 unresolved externals Error
executing link.exe.

After I remove MPI_ABORT, compiling 's ok. However if I execute using
MPIEXEC, I get the error:

Fatal error in MPI_Reduce: Invalid MPI_Op, error stack:
MPI_Reduce(850)...........: MPI_Reduce(sbuf=00FD69C8, rbuf=00FD6348,
count=1, dtype=0x4c000829, MPI_MIN, root=0, MPI_COMM_WORLD) failed
MPIR_MINF_check_dtype(281): MPI_Op MPI_MIN operation not defined for this
datatype job aborted:
rank: node: exit code[: error message]
0: gotchama-16e5ed: 1: Fatal error in MPI_Reduce: Invalid MPI_Op, error
stack:
MPI_Reduce(850)...........: MPI_Reduce(sbuf=00FD69C8, rbuf=00FD6348,
count=1, dtype=0x4c000829, MPI_MIN, root=0, MPI_COMM_WORLD) failed
MPIR_MINF_check_dtype(281): MPI_Op MPI_MIN operation not defined for this
datatype


While I compile in linux, there's no problem at all. May I know why this
is so?

Thank you very much

Regards


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080613/100a01d5/attachment.htm>


More information about the mpich-discuss mailing list