[MPICH] Still having problems after switching to Visual Studio.net C++
David Ashton
ashton at mcs.anl.gov
Thu Oct 13 18:21:41 CDT 2005
Just setting the environment variables isn't enough. You need to link with
mpi.lib or mpich2.lib.
-David Ashton
_____
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Oberta A. Slotterbeck
(Obie)
Sent: Thursday, October 13, 2005 5:17 PM
To: MPICH2 Discuss
Subject: [MPICH] Still having problems after switching to Visual Studio.net
C++
Trying to build an exe image for the sample problem provided with MPICH2
software (interactive version of cpi). In response to earlier message
suggesting switching to VS.net C++, I did and still have the same problems.
The environment variables have been set for include, lib, and path, but it
looks like the linker isn't finding what it needs:
icpi error LNK2019: unresolved external symbol _MPI_Bcast referenced in
function _main
icpi error LNK2019: unresolved external symbol _MPI_Comm_rank referenced in
function _main
.... etc down to:
icpi fatal error LNK1120: 8 unresolved externals
I'm attempting to run on a single machine for development purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20051013/ae44ca81/attachment.htm>
More information about the mpich-discuss
mailing list