Skip to content

OpenMP in addParticles(other) #4613

@ax3l

Description

@ax3l

I am running workflows where I often store a reference particle container and copy it over with addParticles(other) for (many) repeated benchmarks (SciDAC) and interactive workflows (LDRD).

I noticed that addParticles(other) does not scale with OpenMP threads.

@atmyers @WeiqunZhang can we easily add OpenMP parallelism here? Ideally, we should try to speed up even tiled, single-box simulations.
https://github.com/AMReX-Codes/amrex/blob/25.08/Src/Particle/AMReX_ParticleContainerI.H#L1171-L1188

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions