Initializing AMReX (26.04-116-g6f2c4aff90ae)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.04-116-g6f2c4aff90ae) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.318 ... 1.319 ... 1.321 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3576 0.3577 0.3577 27.08% numParticlesOutOfRange() 614 0.168 0.1838 0.1997 15.12% amrex::unpackBuffer 103 0.1288 0.1304 0.132 9.99% Redistribute_partition 103 0.1254 0.1261 0.1269 9.60% DenseBins::buildGPU 203 0.1083 0.1113 0.1143 8.65% amrex::unpackRemotes 103 0.1016 0.1075 0.1134 8.58% ParticleContainer::Redistribute_impl() 103 0.07953 0.09366 0.1078 8.16% ParticleCopyPlan::build 103 0.05618 0.05618 0.05618 4.25% TestParticleContainer::moveParticles 100 0.04904 0.04914 0.04923 3.73% amrex::communicateParticlesStart 103 0.01916 0.02656 0.03395 2.57% TestParticleContainer::checkAnswer 103 0.01297 0.01753 0.02209 1.67% amrex::computeNeighborProcs 101 0.01949 0.02018 0.02086 1.58% ParticleCopyPlan::buildMPIStart 103 0.01017 0.01421 0.01826 1.38% amrex::communicateParticlesFinish 103 0.0048 0.01044 0.01607 1.22% ParticleCopyPlan::doHandShake 103 0.001037 0.004899 0.008761 0.66% InitParticles 1 0.004603 0.004804 0.005006 0.38% testRedistribute 1 0.000698 0.0008374 0.0009769 0.07% ParticleContainer::OK() 103 2.96e-05 3.163e-05 3.365e-05 0.00% Other 521 0.002211 0.004088 0.005966 0.45% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.318 1.319 1.321 100.00% ParticleContainer::Redistribute_impl() 103 0.6453 0.6454 0.6455 48.86% ParticleContainer::SortParticlesByBin() 101 0.4654 0.4683 0.4712 35.66% numParticlesOutOfRange() 614 0.168 0.1838 0.1997 15.12% amrex::unpackBuffer 103 0.1288 0.1304 0.132 9.99% Redistribute_partition 103 0.1254 0.1261 0.1269 9.60% DenseBins::buildGPU 203 0.1083 0.1113 0.1143 8.65% amrex::unpackRemotes 103 0.1016 0.1075 0.1134 8.58% TestParticleContainer::checkAnswer 103 0.09841 0.1001 0.1019 7.71% ParticleCopyPlan::build 103 0.09543 0.09593 0.09643 7.30% ParticleContainer::OK() 103 0.07978 0.08261 0.08544 6.47% TestParticleContainer::moveParticles 100 0.04904 0.04914 0.04923 3.73% amrex::communicateParticlesStart 103 0.01916 0.02656 0.03395 2.57% amrex::computeNeighborProcs 101 0.01949 0.02018 0.02086 1.58% ParticleCopyPlan::buildMPIStart 103 0.01893 0.01911 0.01929 1.46% amrex::communicateParticlesFinish 103 0.0048 0.01044 0.01607 1.22% InitParticles 1 0.009735 0.009735 0.009735 0.74% ParticleCopyPlan::doHandShake 103 0.001037 0.004899 0.008761 0.66% Other 521 0.002702 0.006338 0.009974 0.75% -------------------------------------------------------------------------------------------- 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 9164 KiB 9165 KiB 9165 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 62 KiB 65 KiB 67 KiB 8316 KiB 8330 KiB 8344 KiB InitParticles 48 5193 KiB 5195 KiB 5197 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 78 KiB 79 KiB 80 KiB 8187 KiB 8201 KiB 8215 KiB amrex::packBuffer 204 201 KiB 203 KiB 204 KiB 8186 KiB 8200 KiB 8214 KiB ParticleContainer::SortParticlesByBin() 1212 2336 KiB 2339 KiB 2342 KiB 2865 KiB 2870 KiB 2875 KiB Redistribute_partition 4054 57 KiB 58 KiB 58 KiB 1819 KiB 1822 KiB 1825 KiB DenseBins::buildGPU 426 594 KiB 594 KiB 594 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7336 B 7373 B 7411 B 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2117 B 2155 B 2194 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 414 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 61 B 63 B 66 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 100 KiB 107 KiB 115 KiB 8186 KiB 8200 KiB 8215 KiB amrex::communicateParticlesStart 204 46 KiB 52 KiB 59 KiB 8186 KiB 8200 KiB 8214 KiB The_Pinned_Arena::Initialize() 2 6 B 7 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 923 B 923 B 924 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 942 B 943 B 944 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-116-g6f2c4aff90ae) finalized