Skip to content
Permalink
Browse files

Multiple CPU feature of the BH magnetostatics

  • Loading branch information...
psci2195 committed Apr 12, 2019
1 parent 351f405 commit 4a342d62351612ea8237ed7438923b73bae2a513
Showing with 2 additions and 2 deletions.
  1. +1 −2 src/core/actor/DipolarBarnesHut.cpp
  2. +1 −0 testsuite/python/CMakeLists.txt
@@ -31,13 +31,12 @@ void activate_dipolar_barnes_hut(float epssq, float itolsq) {
delete dipolarBarnesHut;
dipolarBarnesHut = nullptr;
// also necessary on 1 CPU or GPU, does more than just broadcasting
dipole.method = DIPOLAR_BH_GPU;
mpi_bcast_coulomb_params();
dipolarBarnesHut =
new DipolarBarnesHut(espressoSystemInterface, epssq, itolsq);
forceActors.push_back(dipolarBarnesHut);
energyActors.push_back(dipolarBarnesHut);

dipole.method = DIPOLAR_BH_GPU;
}

void deactivate_dipolar_barnes_hut() {
@@ -85,6 +85,7 @@ python_test(FILE coulomb_tuning.py MAX_NUM_PROC 4 LABELS gpu)
python_test(FILE correlation.py MAX_NUM_PROC 4)
python_test(FILE dawaanr-and-dds-gpu.py MAX_NUM_PROC 1 LABELS gpu)
python_test(FILE dawaanr-and-bh-gpu.py MAX_NUM_PROC 1 LABELS gpu)
python_test(FILE dds-and-bh-gpu.py MAX_NUM_PROC 4 LABELS gpu)
python_test(FILE electrostaticInteractions.py MAX_NUM_PROC 2)
python_test(FILE engine_langevin.py MAX_NUM_PROC 4)
python_test(FILE engine_lb.py MAX_NUM_PROC 2)

0 comments on commit 4a342d6

Please sign in to comment.
You can’t perform that action at this time.