Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

PvData,pvAccess,pvIOC,pvService Status EPICS Meeting June 2011 NSRRC,Hsinchu, Taiwan Marty Kraimer, Guobao Shen, and Matej Sekoranja.
LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
PCaPAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October.
XAL at J-PARC Hiroyuki Sako, G. Shen, JAEA C. K. Allen, ORNL Contents Why did we introduce XAL? Installing XAL Developing XAL Achievements with XAL Summary.
XAL Recent Development
Two main requirements: 1. Implementation Inspection policies (scheduling algorithms) that will extand the current AutoSched software : Taking to account.
Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Performance testing of Progress Appservers and a plug-in for Jmeter
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
Scan System: Experiment Automation Kay Kasemir, Xihui Chen RAL EPICS Meeting, May 2013.
GRID job tracking and monitoring Dmitry Rogozin Laboratory of Particle Physics, JINR 07/08/ /09/2006.
Remote OMNeT++ v2.0 Introduction What is Remote OMNeT++? Remote environment for OMNeT++ Remote simulation execution Remote data storage.
Rsv-control Marco Mambelli – Site Coordination meeting October 1, 2009.
HTML+JavaScript M2M Applications Viewbiquity Public hybrid cloud platform for automating and visualizing everything.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
SUMA: A Scientific Metacomputer Cardinale, Yudith Figueira, Carlos Hernández, Emilio Baquero, Eduardo Berbín, Luis Bouza, Roberto Gamess, Eric García,
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
DIANE Project CHEP 03 DIANE Distributed Analysis Environment for semi- interactive simulation and analysis in Physics Jakub T. Moscicki,
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Marcelo R.N. Mendes. What is FINCoS? A Java-based set of tools for data generation, load submission, and performance measurement of event processing systems;
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
Stuart Wakefield Imperial College London Evolution of BOSS, a tool for job submission and tracking W. Bacchi, G. Codispoti, C. Grandi, INFN Bologna D.
The european ITM Task Force data structure F. Imbeaux.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Production Tools in ATLAS RWL Jones GridPP EB 24 th June 2003.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Self-assembling Agent System Presentation 1 Donald Lee.
An Overview of XAL XAL - A High-Level Control Application Framework Christopher K. Allen Los Alamos National Laboratory KEK - February 18, 2005.
The EDGeS project receives Community research funding 1 Porting Applications to the EDGeS Infrastructure A comparison of the available methods, APIs, and.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Paul Chu SLAC App. 10/14/ SLAC (LCLS) Application Plans P. Chu for SLAC High-Level Application Team.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Marcelo R.N. Mendes. What is FINCoS? A set of tools for data generation, load submission, and performance measurement of CEP systems; Main Characteristics:
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Paul Chu XAL for 10/14/ XAL for SLAC/LCLS Paul Chu.
Reconfigurable Communication Interface Between FASTER and RTSim Dec0907.
ProShell Procedure Framework Status MedAustron Control System Week 2 October 7 th, 2010 Roland Moser PR a-RMO, October 7 th, 2010 Roland Moser 1.
ATLAS Database Access Library Local Area LCG3D Meeting Fermilab, Batavia, USA October 21, 2004 Alexandre Vaniachine (ANL)
Experience with LCLS Sergei Chevtsov, EPICS Argonne.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
PLACET User experiences with PLACET and examples of use for the Drive Beam CLIC Workshop 2008 Erik Adli, CERN/University of Oslo, October 16 th 2008 Lots.
Marcelo R.N. Mendes. What is FINCoS? A Java-based set of tools for data generation, load submission, and performance measurement of event processing systems;
Ganga/Dirac Data Management meeting October 2003 Gennady Kuznetsov Production Manager Tools and Ganga (New Architecture)
Scan System Update Kay Kasemir, May Managed by UT-Battelle for the U.S. Department of Energy Scan Server Sample Environment Equipments Sample Environment.
+ Auto-Testing Code for Teachers & Beginning Programmers Dr. Ronald K. Smith Graceland University.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Lucretia Status Glen White LCWS2011 Granada, Sept
LCLS Commissioning & Operations High Level Software
LCLS Commissioning & Operations High Level Software
Evergreen Data Systems
Computer Based Adaptive Testing
Code Analysis, Repository and Modelling for e-Neuroscience
Code Analysis, Repository and Modelling for e-Neuroscience
Nominal Technologies for Modelling and High Level Applications of LCLS
Presentation transcript:

Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010

Model Server, P. Chu P. 2 SLAC (LCLS) BNL (NSLS-II) LBL Others? Collaboration

Model Server, P. Chu P. 3 Current Model Server –LCLS XAL based envelope tracking – not covering all physics needs. –Data saved in Oracle DBs Multiple model runs available. –AIDA as communication interface. –Performance Presently, a new model needs 1-2 minutes before available to clients. –Robustness Model GUI app being a heavy applications. No state control during lengthy model update period. Motivation

Model Server, P. Chu P. 4 Proper physics –LCLS XAL model not good for low energy end, undulator and beyond. Sometimes, need multi-particle tracking. Flexible – a universal model host platform. –Even for data from Model Independent Analysis (MIA). Better performance –Running/updating continuously as a service. Updating data ~ a few seconds for online model. –Accessing data with better technology/API, e.g. EPICS v.4 pvAccess. Start-to-end simulation included –Separate run-control program for external code. –Beam dynamics codes can be semi online. Service-oriented architecture –Easy for any client applications to use. –Centralized control. Multiple model runs concurrently What new Model server can provide?

Model Server, P. Chu P. 5 Run control –Support user-defined parameters. API should provide parameter “scan”. –Support saved machine setup, i.e. replay. Easy to program a complicated experiment with SOA design –Support scripting, e.g. Python, Matlab. Additional Features

Model Server, P. Chu P. 6 Possible Model Clients Linac Energy Management (LEM) Feedback Matching Lattice Diagnostics Online Simulator/Virtual Accelerator …

Model Server, P. Chu P. 7 Service-Oriented Architecture  Model Service in the big picture.  Many other commonly used modules should be services as well.

Model Server, P. Chu P. 8 Architecture Design  Input data  Some from other services.  Synchronizing with live machine.  Adapter for each supported model code.  Model run control script.  Model output data format converter.  Model data service engine.  Any client applications.

Model Server, P. Chu P. 9 XAL and its data structure. –XAL hierarchy is suitable for the common data format but needs more attributes. EPICS v.4 pvAccess. S2E prototype (IMPACT-T run control). Numerous existing applications using model data. What We Have

Model Server, P. Chu P. 10 Prototype Run-Control Originally developed 3 years ago. Adding new features. Support IMPACT-T. Written in Python/Jython/Java –Python/Jython for system call to external particle tracking programs. –Java for GUI. File I/O based –Run parameters in XML file. –stdin, stdout, stderr to log file. –Keep updating a “heartbeat” file while tracking is running. –Meta data written into a temp file. –Each run is in a separate self-contained folder. Features –Support DESIGN, user-defined and LIVE (in progress). –Monitoring (by checking various files), controlling runs.

Model Server, P. Chu P. 11 Prototype Run-Control (cont.) Project in SourceForge repo 

Model Server, P. Chu P Finish live machine model support. 2.Define common but narrow APIs first, e.g. set***(), get***(). 3.Use EPICS v4 for Virtual Accelerator. –Performance and reliability test. 4.Post model data to model service. –Using EPICS v4 pvAccess 5.Port models to the model server. –XAL –IMPACT-T –Elegant –Model independent (MIA) data, i.e. Machine Server What to do

Model Server, P. Chu P Improve IMPACT-T code for LCLS. 7.Write client applications. –Set up AP Toolbox for Model Server. 8.Use RDB instead of file I/O. 9.Model Host platform –Parallel cluster study. –Particle distribution generator. –Initial condition editor. What to do (cont.)

Model Server, P. Chu P. 14 Model Server/Service –It is closer to reality than it sounds. –Good progress on run-control program. –There is a lot of work ahead. Summary