UI & Interfaces : latest updates

Slides:



Advertisements
Similar presentations
What’s New in Fireware XTM v11.3.2
Advertisements

Koichi Murakami Geant4 Users Conference – LIP / Lisboa (9/Oct./2006) Application of Geant4 Python Interface Koichi Murakami KEK / CRC Let's start with.
First Step on User Commands Makoto Asai (SLAC) Geant4 Users CERN Nov. 11th, 2002.
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.
User Interface I Makoto Asai (SLAC) Geant4 Tutorial Course Geant4 v8.3.
Geant4 v9.4 User Interface I Makoto Asai (SLAC) Geant4 Tutorial Course.
User Commands Makoto Asai (SLAC) Geant4 Users SLAC Feb. 19th, 2002.
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.
Welcome to CSE  Name: Di Cao   Classroom: DL357  Class Time: T 8:30am - 9:18am  Office.
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
NetSim ZigBee Simulation Code Walkthrough in 10 steps
Gamma calorimeter for R3B: first simulation results INDEX ● The calGamma Geant4 simulation ( a short introduction ) ● Crystal and geometry selection: –
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
CS 590 Programming Environments with UNIX. Computer Lab Account Course Homepage
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
UNIX/LINUX SHELLS.  “A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and.
Guide to Linux Installation and Administration, 2e1 Chapter 11 Using Advanced Administration Techniques.
Linux+ Guide to Linux Certification, Third Edition
Operating Systems Process Creation
Using Simulator With Undertow Suite. Source environment variables For example, envsource has all the environment variables set up. You can change the.
TCL TK. Tcl/Tk C functions can become Tcl commands that are invoked interactively Tk = scriptable, portable user interface –Windows, X (Unix), MacOS,
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
Geant4-MT migration and UI issues K. Murakami (KEK/CRC) Sep/11/201217th Geant4 Collaboration meeting1.
17-19 Oct, 2007Geant4 Japan 2007 Geant4 Collaboration KEK/CRC 1.
Geant4 release 5.1 summary Gabriele Cosmo EP/SFT.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
Advanced topics Cluster Training Center for Simulation and Modeling September 4, 2015.
2-December Offline Report Matthias Schröder Topics: Monte Carlo Production New Linux Version Tape Handling Desktop Computers.
Introducing Python 3 Introduction to Python. Introduction to Python L1 Introducing Python 3 Learning Objectives Know what Python is and some of the applications.
Use of CMT in LHCb CMT Workshop, LAL (Orsay) 28 th February - 1 st March 2002 P. Mato / CERN.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
7/8/2016 OAF Jean-Jacques Gras Stephen Jackson Blazej Kolad 1.
Introducing Python Introduction to Python.
Development Environment
Installation of MySQL Objectives Contents Practical Summary
Scheduled Report ing From CounterPoint.
Python Lesson 12 Mr. Kalmes.
C-Shell with Functions
CCS Engineering Tools The tools are used help development and debugging of VLT SW control applications This presentation will provide a general view of.
LINUX WINDOWS Vs..
SQL and SQL*Plus Interaction
Introduction Python is an interpreted, object-oriented and high-level programming language, which is different from a compiled one like C/C++/Java. Its.
Python 14 Mr. Husch.
Topics Introduction to Repetition Structures
Updates on Intercoms / Interfaces
The full set of lecture notes of this Geant4 Course is available at
Eclipse Navigation & Usage.
GUI Parallel Session Hajime Yoshida
Unix Scripting Session 4 March 27, 2008.
Things You Should Know + Usage Tips
Perspective on Geant4 Parallelization
LINUX WINDOWS Vs..
Call to Fix HP Printer Installation Error Code 1603
User Interface
caQtDM: future use of a display manager
(Chapter 2) John Carelli, Instructor Kutztown University
Building Web Applications
Python Lessons 13 & 14 Mr. Kalmes.
Makoto Asai (SLAC) Geant4 Tutorial Course
Exploring the Power of EPDM Tasks - Working with and Developing Tasks in EPDM By: Marc Young XLM Solutions
X10 Future Plans & Discussion
XML Parsing I have to analyze over 300 XML files. The xml2csy.py can’t be used to call multiple files at time as per our previous communication. I am thinking.
Exploring the Power of EPDM Tasks Working with and Developing Tasks in SolidWorks Enterprise PDM (EPDM) By: Marc Young xLM Solutions
Hardware Environment VIA cluster - 8 nodes Blade Server – 5 nodes
Lab 3: File Permissions.
Outline Chapter 3: Processes Chapter 4: Threads So far - Next -
Visualisation and (G)UI
Presentation transcript:

UI & Interfaces : latest updates Koichi Murakami KEK/CRC

Outlook Qt UI commands G4UIExective MPI interface Python Interface

Qt Stable on Linux / Qt4 Prescription for Mac configuration Qt3 support will be dropped. SL4 (RH ES4) is affected.

Range check for UI commands improve range check for UI commands with default unit G4UIcmdWithADoubleAndUnit G4UIcmdWith3VectorAndUnit Default unit should be set For example, /xxxx/setLength 1 m 0 < x < 10 (cm) Range Error !

/control/ commands New stuff Usage: /control/if <alias> “< <= > >= == !=“ <macro> /control/add <alias> <value1> <value2> /control/subtract <alias> <value1> <value2> /control/multiply <alias> <value1> <value2> /control/divide <alias> <value1> <value2> Usage: control/if {alias_name} > 1 macro.mac If “alias_name” > 1, then execute “macro.mac”

G4UIExecutive G4UIExecutive is available in 9.3 release. convenient class for selecting a UI session according to environment variables, G4UI_USE_XXX. QT, XM, WIN32, TCSH, UIterminal (fallback) select a session type by the order above Pros: just one line cares the selection of a session type Cons: Environment variables might cause unexpected behaviors. G4UIExective is used in all examples. an aspect of code review for examples

G4UIExecutive in main() In your main(), #include “G4UIExecutve.hh” … if (argc != 1) { // batch mode G4String fileName = argv[1]; UImanager-> ApplyCommand(“/control/execute ” + fileName); } else { // interactive mode G4UIExecutive* ui = new G4UIExecutive(argc, argv); if (ui-> IsGUI()) ; // say something ui-> SessionStart(); delete ui; }

MPI interface Code reviewed OpenMPI as default instead of LAM/MPI LAM/MPI is becoming obsolete … Developers shift to OpenMPI does not work on recent distributions improve macro file parser same parser as G4UIbatch Improve /mpi/status command clock counting with checking kernel status changed "beamOn" behavior for better performance fixed unexpected behavior at the end of batch mode

Python interface Now Ready for Python 3 Boost-Python is ready for Python3 Some distributions include Python3 Python 3 is not backward compatible Python2 script cannot run on Python3 Codes for both Python2 and Python3 should be provided. Experimental support for Python3 on December release.

New example of GTK application EM Calculator pyGTK is used. Show stopping power for e/mu/proton and cross section for gamma Select a particle and select/set a NIST material Show stopping power / cross sections on ROOT graph and text data

Summary Qt interface UI comands G4UIExective MPI interface stable on Linux prescription for Mac configuration drop Qt3 support UI comands improve range check new control stuff G4UIExective uniform way of UI session MPI interface code reviewed for better performance Python interface ready for Python3 example of GTK application

Thanks