Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
formation:astrosim2017gpu4dummies [2017/07/07 15:42] equemene [NBody, a simplistic simulator] |
formation:astrosim2017gpu4dummies [2017/07/10 18:52] (Version actuelle) equemene [NBody, a simplistic simulator] |
||
---|---|---|---|
Ligne 480: | Ligne 480: | ||
* on website: [[http://www.cbp.ens-lyon.fr/emmanuel.quemener/documents/Astrosim2017/NBody.py|NBody.py]] | * on website: [[http://www.cbp.ens-lyon.fr/emmanuel.quemener/documents/Astrosim2017/NBody.py|NBody.py]] | ||
- | Launch the code with a ''N=2'' on ''1000' iterations with a graphical output | + | Launch the code with a ''N=2'' on ''1000'' iterations with a graphical output |
<code> | <code> | ||
python NBody.py -n 2 -g -i 1000 | python NBody.py -n 2 -g -i 1000 | ||
</code> | </code> | ||
+ | {{ :formation:nbody_n2_gpu.png?600 |}} | ||
- | {{ :formation:nbody_n2_gpu.png?600 |}} | + | === Exercice #10 : explore ''NBody.py'' with different devices === |
+ | |||
+ | === Exercice #11 : explore ''NBody.py'' with steps and iterations === | ||
+ | |||
+ | === Exercice #12 : explore ''NBody.py'' with Double Precision === | ||
===== Exploration with production codes ===== | ===== Exploration with production codes ===== | ||
==== PKDGRAV3 ==== | ==== PKDGRAV3 ==== | ||
+ | |||