Thursday, September 20. 2007OpenMP and Visual C++ the free way (sorta)Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hello, So you mean it is possible to use OPENMP with VS 2005 Express edition?? Can you please outline step by procedure what you did. Thank you, Raj I don't have VS2005 Express installed right now, so I'm going off memory. This trick wasn't a complete solution and I was mostly interested in for playing around with OpenMP. I don't think it makes sense at all for redistributable things. 1. Install the Vista Update version of the Windows SDK 2. Redirect your paths within Visual Studio to target the compilers included with the SDK instead of included ones. Although, the included ones may also support the /openmp flag, so do check. 3. Install the Visual Studio 2005 SP1 redistributable pack from the MS site. 4. Use some pragmas or something to make sure the omp.h header is included only in release mode. You could also change the header itself to not include the the debug lib and always use the release lib. 5. Add the /openmp flag to your compile flags 6. Cross your fingers and hope it works. Once again, before you waste your time, the restrictions with this are, a) No debug libraries for openmp, b) No MSM file for openmp which means you cannot create installers that include the openmp libraries and other users must download the VS2005SP1 redist pack themselves. Hope that helps what you are looking for. That do you think about article "32 OpenMP traps for C++ developers"? http://www.viva64.com/articles/32_OpenMP_traps.html |
QuicksearchLinksCategories |