diff --git a/07_OpenMP/desc b/07_OpenMP/desc index 09e4221..307fbb3 100644 --- a/07_OpenMP/desc +++ b/07_OpenMP/desc @@ -8,6 +8,12 @@ Hints: * add -fopenmp to gcc compiler * add -lgomp (in Linux) to linker +Or in the console one can run the command: + +$ gcc -fopenmp openmp1.c -lgomp + +And the file 'a.out' should be created. Execute this file. + Excercise 2 Implement in OpenMP the search of the maximum value in an array with randomly generated numbers. Check the speed up from 1 up to X threads.