2023-11-08 11:51:12 +00:00
|
|
|
|
|
|
|
>[!note] Initial commands
|
|
|
|
>module load gcc/11.2.0
|
|
|
|
>gcc -O2 -fopenmp -lm exe1.c -o exe1.out
|
|
|
|
>./exe1.out
|
|
|
|
|
|
|
|
|
|
|
|
## Ex 1
|
|
|
|
### a) Valores de pi
|
|
|
|
| | 2PUs | 4PUs |
|
|
|
|
| --------- | ---- | ---- |
|
|
|
|
| critical | 3.1415927770 | |
|
|
|
|
| atomic | | |
|
|
|
|
| reduction | | |
|
|
|
|
|
|
|
|
|