Message: Re: How to locate the parameters(Standard and advanced options) to point to in the Cmake's curses interface Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to locate the parameters(Standard and advanced options) to point to in the Cmake's curses interface 

Forum: Installation and Configuration
Re: Question How to locate the parameters(Standard and advanced options) to point to in the Cmake's curses interface (Maluba Vernon)
Date: 26 Nov, 2013
From: Ben Morgan <Ben Morgan>

On Mon, 25 Nov 2013 15:48:00 GMT, Maluba Vernon wrote:
> I have Geant4.9.6 already installed, and I also use the command ccmake
> ../geant4.9.6 in my build directory to open the curses based interface
> within which I can set paths pointing to the options I need to run my
> application. The problem is I don't know exactly where most of these
> parameters are in my Geant4 installation. For example to point to clhep
> the path is /home/maluba/GEANT4/geant4.9.6-build/source/externals, but
> when I switch on the GEANT4_USE_SYSTEM_CLHEP option it cmake fails at
> compilation.
> 
> Secondly, I built example B1 but upon running it, I get this 'Fatal
> error': Missing mandatory data for this simulation engine
> 
> I have however pointed to the location of the datasets, there are a few
> options that won't allow me to compile the cmake although I know they
> may be required.
> 

I'll answer this here, but in general it's best to add in reply under the original thread to keep everything in one place.

On the first issue on ccmake, the GEANT4_USE_SYSTEM_CLHEP is for the case when you want to build Geant4 against a preexisting install of CLHEP. You cannot set GEANT4_USE_SYSTEM_CLHEP to ON and then set the paths to the current build. I would, in this case, simply set GEANT4_USE_SYSTEM_CLHEP to OFF.

If you are seeing paths to third party includes/libraries being listed in ccmake as SOMENAME-NOTFOUND, then CMake has been unable to locate them. None of these are supplied by Geant4 (for example, OpenGL, X11, Qt), so they need to be preinstalled on your system. Most can be installed on Linux systems (if that's what you're using) via the system package manager, and you'll need to consult the documentation of the system to find out the exact list to install. As a general rule, you'll need both the main package plus the "-devel" version, which supplies the headers. With these packages installed CMake should then locate everything for you, and there is more information on this in the Installation Guide.

I'm not sure what you mean by "pointed to the location of the datasets". Geant4 locates the datasets by environment variables whose values point to the dataset locations. Setting this up is also covered in the relevent sections of the Installation Guide.

Cheers,

Ben.

 Add Message Add Message
to: "Re: How to locate the parameters(Standard and advanced options) to point to in the Cmake's curses interface"

 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 ]