Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Stokesian dynamics #3241

Closed
wants to merge 179 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
4b40b4f
[SD] Starting with the new implementation
hmenke Dec 16, 2018
650e940
[SD] Stokesian dynamics in the integration loop
hmenke Dec 22, 2018
1a50e1c
[SD] Unequal radius, variable viscosity
hmenke Jan 1, 2019
d365bce
[SD] Communicate new positions and velocities
hmenke Jan 12, 2019
773042d
[SD] Interface
hmenke Feb 2, 2019
134b83f
[SD] Sample for dancing spheres
hmenke Feb 2, 2019
87d061b
[SD] Adapt to the new MPI communication scheme
hmenke Apr 14, 2019
6bbb4e8
[SD] Rebase onto latest origin/python
hmenke Jun 30, 2019
4e706ab
[SD] Lubrication corrections and feature bitflags
hmenke Jun 30, 2019
1efccea
Merge remote-tracking branch 'origin/python' into sd
hmenke Oct 8, 2019
95aa778
[SD] Adapt to new integrators
hmenke Oct 8, 2019
a7682ba
[SD] Associate radius with particle type
hmenke Oct 8, 2019
d06b989
[SD] Expose bit flags for feature selection
hmenke Oct 8, 2019
1e4c236
[SD] Move implementation to libs/stokesian_dynamics
hmenke Oct 8, 2019
f036395
[SD] Test against reference data from Brady's paper
hmenke Oct 8, 2019
75f147f
Formatting suggested by fix_style
hmenke Oct 9, 2019
1a77c33
[SD] Add reference, check Euclidean distance
hmenke Oct 9, 2019
ef0612c
[SD] Communicate rotations to core
hmenke Oct 9, 2019
2c6b583
[SD] First take on thermalization
hmenke Oct 11, 2019
6af4fcc
[SD] make kT optional
mkuron Oct 11, 2019
d7c8bc7
[SD] thermalization test
mkuron Oct 14, 2019
3440ff0
Merge remote-tracking branch 'origin/python' into sd
Dec 16, 2019
874f974
A few changes regarding PBC check in SD MPI particle transfer
Jan 14, 2020
12e2ed7
trying parallelization
Jan 23, 2020
0ea3e8d
implemented multithread support for the SD integrator
Jan 29, 2020
89ba6ed
fixed rotation
Feb 4, 2020
a7cc9db
some changes
Feb 11, 2020
4aa7bb6
Fixed SD thermalisation, now dependency on temperature and particle
Feb 20, 2020
b49f6ea
Added SD setup test
Feb 20, 2020
58d1d8b
Formatting with fix_style
Feb 20, 2020
475bd9d
More style corrections
Feb 20, 2020
f9644d2
fixed rescaling bug, added thrust wrapper
Mar 23, 2020
2947295
style corrections
Mar 23, 2020
3b439e0
removed unused stuff from SD test
Mar 23, 2020
081d670
temporarily removed style_doxygen from gitlab
Mar 23, 2020
6792295
minor change
Mar 23, 2020
cd6430f
Make STOKESIAN_DYNAMICS an external feature
jngrad Mar 23, 2020
53a7414
Merge branch 'python' into sd
jngrad Mar 23, 2020
d2c0b2e
Revert "temporarily removed style_doxygen from gitlab"
jngrad Mar 23, 2020
67ce845
fixed merge with recent python branch + introduced non-cuda rng
Mar 30, 2020
b88c138
Fix regression with feature STOKESIAN_DYNAMICS
jngrad Mar 25, 2020
633e923
fixed crash when running SD integrator
Mar 31, 2020
a7982e9
refactored SD cmake logic and compiler option logic, SD is internal
Apr 1, 2020
ac62a52
style
Apr 1, 2020
965e509
temporarily removed CMake section to add SD GPU code, so that we can
Apr 1, 2020
149aa2d
temporarily removed CMake section to add SD GPU code, so that we can …
Apr 1, 2020
c25d58f
suppress compiler warnings in Random123
Apr 2, 2020
122807b
addition to commits 965e509 and 149aa2d
Apr 2, 2020
966105d
get rid of various compiler warnings
Apr 2, 2020
a8dc4f9
correct dumb mistake
Apr 6, 2020
f9228e8
adding install commands for SD libraries
Apr 6, 2020
b933427
fixed a_host array legth
Apr 8, 2020
a0e5bc7
fixed compiler warnings
Apr 8, 2020
5274b38
added boost to libs SD dependencies
Apr 8, 2020
a8b5aa2
trying to fix OSX linker issue
Apr 9, 2020
89982db
Revert "trying to fix OSX linker issue"
Apr 9, 2020
155c6b1
CMake: use python -m sphinx instead of sphinx-build et al.
mkuron Apr 9, 2020
256a812
blacklist Sphinx 3.0.0
mkuron Apr 9, 2020
02ae476
removed EspressoCore dependency from sd_interface
Apr 9, 2020
97f26ed
Fix sphinx version regex
mkuron Apr 9, 2020
852b39b
fix sphinx apidoc detection above version 1.7
mkuron Apr 9, 2020
fa8fe76
sd_interface.cpp is now part of EspressoCore library
Apr 9, 2020
99c2ee2
Merge commit 'refs/pull/3648/head' of https://github.com/espressomd/e…
Apr 9, 2020
7c4360e
fix RNG issue
Apr 14, 2020
77cf43a
fix_style: try python3 -m pre_commit if pre-commit not found
mkuron Apr 14, 2020
28a9178
Merge commit 'refs/pull/3661/head' of https://github.com/espressomd/e…
Apr 14, 2020
9156fec
style
Apr 14, 2020
547d258
fix cmake_format or pylint not found
Apr 14, 2020
49b5483
SD: fix issue with rotation on Clang
Apr 15, 2020
d912cbd
SD: started SPHINX documentation
Apr 15, 2020
2362aec
added sd.rst to CMakeLists.txt
Apr 16, 2020
8282934
Merge commit 'refs/pull/3666/head' of https://github.com/espressomd/e…
Apr 16, 2020
45d9f13
fix add_css_file incompatible with Sphinx below 1.8
Apr 16, 2020
6ca35d2
added MWE to documentation
Apr 20, 2020
d042f7b
SD: refactor python interface
Apr 21, 2020
6933ab0
remove old code from fix_style.sh
Apr 22, 2020
af6ef9a
style
Apr 22, 2020
90244f9
SD: refactor SD test and update to new interface
Apr 22, 2020
b8fd28e
SD: fix undefined rotation when omega=0
Apr 28, 2020
a47e7aa
SD: adding/correcting code documentation
Apr 28, 2020
4b858be
SD: revert unwanted changes
Apr 29, 2020
578bbd3
revert more unwanted change
Apr 29, 2020
43554df
SD: add copyright headers, change code documentation
Apr 29, 2020
954bce2
SD: removed a debug log
Apr 29, 2020
599be3e
SD: added doxygen to device_matrix
Apr 29, 2020
c9290b6
SD: updated documentation
May 8, 2020
a24e320
SD: add to documentation
May 8, 2020
52e3136
SD: documentation
May 8, 2020
19b3371
SD: remove lubrication from (documented) ESPResSo
May 8, 2020
7f4b920
SD: citations
May 8, 2020
dc61284
SD: cleanup of CMake
May 13, 2020
9b05ceb
SD: remove commented out code
May 13, 2020
2fdfac3
Update doxygen in libs/stokesian_dynamics/device_matrix.hpp
biermanncarl May 13, 2020
38cb791
Update documentation of libs/stokesian_dynamics/sd.hpp
biermanncarl May 13, 2020
80cf889
Update documentation of libs/stokesian_dynamics/sd.hpp
biermanncarl May 13, 2020
3d7831f
SD: minor cleanups
May 13, 2020
3287ace
Revert "SD: cleanup of CMake"
May 13, 2020
468b303
SD: STOKESIAN_DYNAMICS_GPU won't be set
May 13, 2020
9890d0e
SD: removed debugging code
May 13, 2020
cd1b907
SD: removed #ifdef ROTATION
May 13, 2020
1b64796
SD: changes in serialization
May 13, 2020
60e2942
SD: remove #ifdef ROTATION once more
May 13, 2020
7e41fc0
SD: add header protectors
May 13, 2020
39875c9
SD: removed CXX_14_CONSTEXPR from multi_array.hpp
May 13, 2020
f560cc9
SD: update sample dancing.py
May 13, 2020
6c2ec98
SD: mainly in-code documentation
May 14, 2020
8858c61
SD: in-code documentation
May 18, 2020
7d06c52
SD: in-code documentation
May 19, 2020
fffa578
SD: restructured SD solver for clarity
May 19, 2020
9585342
SD: fix in-code documentation formulas
May 19, 2020
2e48351
SD: raise error upon Lubrication usage
May 20, 2020
69248bd
SD: renamed lubrication_method to approximation_method (now matches the
May 22, 2020
ac76828
SD: reactivate (and fix) GPU version
May 22, 2020
29005d8
SD: deactivate STOKESIAN_DYNAMICS_GPU again
May 22, 2020
616c1d8
SD: deactivate overlap check
May 22, 2020
889c32e
SD: add header protectors
May 22, 2020
23f7236
Merge branch 'python' into sd
jngrad May 22, 2020
55b8417
Remove overload optional argument
jngrad May 22, 2020
4d2572f
Revert "SD: deactivate STOKESIAN_DYNAMICS_GPU again"
May 22, 2020
fc06126
SD: get rid of Clang-sanitizer warnings
May 22, 2020
cb7b22e
Update src/core/stokesian_dynamics/sd_interface.cpp
biermanncarl May 22, 2020
78b8157
SD: replace cuda_add_library() with custom add_gpu_library()
May 22, 2020
f873487
SD: fix possible repeated branch in conditional chain error
May 22, 2020
c9e460f
Silence Clang-Tidy warnings from thrust
jngrad May 22, 2020
b2c203e
Merge branch 'python' into sd
jngrad May 28, 2020
1c47af8
SD: Add missing dependency
jngrad May 28, 2020
0c2ab57
SD: Add CUDA libraries for the Clang compiler
jngrad May 28, 2020
72e35ed
SD: add ROCm support
Jun 3, 2020
f184b19
ROCm 3.5 CMake fixes
mkuron Jun 3, 2020
1fb473e
ROCm 3.5 compiler flags need a different variable
mkuron Jun 3, 2020
86a2c7f
cmake: Make Stokesian Dynamics optional
jngrad May 28, 2020
8352bfa
cmake: Make Stokesian Dynamics external
jngrad Jun 4, 2020
54b14ec
cmake: Decouple CMake logic from myconfig.hpp
jngrad Jun 4, 2020
cd48cf2
sd: Add support for ROCm 3.3
jngrad Jun 4, 2020
236b50f
Revert "cmake: Decouple CMake logic from myconfig.hpp"
jngrad Jun 8, 2020
1905e81
Add missing externals
jngrad Jun 8, 2020
23074c9
Merge branch 'python' into sd
jngrad Jun 8, 2020
d9b9a6f
docs: Document SD dependencies and CMake flag
jngrad Jun 8, 2020
dba9534
cmake: convert SD to FetchContent project
jngrad Jun 12, 2020
16f51f4
cmake: Use SD with add_subdirectory
jngrad Jun 12, 2020
f135fcb
docs: Fix links and bash variables
jngrad Jun 12, 2020
7b350c1
docs: Explain how to install without network
jngrad Jun 12, 2020
ac85282
sd: Fix compiler guards
jngrad Jun 12, 2020
cbe0c1b
CI: Use latest ROCm image with all dependencies
jngrad Jun 12, 2020
6ca638f
sd: Fix compiler issue with CUDA 10.1 + thrust 1.9.5
jngrad Jun 15, 2020
145c2d3
sd: Remove license headers
jngrad Jun 15, 2020
23f762f
sd: Move header files to /src
jngrad Jun 15, 2020
fd6f090
sd: Simplify GPU guards
jngrad Jun 15, 2020
d107761
docs: Fix Sphinx issues in SD
jngrad Jun 15, 2020
6846c0c
cmake: Correctly locate CUDA libraries
jngrad Jun 15, 2020
b092645
cmake: Remove misplaced flag
jngrad Jun 15, 2020
c7258d0
core: Fix compiler error in NO_ROTATION builds
jngrad Jun 15, 2020
cd3232d
Merge remote-tracking branch 'origin/cmake-deps-inversion' into sd
jngrad Jun 15, 2020
3726d54
cmake: Dependency inversion
jngrad Jun 15, 2020
27333d4
Merge branch 'python' into sd
jngrad Jun 15, 2020
d5e0413
Formatting
jngrad Jun 15, 2020
b5cb4fd
cmake: Fix operator precedence
jngrad Jun 15, 2020
9be4433
SD: Update documentation
jngrad Jun 16, 2020
8b54548
SD: Add missing license headers
jngrad Jun 16, 2020
fc496f9
SD: Simplify interface code
jngrad Jun 16, 2020
cad813a
SD: Add CMake version guard for CUDA 10
jngrad Jun 16, 2020
3092aae
Formatting
jngrad Jun 16, 2020
b47d368
Merge branch 'python' into sd
jngrad Jun 16, 2020
8c42877
SD: Test checkpointing mechanism
jngrad Jun 16, 2020
5422567
testsuite: Fix MAX_NUM_PROC
jngrad Jun 16, 2020
e0a4a4e
SD: Split GPU and CPU test
jngrad Jun 16, 2020
811f3de
SD: Disable GPU test
jngrad Jun 16, 2020
e768253
SD: Commit missing files...
jngrad Jun 16, 2020
23ff1cf
Merge branch 'python' into sd
jngrad Jul 1, 2020
7054743
SD: Test CPU version on multiple OSse
jngrad Jul 1, 2020
ccbaa82
SD: Integrate SD docs into the integrator and thermostat pages
jngrad Jul 2, 2020
ae909ca
SD: Improve sample
jngrad Jul 2, 2020
f5bc594
SD: Test sample
jngrad Jul 2, 2020
efb34cf
SD: Accelerate tests
jngrad Jul 2, 2020
721c145
SD: Style fix
jngrad Jul 2, 2020
7ef68a8
Formatting
jngrad Jul 2, 2020
543245a
SD: Mark GPU implementation as experimental
jngrad Jul 2, 2020
53b31bf
Fix build system
jngrad Jul 2, 2020
4a352a9
SD: Rename integrator and thermostat
jngrad Jul 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 22 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ default:
CC: 'gcc-9'
CXX: 'g++-9'
script:
- export with_cuda=false myconfig=default with_coverage=true with_scafacos=true
- export with_cuda=false myconfig=default with_coverage=true
- export with_scafacos=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -90,7 +91,8 @@ maxset:
CC: 'gcc-9'
CXX: 'g++-9'
script:
- export with_cuda=false myconfig=maxset with_coverage=true with_scafacos=true
- export with_cuda=false myconfig=maxset with_coverage=true
- export with_scafacos=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand Down Expand Up @@ -127,7 +129,7 @@ debian:10:
stage: build
image: docker.pkg.github.com/espressomd/docker/debian:446ff604bbfa63f30ddb462697fa0d0dc2630460
script:
- export with_cuda=false myconfig=maxset make_check_python=false
- export with_cuda=false myconfig=maxset make_check_python=false with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -138,7 +140,7 @@ opensuse:15.1:
stage: build
image: docker.pkg.github.com/espressomd/docker/opensuse:446ff604bbfa63f30ddb462697fa0d0dc2630460
script:
- export with_cuda=false myconfig=maxset make_check_python=false
- export with_cuda=false myconfig=maxset make_check_python=false with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -149,7 +151,7 @@ centos:7:
stage: build
image: docker.pkg.github.com/espressomd/docker/centos:446ff604bbfa63f30ddb462697fa0d0dc2630460
script:
- export with_cuda=false myconfig=maxset make_check_python=true
- export with_cuda=false myconfig=maxset make_check_python=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -160,7 +162,7 @@ fedora:32:
stage: build
image: docker.pkg.github.com/espressomd/docker/fedora:fc7628d32de0fce605976ba9edebe7eff186e618
script:
- export with_cuda=false myconfig=maxset make_check_python=false
- export with_cuda=false myconfig=maxset make_check_python=false with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -187,8 +189,9 @@ clang-sanitizer:
CC: 'clang-9'
CXX: 'clang++-9'
script:
- export myconfig=maxset with_cuda=true with_cuda_compiler=clang with_coverage=false with_scafacos=true
- export myconfig=maxset with_cuda=true with_cuda_compiler=clang with_coverage=false
- export with_static_analysis=true test_timeout=900 with_asan=true with_ubsan=true
- export with_scafacos=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
timeout: 2h
tags:
Expand All @@ -203,7 +206,8 @@ cuda10-maxset:
CC: 'gcc-8'
CXX: 'g++-8'
script:
- export myconfig=maxset with_cuda=true with_coverage=false with_scafacos=true test_timeout=900 srcdir=${CI_PROJECT_DIR}
- export myconfig=maxset with_cuda=true with_coverage=false test_timeout=900 srcdir=${CI_PROJECT_DIR}
- export with_scafacos=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
artifacts:
paths:
Expand All @@ -223,7 +227,8 @@ cuda9-maxset:
CXX: 'g++-6'
GCOV: 'gcov-6'
script:
- export myconfig=maxset with_cuda=true with_coverage=true with_scafacos=true test_timeout=900 srcdir=${CI_PROJECT_DIR}
- export myconfig=maxset with_cuda=true with_coverage=true test_timeout=900 srcdir=${CI_PROJECT_DIR}
- export with_scafacos=true with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
artifacts:
paths:
Expand Down Expand Up @@ -307,7 +312,8 @@ installation:
CC: 'gcc-8'
CXX: 'g++-8'
script:
- export myconfig=maxset with_cuda=true with_coverage=false with_scafacos=true make_check_unit_tests=false make_check_python=false
- export myconfig=maxset with_cuda=true with_coverage=false make_check_unit_tests=false make_check_python=false
- export with_scafacos=true with_stokesian_dynamics=true
- export srcdir=${CI_PROJECT_DIR} build_type=Release
- bash maintainer/CI/build_cmake.sh
- cd build
Expand Down Expand Up @@ -335,7 +341,8 @@ empty:
CC: 'clang-9'
CXX: 'clang++-9'
script:
- export myconfig=empty with_cuda=true with_cuda_compiler=clang with_static_analysis=true with_scafacos=false
- export myconfig=empty with_cuda=true with_cuda_compiler=clang with_static_analysis=true
- export with_scafacos=false with_stokesian_dynamics=false
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand All @@ -347,9 +354,10 @@ empty:
rocm-maxset:
<<: *global_job_definition
stage: build
image: docker.pkg.github.com/espressomd/docker/rocm:06b6216c7aa3555bcf28c90734dbb84e7285c96f
image: docker.pkg.github.com/espressomd/docker/rocm:fd7ed514a00d38bf336299ddb34ffcdc8a42e906
script:
- export myconfig=maxset with_cuda=true with_cuda_compiler=hip
- export with_stokesian_dynamics=false
- bash maintainer/CI/build_cmake.sh
tags:
- amdgpu
Expand All @@ -360,6 +368,7 @@ rocm:latest:
image: docker.pkg.github.com/espressomd/docker/rocm:latest_base
script:
- export myconfig=maxset with_cuda=true with_cuda_compiler=hip
- export with_stokesian_dynamics=false
- bash maintainer/CI/build_cmake.sh
tags:
- amdgpu
Expand All @@ -385,6 +394,7 @@ intel:19:
script:
- export myconfig=maxset with_cuda=true with_coverage=false I_MPI_SHM_LMT=shm
- export cmake_params="-DCMAKE_CXX_FLAGS=-O2"
- export with_stokesian_dynamics=true
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand Down
40 changes: 40 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ option(WITH_CUDA "Build with GPU support" OFF)
option_if_available(WITH_HDF5 "Build with HDF5 support" ON)
option(WITH_TESTS "Enable tests" ON)
option_if_available(WITH_SCAFACOS "Build with ScaFaCoS support" OFF)
option_if_available(WITH_STOKESIAN_DYNAMICS "Build with Stokesian Dynamics" ON)
option(WITH_BENCHMARKS "Enable benchmarks" OFF)
option(WITH_VALGRIND_INSTRUMENTATION
"Build with valgrind instrumentation markers" OFF)
Expand Down Expand Up @@ -253,6 +254,45 @@ if(WITH_GSL)
endif(GSL_FOUND)
endif(WITH_GSL)

find_package(BLAS)
if(BLAS_FOUND)
set(BLAS 1)
endif()
find_package(LAPACK)
if(LAPACK_FOUND)
set(LAPACK 1)
endif()

if(WITH_STOKESIAN_DYNAMICS)
if(BLAS AND LAPACK)
set(STOKESIAN_DYNAMICS 1)
endif()
if(CUDA)
set(STOKESIAN_DYNAMICS_GPU 1)
if(HIP)
find_gpu_library(VARNAME CUDA_CUBLAS_LIBRARIES NAMES rocblas)
find_gpu_library(VARNAME CUDA_cusolver_LIBRARY NAMES rocsolver)
else()
if(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 10.0)
# when importing package cublas, CMake versions older than 3.12.2 will
# look for a library cublas_device that no longer exists in CUDA 10
cmake_minimum_required(VERSION 3.12.2)
endif()
find_gpu_library(VARNAME CUDA_CUBLAS_LIBRARIES NAMES cublas)
find_gpu_library(VARNAME CUDA_cusolver_LIBRARY NAMES cusolver)
endif()
endif(CUDA)
if(NOT (STOKESIAN_DYNAMICS
OR (STOKESIAN_DYNAMICS_GPU AND CUDA_CUBLAS_LIBRARIES
AND CUDA_cusolver_LIBRARY))
AND NOT WITH_STOKESIAN_DYNAMICS_IS_DEFAULT_VALUE)
message(
FATAL_ERROR
"Optional feature Stokesian Dynamics explicitly requested, but dependencies not found."
)
endif()
endif(WITH_STOKESIAN_DYNAMICS)

if(WITH_VALGRIND_INSTRUMENTATION)
find_package(PkgConfig)
pkg_check_modules(VALGRIND valgrind)
Expand Down
7 changes: 5 additions & 2 deletions cmake/FindCUDACompilerHIP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ find_package(HIP ${CUDACompilerHIP_FIND_VERSION} MODULE REQUIRED)
# patch HCC_PATH environment variable and reload HIP
if(HIP_VERSION VERSION_LESS 3.1)
set(HCC_PATH "${HIP_ROOT_DIR}")
else()
elseif(HIP_VERSION VERSION_LESS 3.5)
set(HCC_PATH "${ROCM_HOME}/hcc")
else()
set(HIP_HIPCC_CMAKE_LINKER_HELPER "${HIP_HIPCC_EXECUTABLE}")
unset(HCC_PATH)
endif()
find_package(HIP ${CUDACompilerHIP_FIND_VERSION} MODULE REQUIRED)

set(CUDA 1)
set(HIP 1)

list(APPEND HIP_HCC_FLAGS
list(APPEND HIP_HIPCC_FLAGS
-std=c++${CMAKE_CUDA_STANDARD} -pedantic -Wall -Wextra
-Wno-sign-compare -Wno-unused-function -Wno-unused-variable
-Wno-unused-parameter -Wno-missing-braces -Wno-gnu-anonymous-struct
Expand Down
8 changes: 8 additions & 0 deletions cmake/cmake_config.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

#cmakedefine GSL

#cmakedefine BLAS

#cmakedefine LAPACK

#cmakedefine STOKESIAN_DYNAMICS

#cmakedefine STOKESIAN_DYNAMICS_GPU

#cmakedefine VALGRIND_INSTRUMENTATION

#define PACKAGE_NAME "${PROJECT_NAME}"
Expand Down
1 change: 1 addition & 0 deletions doc/doxygen/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.

INPUT = "@CMAKE_SOURCE_DIR@/src" \
"@CMAKE_SOURCE_DIR@/libs/stokesian_dynamics" \
"@CMAKE_SOURCE_DIR@/doc/doxygen/main.dox"

# This tag can be used to specify the character encoding of the source files
Expand Down
Loading