which compiler
or which environment
I use Microsoft Visual Studio
with Microsoft HPC Pack
A syntax error is visible
use {


On 2/6/12, Arun Vishwanathan <aaron.nar...@gmail.com> wrote:
> hi , i am trying to run this small code with open mp but I dont see any
> threads created . The code compiles with -fopenmp but does not create
> threads to run parallel.For example,
>
> main()
> {
>   omp_set_num_threads(4);
>  #pragma omp parallel
>  printf(" hello world from %d\n" ,omp_get_thread_num());
> return;
>
> }
> output: hello world from 0
>
> what abt the other threads??
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to