# Presentation: 509577

## Science Portal for theSpallation Neutron Source (SNS)

- Science Portal for theSpallation Neutron Source (SNS)

- James Kohl, Sudharshan Vazhkudai,
- Steve Miller, and Al Geist
**Scientific Computing Group **

## Science Portal:One-stop shopping at SNS

**SNS manages**
**Multiple instruments, multiple users (2000/year)**
**Multiple services:**
**Data, acquisition, analysis, simulation, and visualization**
**Portal is a common “gateway” to a complex set of services:**
**Software analysis tools and applications for neutron science data**
**Instruments and data acquisition**
**Data repositories, file systems, and archives**
**Databases with metadata and provenance**
**High-performance computing resources — analysis and simulation**
**Collaborative services — interactive information sharing**
**Several access modes: web-based, desktop-applications...**
**Zero user cost:  Just a web browser, no client-side installation**!

**Multiple instruments, multiple users (2000/year)**

**Data, acquisition, analysis, simulation, and visualization**

**Portal is a common “gateway”**

**acquisition**

**Data**

**metadata**

**computing**

**Zero user cost:**

**Multiple services:**

## SNS software overview

- Software users run on their own computers
- using data downloaded from SNS

- z

**SNS software overview**
**Interfaces provide extensibility and integration; they don’t tie users to one framework**

- SNS defines interfaces through which user desktop programs can access SNS resources

**Access and Authorization Control**

**Security Interface**

**Function Interface**

**Control Portal**

**Data Portal**

**Analysis Portal**

**Data Interface**

**Database and Flat File Access Protocols**

**Meta**
**Data**

**Documentation**

**Publications**

**Acquisition**

**Data Management **

**SNS Validated **
**Software**

**New**
**User Code**

**Legacy**
**Code**

**Commercial**
**Packages**

**Computer Interface**

- Users and SNS write components to well-defined standard interfaces

**Analysis**
**Results**

**Data**

**Desktop**
**Client**

**User**
**Application**

**Web**
**Browser**

## Backend SNS software architecture  (interface specification/dependencies)

- Data Management

- Analysis/Viz

- Acquisition

## Combining facility and community toolsthrough the SNS Portal...

**“****Facility” tools — newly developed or modules tightly integrated into the portal**
**“****Community” tools — existing monolithic or commercial/independent software**
**Java applet-based X-emulation and forwarding (using WiredX/WeeerdX)**
**Application executes on portal server backend/clusters and feeds into SNS data management**
**No installation on user desktop:**
**Rootless window executions**
**“****Looks and feels” like local...**
**Capitalize and combine existing                        and evolving neutron science                   analysis tools**

**ISAW**

**SNS View**

**SNS Portal**

**“****Facility”**

**“****Community”**

## Data management hierarchy

- (Note: Grayed names are symbolic links within the data hierarchy.)

**Workspaces created/updated when proposal accepted**
**Group permissions enforce facility authorization policy**

- /facility

- /instrument

- /ExperimentID

- /experiment

- /nexus_files

- /extra_metadata

- /submitted_analysis

- /shared

*(Nightly update of /public...)*

- /facility

- /users

- /john

- /workspace (read/write)

- /ExperimentID (read only)

- /public (read only)

- /ExperimentID (read only)

- /public

- /ExperimentID

- /ExperimentID

- ICAT metadata catalog
- Oracle DB

## Application managementFor staging, execution and monitoring/access

**Application management****For staging, execution and monitoring/access**

**Converts logical pipeline definition into functional scripts**
**Coordinates scheduling, data staging, execution monitoring**
**Interfaces to *****both *****facility and community software tools**

**The**
**application**
**manager**
**“****realizes”**
**the abstract**
**data analysis**
**pipeline**
**specified by**
**the user**

## SNS visualization architecture

***revealed***

## Browsing CD-4 data with SNS portal...

## Security/authentication using XCAMS

**Security/authentication using XCAMS**

**Portal authentication tied into ORNL XCAMS user authentication system, via ClearTrust**
**Authenticated users are  authorized to access resources:**
**Data management**
**Metadata/databases**
**Experiment proposals**
**High-performance Computing (HPC) systems/computing**
**All portal transactions pass through authentication layer**
**Future direction:**
**Support X.509 credentials to access other HPC resources**

## SNS science portal summary

**SNS science portal summary**

**Secure access to key services:**
**Acquisition, analysis, simulation, visualization**
**Data repositories, file systems, and archives**
**Metadata and provenance databases**
**High-performance computing resources**
**Software analysis tools for neutron science**
**Web-based and programmatic desktop access**
***Integration *****of facility and community tools**
**Extensible software architecture**
**Powerful data and application management**

## Contact

** **

**Stephen D. Miller**
- Scientific Computing Group
- Spallation Neutron Source
- (865) 241-1886
- millersd@ornl.gov

** **

-    Kohl_SNS_0611