<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] MPI_Abort and MPI_REDUCE error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2> Hi,<BR>
Can you send us your code (or a sample test case) that fails ?<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: owner-mpich-discuss@mcs.anl.gov [<A HREF="mailto:owner-mpich-discuss@mcs.anl.gov">mailto:owner-mpich-discuss@mcs.anl.gov</A>] On Behalf Of Ben Tay<BR>
Sent: Thursday, June 12, 2008 8:28 PM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: [mpich-discuss] MPI_Abort and MPI_REDUCE error<BR>
<BR>
Hi,<BR>
<BR>
I have MPICH and MPICH2 installed on my windows xp. When compiling using either libraries, I get the error:<BR>
<BR>
s2d_c.obj : error LNK2001: unresolved external symbol _MPI_ABORT@8 Debug/ns2d_c.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.<BR>
<BR>
After I remove MPI_ABORT, compiling 's ok. However if I execute using MPIEXEC, I get the error:<BR>
<BR>
Fatal error in MPI_Reduce: Invalid MPI_Op, error stack:<BR>
MPI_Reduce(850)...........: MPI_Reduce(sbuf=00FD69C8, rbuf=00FD6348, count=1, dtype=0x4c000829, MPI_MIN, root=0, MPI_COMM_WORLD) failed<BR>
MPIR_MINF_check_dtype(281): MPI_Op MPI_MIN operation not defined for this datatype job aborted:<BR>
rank: node: exit code[: error message]<BR>
0: gotchama-16e5ed: 1: Fatal error in MPI_Reduce: Invalid MPI_Op, error<BR>
stack:<BR>
MPI_Reduce(850)...........: MPI_Reduce(sbuf=00FD69C8, rbuf=00FD6348, count=1, dtype=0x4c000829, MPI_MIN, root=0, MPI_COMM_WORLD) failed<BR>
MPIR_MINF_check_dtype(281): MPI_Op MPI_MIN operation not defined for this datatype<BR>
<BR>
<BR>
While I compile in linux, there's no problem at all. May I know why this is so?<BR>
<BR>
Thank you very much<BR>
<BR>
Regards<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>