Message: Re: Memory Explosion Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Memory Explosion 

Keywords: voxelisation, smartless
Forum: Geometry
Re: Question Memory Explosion (Daniel Casey)
Date: 14 Aug, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Dan,

> I have a strange bug in my simulation where I can run say 5 protons
> through a magnetic field and through some simple box shaped materials
> quickly and apparently correctly, but when I move a box a small amount
> and rerun the simulation runs forever and the memory usage blows up
> from ~9Mb to 200+ Mb.

you should first verify that you are NOT introducing overlaps; if so,
verify if the memory growth is happening at initialisation time; try to
run your application with:
  /run/verbose 2
This should print out a statistics (memory, time) of the voxels created
for optimise the geometry. If you indentify a particular volume for which
the optimisation is much consuming, you can try to manually tune the
optimisation for the volume concerned (say, 'yourLogicalVolume') in your
code; try with:
  yourLogicalVolume->SetSmartless(1.0);  // ... or 0.5
In some rare cases (depending on the geometry setup) it may be necessary
to manually tune the geometry optimisation...

Cheers, Gabriele

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

 Add Message Add Message
to: "Re: Memory Explosion"

 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 ]