title: OpenMP for loop ignores num_threads clause
body: <p>I have the following code in VS2008:</p>
  
  <pre><code>int i,j;
  bool pr = false;
  #pragma omp parallel for private(pr) num_threads(2)
  for(i=0;i&lt;PIC_X;i++)
  {
      int rank = omp_get_thread_num();
      int count = omp_get_num_threads();
      if ( !pr )
      {
          printf_s("Hello from thread %d of %d\n", rank, count);
          pr = true;
      }
      for(j=0;j&lt;PIC_Y;j++)
      {
          // do stuff
      }
  }
  </code></pre>
  
  <p>(Not trying to make a nested OpenMP loop, in case you're wondering). The problem is, the num_threads clause has no effect whatsoever: I only ever get "Hello from thread 0 of 1" on the output. I tried using <code>omp_set_num_threads(2)</code> as well, to no avail. What gives?</p>