ArtinSoft's Blogs

Software Migration Experts
Welcome to ArtinSoft's Blogs Sign in | Join | Help
in Search

Jose Aguilar's Blog

All things migrations, software and technology

OpenMP on Visual Studio

You can create C++ application in Visual Studio that use OpenMP. When you run an application created with OpenMP and VS.NET, however, you may get this annoying error message: “This application has failed to start because vcompd.dll was not found. Re-installing the application may fix this problem.”:

omp-error

When we tried this, we were puzzled by this error message, especially since it works with the Intel Compiler flawlessly. Well, it turns out that you need to include omp.h in your files ALWAYS when you use OpenMP from Visual Studio. This is not required on other compilers if you’re only using the OpenMP pragmas, but it is an issue with Visual Studio.

Thanks to Kang Su for pointing this out in his blog – I was going crazy trying to figure out what was wrong.

Also remember to enable OpenMP support in the C++ Project properties. This setting is in Configuration Properties->C/C++->Language->OpenMP Support.

Published Oct 05 2006, 09:57 PM by Jaguilar
Filed under: ,

Comments

 

BateRiste said:

Thank you, it was useful for a beginner and saved a lot of time. :)
January 7, 2008 5:55 PM
 

gman said:

Thank you, it was very helpful!

February 27, 2008 12:22 AM
 

Shahab said:

Kang Su's blog helped you, and your blog helped me! so thanks! Keep on sharing!

May 19, 2008 1:23 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Non-Commercial Edition), by Telligent Systems