Geant4-MT migration and UI issues K. Murakami (KEK/CRC) Sep/11/201217th Geant4 Collaboration meeting1.

Slides:



Advertisements
Similar presentations
1 Symbian Client Server Architecture. 2 Client, who (a software module) needs service from service provider (another software module) Server, who provide.
Advertisements

Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
User Interface The full set of lecture notes of this Geant4 Course is available at
Geant4 v9.2p02 User Interface I Makoto Asai (SLAC) Geant4 Tutorial Course.
CSCC69: Operating Systems
Scheduling Discoverer Reports Scheduling Standard Reports Printing & Re-printing Standard Reports Focus on Reports Session 2 To print: Right click Choose.
User Interface I Makoto Asai (SLAC) Geant4 Tutorial Course Geant4 v8.3.
Parallel and Distributed Simulation Time Warp: Other Mechanisms.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
Operating Systems Parallel Systems (Now basic OS knowledge)
PROJECT IN DISTRIBUTED SYSTEMS IPERF FOR ANDROID Developers: Shir Degani, Yuval Degani Supervisors: Prof. Roy Friedman, Alex Kogan.
Geant4 User Interface Overview Geant4 Mini-Tutorial Hebden Bridge 15 September 2007 Joseph Perl, SLAC (mostly stolen from a talk by Makoto Asai)
Geant4 v9.4 User Interface I Makoto Asai (SLAC) Geant4 Tutorial Course.
Chapter 11 Operating Systems
Chapter 3.7 Memory and I/O Systems. 2 Memory Management Only applies to languages with explicit memory management (C or C++) Memory problems are one of.
CS 225 Lab #2 - Pointers, Copy Constructors, Destructors, and DDD.
Front end GUI for PsExec, A fast and easy remote deployment utility.
How to Patch an APC Campbell Company. Extract Zip file and open folder for patch Double Click on ips text file.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
DIRAC API DIRAC Project. Overview  DIRAC API  Why APIs are important?  Why advanced users prefer APIs?  How it is done?  What is local mode what.
Improvements in Interface, Intercoms and environments Koichi Murakami (KEK/CRC) Koichi Murakami Geant4 Collaboration Workshop (18/Sep/2007) 1.
In-Line Cell Manager Configuration and Loading Date: Octobre2014.
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
220 FINAL TEST REVIEW SESSION Omar Abdelwahab. INHERITANCE AND POLYMORPHISM Suppose you have a class FunClass with public methods show, tell, and smile.
A Project about: Molecular Dynamic Simulation (MDS) Prepared By Ahmad Lotfy Abd El-Fattah Grid Computing Group Supervisors Alexandr Uzhinskiy & Nikolay.
1 Chapter 4. To familiarize you with methods used to 1. Access input and output files 2. Read data from an input file 3. Perform simple move operations.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Gamma calorimeter for R3B: first simulation results INDEX ● The calGamma Geant4 simulation ( a short introduction ) ● Crystal and geometry selection: –
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
Chapter 3.5 Memory and I/O Systems. 2 Memory Management Memory problems are one of the leading causes of bugs in programs (60-80%) MUCH worse in languages.
GDT Development Tutorial. GDT Development Tutorial Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas,
INTRODUCTION TO OPERATING SYSTEMS TDC 311. What is an Operating System? It is a provider of services What kind of services?  Creation, support, and termination.
Use of Coverity & Valgrind in Geant4 Gabriele Cosmo.
Thread-safety and shared geometry data J. Apostolakis.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
Operating Systems Process Creation
Meeting goals Makoto Asai and Marc Verderi 2013 Geant4 Collaboration Meeting Seville, Spain.
Chapter 12: Programming in the Large By: Suraya Alias 1-1.
Introduction to Operating Systems Prepared by: Dhason Operating Systems.
Configuring a Router MM Clements. Copyright This Week Command line interface Router configuration Modes for configuration Interface.
CINT & Reflex – The Future CINT’s Future Layout Reflex API Work In Progress: Use Reflex to store dictionary data Smaller memory footprint First step to.
STAR Scheduling status Gabriele Carcassi 9 September 2002.
S.Linev: Go4 - J.Adamczewski, H.G.Essel, S.Linev ROOT 2005 New development in Go4.
General Introduction and prospect Makoto Asai (SLAC PPA/SCA)
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
CIS 370 Lab1 Unix Commands. Things to do before start... Login username : name with password: fall2009 Open : Terminal (Applications->Systems.
Copyright © Curt Hill More on Operating Systems Continuation of Introduction.
Import existing part with drawing
Functions of Operating Systems V1.0 (22/10/2005).
JIRA-based tools and Bugzilla K. Murakami (KEK/CRC) Sep/23/201318th Geant4 Collaboration meeting1.
Multi-threading and other parallelism options J. Apostolakis Summary of parallel session. Original title was “Technical aspects of proposed multi-threading.
GRID & Parallel Processing Koichi Murakami11 th Geant4 Collaboration Workshop / LIP - Lisboa (10-14/Oct./2006) 1 GRID-related activity in Japan Go Iwai,
Pitfalls: Time Dependent Behaviors CS433 Spring 2001 Laxmikant Kale.
Code improvement: Coverity static analysis Valgrind dynamic analysis GABRIELE COSMO CERN, EP/SFT.
Dag Toppe Larsen UiB/CERN CERN,
Dag Toppe Larsen UiB/CERN CERN,
Updates on Intercoms / Interfaces
Chapter 2: System Structures
“Basic Linux/UNIX Command Line”
UI & Interfaces : latest updates
Operating Systems Georgios Varsamopoulos
Shell & Kernel Concepts in Operating System
Makoto Asai (SLAC) Geant4 Tutorial Course
Mid Term review CSC345.
Design Components are Code Components
Prof. Leonardo Mostarda University of Camerino
Event loops.
Presentation transcript:

Geant4-MT migration and UI issues K. Murakami (KEK/CRC) Sep/11/201217th Geant4 Collaboration meeting1

Scope of UI Interfaces ("session") – terminal frontend (CL), GUI – batch Intercoms – UI command mechanism Sep/11/201217th Geant4 Collaboration meeting2

Outlook of Session and G4MT Current MT does not use UIsession (CL, GUI) Use UIbatch – instantiated in each thread by macro execution. – UImanager (thread local) dispatches UI commands. UI session (CL,GUI) is completely decoupled with the G4 kernel. – UI sessions themselves are not affected by MT. – Open issues: session is thread-out / run on main thread? UIbatch is free from UIsession? Sep/11/201217th Geant4 Collaboration meeting3

Some complexity Session instance: – should be one for CL, GUI – #threads for Batch UImanager of each thread can dispatch UIcommands. How to distribute UIcommands in each thread for CL/GUI session? – Some kind of thread manager is necessary. – To know the pointer of UImanager in each thread Sep/11/201217th Geant4 Collaboration meeting4

Session outputs should be taken care. – output with thread-ID prefix – divided file outputs by thread-ID – kinds of efforts already done G4coutDistination A minor concern: In case that the "run" of main thread is ended prior to other threads, – Command prompt is back to the session? – Parallel run manager makes thread-sync? – maybe yes, should be double-checked For the case that session is thread out, – more rigorous status check is necessary fro each command – commands not protected could break application. Sep/11/201217th Geant4 Collaboration meeting5 Other issues on UIsession

UIcommand scheme UIcommands are dispatched by the thread-local UImanager in each thread. Concerns – Once again, remind that the scheme is applicable for single object (per thread) – Don't forget the object is thread-local, thread-wide or thread-different. thread-local would be ok for most cases take care for the cases of thread-wide, thread-different – Double check for "thread-safety" of each command Sep/11/201217th Geant4 Collaboration meeting6