1 / 6

Updates on Intercoms / Interfaces

Updates on Intercoms / Interfaces . K. Murakami (KEK/CRC). List of updates (1). Shortcut ways of defining user commands (9.6) G4GenericMessenger G4AnyType / G4AnyMethod as helpers G4UImessenger:: CreateDiretory (path, description) T* CreateCommand (name, description)

esben
Download Presentation

Updates on Intercoms / Interfaces

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Updates onIntercoms / Interfaces K. Murakami (KEK/CRC) 18th Geant4 Collaboration meeting

  2. List of updates (1) • Shortcut ways of defining user commands (9.6) • G4GenericMessenger • G4AnyType / G4AnyMethod as helpers • G4UImessenger:: • CreateDiretory(path, description) • T* CreateCommand(name, description) • new UI command, /control/macroPath (9.6) • ":" separated list of macro search path • /control/macroPath "A-dir:B-dir:C-dir" 18th Geant4 Collaboration meeting

  3. List of updates (2) • Code cleanup in terms of const, G4String argument (9.6) • ReceiveG4cout/cerr(string) of G4UIsession • G4String -> const G4String& • G4UItcsh, command completion method, reviewed and changed (9.6) • TAB-> completion + show full path instead of relative path • update on G4UIExective (9.6) • run-time session selection by multi-ways • continuous evolution on Qt (ref. Laurent's talk) 18th Geant4 Collaboration meeting

  4. Run-time session selectionin G4UIExecutive Selection policy • key: qt, xm, win32, wt, gag, tch, csh(case insensitive) • If a specified driver are not build, then skip and try next candidate • specify by argument as string • specify by env. variable (backward compatibility) e.g. G4UI_USE_XX (selection order: gui-> cl) • specify in $Home/.g4session # .g4session (as comment) tcsh (first entry as default) app_name(arg[0]:tail) qt … • best guess (qt -> tcsh -> xm) • csh as fallback 18th Geant4 Collaboration meeting

  5. Remind of G4MPI • located in examples/extended/parallel/MPI • work with different MPI libraries • openMPI, IntelMPI, LAM/MPI, MPICH, … • work on (heterogeneous) cluster nodes • tricky implementation only G4UI can do • independent from G4 kernel • implemented in interface layer • not MPI-mode, but MPI-session • support both CL-mode and batch mode • broadcasting UI commands from masterto slaves • cowork on G4MT (thanks to A.Dotti) 18th Geant4 Collaboration meeting

  6. G4MPI • some minor updates on 9.6 • migration to CMake • add support of macro search path • guess of session-type • fixed infinite-loop of slave when macro does not exist. • docs as Mark-Up, cowork with doxygen 18th Geant4 Collaboration meeting

More Related