[mpich-discuss] C++ for Visual studio code
Gholamreza Sobhaninejad
grsobhani at gmail.com
Sat Aug 2 21:17:35 CDT 2008
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/070e44bf/attachment.htm>
More information about the mpich-discuss
mailing list