Lessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications


Published on

"An absolute beginner meets Intel Xeon Phi" with E4

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Lessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications

  1. 1. Lessons learned in usingIntel® Xeon Phi™with open-sourceengineering applications
  2. 2. Intel® Xeon Phi™ and meoran absolute beginnermeetsIntel Phi
  3. 3. Intro (very short)Goals, options and toolsMy learning curveOpen Source CFD applications (brief and incomplete overview)What I have doneWhat I have achieved (so far)Lesson learnedAgenda
  4. 4. •CFD requires massive amount of FLOPS•As of today (yesterday??), FLOPS=cores•Accelerators have changed the landscape (and are here to stay)•A growing number of reliable Open Source (i.e. non licensed) applications are available(e.g. OpenFOAM, SPHYSICS)•A growing number of ISVs (i.e. licensed) packages support accelerators (e.g. ANSYS V14.5)•How easy is squeezing performance out of Intel® Xeon Phi™ for an absolute beginner???Intro
  5. 5. How different are theacceleratorsarchitectures?How adequate isIntel Phi for mycurrentrequirements?How feasible is the migrationpath?How can my Intel Phi-ported applicationsapplications bemodularized??What is theimpact ofintroducing IntelPhi on theCorporateReferenceArchitecture?How compliant is Intel Phi tothe Corporate ReferenceArchitecture?Which framework / platform /technology fits my needs best?How can my Intel® XeonPhi™-ported applicationsapplications bemodularized??How adequate is Intel Phi as abasis for my future softwareneeds?How can I improveperformance, reuse,maintainability,efficiency?Questions
  6. 6. How to achieve the goal?How to achieve the goal
  7. 7. The goal:What tool will have the best fit? Multiple tools? One item vsmany?The solution:Goals vs Tools
  8. 8. Usually, taking the right decisionupfront is highly recommendedReasonable advice
  9. 9. My learning curve/1Please note the coffee cups….pIntel® Xeon Phi™ Coprocessor System Software Developers GuideRevision: 2.03Last Modified: November 8, 2012IBL Doc ID: 488596Friends (and I have lost a couple of them in the process...)Colleagues (and some of them keep very clear of me now...)Blogs201 pages
  10. 10. Bad timesGood times Long hours and nightsMy learning curve/2
  11. 11. Some tests backfiredMy learning curve/3Some tests worked just fine
  12. 12. /var/log/micras.logThe codesOpenFOAM - The open source CFD toolbox•www.openfoam.com•De-facto standard for open source CFD applications•Wide and growing range of models•Unzip, compile and run on nodes•Version 2.2.0 (06/03/13)SPHysics - SPH Free-surface Flow Solver•wiki.manchester.ac.uk/sphysics/index.php/SPHYSICS_Home_Page•Open-Source Smoothed Particle Hydrodynamics code•v2.2.1 Serial Code (January 2011)•v2.0 Parallel Code (January 2011)•v2.0 DualSPHysics CPU-GPU (March 2012)
  13. 13. /var/log/micras.logThe system•MOBO (Simone….)•16 cores•2.1GHz•256 Gbytes•Mpi•Icc,ifort 9.000
  14. 14. Compile-time options ONLY aren’t going to squeeze theLAST GFLOPS out of yourRe-coding the application is mandatoryfor achieving topperformance
  15. 15. Don’t try to control the waves.This almost never works.Learn to surf....
  16. 16. Fabrizio MaguglianiE4 computer EngineeringFabrizio.magugliani@e4computer.com