<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial>I'm having problems setting up MPICH2 to run on a single
machine, and would be grateful for any help.<BR><BR>The machine is a Dell laptop
with P4 processor, running Windows XP. I want to run with Visual C++ 6.0 and use
it for development running MPI only on one machine, but sometimes with multiple
processors (i.e. mpirun -np 4 myprog) to test code that will eventually run on a
cluster. Unfortunately, the cluster is not available remotely and I don't want
to drive in to use it during development time.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I thought I had all the necessary paths set in Visual C++
6.0 so the MPICH2 lib, bin, and include directories could be found as well as
C:\WINDOWS\SYSTEM 32 where all the *.dll files reside. The icpi.exe
exectuable provided runs fine on my machine, but when I try to build from
scratch with icpi.c, I get major link errors. What stupid thing am I
overlooking? Did I not install things properly or what?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2>Compiling...<BR>icpi.c<BR>Linking...<BR>icpi.obj :
error LNK2001: unresolved external symbol _MPI_Finalize<BR>icpi.obj : error
LNK2001: unresolved external symbol _MPI_Reduce<BR>icpi.obj : error LNK2001:
unresolved external symbol _MPI_Bcast<BR>icpi.obj : error LNK2001: unresolved
external symbol _MPI_Wtime<BR>icpi.obj : error LNK2001: unresolved external
symbol _MPI_Get_processor_name<BR>icpi.obj : error LNK2001: unresolved external
symbol _MPI_Comm_rank<BR>icpi.obj : error LNK2001: unresolved external symbol
_MPI_Comm_size<BR>icpi.obj : error LNK2001: unresolved external symbol
_MPI_Init<BR>Debug/icpi.exe : fatal error LNK1120: 8 unresolved
externals<BR>Error executing link.exe.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>icpi.exe - 9 error(s), 0
warning(s)<BR></FONT></DIV></FONT></DIV></BODY></HTML>