Initializing AMReX (26.04-100-g9aaff4128aa5)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.04-100-g9aaff4128aa5) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.318 ... 1.318 ... 1.319 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3565 0.3565 0.3565 27.02% numParticlesOutOfRange() 614 0.165 0.1838 0.2026 15.36% amrex::unpackBuffer 103 0.1284 0.1301 0.1317 9.98% Redistribute_partition 103 0.1251 0.126 0.1268 9.61% DenseBins::buildGPU 203 0.1075 0.1115 0.1155 8.76% amrex::unpackRemotes 103 0.1012 0.107 0.1128 8.55% ParticleContainer::Redistribute_impl() 103 0.08325 0.09393 0.1046 7.93% ParticleCopyPlan::build 103 0.05589 0.05607 0.05625 4.26% TestParticleContainer::moveParticles 100 0.04923 0.04929 0.04936 3.74% amrex::communicateParticlesStart 103 0.02253 0.02605 0.02958 2.24% TestParticleContainer::checkAnswer 103 0.01357 0.01952 0.02548 1.93% amrex::computeNeighborProcs 101 0.01955 0.02016 0.02076 1.57% ParticleCopyPlan::buildMPIStart 103 0.0102 0.0142 0.01821 1.38% amrex::communicateParticlesFinish 103 0.004975 0.01044 0.01591 1.21% ParticleCopyPlan::doHandShake 103 0.0005987 0.004918 0.009237 0.70% InitParticles 1 0.004612 0.004817 0.005022 0.38% testRedistribute 1 0.0007891 0.0009008 0.001012 0.08% ParticleContainer::OK() 103 2.945e-05 3.068e-05 3.191e-05 0.00% Other 521 0.002338 0.003219 0.004101 0.31% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.318 1.318 1.319 100.00% ParticleContainer::Redistribute_impl() 103 0.6439 0.644 0.6442 48.83% ParticleContainer::SortParticlesByBin() 101 0.4633 0.4673 0.4713 35.73% numParticlesOutOfRange() 614 0.165 0.1838 0.2026 15.36% amrex::unpackBuffer 103 0.1284 0.1301 0.1317 9.98% Redistribute_partition 103 0.1251 0.126 0.1268 9.61% DenseBins::buildGPU 203 0.1075 0.1115 0.1155 8.76% amrex::unpackRemotes 103 0.1012 0.107 0.1128 8.55% TestParticleContainer::checkAnswer 103 0.1002 0.1022 0.1041 7.89% ParticleCopyPlan::build 103 0.09472 0.0958 0.09689 7.34% ParticleContainer::OK() 103 0.07867 0.08265 0.08662 6.57% TestParticleContainer::moveParticles 100 0.04923 0.04929 0.04936 3.74% amrex::communicateParticlesStart 103 0.02253 0.02605 0.02958 2.24% amrex::computeNeighborProcs 101 0.01955 0.02016 0.02076 1.57% ParticleCopyPlan::buildMPIStart 103 0.01881 0.01912 0.01943 1.47% amrex::communicateParticlesFinish 103 0.004975 0.01044 0.01591 1.21% InitParticles 1 0.009751 0.009756 0.00976 0.74% ParticleCopyPlan::doHandShake 103 0.0005987 0.004918 0.009237 0.70% Other 521 0.002873 0.004524 0.006174 0.47% -------------------------------------------------------------------------------------------- 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 9169 KiB 9169 KiB 9169 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 62 KiB 64 KiB 66 KiB 8317 KiB 8331 KiB 8346 KiB InitParticles 48 5192 KiB 5193 KiB 5194 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 78 KiB 78 KiB 78 KiB 8187 KiB 8201 KiB 8215 KiB amrex::packBuffer 204 198 KiB 199 KiB 199 KiB 8186 KiB 8200 KiB 8214 KiB ParticleContainer::SortParticlesByBin() 1212 2334 KiB 2337 KiB 2340 KiB 2865 KiB 2870 KiB 2875 KiB Redistribute_partition 4054 56 KiB 57 KiB 57 KiB 1819 KiB 1822 KiB 1826 KiB DenseBins::buildGPU 426 593 KiB 593 KiB 593 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7194 B 7235 B 7276 B 260 KiB 260 KiB 261 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2117 B 2156 B 2195 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 412 B 415 B 419 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 64 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 86 KiB 105 KiB 124 KiB 8186 KiB 8200 KiB 8214 KiB amrex::communicateParticlesStart 204 40 KiB 51 KiB 63 KiB 8186 KiB 8200 KiB 8214 KiB The_Pinned_Arena::Initialize() 2 5 B 6 B 8 B 8192 KiB 8192 KiB 8192 KiB InitParticles 564 12 KiB 13 KiB 13 KiB 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 923 B 923 B 923 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 941 B 942 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 74 B 74 B 74 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-100-g9aaff4128aa5) finalized