When I execute my parallel program with OpenMP by this line:
- Code: Select all
$ ./my_program
I discover that this program was executed by two threads. I thought that when I run the program without "OMP_NUM_THREADS" it will be executed with only one thread
Thanks for your help
With greetz
MarX
p.s. I compile the program on GCC with the -fopenmp flag
