Message: Hadronic physics problems in examples under WinXP/Cygwin/VS2005 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Hadronic physics problems in examples under WinXP/Cygwin/VS2005 

Forum: Documentation and Examples
Date: 28 Jul, 2006
From: David Shipley <David Shipley>

Hello,

I have been having some problems trying to run the TestEm7 example code distributed with Geant 4.8.1 (and Geant 4.8.1.p01) installed under WinXP/Cygwin/Visual Studio 2005 (VC++ 8).

The code compiles without any obvious problems and a simulation using the distributed macro file proton.mac runs to completion (ie. with no hadronic physics enabled). However, when a hadronic physics list is enabled (i.e. "binary" or "elastic" in proton.mac), the simulation fails after a few thousand events with 'an unhandled win32 exception' causing the Visual Studio Just-In-Time Debugger to be called. (Note, however, that the 'binary-ion' hadronic physics option does not seem to fail after 10k events are run).

There are no problems at all when running TestEm7 with Geant4.8.1 installed under a linux system (Mandrake Linux 9.1).

The same problem also occurs with the Hadrontherapy advanced example. The 'EM' macro files (with no hadronic physics enabled) seem to run to completion under WinXP/Cygwin/Visual Studio 2005 but fail after ~1000 events for the macro files with hadronic physics enabled (i.e. precompoundDefaultEvaporation.mac precompoundGEMFermi.mac etc). Again, there is no problem under the linux system.

It therefore seems that enabling hadronic physics lists (in most cases) causes the example codes to fail under WinXP/Cygwin/Visual Studio 2005.

Has anybody else had a similar experience? What is likely to cause a win32 exception? Perhaps there are specific Visual C++ compiler options that may cure this (I am not a Visual C++ expert). I am quite keen to get the 'windows-compiled' versions of these codes working so that I can utilise our local distributed computing resource (which requires windows executables).

I should note that CLHEP 1.9.2.3 was complied with CXXFLAGS set to "/D_SECURE_SCL=0" in the 'configure' files (as this was suggested on the clhep mailing list to prevent any test failures). Apart from that, I have made no other configuration changes.

Any advice would be most appreciated!

David.

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

1 Question: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 08 Aug, 2006)
(_ None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 09 Aug, 2006)
(_ More: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 10 Aug, 2006)
(_ None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 11 Aug, 2006)
1 None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 11 Aug, 2006)
3 Feedback: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 11 Aug, 2006)
1 Note: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 30 Aug, 2006)
...
 Add Message Add Message
to: "Hadronic physics problems in examples under WinXP/Cygwin/VS2005"

 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 ]