Initializing AMReX (26.05-167-gf46ad6c53d3f)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.05-167-gf46ad6c53d3f) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.308 ... 1.309 ... 1.309 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3533 0.3533 0.3533 26.99% numParticlesOutOfRange() 614 0.1666 0.1818 0.197 15.04% amrex::unpackBuffer 103 0.127 0.1284 0.1297 9.90% Redistribute_partition 103 0.124 0.1247 0.1253 9.57% DenseBins::buildGPU 203 0.1069 0.1099 0.1129 8.62% amrex::unpackRemotes 103 0.1013 0.1062 0.1112 8.49% ParticleContainer::Redistribute_impl() 103 0.0842 0.09494 0.1057 8.07% ParticleCopyPlan::build 103 0.05545 0.05547 0.05548 4.24% TestParticleContainer::moveParticles 100 0.04886 0.0489 0.04895 3.74% amrex::communicateParticlesStart 103 0.02303 0.02761 0.03219 2.46% TestParticleContainer::checkAnswer 103 0.01341 0.01845 0.02349 1.79% amrex::computeNeighborProcs 101 0.01941 0.01998 0.02056 1.57% ParticleCopyPlan::buildMPIStart 103 0.01099 0.01424 0.01749 1.34% amrex::communicateParticlesFinish 103 0.005828 0.01081 0.01579 1.21% ParticleCopyPlan::doHandShake 103 0.001591 0.004838 0.008085 0.62% InitParticles 1 0.004609 0.004817 0.005024 0.38% testRedistribute 1 0.0007186 0.0008508 0.0009831 0.08% ParticleContainer::OK() 103 3.052e-05 3.064e-05 3.075e-05 0.00% Other 521 0.002537 0.003448 0.004358 0.33% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.308 1.309 1.309 100.00% ParticleContainer::Redistribute_impl() 103 0.6417 0.6418 0.6419 49.03% ParticleContainer::SortParticlesByBin() 101 0.4595 0.4625 0.4655 35.55% numParticlesOutOfRange() 614 0.1666 0.1818 0.197 15.04% amrex::unpackBuffer 103 0.127 0.1284 0.1297 9.90% Redistribute_partition 103 0.124 0.1247 0.1253 9.57% DenseBins::buildGPU 203 0.1069 0.1099 0.1129 8.62% amrex::unpackRemotes 103 0.1013 0.1062 0.1112 8.49% TestParticleContainer::checkAnswer 103 0.09825 0.1003 0.1024 7.82% ParticleCopyPlan::build 103 0.0944 0.09499 0.09557 7.30% ParticleContainer::OK() 103 0.07895 0.0819 0.08484 6.48% TestParticleContainer::moveParticles 100 0.04886 0.0489 0.04895 3.74% amrex::communicateParticlesStart 103 0.02303 0.02761 0.03219 2.46% amrex::computeNeighborProcs 101 0.01941 0.01998 0.02056 1.57% ParticleCopyPlan::buildMPIStart 103 0.01908 0.01908 0.01908 1.46% amrex::communicateParticlesFinish 103 0.005828 0.01081 0.01579 1.21% InitParticles 1 0.009657 0.009659 0.009661 0.74% ParticleCopyPlan::doHandShake 103 0.001591 0.004838 0.008085 0.62% Other 521 0.003032 0.004743 0.006453 0.49% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.check_file(nvals = 1) :: [SortParticlesByCell_chk] [TOP]::amr.checkpoint_files_output(nvals = 1) :: [0] [TOP]::amr.plot_file(nvals = 1) :: [SortParticlesByCell_plt] Device Memory Usage: --------------------------------------------------------------------------------------------------------------------------- Name Nalloc AvgMem min AvgMem avg AvgMem max MaxMem min MaxMem avg MaxMem max --------------------------------------------------------------------------------------------------------------------------- ResizeRandomSeed 2 9166 KiB 9166 KiB 9166 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 63 KiB 66 KiB 68 KiB 8327 KiB 8331 KiB 8335 KiB InitParticles 48 5176 KiB 5178 KiB 5180 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 77 KiB 80 KiB 83 KiB 8197 KiB 8201 KiB 8205 KiB amrex::packBuffer 204 220 KiB 221 KiB 222 KiB 8196 KiB 8200 KiB 8204 KiB ParticleContainer::SortParticlesByBin() 1212 2326 KiB 2329 KiB 2333 KiB 2865 KiB 2870 KiB 2874 KiB Redistribute_partition 4054 62 KiB 62 KiB 62 KiB 1821 KiB 1822 KiB 1823 KiB DenseBins::buildGPU 426 593 KiB 593 KiB 593 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7964 B 7997 B 8031 B 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2113 B 2145 B 2178 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 415 B 418 B 421 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 935 B 935 B 935 B 1024 B 1024 B 1024 B amrex::communicateParticlesStart 206 62 B 63 B 65 B 256 B 256 B 256 B --------------------------------------------------------------------------------------------------------------------------- Managed Memory Usage: --------------------------------------------------------------------------------------------------------------- Name Nalloc AvgMem min AvgMem avg AvgMem max MaxMem min MaxMem avg MaxMem max --------------------------------------------------------------------------------------------------------------- The_Managed_Arena::Initialize() 2 4 B 4 B 5 B 8192 KiB 8192 KiB 8192 KiB --------------------------------------------------------------------------------------------------------------- Pinned Memory Usage: ---------------------------------------------------------------------------------------------------------------------- Name Nalloc AvgMem min AvgMem avg AvgMem max MaxMem min MaxMem avg MaxMem max ---------------------------------------------------------------------------------------------------------------------- ParticleContainer::Redistribute_impl() 416 111 KiB 114 KiB 117 KiB 8196 KiB 8200 KiB 8205 KiB amrex::communicateParticlesStart 204 46 KiB 52 KiB 58 KiB 8196 KiB 8200 KiB 8204 KiB The_Pinned_Arena::Initialize() 2 5 B 6 B 8 B 8192 KiB 8192 KiB 8192 KiB InitParticles 564 11 KiB 12 KiB 13 KiB 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 919 B 920 B 921 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 938 B 939 B 941 B 1280 B 1280 B 1280 B amrex::unpackBuffer 12 7 B 7 B 8 B 1024 B 1024 B 1024 B ParticleCopyPlan::build 206 79 B 79 B 80 B 256 B 256 B 256 B ParticleCopyPlan::buildMPIStart 204 75 B 75 B 75 B 256 B 256 B 256 B testRedistribute 4 0 B 0 B 0 B 256 B 256 B 256 B ---------------------------------------------------------------------------------------------------------------------- Total GPU global memory (MB) spread across MPI: [7965 ... 7965] Free GPU global memory (MB) spread across MPI: [7571 ... 7571] [The Arena] max space (MB) allocated spread across MPI: [49 ... 49] [The Arena] max space (MB) used spread across MPI: [35 ... 35] [The Managed Arena] max space (MB) allocated spread across MPI: [8 ... 8] [The Managed Arena] max space (MB) used spread across MPI: [0 ... 0] [The Pinned Arena] max space (MB) allocated spread across MPI: [32 ... 32] [The Pinned Arena] max space (MB) used spread across MPI: [16 ... 16] AMReX (26.05-167-gf46ad6c53d3f) finalized