Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MMSP Presentation at Hackathon 1

MMSP Presentation at Hackathon 1

Daniel Wheeler

April 28, 2016
Tweet

More Decks by Daniel Wheeler

Other Decks in Science

Transcript

  1. MMSP Hackathon Results Trevor Keller, Jason Gruber∗, and Jonathan Guyer

    Materials Science and Engineering Division National Institute of Standards and Technology Gaithersburg, MD 20899 ∗ (not from NIST) CHiMaD Phase Field Methods Hackathon \\ Workshop Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 1 / 61
  2. Simulation Software: MMSP Mesoscale Microstructure Simulation Project (github.com/mesoscale), created by

    Jason Gruber: templated classes in C++ for integrating parabolic PDEs. Now co-developed. Key features include: Grid class in arbitrary dimensions with parallel domain decomposition and communication using MPI Vector class, common format for mul- tiple scalar fields (φ,c,T) φ0 0 φ1 0 φ2 0 φ4 0 φ7 0 φ3 0.5 φ5 0.3 φ6 0.2 ··· Sparse vector class, storing the key- value pairs. Efficient access for multiorder-parameter models. 3 0.5 5 0.3 6 0.2 Gruber, Modell. Simul. Mater. Sci. Eng. 14 (2006) 1189. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 2 / 61
  3. MMSP Examples beginners_diffusion coarsening grain_growth ostwald_ripening zener_pinning differential_equations elliptic stiff

    phase_transitions allen-cahn cahn-hilliard model_A model_B spinodal solidification anisotropic eutectic statistical_mechanics Heisenberg ising Potts Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 3 / 61
  4. Hardware Code was executed remotely on an 8-socket Opteron workstation:

    64 cores at 3GHz and with 256GB RAM. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 4 / 61
  5. Code, using q = (0.1 2,0.1 3) Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 6 / 61
  6. 1A: Energy Spinodal decomposition with periodic boundary conditions Trevor Keller

    (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 7 / 61
  7. 1A: Init ∆t = 0.005 → CFL = 0.01 Trevor

    Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 8 / 61
  8. 1A: Evolution, 1500k∆t Runtime to steady state: 1 hour (wall),

    64 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 14 / 61
  9. 1B: Energy Spinodal decomposition with Neumann boundary conditions Trevor Keller

    (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 15 / 61
  10. 1B: Init ∆t = 0.005 → CFL = 0.01 Trevor

    Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 16 / 61
  11. 1B: Evolution, 2000k∆t Runtime to steady state: 80 minutes (wall),

    85 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 24 / 61
  12. 1C: Code Spinodal decomposition on T-square domain with Neumann boundary

    conditions Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 25 / 61
  13. 1C: Energy Spinodal decomposition on T-square domain with Neumann boundary

    conditions Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 26 / 61
  14. 1C: Init ∆t = 0.005 → CFL = 0.01 Trevor

    Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 27 / 61
  15. 1C: Evolution, 500k∆t Runtime to steady state: 9 minutes (wall),

    10 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 32 / 61
  16. 1D: Sphere Rectilinear grids, only: spherical geometries are not accessible

    to MMSP. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 33 / 61
  17. 1E: Energy Spinodal decomposition with periodic boundary conditions, refined grid

    Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 34 / 61
  18. 1A: Init ∆t = 0.001 → CFL ≈ 0.01 Trevor

    Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 35 / 61
  19. 1E: Evolution, 5000k∆t Runtime to steady state: unknown. 5 million

    steps took 7 hours (wall). Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 40 / 61
  20. Code, using q = ( 2, 3), qi = (0.01

    23+i,0.01 149+i) Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 42 / 61
  21. 2A: Energy Ostwald ripening with periodic boundary conditions Trevor Keller

    (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 43 / 61
  22. 2A: Initial Condition concentration magnitude of order ∆t = 0.005

    → CFL = 0.01 Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 44 / 61
  23. 2A: Evolution, 20k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 45 / 61
  24. 2A: Evolution, 50k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 46 / 61
  25. 2A: Evolution, 100k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 47 / 61
  26. 2A: Evolution, 150k∆t concentration magnitude of order Runtime to steady

    state: 174 minutes (wall), 185 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 48 / 61
  27. 2B: Energy Ostwald ripening with Neumann boundary conditions Trevor Keller

    (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 49 / 61
  28. 2B: Initial Condition concentration magnitude of order ∆t = 0.005

    → CFL = 0.01 Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 50 / 61
  29. 2B: Evolution, 20k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 51 / 61
  30. 2B: Evolution, 50k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 52 / 61
  31. 2B: Evolution, 100k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 53 / 61
  32. 2B: Evolution, 150k∆t concentration magnitude of order Runtime to steady

    state: 181 minutes (wall), 193 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 54 / 61
  33. 2C: Energy Ostwald ripening with Neumann boundary conditions Trevor Keller

    (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 55 / 61
  34. 2C: Initial Condition concentration magnitude of order ∆t = 0.005

    → CFL = 0.01 Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 56 / 61
  35. 2C: Evolution, 20k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 57 / 61
  36. 2C: Evolution, 50k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 58 / 61
  37. 2C: Evolution, 100k∆t concentration magnitude of order Trevor Keller (NIST

    MSED) MMSP Hackathon Results CHiMaD PFM Workshop 59 / 61
  38. 2C: Evolution, 150k∆t concentration magnitude of order Runtime to steady

    state: 114 minutes (wall), 122 CPU-hours. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 60 / 61
  39. 2D: Sphere Rectilinear grids, only: spherical geometries are not accessible

    to MMSP. Trevor Keller (NIST MSED) MMSP Hackathon Results CHiMaD PFM Workshop 61 / 61