The following simple example does not work on my OS. I am evaluating the Parallel Studio.
The project properties have OpenMP enabled.
My OS is Vista x64 and the Composer is integrated into VS 2005 Academic Edition.
After starting the console application it goes into an infinite loop forcing me to reboot the OS.
It seems that no synchronisation points (taskwait) and termination conditions are considered.
Any tips on how to solve the issue are welcome.
int fib(int n)
int i, j;
_RPTF1(_CRT_WARN, "Fib no = %d\n", n);
#pragma omp task shared(i)
#pragma omp task shared(j)
#pragma omp taskwait
int _tmain(int argc, _TCHAR* argv)
#pragma omp parallel
#pragma omp single