Problem 1822 - In MT mode, UI commands for workers issued after the last beamOn are not processed
Summary: In MT mode, UI commands for workers issued after the last beamOn are not proc...
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: run (show other problems)
Version: 10.0
Hardware: All All
: P5 minor
Assignee: Andrea Dotti
URL:
Depends on:
Blocks:
 
Reported: 2016-01-30 10:31 CET by Andrea Dotti
Modified: 2016-03-01 19:00 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Andrea Dotti 2016-01-30 10:31:16 CET
In MT mode UI commands specific for worker-threads issued after the last beamOn of the job are not received by threads. This is because jobs exits without processing the last group of accumulated UI commands.

A use case for this is user-defined commands that perform some action at the end of the job, for example, dumping information accumulated by threads or performing some analysis.

To solve the problem we need to copy the logic of processing UI commands by threads also at exit of the job.

Andrea
Comment 1 Andrea Dotti 2016-02-10 17:06:43 CET
Bug re
Comment 2 Andrea Dotti 2016-02-10 17:12:43 CET
The bugfix requires developments documented in https://jira-geant4.kek.jp/browse/DEV-216
Comment 3 Andrea Dotti 2016-03-01 19:00:46 CET
Fixed starting from 10-02-ref-02. A new feature is present that allows to execute the commands stack in workers w/o a beamOn: this is achieved with a new specific UI command or automatically at the end of the job.