SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
slic --help
slic --version
SLIC is a C++ application that is built using the standard GCC compiler toolchain and the CMake build generation system.
Start by cloning the project to a local directory.
Create the build directory within your slic project directory:
The SLIC build system is able to download and install all dependencies for the project if they are not found on your system. This requires a multi-step build for the dependencies to first be downloaded and installed before SLIC itself is built.
From the build dir created above execute the following:
You should see a number of messages printed that indicate dependencies were not found and will be built.
There are a few cmake options that can be used for configuring SLIC:
Variable | Default Value | Description | Notes |
---|---|---|---|
WITH_GEANT4_UIVIS | NO | Enable Geant4 visualization and UI | Requires X11 and Qt |
WITH_GEANT4_VERSION | 10.6.1 | Geant4 release tag to use | master is not allowed |
CMAKE_INSTALL_PREFIX | ${CMAKE_BUILD_DIR}/install | Installation prefix for slic and deps |
Here is an example of all these options being used together:
These options should be passed the first time you execute the cmake
command when building the application.
Now to the dependencies and SLIC, execute the following:
Now, you should be ready to install slic if the above completed without errors:
For further information see SLIC README on github.