diff --git a/ReadMe.first b/ReadMe.first index b020918..37686bd 100644 --- a/ReadMe.first +++ b/ReadMe.first @@ -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 +#switch to the desired version (OPTIONAL) +git checkout DKS-1.1.0 -#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/ - -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= CC= -DCMAKE_INSTALL_PREFIX= [-DENABLE_OPAL=1 -DENABLE_MUSR=1 -DENABLE_PET=1] +#install DKS make make install