Message: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON 

Forum: Installation and Configuration
Re: Question 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON
Date: 07 Dec, 2011
From: Ben Morgan <Ben Morgan>

Hi,

On Tue, 06 Dec 2011 21:08:53 GMT, jcook wrote:
> I see in the Installation Guide Section 2.3 that the
> GEANT4_INSTALL_DATA=ON flag will cause cmake (of the correct version) to
> download the data files. (Side note: It would be wonderful to have the
> correct cmake version indicated in Section 1.1.). The problem is that I
> have a limited amount of space (a quota) and a large number of Geant
> installs (e.g. 4.9.3 exists in x86, x64, and x64 debug, multiply that by
> a number of different Geant version). To get around the fact that the
> data adds up to a substantial amount of disk space, I use a common data
> directory that is pointed to by a symbolic link in each install
> directory. I would like to keep this configuration, and I'm not sure
> that I have a choice about the matter.
> 
> The question falls into two pieces: Is cmake 2.6 ok? How can I avoid
> redownloading the data files and instead have the 4.9.5 installation
> point to the common data directory?
> 
> All help will be much appreciated!

To answer part 1 of your question, yes, CMake 2.6 is ok. The only thing it won't do is install the data for you. The reason for that is the installation method of downloading, unpacking and installing uses a piece of CMake functionality (ExternalProject) that was only introduced in CMake 2.8. It should be possible to backport this into a build with 2.6, though it requires some thought.

On the second item, you can adjust the overall location of the share directory by setting the CMAKE_INSTALL_DATAROOTDIR variable to the path where you want it to go. However, this will install everything that goes under that directory, not just the data. At least for geant4make, that will almost certainly cause some clashes.

We will certainly look at improving this area, so please submit an enhancement request on our Bugzilla site, under the Geant4 cmake component. That way we have a record, and you and other interested users will be updated on progress.

Cheers,

Ben.

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

1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Joseph Comfort - 11 Dec, 2011)
1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (jcook - 12 Dec, 2011)
1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Ben Morgan - 12 Dec, 2011)
... 1 Message(s)
2 None: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Joseph Comfort - 13 Dec, 2011)
1 Feedback: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Ben Morgan - 15 Dec, 2011)
... 1 Message(s)
 Add Message Add Message
to: "Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON"

 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 ]