Command line error D8016 : ‘/openmp’ and ‘/clr:pure’ command-line options are incompatible

January 25, 2011 at 10:42 pm 2 comments


Did you get this error when compiled the OpenMP program with Visual C++ ?

Error “Command line error D8016 : ‘/openmp’ and ‘/clr:pure’ command-line options are incompatible

That is because  Microsoft’s OpenMP implementation is not compatible with Pure MSIL Common Language Runtime (/clr:pure) or Safe MSIL Common Language Runtime (/clr:safe ). To fix this issue, you will need to use /clr command-line option instead of /clr:pure. Following is steps to change this option:

  1. Select menu Project or right-click on project name of Solution Explorer
  2. Choose the Properties to open properties window of the project
  3. Select General in Configuration Properties
  4. In the Common Language Runtime, choose /clr
  5. Then OK and re-compile your project

Advertisements

Entry filed under: C++ Programming, Parallel Programming. Tags: , , , , , , .

Find the country by ip address Strategy Analytics: Multi-Core Processors to Penetrate 45 Percent of Smartphones by 2015

2 Comments Add your own

  • 1. binta  |  August 21, 2012 at 3:08 am

    thankyou…so..much.

    Reply
  • 2. Kostya  |  September 8, 2012 at 12:01 pm

    Thanks! This is really annoying problem and it’s the only place there solution can be found.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

/openmp AMD app fixing dead pixel iphone C++ cmd program CPU C sharp dead pixels directory download ibm synthetic data generator Dynamic Dynamic Memory Allocation Edit Environment Variables in Windows Environment Variables error lnk2019: unresolved external symbol _getprocessmemoryinfo@12 referenced in function error lnk2019: unresolved external symbol _ getprocessmemoryinfo@12 referenced in function "void __cdecl printmemoryinfo(unsigned long example code Fixing Dead Pixels and Gray Lines on the iPhone Screen Fixing Dead Pixels on the iPhone Screen Fixing Gray Lines on the iPhone Screen Fix iPhone getprocessmemoryinfo GPU Gray Line iPhone Screen gray lines gray pixels green pixels GUI how to "new" a two-dimension array in C++ how to use ibm quest synthetic data generator ibm data generator ibm quest data generator ibm quest data generator exe ibm quest data mining project ibm quest market-basket synthetic data generator ibm quest market basket market-basket synthetic data generator ibm quest synthetic data generator ibm quest synthetic data generator linux ibm synthetic data generator ibm synthetic generator Intel iPhone Iphone 3G iPhone 3GS iPhone 4 iphone gray lines on startup iphone pixel damage iPhone Screen iPhone screen damage Linux market-basket synthetic data generator Memory Allocation Multicore multithread multi thread multi threaded multithreading mysql extract data into file new OpenCL Path processor quest data generator quest synthetic data generator R SAS Set Environment Variables Set Environment Variables in Windows souce code source code stuck pixels system file two dimension array Windows 7 Windows Vista

%d bloggers like this: