Message: Re: invalid pointer when switched to Multithreading Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: invalid pointer when switched to Multithreading 

Forum: Multithreading
Re: None invalid pointer when switched to Multithreading (Tracy Sanders)
Date: 23 Jun, 2015
From: Tracy Sanders <Tracy Sanders>

I found that there seems to be a problem with G4Allocator in my simulation when trying to run it with multithreading. I don't know why this would not work with multithreading but works perfectly fine on the non-multithreading build.

If it isn't G4Allocator then it has something to do with how I'm tracking the position of the particles which are then being put into a .root file.

I can get simulation to work perfectly without tracking position, energy, phi, and theta, but I need to have these anyways.

If someone could please point me in the right direction to maybe setup collection this data I would be grateful or if there is something that I could fix with my current simulation so that it would work with multithreading.

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

1 None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 23 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 23 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 23 Jun, 2015)
(_ Ok: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ More: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 24 Jun, 2015)
 Add Message Add Message
to: "Re: invalid pointer when switched to Multithreading"

 Subscribe Subscribe

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