Skip to content

Commit

Permalink
Merge pull request #2477 from pkreissl/fix_dp3m_ifdefs
Browse files Browse the repository at this point in the history
Fix dp3m ifdefs; dawaanr-and-bh-gpu testcase requirements
  • Loading branch information
fweik authored Jan 29, 2019
2 parents 27d560d + da46ca6 commit 71d657d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/electrostatics_magnetostatics/fft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include "fft.hpp"

#ifdef P3M
#if defined(P3M) || defined(DP3M)
#include "communication.hpp"
#include "debug.hpp"
#include "fft-common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/electrostatics_magnetostatics/fft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/

#include "config.hpp"
#ifdef P3M
#if defined(P3M) || defined(DP3M)

#include "fft-common.hpp"

Expand Down
3 changes: 2 additions & 1 deletion testsuite/python/dawaanr-and-bh-gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def stopAll(system):
system.part[:].omega_body = np.zeros(3)


@ut.skipIf(not espressomd.has_features(["DIPOLAR_BARNES_HUT"]),
@ut.skipIf(not espressomd.has_features(["DIPOLAR_BARNES_HUT",
"PARTIAL_PERIODIC"]),
"Features not available, skipping test!")
@ut.skipIf(espressomd.has_features(["CUDA"]) and
str(espressomd.cuda_init.CudaInitHandle().device_list[0]) ==
Expand Down

0 comments on commit 71d657d

Please sign in to comment.