Message: Re: Building 4.9.5 with pre-downloaded data files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: Building 4.9.5 with pre-downloaded data files 

Forum: Installation and Configuration
Re: Question Building 4.9.5 with pre-downloaded data files (Michael)
Date: 13 Mar, 2012
From: Ben Morgan <Ben Morgan>

Hi Michael,

On Tue, 13 Mar 2012 11:38:34 GMT, Michael wrote:
> I've searched through this section and can't find an answer for this
> one.
> 
> I'm new to cmake (I was quite happy with ./Configure -build and don't
> like change...!).
> 
> Is there a flag in the cmake command to use data files I've already
> downloaded instead of the script automatically going ahead and
> downloading them?
> 
> I have networks at my workplace that are not online and need to be able
> to install the extra libraries offline?

There's no flag at present in the CMake build that allows an existing set of data libraries to be used - it's on the list of features to add though. You therefore need to set things up by hand, but note that you don't need to do this to build Geant4. The setup of the data libraries by the CMake system is purely a convenience feature, and the data is only needed when you run a Geant4 application.

The only setup that is needed post-build is to point Geant4 at the data libraries via the environment variables documented in a Note in the Installation Guide. It's probably easiest to code these all in a shell script you can source.

Cheers,

Ben.

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

1 Agree: Re: Building 4.9.5 with pre-downloaded data files   (Michael - 13 Mar, 2012)
(_ Note: Re: Building 4.9.5 with pre-downloaded data files   (Ben Morgan - 13 Mar, 2012)
 Add Message Add Message
to: "Re: Building 4.9.5 with pre-downloaded data files"

 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 ]