@@ -15,7 +15,6 @@ For now the installation is done manually by first building SLIC's dependencies
### Initial Setup
There will be a `build` dir where all the packages are built and configured and an `install` dir where they are installed out of source.
This structure can be setup as follows:
```
...
...
@@ -27,7 +26,41 @@ cd ..
mkdir build; cd build
```
### Geant4
### Quick Build Instructions
The SLIC build system is able to download and install all dependencies for the project if they are not found on your system.
Start by executing CMake from the build dir:
```
cd build
cmake ..
```
If no directory arguments were provided pointing CMake at locally installed packages, you will see a message stating "Some dependencies were not found." This is not an error, but to complete the build you will need to build these dependencies and then rerun CMake so they are resolved.
To build the dependencies, execute the following:
```
make
```
Once this is done, then you need to rerun `cmake ..` from the build directory. If the dependencies all installed successfully, then the message "All dependencies were found." should print. Now you can just type `make; make install` to complete the build using these installed dependencies.
The default installation directory for SLIC and its dependencies is `~/slic` which you can change by providing an argument `-DGLOBAL_INSTALL_DIR=/my/install/dir` to the CMake command.
## Running SLIC
```
source /scratch/slic/install/slic/bin/slic-env.sh
slic [options]
```
## Installing Dependencies
Should you wish to install dependencies manually, the following instructions can be followed.
#### Geant4
Download the 10.3.p01 tarball from the Geant4 website and untar it or you may clone a tag from the Geant4 github.