Commit e4d13419 authored by Hamilton, Steven P's avatar Hamilton, Steven P
Browse files

Updating install scripts.

parent b255985f
# Sample build script for Linux cluster
SOURCE=<PATH_TO_SOURCE>
INSTALL=<PATH_TO_INSTALL>
cmake \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_COMPILER="mpicc" \
-DCMAKE_CXX_COMPILER="mpicxx" \
-DCMAKE_INSTALL_PREFIX:PATH=${INSTALL} \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DProfugus_ENABLE_CXX11:BOOL=ON \
-DTPL_ENABLE_MPI:BOOL=ON \
-DTPL_ENABLE_HDF5:BOOL=ON \
-DProfugus_ENABLE_MC:BOOL=ON \
-DProfugus_ENABLE_TESTS:BOOL=OFF \
${SOURCE}
# Sample build script for emmet cluster
# Sample build script for Linux cluster with CUDA
# Modify NVCC flags based on GPU architecture as appropriate
SOURCE=~/Codes/ProfugusMC/src
INSTALL=~/Codes/ProfugusMC/opt
#-DProfugus_ASSERT_MISSING_PACKAGES:BOOL=OFF \
SOURCE=<PATH_TO_SOURCE>
INSTALL=<PATH_TO_INSTALL>
cmake \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DProfugus_ENABLE_CXX11:BOOL=ON \
-DCMAKE_C_COMPILER="mpicc" \
-DCMAKE_CXX_COMPILER="mpicxx" \
-DCMAKE_INSTALL_PREFIX:PATH=${INSTALL} \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DProfugus_ENABLE_CXX11:BOOL=ON \
-DTPL_ENABLE_MPI:BOOL=ON \
-DTPL_ENABLE_HDF5:BOOL=ON \
-DTPL_ENABLE_CUDA:BOOL=ON \
-DProfugus_ENABLE_CUDA:BOOL=ON \
-DCUDA_PROPAGATE_HOST_FLAGS:BOOL=OFF \
-DCUDA_NVCC_FLAGS:STRING="--std=c++11;-arch=sm_35;-Xptxas=-dlcm=cg" \
-DProfugus_ENABLE_TESTS:BOOL=OFF \
-DProfugus_ENABLE_MC:BOOL=ON \
-DProfugus_ENABLE_CudaUtils:BOOL=ON \
-DProfugus_ENABLE_TESTS:BOOL=OFF \
${SOURCE}
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