Top Banner
Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology
51

Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Jan 02, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKernsCalifornia Institute of Technology

Page 2: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Spallation Neutron Source (SNS)Accelerator + Target + Instruments = B$ 1.411

Page 3: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

New ScienceBetter Science

Ease of UseSoftware Stability and Reuse

Support Early Operations of the SNS

Reasons for DANSE

Page 4: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Excitations in Solids:

An Optical Illusion ofSpace-Time Correlations

Page 5: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Neutron Scattering

{coherent, elastic}

{coherent, inelastic}

{incoherent, elastic}

{incoherent, inelastic}

diffraction

dispersions

diffuse scattering

densities of states

Word Pairs Examples

Page 6: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 7: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

elastic

Page 8: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

inelastic

Page 9: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Coherence: Preserves the Phase k0

Page 10: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

k0

Coherence

Page 11: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

kk

k0–

Q

k0

Page 12: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Incoherence: Arbitrary Phase k0prompt waveletdelayed wavelet

k0

Page 13: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Incoherence

Page 14: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

http://physics.ucsc.edu/research/images/

Structure and Dynamics

QuickTime™ and aGIF decompressor

are needed to see this picture.

QuickTime™ and aGIF decompressor

are needed to see this picture.

QuickTime™ and aGIF decompressor

are needed to see this picture.

Page 15: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Structure in Space; Dynamics in Time

Page 16: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Diffraction

Page 17: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Inelastic: (incoherent, inelastic) vs. (coherent, inelastic)

Page 18: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Correlation Functions

Diffraction, SANS gives spatial correlation functions (Patterson function — structure)

Inelastic scattering gives space-time correlation function (Van Hove correlation function — dynamics)

Page 19: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

“reduction and visualization”

Page 20: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 21: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

The DANSE ProjectDiffractionNSFInelasticScattering

Fultz/TrouwEngineering Diffraction

UstundagBillingeSANSButlerReflec-tometry

KienzleP.I.

Central Srvcs

SNS

FultzAivazisAnderson

SNSNCNRLujanIPNSHFIR

UserCommunity(International)

Page 22: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE Project: Big Picture

• Enable new neutron scattering science by scientific computing.

• Allow experimentalists to rearrange modularized components, and create new components.

• Build enough important and quality pieces to make DANSE the choice of future developers.

• Well-defined tasks organized by subfields.

• System in place for Earned Value Management.

• M$ 12 over 5 years

Page 23: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Operational Goals

• Provide today’s capabilities of reduction and visualization• Enable new types of science in major subfields • Standardize software design, and start to standardize usage• Provide a runtime framework onto which scientists can add

components• Support for early SNS instruments • Maintainable by SNS before the end of the project

Page 24: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 25: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Component Framework

Encapsulate scientist’s code within component.

A component inherits methods from the framework,user communicates properties through framework.

Page 26: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

1. Beginning Student

2. Senior Student or Postdoc

3. Young Scientist

4. Established Researcher

5. Instrument Scientist

6. Software Developer

7. System Maintainer

Users Differ in Needs and Expertise

One software system must serve everyone, but different people need different interfaces.

Page 27: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

• Complexity reduced to essential modules • Reasonable defaults for most choices• Failures must be diagnosed and explained• Help with science principles

“Dashboard-type” GUI and Help services

Users: 1. Beginning Student

Page 28: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

• Flexible, interactive explorations of data• Modeling and simulation packages• Compare outputs of different analyses• Software must facilitate science

Seeks empowerment from GUI and command-line control.

Users: 3. Young Scientist

Page 29: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

• Well-documented access to the integration layer• Portable building tools• Robust framework for debugging• Regression test suites• Development process and tools for quality and efficiency

Direct command line control,but support for all other user interfaces.

Users: 6. Software Developer

Page 30: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 31: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

When analysis components are building blocks,

what will scientists build?

Page 32: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Facilitate discovery in

neutron scattering science by raising

computation to a higher level of abstraction.

Can scientific careers be developed by

adding value at this higher level?

Page 33: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 34: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Deployment Diagrams

Page 35: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Experiment teams are alreadydelocalized geographically.Natural for collaborative interactionsacross distributed computing resources

theorist@mit

colleague@caltech

system@sns

data@ornl

Page 36: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE and the NSF

• Leverage the DOE BES investment in SNS hardware to do innovative science (often done under NSF grants)

• Software has strong connections to NSF emphasis on- scientific principles- education

• Initiate a partnership between a university-based developer community and a national facility

• Communication and science community outreach is central to DANSE – should promote NSF-DOE interactions too

• DANSE, both project and product, is extensible to other facilities and disciplines

Page 37: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE and the SNS

• DANSE project augments SNS expertise and resources • Early DANSE deliverables track instrument commissioning

at the SNS• DANSE project will facilitate new science from the SNS,

especially in the early years of operations• Good communication channels between SNS and DANSE• Decoupling of software development efforts

- DANSE emphasis on advanced data analysis (modeling and simulation)- SNS emphasis on data services (acquisition and curation)

• Engineering consistency: SQRL consults for the SNS, subcontract with DANSE

Page 38: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Backscattering Spectrometer (BL-2)

Magnetism Reflectometer (BL-4A)

Liquids Reflectometer (BL-4B)

SANS (BL-6)

Powder Diffractometer (BL-11A)

ARCS (BL-18)

CNCS (BL-5)

Vulcan (BL-7)

SNAP (BL-3)

Sequoia (BL-17)

Fundamental Physics (BL-13)

Spin Echo (BL-15)

TOPAZ (BL-12)

NOMAD (BL-1B)

Vision (BL-16B)

HYSPEC (BL-14B)DANSE Project

Page 39: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE Effort Today (Personnel)• All senior personnel together since early 2003

- scientific and technical leadership- assessment of what is practical to deliver

• Professional staff- infrastructure, support tools, institutional memory

• Postdoc Software Developers- mostly physical scientists interested in software- varying software skill okay, but cannot start at zero- must sustain their scientific research - transitions out of DANSE/ARCS projects have been successful

• Graduate Students- can leverage DANSE in thesis research- testing and some development

• Undergraduate Students- mostly in computer science

• External collaborators

Page 40: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE Effort Today (Technical)

• Scientific capabilities defined, packages selected (over 4 years, 12 workshops, 6 polls, and former CED project)

• ARCS inelastic software in production, pyre framework

• Reflectometry software in production, moving to framework

• Software development process is established

• Common components for I/O, interface, and numerics gives economies of scale, reusability, uniformity, and fewer bugs

Page 41: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

DANSE Effort Today (Management )

• Earned value management established with a Project Baseline

• Change, risk, configuration control plans are ready

• Infrastructure tools identified (svn, trac, build/release, gui)

• Development processes are specified

• Project management in place

Page 42: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Work Breakdown Structure

• Think of Microsoft Project

• Layout of all tasks. Each task has:- description in a dictionary file- estimate of time

- estimate of cost- markers of task progress

• WBS maintained by Mike McKerns, Project Manager

• Changes are expected, but must be documented.

Page 43: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Earned Value Management System

• Beyond Microsoft Project, becoming a federal requirement

• Monthly reports of progress (Earned Value)

- use markers of task progress

• Monthly reports of expenditures (Actual Costs)

- estimates of time and cost

• Actual Costs and Earned Value are in units of dollars

• EVMS maintained by B. Thibadeau at SNS

Page 44: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Integration of:Design Process, QA, Releases

• State purpose of component, specifications, functional tests• Object-oriented programming allows early selection of design

patterns• Review, commit to svn

• Prototype. Review the design and costs• Build to specifications, revise specs, develop certification tests

• Deploy to all target systems Release Milestones.For applications, occurs about annually.Good time for a Review.

Page 45: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Features of the Development Process

• Misperceptions of specifications are the biggest source of risk in software projects.

• DANSE developers write specs, so communication problems are minimized.

• Code inspections and QA practices further minimize risk.

• Agile commercial practices are appropriate for a scientific development team.

• Good specifications and requirements can facilitate collaborations.

Page 46: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Education

• Pre-service teacher education at ISU- develop K-12 lesson plans from subprojects- adoption by young teachers

• Nanoscience program at MSU

• Student involvement - minority student funds- testers of software and documentation- some in computer science

• New role for documentation (texts by Fultz, Billinge, Ustundag)

Page 47: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.
Page 48: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Broader Impact

• Algorithm Development Moves to Higher Levels- flexible integration of DANSE components and applications- subproject science packages

• DANSE should be Useful for Other Groups- other neutron facilities- synchrotron radiation research- education programs in materials/chemistry/condensed matter

• Demonstrate a New Approach to Scientific Software Development - professional standards with O-O design- distributed team, now cohesive- some interest from computational scientists

Page 49: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

Summary of DANSE

• The road from neutron data to neutron science is paved by computing.

• DANSE system moves data analysis at the a higher level of abstraction where new science is found.

• Integration of Design, Development, QA, Release Management.

• Plan, key personnel, technical and management systems are in place for construction of DANSE. Now funded by NSF IMR-MIP program 2006-2011.

Page 50: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

For this Kickoff Meeting

• DANSE Subproject Teams- Status reports- Technical discussion

• Collaborators- Look over DANSE status and plans- We want to hear updates from you too

• Visitors to this Kickoff Meeting- Do we have common interests?- Keep in touch!

Page 51: Brent Fultz; Co-PIs are Michael Aivazis, Ian Anderson; PM is Mike McKerns California Institute of Technology.

End Presentation