Message: Re: Sleeping Threads Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Sleeping Threads 

Forum: Multithreading
Re: Question Sleeping Threads
Re: None Re: Sleeping Threads (Andrea Dotti)
Date: 02 Mar, 2016
From: <asteuer>

First, sorry for reposting my question. That did not happen on purpose.

I checked the output and I can not see any warnings. It seems like multiple threads are opened and I get default messages from them like

G4WT9 > AddDiscreteProcess to OpticalPhoton or G4WT8 > *** AUTOSEED ON ***

but when it comes to the actual physics simulation, only one thread is working (in this specific case G4WT5).

The others are sleeping as can be seen by htop:

 9453 asteuer    20   0 1005M  119M 23400 S 94.0  0.2  0:26.28 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9454 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.04 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9455 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.04 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9456 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.05 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9457 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.12 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9458 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.13 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9459 asteuer    20   0 1005M  119M 23400 R 94.0  0.2  0:22.60 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9460 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.13 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9461 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.06 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9462 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.12 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics
 9463 asteuer    20   0 1005M  119M 23400 S  0.0  0.2  0:00.05 /data/user/asteuer/geant4_StatisticsOnly/build/Hadr06 /data/user/asteuer/geant4_Statistics

Anna

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

1 Note: Re: Sleeping Threads   (asteuer - 02 Mar, 2016)
 Add Message Add Message
to: "Re: Sleeping Threads"

 Subscribe Subscribe

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