Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
formation:astrosim2017gpu4dummies [2017/07/07 13:36] – [Pi Monte Carlo, a Compute Bound Example] equemeneformation:astrosim2017gpu4dummies [2017/07/10 16:52] (Version actuelle) – [NBody, a simplistic simulator] equemene
Ligne 474: Ligne 474:
 ==== NBody, a simplistic simulator ==== ==== NBody, a simplistic simulator ====
  
 +The ''NBody.py'' code is a implementation of N-Body kepkerian system on OpenCL devices. 
 +
 +It's available on:
 +  * on file: ''/scratch/AstroSim2017/NBody.py'' on workstations
 +  * 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
 +<code>
 +python NBody.py -n 2 -g -i 1000 
 +</code>
 +
 +{{ :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 ====
 +
  
formation/astrosim2017gpu4dummies.1499434562.txt.gz · Dernière modification : (modification externe)