Commit aa140659 authored by Uldis Locans's avatar Uldis Locans

Merge branch 'master' of gitlab.psi.ch:uldis_l/DKS

parents 50ecb310 cc59f550
......@@ -29,30 +29,30 @@ Intel MIC compilers (optional)
######Source######
https://gitlab.psi.ch/uldis_l/DKS
######Changes from DKS-1.0.x version######
DKS is split into three modules that can be enabled/disabled at compile time depending on which software it is used for.
By default only DKSBase and DKSFFT modules are enabled. In order to install other modules the necessary otion needs to be enabled.
Supported options are:
-DENABLE_OPAL option should be enabled if DKS will be used for OPAL
-DENABLE_MUSR option should be enable if DKS will be used for musrfit
-DENABLE_PET option should be enabled if DKS will be used for PET image reconstruction
See install instructions for more details on how to enable the necessary options in DKS
######Install######
#consult the https://gitlab.psi.ch/uldis_l/DKS/wikis/home for full install isntructions
#clone DKS
git clone git@gitlab.psi.ch:uldis_l/DKS.git DKS
#set compilers to use
#supported c++ compilers: g++, icpc, mpicxx whith g++
#supported c compilers: gcc, icc, mpicc whith gcc
export CXX_COMPILER=cpp_compiler_name
export CC_COMPILER=c_compiler_name
#set dks root directory directory
cd DKS
export DKS_ROOT = $PWD
#set build directory
mkdir $DKS_BUILD_DIR
cd $DKS_BUILD_DIR
#set install directory
export DKS_INSTALL_DIR = $DKS_BUILD_DIR #default is /usr/local/
#switch to the desired version (OPTIONAL)
git checkout DKS-1.1.0
CXX=$CXX_COMPILER CC=$CC_COMPILER cmake -DCMAKE_INSTALL_PREFIX=$DKS_BUILD_DIR $DKS_ROOT
#configure installation in build directory
#enable DKS modules to compile -DENABLE_OPAL, -DENABLE_MUSR, -DENABLE_PET
CXX=<c++ compiler> CC=<c compiler> -DCMAKE_INSTALL_PREFIX=<install dir> <path to DKS source> [-DENABLE_OPAL=1 -DENABLE_MUSR=1 -DENABLE_PET=1]
#install DKS
make
make install
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment