[mpich-discuss] C++ for Visual studio code

Rebecca rebeccakern at sbcglobal.net
Sun Aug 3 19:18:32 CDT 2008


Thank you for responding Reza!  I am having trouble seeing the additional
dependencies in VS .NET 2003.  What version of VS do you use?

 

 



 

 

 

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Gholamreza
Sobhaninejad
Sent: Saturday, August 02, 2008 9:18 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] C++ for Visual studio code

 

Hi Rebecca,

When you use MPICH with C++ , you need to link "mpicxx" and "mpich"
libraries. you can determine this two file in project properties/
Linker/Additional Dependencies.

Reza

On Sun, Aug 3, 2008 at 8:13 AM, Rebecca <rebeccakern at sbcglobal.net> wrote:

I am having trouble accessing the MPI.h library from C++ in Visual Studio.
I am getting an unresolved external symbol for MPI::Init() and if I try to
use MPI_Init() the code ends unexpectedly.  I am able to use MPI_Init() in c
without any problem.  Does anyone have sample code I could see with C++?




-- 
Gholamreza Sobhaninejad(Reza)
PhD candidate, University of Tokyo
Earthquake Research Institute
Tel: 090-9807-2477

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080803/1e341a38/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 51576 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080803/1e341a38/attachment.jpeg>


More information about the mpich-discuss mailing list