Message: Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows  

Forum: Run Management
Re: Question speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows (Victor_Makarov)
Date: 11 May, 2007
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Fri, 11 May 2007, Victor wrote:

> *** Discussion title: Run Management
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/runmanage/187"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Our company has just started to use Geant4 instead of G3. I am a new
> worker. So I was told to study G4. For a test I was given a tesk similar
> to TestEm4 (a source of gammas radiating a cube of NaI). So I modified
> TestEm4 for my task and received histogrammed energy deposition. At the
> same time that task was solved by our experienced engineer using Geant4.
> Our results look much alike. The only trouble is that his calculations
> lasted a few minutes for 1 000 000 events. My time was 1,5 hours!!! I
> used /tracking/verbose 0. So why did it take G4 on Windows such a long
> time? I've got two versions:
> 
> 1) Maybe it's because cygwin makes it slow and using Unix will make it
> better.
> 
> 2) Maybe /tracking/verbose 0 is not enough to shorten time by ignoring
> tracking verbose. Then, what things do I have to comment in sources
> files to ignore tracking verbose before compiling? Is it possible?
> 
> Does anyone have an idea? Thanks in advance.
> 

Hello,

To make a simple test I would propose to run unchanged example with
default macro file, let say TestEm4 with TestEm4.in, at Linux and at
Windows. In the standard output the CPU is printed out and comparison can
be done - million of events is not needed, limited statistic will show the 
difference.

The effect of /tracking/verbose can be also easely identified. Set it to 1 
and a printout of each particle at each step will be seen, set to 0 - the 
printout of each step should disappear.

VI

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

1 None: Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows   (Victor - 11 May, 2007)
(_ None: Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows   (Vladimir IVANTCHENKO - 11 May, 2007)
(_ None: Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows   (Victor - 11 May, 2007)
 Add Message Add Message
to: "Re: speed of calculations on Geant4 under Windows/Cygwin vs Geant3 under Windows "

 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 ]