Message: Different perfomance on Linux and Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Different perfomance on Linux and Windows 

Keywords: Linux, Windows XP, range calculations, slit scattering
Forum: Hadronic Processes
Date: 17 Dec, 2006
From: Gorelick Sergey <Gorelick Sergey>

Hello,

I don't know really know where this question belongs, but seems to me that hadronic processes/installation and configuration are the most related.

I simulate passage of protons through a system of slits. The material of the slits is Tantalum. I have Geant4 installed both on a Windows and a Linux system. The configuration is as follows:

Windows XP, geant4.8.0.p01, Laptop, Visual C++ compiler Linux Mandriva, geant4.8.1.p01, Desktop, gcc 4.0.1

When the same source code is compiled under Linux and Windows the results of calcuations performed by the same simulation differ very significantly. For instance, range of proton (which should be in principle well established value) in Tantalum are:

Linux: 1 MeV - approx. 4.6 um (cut-value 100 nm); 2 MeV - approx 14.78 um (cut-value 200 nm)
Windows: 1 MeV - approx. 6.15 um (cut-value 100 nm); 2 MeV - approx. 16.36 um (cut-value 200 nm)

The differences are in the range of 10-30% and cannot be ignored. The values for the range given by SRIM are 6.34 um for 1 MeV and 16.9 um for 2 MeV proton in Tantalum. Value for ranges are the closest for those calculated using Win-compiled code.

This strange behavior of the simulation puzzles me and does not allow me continue calculations. I would be most grateful if you provide me with a hint of what could be the source of the inconsistency, and how it could be beaten.

Thank you.

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

1 None: Re: Different perfomance on Linux and Windows   (Vladimir IVANTCHENKO - 18 Dec, 2006)
(_ None: Re: Different perfomance on Linux and Windows   (Gorelick Sergey - 18 Dec, 2006)
(_ None: Re: Different perfomance on Linux and Windows   (Vladimir IVANTCHENKO - 18 Dec, 2006)
(_ None: Re: Different perfomance on Linux and Windows   (Gorelick Sergey - 19 Dec, 2006)
(_ None: Re: Different perfomance on Linux and Windows   (Vladimir IVANTCHENKO - 19 Dec, 2006)
 Add Message Add Message
to: "Different perfomance on Linux and 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 ]