I want to generate pseudorandom numbers in parallel using openMP, something like this:
int i; #pragma omp parallel for for (i=0;i<100;i++) { printf(\"
Get each thread to set a different seed based on its thread id, e.g. srand(omp_get_thread_num() * 1000);
srand(omp_get_thread_num() * 1000)