Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ProfugusMC
ProfugusMC
Commits
e4d13419
Commit
e4d13419
authored
Aug 30, 2018
by
Hamilton, Steven P
Browse files
Updating install scripts.
parent
b255985f
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/cmake_cpu.sh
0 → 100755
View file @
e4d13419
# 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
}
install/cmake_
emmet
.sh
→
install/cmake_
cuda
.sh
View file @
e4d13419
# 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
=
O
N
\
-DProfugus_ENABLE_
TESTS
:BOOL
=
O
FF
\
${
SOURCE
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment