Closed Eddy-Barraud closed 9 months ago
Instead of using hybrid/overlay it would probably be best to have a dpd/coul/slater/gpu pair style in addition to just coul/slater/gpu.
hello @ndtrung81 do you have any update/progress on this task? I will soon model huge polyelectrolytes and this improvement would be beneficial for me. Tell me if you want me to code something in CUDA, I am not an expert though.
@Eddy-Barraud I have implemented the GPU version of coul/slater/long in PR #4009.
@Eddy-Barraud I have implemented the GPU version of coul/slater/long in PR #4009.
That is awesome! thank you 😁
Summary
Simulating accurately charged particles in DPD simulations involves the use of a smeared charge (Slater type) that is available in the pair style coul/slater. [Minerva González-Melchor J. Chem. Phys. 125, 224107 (2006) https://doi.org/10.1063/1.2400223] However, this pair style is not yet accelerated by the GPU.
Detailed Description
It would be great to have the /gpu acceleration on this style to accelerate charged DPD simulations. Currently, I am using a hybrid overlay pair style to add these electrostatic interactions on top of the dpd forces. Here is an example:
The problem here is that the pair style coul/slater/long is calculating coulombic interactions in the CPU with less efficiency than the GPU accelerated dpd style, slowing the entire simulation.
Example NaCl input code
This example gives me these performances:
job.log
On big systems, using the GPU becomes not advantageous.