Message: abort of calculation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question abort of calculation 

Forum: (Graphical) User Interfaces
Date: 29 Apr, 2016
From: EugenyZhevak <EugenyZhevak>


I used to run Geant4 with default UI type. And sometimes I needed to stop calculations. I used to type Ctrl+C, then events stopped calculating, and EndOfEvent/EndOfRun functions used to write information to files. So this way I didn't lose any information.

Now I use QT interface. While calculation are running, the UI is blocked and I can't use any commands. When I try Ctrl+C from console, the application is closed, but no results are saved. The same happens when I click halt button in qtcreator.

Is it possible to stop program so that EndOfRunAction() function would be called if I use QT interface?


Eugeny Zhevak

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: abort of calculation   (John Allison - 29 Apr, 2016)
 Add Message Add Message
to: "abort of calculation"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]