SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

30
SNS Update DANSE Workshop Steve Miller September 20-21, 2004
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    1

Transcript of SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Page 1: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

SNS UpdateDANSE Workshop

Steve Miller

September 20-21, 2004

Page 2: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Experimental Facilities Division Oak Ridge

August 19-20, 2004

PROTONS

1B - Disordered Mat’lsDiffractometer –DOE Funded (SING) –Commission 2010

12 - Single Crystal Diffractometer –DOE Funded (SING) –Commission 2009

13 - Fundamental Physics Beamline –IDT DOE Funded –Commission 2008

17 - High Resolution Chopper Spectrometer –DOE Funded (SING) –Commission 2008

9 - Engineering Diffractometer –IDT CFI Funded –Commission 2008

3 - High Pressure Diffractometer –DOE Funded (SING) –Commission 2008

18 - Wide Angle Chopper Spectrometer –IDT DOE Funded –Commission 2007

11A - Powder Diffractometer –SNS Funded –Commission 2007

6 - SANS –SNS Funded –Commission 2007

5 - Cold Neutron Chopper Spectrometer –IDT DOE Funded –Commission 2007

4A - Magnetism Reflectometer –SNS Funded –Commission 2006

2 - Backscattering Spectrometer –SNS Funded –Commission 2006

4B - Liquids Reflectometer –SNS Funded –Commission 2006

14B - Hybrid Spectrometer –DOE Funded (SING) –Commission 2011

15 – Spin Echo

? – Chemical Spectrometer

60 m

16 Approved Instruments CANADA Unfunded

SNS

UNIV

SING

NUC-PH

Page 3: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• Phase 1 – initiate framework– Currently underway

• Phase 2 – Day 1 instrument support– DANSE for ARCS– DAVE for Backscatter Spectrometer– ISAW for visualization

• Phase 3 – NeSSI SW on-line– Keep this development out of critical path

SNS Software Plans

Page 4: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Some Plan Considerations• Phase 1

– Portal performance and responsiveness – both within facility and external

– Evaluate different portal types – currently evaluating window server implementation

• Phase 2– Can DANSE be ready for “Day 1” at SNS?– Is it necessary for DANSE to be ready on Day 1?– Where to host reflectometer software for Day 1?– Soon afterward need SANS and Diffractometer SW

• Phase 3– How long to get here?

Page 5: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Current Events

• NeSSI Workshop just took place - sponsored by ISIS• Collaboration holding regular video conferences – how to

better include DANSE team?• E-notebooks setup for NeSSI and task groups• Currently updating Functional Requirements document

utilizing interfaces diagram• Recent meeting at ORNL between SNS, HFIR, and NIST –

discussing 3-way DAVE software collaboration• SNS-ORNL working with IPNS team to integrate ISAW

tools within the data portal• Leveraging existing software where it makes sense

Page 6: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

NeSSI Collaboration and Workshop

• Participating Organizations:– ANSTO, Caltech, CCLRC e-Science, HFIR,

IPNS, ISIS, J-PARC/KEK/KENS, LANL, NIST, ORNL, SNS

• Task Groups:– Access and Portals– Visualization– Analysis– Data Management

• NeSSI gaining momentum

Page 7: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Acquisition

Raw

Diagnostics

Treatment Analysis

Intermediate Scientific

Instrument

Electronic notebook

Intelligent Control

Sample & Environment

VisVis Vis

Controls

InstrumentSimulation

Materialssimulation

Raw Intermediate ScientificNotebookSample & environment

Proposal

SNS Directed

SNS Responsible

Automation High Performance Computing

Database

Software repository

Instrument simulation

Materials simulation

Vis Vis

Simulation Simulation

Web Portal to Data, Software, and Analysis

Local and remote users

SNS Software Architecture & Responsibilities

Publications

real time control

acquisition

analysis simulation

data

Database

User Community

Re

spo

nsi

bili

ties

Documentation

Data

Metadata

Hardware

Software

Mo

du

les

visualization

Page 8: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Facilities have no control over SW users run on their own computersUsing data downloaded from SNS

SW defines interfaces through which user desktop programs can access facility resources

Facilities Play Bigger Role – Interfaces provide extensibility, integration, multiple frameworks

Users

data Visualization

Analysis

Desktop client

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Users and SNS write components to standard well defined interfaces

Analysisresultsdata

Minimumrequirement

Webbrowser

Page 9: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Some Portal Considerations• Pros

– Offers facility single point of control for user software– Enables control of user access– Can provide user transparent access to high performance

networking, data, and computing– Facilities can provide users SW licenses and workspace– Sending screen images rather than data

• Cons– Requires network access– Remote access performance adequate?– Adequately host high end viz software?– Can same software running via portal run via desktop?– Sending screen images rather than data

Page 10: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Visualization and GUI Group

Analysis Group

Data Management Group

Access and Portal Interfaces Group

Task Group Areas – Bringing Structure to Interfaces

Users

User’s Own Computers data Visualization

Analysis

Desktop client

Webbrowser

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Analysisresultsdata

Page 11: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Access and Portals – Workshop Summary

Portals• Start with web portal interaction with functional interfaces• Define portal interfaces to data management and analysis/visualization layers• Software repository – to allow download of released SW versions Access• Determine access use cases – who gets access to what

• Draft a policy document• Determine methods for implementing access control• Outline necessities for “single-sign-on” across facilities

• Grid access – eScience, TeraGrid, federated grid

Page 12: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Visualization – Workshop Summary

•Visualization to be controllable through a user interface or a script and specified through a public API•The visualization routines need to have input via either file or a pointer to memory•The controls (GUI or script) shall be separate from the data and the view(s) of the data•It will be possible to use some analysis routines to operate on the data before passing it to the viewer(s)•Needs to be easy for users to develop viz tools•New consideration – interactive visualization may be a tool to spawn batch processing resulting in new (3D or 4D) visualizations

Page 13: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Analysis – Workshop Summary

• Very large data sets driving development

• Open Source and Commercial SW • Structured software needed.• Software repository – what to put in.• Automation and Intelligent Control.• Interfaces to data and visualization.• Analysis framework definition task

group formed

Page 14: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Data Management – Workshop Summary

• A number of key databases have been identified•User•Proposals•Sample safety•Sample environment•Scheduling•Metadata (icat/scat)•Publications•Data

• There is a pool of metadata and data available to populate these databases• Expressing relationships between various data types (e.g. RAW, processed, published) is key to preserving the analysis chain

Page 15: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Where DANSE sits today

DANSE presently runs on users local sites using data and analysis modules located there data Visualization

Analysis

Desktop client

Webbrowser

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Analysisresultsdata UNDER C

ONSTRUCTION

Page 16: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

DANSE as a Portal Client

DANSE as a user application accesses data via the data portal interface

data Visualization

Analysis

Desktop client

Webbrowser

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Analysisresultsdata

Possibly help support ARCS instrument integration remotely

Page 17: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

DANSE as a Portal Server

data Visualization

Analysis

Desktop client

Webbrowser

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Analysisresultsdata

User accesses DANSE via web portal, desktop client or user app

Page 18: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

DANSE – Fully Integrated

1. DANSE runs remotely accessing resources at SNS data Visualization

Analysis

Desktop client

Webbrowser

UserApplication

Access and authorization controlSecurity Interface

Function Interface Control portal Data portal Analysis portal

Data Interface Database and flat file access protocols

data

Metadata

Documentation

Publications

Acquisition

Data Management

SNS Validated software

NewUser code

Legacycode

Commercialpackages

Computer interface

Analysisresultsdata

2. DANSE fully integrated utilizing local/remote resources

Page 19: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Using the Portal

Web Browser Interface

Using WiredX…

• Portal can run either in a browser or as a “rootless” window on client machine.

• Portal sends screenImages rather than data

Page 20: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Using the Portal – Selecting Data

Selecting Input

User clicks on “Select Input” button

Page 21: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Using the Portal – Launching DANSE

User clicks on “DANSE” button

Page 22: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Using the Portal – More Applications

Launch more applications such as…

ISAW

Matlab

DAVE

Page 23: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Using the Portal – Metadata Search

Here RAW Metadata searched by owner

Page 24: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Visualization Components

Data Sources: URL, ptr

or file

Data Reader

Data Manipulation

(local analysis)

Visualization Engine

Viewer 1…

Viewer NRenderer

UI Control

User Interface

To Analysis Components

Local or remote

Page 25: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

Analysis Components

Data Sources: URL, ptr

or file

Data Reader

Analysis Performer

Analysis Engine

Data Writer

UI Control

Local or remote computation

UI Control sequences performing analysis

Page 26: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• Interface to NeXus files and data management layer• Interface to visualization – support multiple packages• Ability to support data provenance and pedigree – supply metadata to

database records• Growing need to support batch processing• How to leverage existing software such as Netsolve, ISAW, DAVE?• Visual programming interface – existing options (CCA, SCIRUN, Caffeine,

Kepler, IE, …)?• Documentation – architecture, interfaces, design, etc.• Incorporation of DANSE into NeSSI framework via interfaces• Simple, rapid installation wizard• Legacy code incorporation wizard• ARCS instrument – status of this SW?• SW transition plans to SNS• Collaborative development with SNS and with NeSSI – how to manage?• Any licensing or software ownership issues?• IMPACT Software – incorporating new science via software perhaps the

biggest contribution the DANSE project can make

Considerations

Page 27: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• Minimize Resources – personnel, costs, variety of software to maintain, etc.

• Independently change code based upon user feedback – especially GUI applications

• Must see the “big picture” for SW development

• Design criteria contention – user vs developer

• Support SNS Instrument Scientists

• Support NeSSI collaborations

• DANSE Integration

SNS Considerations

Page 28: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• Software must be:– Reliable– Easy to use, but capable– Accessible via web or desktop– Documented – design, references, guides– Tested – with feedback paths for improvements– Easy to train people to use the software– low maintenance– Scaleable and Upgradeable– High performance where needed– Low cost– Facility must have means for self-sufficiency

Facility Software “Musts”

Page 29: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• Mutual trust among collaborators• Designs must be inclusive• Leverage collaborator strengths• Sensitive to timelines• Common vision and goals• Regular communication• Stakeholders share risks equitably• Software suite defined by natural selection• More anonymity among facility contributions• Teams must remain responsible to their facilities

NeSSI Culture Changes

Page 30: SNS Update DANSE Workshop Steve Miller September 20-21, 2004.

• It’s a good time to align DANSE framework development efforts within the SNS/NeSSI framework

• Let’s work together in conjunction with NeSSI

Summary