vault backup: 2023-11-08 12:01:12
This commit is contained in:
parent
2aef7735e9
commit
c62f1a95e4
1 changed files with 9 additions and 6 deletions
|
@ -1,8 +1,11 @@
|
|||
|
||||
>[!note] Initial commands
|
||||
>module load gcc/11.2.0
|
||||
>gcc -O2 -fopenmp -lm exe1.c -o exe1.out
|
||||
>./exe1.out
|
||||
>- module load gcc/11.2.0
|
||||
>- gcc -O2 -fopenmp -lm -g -fno-omit-frame-pointer exe1.c -o exe1.out
|
||||
>- ./exe1.out
|
||||
>- srun --partition=cpar --cpus-per-task=2 ./exe1.out
|
||||
> sbatch --partition=cpar --cpus-per-task=4
|
||||
time.sh
|
||||
|
||||
|
||||
## Ex 1
|
||||
|
@ -10,7 +13,7 @@
|
|||
| | 2PUs | 4PUs |
|
||||
| --------- | ---- | ---- |
|
||||
| critical | 3.1415927770 | |
|
||||
| atomic | | |
|
||||
| reduction | | |
|
||||
| atomic | 3.1415927770 | |
|
||||
| reduction | 3.1415927770 | |
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue