Initializing AMReX (26.05-41-gba3cb0c68650)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.05-41-gba3cb0c68650) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 11.6 ... 11.6 ... 11.6 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 3.326 3.326 3.326 28.68% numParticlesOutOfRange() 614 1.642 1.65 1.658 14.30% amrex::unpackBuffer 103 1.268 1.268 1.269 10.94% Redistribute_partition 103 1.117 1.117 1.118 9.64% amrex::unpackRemotes 103 1.047 1.049 1.05 9.05% DenseBins::buildGPU 203 1.016 1.019 1.022 8.81% ParticleCopyPlan::build 103 0.5566 0.5569 0.5571 4.80% ParticleContainer::Redistribute_impl() 103 0.5023 0.5171 0.5319 4.59% TestParticleContainer::moveParticles 100 0.3759 0.3762 0.3764 3.25% amrex::communicateParticlesStart 103 0.1914 0.1932 0.195 1.68% amrex::computeNeighborProcs 101 0.1814 0.1822 0.183 1.58% ParticleCopyPlan::buildMPIStart 103 0.1198 0.1259 0.132 1.14% TestParticleContainer::checkAnswer 103 0.07688 0.09052 0.1041 0.90% ParticleCopyPlan::doHandShake 103 0.03094 0.04643 0.06193 0.53% amrex::communicateParticlesFinish 103 0.04503 0.05187 0.0587 0.51% testRedistribute 1 0.003955 0.004937 0.005918 0.05% ParticleContainer::OK() 103 4.14e-05 4.838e-05 5.535e-05 0.00% Other 522 0.02113 0.0235 0.02587 0.22% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 11.6 11.6 11.6 100.00% ParticleContainer::Redistribute_impl() 103 5.569 5.57 5.571 48.03% ParticleContainer::SortParticlesByBin() 101 4.336 4.339 4.342 37.44% numParticlesOutOfRange() 614 1.642 1.65 1.658 14.30% amrex::unpackBuffer 103 1.268 1.268 1.269 10.94% Redistribute_partition 103 1.117 1.117 1.118 9.64% amrex::unpackRemotes 103 1.047 1.049 1.05 9.05% DenseBins::buildGPU 203 1.016 1.019 1.022 8.81% ParticleCopyPlan::build 103 0.9021 0.912 0.9219 7.95% TestParticleContainer::checkAnswer 103 0.8461 0.863 0.88 7.59% ParticleContainer::OK() 103 0.7692 0.7725 0.7759 6.69% TestParticleContainer::moveParticles 100 0.3759 0.3762 0.3764 3.25% amrex::communicateParticlesStart 103 0.1914 0.1932 0.195 1.68% amrex::computeNeighborProcs 101 0.1814 0.1822 0.183 1.58% ParticleCopyPlan::buildMPIStart 103 0.163 0.1724 0.1817 1.57% ParticleCopyPlan::doHandShake 103 0.03094 0.04643 0.06193 0.53% amrex::communicateParticlesFinish 103 0.04503 0.05187 0.0587 0.51% Other 522 0.06341 0.06722 0.07103 0.61% -------------------------------------------------------------------------------------------- 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 9210 KiB 9210 KiB 9210 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 29 KiB 29 KiB 30 KiB 8307 KiB 8331 KiB 8355 KiB InitParticles 48 5680 KiB 5681 KiB 5681 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 49 KiB 50 KiB 50 KiB 8177 KiB 8201 KiB 8225 KiB amrex::packBuffer 204 103 KiB 104 KiB 105 KiB 8176 KiB 8200 KiB 8224 KiB ParticleContainer::SortParticlesByBin() 1212 2567 KiB 2571 KiB 2574 KiB 2865 KiB 2870 KiB 2874 KiB Redistribute_partition 4054 37 KiB 37 KiB 37 KiB 1817 KiB 1822 KiB 1828 KiB DenseBins::buildGPU 426 642 KiB 642 KiB 642 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 4248 B 4257 B 4267 B 259 KiB 260 KiB 261 KiB testRedistribute 4 15 B 15 B 15 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2384 B 2392 B 2401 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 435 B 436 B 438 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 1011 B 1011 B 1011 B 1024 B 1024 B 1024 B amrex::communicateParticlesStart 206 69 B 69 B 70 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 0 B 0 B 0 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 68 KiB 69 KiB 70 KiB 8177 KiB 8200 KiB 8224 KiB amrex::communicateParticlesStart 204 31 KiB 34 KiB 37 KiB 8176 KiB 8200 KiB 8224 KiB The_Pinned_Arena::Initialize() 2 0 B 0 B 1 B 8192 KiB 8192 KiB 8192 KiB InitParticles 564 5739 B 5804 B 5869 B 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 1012 B 1012 B 1012 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 1033 B 1033 B 1033 B 1280 B 1280 B 1280 B amrex::unpackBuffer 12 3 B 3 B 3 B 1024 B 1024 B 1024 B ParticleCopyPlan::build 206 82 B 82 B 82 B 256 B 256 B 256 B ParticleCopyPlan::buildMPIStart 204 77 B 77 B 77 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: [7591 ... 7591] [The Arena] max space (MB) allocated spread across MPI: [41 ... 41] [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: [24 ... 24] [The Pinned Arena] max space (MB) used spread across MPI: [16 ... 16] AMReX (26.05-41-gba3cb0c68650) finalized