title: C OpenMP - Enforce default chunk size
body: <p>In C to parallelize a loop with <code>schedule(static)</code> would mean that the chunk size is quickly computed as <strong><code>ceil</code></strong><code>(loops/threads)</code>.</p>
  
  <p>For my project I have to iterrate through 9 different chunk sizes, one of which is "default". This is how I did it:</p>
  
  <p>I wrote a perl loop that compiles my program with <code>-DCHUNKSIZE=$c</code> and in the <code>omp</code> code I specify <code>schedule(static, CHUNKSIZE)</code>.</p>
  
  <p><strong>Question</strong>: what can I do for default? Chunk size of 0 doesn't work :(</p>
  
  <p>Thanks!</p>
  
  <p>P.S.
  I was hoping to avoid having <code>#ifdef ... #else ... #endif</code> since I have very many loops that are parallelized</p>