title: How to set openmp thread stack to unlimited?
body: <p>Can someone tell me how to set OpenMP stack size to unlimited?<br>
  Like this link: <a href="https://stackoverflow.com/questions/13264274/why-segmentation-fault-is-happening-in-this-openmp-code">Why Segmentation fault is happening in this openmp code?</a></p>
  
  <p>I also have a project  written by Fortran (customer‘s complex code), if I set <code>OMP_STACKSIZE</code>, the project is running normally. If I unset it, the project fails. </p>
  
  <p>But, different input data have different <code>OMP_STACKSIZE</code>, so I must try it for each inputdata, (because I must save memory).  </p>
  
  <p>Can I set the OpenMP stack like pthread (<code>ulimit -s unlimited</code>)? Or have some way to set omp stack size dynamically?  </p>
  
  <p>I'm using RHEL 6.1, and the Intel compiler. </p>
  
  <p>Thanks a lot!  </p>