[MPICH] New to MPI and having problems with MPICH2 setup with Visual C++6.0
Oberta A. Slotterbeck (Obie)
obie at hiram.edu
Sun Oct 9 16:00:25 CDT 2005
I'm having problems setting up MPICH2 to run on a single machine, and would be grateful for any help.
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.
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?
Compiling...
icpi.c
Linking...
icpi.obj : error LNK2001: unresolved external symbol _MPI_Finalize
icpi.obj : error LNK2001: unresolved external symbol _MPI_Reduce
icpi.obj : error LNK2001: unresolved external symbol _MPI_Bcast
icpi.obj : error LNK2001: unresolved external symbol _MPI_Wtime
icpi.obj : error LNK2001: unresolved external symbol _MPI_Get_processor_name
icpi.obj : error LNK2001: unresolved external symbol _MPI_Comm_rank
icpi.obj : error LNK2001: unresolved external symbol _MPI_Comm_size
icpi.obj : error LNK2001: unresolved external symbol _MPI_Init
Debug/icpi.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
icpi.exe - 9 error(s), 0 warning(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20051009/8a8db088/attachment.htm>
More information about the mpich-discuss
mailing list