You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (int i = 0; i < nBins; i++) {
localN = f[i];
MPI_Allreduce(&localN, &totalN, 1, MPI_LONG_LONG, MPI_SUM, MPI_COMM_WORLD);
f[i] = totalN;
}
This generates thousands of all-reduce calls, which is horribly inefficient and will be unacceptable on DEEP's Booster. These lines can be replaced with a single call:
The dipole can be calculated using a simpler dipolar function.
CMakeList files have been updated to compile in 'Release' mode by default, using optimization flags at compilation.
Erasing the 'siamo qua' line that appears at the begining of the runs.
Corrected issue #62 : efficient MPI_allreduce call.
Particles3Dcomm::getVelocityDistribution()
sums particle velocity distributions using:This generates thousands of all-reduce calls, which is horribly inefficient and will be unacceptable on DEEP's Booster. These lines can be replaced with a single call:
The text was updated successfully, but these errors were encountered: