Message: Re: G4 on windows in 64bit Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: G4 on windows in 64bit 

Forum: Installation and Configuration
Re: None G4 on windows in 64bit (Andrew Prideaux)
Date: 22 Jun, 2011
From: Joel Long <Joel Long>


I have not tried this, and I have not looked at the coding in Geant4 or CLHEP to know if it will cause any problems, but you should be able to modify the configure file to include compile options that target a 64-bit architecture.

First, look on in the vc++ documentation to find the appropriate compile option to target 64-bit. Then you will need to find the appropriate portion of the configure file (I would expect a variable called CPPFLAGS, or possibly CXXFLAGS). Add the compiler flag to this variable, then proceed with the install process as normal. Note that you will need to do this with both CLHEP and Geant4 (mixing libraries compiled for different architectures does not work).

Again, if CLHEP and Geant4 have not been written to support 64 bit, then this might cause runtime problems, even if it appears to compile correctly.

Hope this helps! Joel Long

 Add Message Add Message
to: "Re: G4 on windows in 64bit"

 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 ]