not being able to set the n° of specified threads desired <p>I have this very simple openmp program that is not creating the four desired threads, #include #include </p> <pre><code>main () { omp_set_num_threads(4); #pragma omp paralel { int id = omp_get_thread_num(); int nt = omp_get_num_threads(); printf ("I am thread %d of %d threads\n",id,nt); } </code></pre> <p>When I run it the command line says the total it is 1. What am I forgetting? </p>