Initializing AMReX (26.04-105-g0b56ec9a168c)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.04-105-g0b56ec9a168c) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.321 ... 1.323 ... 1.326 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3568 0.3569 0.357 26.93% numParticlesOutOfRange() 614 0.1662 0.1837 0.2012 15.18% amrex::unpackBuffer 103 0.1288 0.1305 0.1323 9.98% Redistribute_partition 103 0.1254 0.1263 0.1271 9.59% DenseBins::buildGPU 203 0.1071 0.1116 0.1161 8.76% amrex::unpackRemotes 103 0.104 0.1075 0.1111 8.38% ParticleContainer::Redistribute_impl() 103 0.08326 0.09453 0.1058 7.98% ParticleCopyPlan::build 103 0.05605 0.0562 0.05634 4.25% TestParticleContainer::moveParticles 100 0.04897 0.04912 0.04926 3.72% amrex::communicateParticlesStart 103 0.02347 0.02699 0.0305 2.30% TestParticleContainer::checkAnswer 103 0.01347 0.01956 0.02565 1.94% amrex::computeNeighborProcs 101 0.01952 0.0202 0.02087 1.57% ParticleCopyPlan::buildMPIStart 103 0.009969 0.01423 0.0185 1.40% amrex::communicateParticlesFinish 103 0.004677 0.01051 0.01634 1.23% ParticleCopyPlan::doHandShake 103 0.0003343 0.004917 0.009499 0.72% InitParticles 1 0.004782 0.004981 0.00518 0.39% testRedistribute 1 0.0007438 0.0008788 0.001014 0.08% ParticleContainer::OK() 103 2.97e-05 3.057e-05 3.143e-05 0.00% Other 521 0.002312 0.004716 0.007121 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.321 1.323 1.325 100.00% ParticleContainer::Redistribute_impl() 103 0.6471 0.6472 0.6473 48.84% ParticleContainer::SortParticlesByBin() 101 0.4631 0.4678 0.4724 35.64% numParticlesOutOfRange() 614 0.1662 0.1837 0.2012 15.18% amrex::unpackBuffer 103 0.1288 0.1305 0.1323 9.98% Redistribute_partition 103 0.1254 0.1263 0.1271 9.59% DenseBins::buildGPU 203 0.1071 0.1116 0.1161 8.76% amrex::unpackRemotes 103 0.104 0.1075 0.1111 8.38% TestParticleContainer::checkAnswer 103 0.1005 0.102 0.1035 7.81% ParticleCopyPlan::build 103 0.09487 0.096 0.09712 7.33% ParticleContainer::OK() 103 0.07783 0.08244 0.08705 6.57% TestParticleContainer::moveParticles 100 0.04897 0.04912 0.04926 3.72% amrex::communicateParticlesStart 103 0.02347 0.02699 0.0305 2.30% amrex::computeNeighborProcs 101 0.01952 0.0202 0.02087 1.57% ParticleCopyPlan::buildMPIStart 103 0.01883 0.01915 0.01947 1.47% amrex::communicateParticlesFinish 103 0.004677 0.01051 0.01634 1.23% InitParticles 1 0.009903 0.009907 0.00991 0.75% ParticleCopyPlan::doHandShake 103 0.0003343 0.004917 0.009499 0.72% Other 521 0.002848 0.007484 0.01212 0.91% -------------------------------------------------------------------------------------------- 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 9165 KiB 9165 KiB 9165 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 63 KiB 65 KiB 68 KiB 8311 KiB 8331 KiB 8352 KiB InitParticles 48 5192 KiB 5193 KiB 5195 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 79 KiB 79 KiB 79 KiB 8180 KiB 8201 KiB 8221 KiB amrex::packBuffer 204 204 KiB 205 KiB 206 KiB 8180 KiB 8200 KiB 8221 KiB ParticleContainer::SortParticlesByBin() 1212 2334 KiB 2337 KiB 2340 KiB 2866 KiB 2870 KiB 2874 KiB Redistribute_partition 4054 58 KiB 58 KiB 59 KiB 1818 KiB 1822 KiB 1827 KiB DenseBins::buildGPU 426 594 KiB 594 KiB 594 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7393 B 7448 B 7503 B 259 KiB 260 KiB 261 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2117 B 2150 B 2184 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 413 B 417 B 421 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 935 B 935 B 936 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 3 B 3 B 4 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 104 KiB 109 KiB 115 KiB 8180 KiB 8200 KiB 8221 KiB amrex::communicateParticlesStart 204 49 KiB 52 KiB 55 KiB 8180 KiB 8200 KiB 8221 KiB The_Pinned_Arena::Initialize() 2 5 B 8 B 11 B 8192 KiB 8192 KiB 8192 KiB InitParticles 564 12 KiB 13 KiB 14 KiB 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 923 B 923 B 923 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 942 B 942 B 942 B 1280 B 1280 B 1280 B amrex::unpackBuffer 12 7 B 7 B 7 B 1024 B 1024 B 1024 B ParticleCopyPlan::build 206 78 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: [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.04-105-g0b56ec9a168c) finalized