Hello guys

I have to make a test enviroment with two computers that both have VS2010 and Intel MPi installed.
I finished installing the system today and I am trying to test it. Specifically I am trying to integrate
the MPI library to VS. I have added the lib and include directories and during coding the IDE doesn't display
any problems. When I try to compile though I get an "unresolved external symbol" error.
The code I am running is a test case provided with MPi so it shouldn't have any errors.

Thank you in advance

Recommended Answers

All 2 Replies

Sounds like the library is not linked correctly if at all.

Make sure the lib files are added in additional dependencies in linker properties.

You might not get errors in the IDE because of the header files include function prototypes.

That was my problem thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.