Skip to content

Commit

Permalink
add dynamic schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
roryslange committed Dec 8, 2024
1 parent 56b6f4a commit f5dcb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalculateEnergy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ SystemPotential CalculateEnergy::BoxInter(SystemPotential potential,
//std::cout << cellVector.size() << std::endl;
#ifdef _OPENMP
#if GCC_VERSION >= 90000
#pragma omp parallel for collapse(2) default(none) shared(boxAxes, cellStartIndex, \
#pragma omp parallel for collapse(2) schedule(dynamic) default(none) shared(boxAxes, cellStartIndex, \
cellVector, coords, mapParticleToCell, box, neighborList) \
reduction(+:tempREn, tempLJEn)
#else
Expand Down

0 comments on commit f5dcb76

Please sign in to comment.