|Message: Hadronic physics problems in examples under WinXP/Cygwin/VS2005||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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 220.127.116.11 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!
|Inline Depth:||Outline Depth:||Add message:|