Open-Source Astrophysics with the Enzo Community Code Brian W. - - PowerPoint PPT Presentation

open source astrophysics with the enzo community code
SMART_READER_LITE
LIVE PREVIEW

Open-Source Astrophysics with the Enzo Community Code Brian W. - - PowerPoint PPT Presentation

Open-Source Astrophysics with the Enzo Community Code Brian W. OShea Michigan State University What is Enzo? N-body + hydro (+MHD + RHD + ...) block- structured AMR code originally written at NCSA (by Greg Bryan & Mike Norman)


slide-1
SLIDE 1

Open-Source Astrophysics with the Enzo Community Code

Brian W. O’Shea Michigan State University

slide-2
SLIDE 2

What is Enzo?

  • N-body + hydro (+MHD + RHD + ...) block-

structured AMR code originally written at NCSA (by Greg Bryan & Mike Norman)

  • Publicly available: http://enzo-project.org
  • One of the PRAC codes for Blue Waters (two

separate projects: O’Shea et al., Nagamine et al.)

slide-3
SLIDE 3

What science does Enzo enable?

➡ cosmology (large scale structure, dark energy,

galaxy clusters)

➡ galaxy formation (both in cosmological context

and isolated)

➡ star formation (Pop III/high redshift, modern-day) ➡ accretion disks ➡ turbulence (HD, MHD, self-gravitating) ➡ instabilities in compressible fluids ➡ probably more

slide-4
SLIDE 4

History

slide-5
SLIDE 5

1996-2003: closed-source!

slide-6
SLIDE 6

March 2004: Enzo 1.0

slide-7
SLIDE 7

November 2008: Enzo 1.5

slide-8
SLIDE 8

June 2010: Enzo 2.0

slide-9
SLIDE 9

June 2010: Enzo 2.0

slide-10
SLIDE 10

June 2010: Enzo 2.0

slide-11
SLIDE 11

June 2010: Enzo 2.0

slide-12
SLIDE 12

June 2010: Enzo 2.0 October 2011: Enzo 2.1

slide-13
SLIDE 13

The Enzo community today

  • 25 contributors (~12 active developers) at >10

institutions

  • ~200 people on enzo-users mailing list (~50% active?)
  • ~80 million SUs devoted to Enzo simulations in 2011

from NSF, NASA, DOE (with more in 2012)

  • Financial support from NSF (AST, OCI, PHY), NASA,

and DOE

  • Complementary community: yt (http://yt-

project.org): see tomorrow’s talk by Matt Turk!

slide-14
SLIDE 14

Development model

  • Entirely distributed development model: small

number of devs per institution!

  • Code distribution using mercurial (BitBucket)
  • Use code forks / pull requests to move features

from development branches into main branch of the code

  • Almost all development discussion takes place
  • n archived, public mailing list and on Google

DOcs (meeting notes emailed out)

slide-15
SLIDE 15

Community support

  • Most developers are astrophysicists “scratching

their own itch” (and funded to do science!)

  • Development spurred by ~1.5 workshops/year

+ periodic task-oriented “code sprints”

  • Active mailing lists for users and developers
  • Development funded by many streams:

universities, federal agencies, postdoctoral fellowships

  • Complementary yt development has helped to

spur usage of Enzo!

slide-16
SLIDE 16

Impact

  • Enthusiastic and heavily-involved user/developer

community

  • Enzo is widely known in astrophysics - strongly

represented in code comparisons, conference talks/posters - and highly trusted

  • Code is flexible and extensible: high science/

dollar!

  • Has spurred development of open-source science
  • Involvement in this community has strongly

affected young scientists’ career trajectories

slide-17
SLIDE 17

Challenges

  • No “Fearless Leader” of development

process: hard to make major code revisions (esp. user-facing)

  • Part-time developers: distractions, hard to

do “boring but important” infrastructure projects

  • Significant work required to build

consensus and keep community together!

slide-18
SLIDE 18

Recent Enzo- enabled results

slide-19
SLIDE 19

Radio emission from cosmic ray electrons in galaxy clusters

Skillman, Hallman, O’Shea, Burns, Smith & Turk 2011, Astrophysical Journal, 735, 96 Skillman, et al. 2012, ApJ, submitted

and

slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23

Evolution of the intergalactic medium

Smith, Hallman, Shull & O’Shea 2011, Astrophysical Journal, 731, 6

slide-24
SLIDE 24
slide-25
SLIDE 25

Phase Flux

slide-26
SLIDE 26

Self-gravitating star forming clouds

Collins et al. 2012, ApJ, 750, 13

slide-27
SLIDE 27
slide-28
SLIDE 28
slide-29
SLIDE 29

Reionization of the Universe

So, Norman, Harkness, Reynolds 2012 (in prep.)

slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34

Conclusions

  • Conversion of a code from closed-source to

an open-source community code is not without technical and sociological challenges.

slide-35
SLIDE 35

Conclusions

  • For the Enzo collaboration, this transition

has been worth it:

  • Enhanced transparency/reproducibility (more

trust in the code)

  • Larger user base: more eyes on the code,

wider adoption

  • More and better science per dollar!
slide-36
SLIDE 36

Conclusions

  • The benefits can be seen in the wide

variety of science produced by Enzo users!

➡ cosmology ➡ galaxy formation ➡ star formation ➡ accretion disks ➡ turbulence ➡ fluid instabilities ➡ and more!

slide-37
SLIDE 37

Questions?

slide-38
SLIDE 38

Acknowledgments

  • Collaborators: Michael Norman (UCSD/SDSC),

Matthew Turk (Columbia), Jack Burns (CU/Boulder), Eric Hallman (CfA/Tech-X), Robert Harkness (SDSC), Dan Reynolds (SMU), Sam Skillman (CU/ Boulder), Britton Smith (MSU), Geoffrey So (UCSD), Rick Wagner (UCSD/SDSC), John Wise (GATech)

  • The Enzo development consortium
  • Funding through NSF (AST, OCI, PHY), NASA, DOE
  • Computational time through NSF (Teragrid/XSEDE),

NASA, DOE