Initializing AMReX (26.06-17-g6a6dcd903f99)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.06-17-g6a6dcd903f99) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.309 ... 1.31 ... 1.31 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3539 0.354 0.354 27.01% numParticlesOutOfRange() 614 0.1641 0.1826 0.2011 15.34% amrex::unpackBuffer 103 0.1273 0.1288 0.1303 9.94% Redistribute_partition 103 0.1245 0.1253 0.126 9.62% DenseBins::buildGPU 203 0.1063 0.1103 0.1144 8.73% amrex::unpackRemotes 103 0.1007 0.1064 0.1121 8.55% ParticleContainer::Redistribute_impl() 103 0.0821 0.09517 0.1082 8.26% ParticleCopyPlan::build 103 0.05562 0.05574 0.05587 4.26% TestParticleContainer::moveParticles 100 0.04889 0.049 0.0491 3.75% amrex::communicateParticlesStart 103 0.01923 0.02435 0.02946 2.25% TestParticleContainer::checkAnswer 103 0.01303 0.01885 0.02466 1.88% amrex::computeNeighborProcs 101 0.01943 0.02002 0.0206 1.57% ParticleCopyPlan::buildMPIStart 103 0.01032 0.0142 0.01809 1.38% amrex::communicateParticlesFinish 103 0.00497 0.01114 0.01731 1.32% ParticleCopyPlan::doHandShake 103 0.0007712 0.004877 0.008983 0.69% InitParticles 1 0.004586 0.00479 0.004993 0.38% testRedistribute 1 0.0007378 0.0008668 0.0009957 0.08% ParticleContainer::OK() 103 3.019e-05 3.07e-05 3.12e-05 0.00% Other 521 0.002427 0.00337 0.004313 0.33% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.309 1.31 1.31 100.00% ParticleContainer::Redistribute_impl() 103 0.6409 0.641 0.6411 48.92% ParticleContainer::SortParticlesByBin() 101 0.4595 0.4636 0.4676 35.68% numParticlesOutOfRange() 614 0.1641 0.1826 0.2011 15.34% amrex::unpackBuffer 103 0.1273 0.1288 0.1303 9.94% Redistribute_partition 103 0.1245 0.1253 0.126 9.62% DenseBins::buildGPU 203 0.1063 0.1103 0.1144 8.73% amrex::unpackRemotes 103 0.1007 0.1064 0.1121 8.55% TestParticleContainer::checkAnswer 103 0.09913 0.1009 0.1028 7.84% ParticleCopyPlan::build 103 0.09437 0.0953 0.09624 7.34% ParticleContainer::OK() 103 0.07809 0.08209 0.0861 6.57% TestParticleContainer::moveParticles 100 0.04889 0.049 0.0491 3.75% amrex::communicateParticlesStart 103 0.01923 0.02435 0.02946 2.25% amrex::computeNeighborProcs 101 0.01943 0.02002 0.0206 1.57% ParticleCopyPlan::buildMPIStart 103 0.01886 0.01908 0.0193 1.47% amrex::communicateParticlesFinish 103 0.00497 0.01114 0.01731 1.32% InitParticles 1 0.009733 0.009736 0.009738 0.74% ParticleCopyPlan::doHandShake 103 0.0007712 0.004877 0.008983 0.69% Other 521 0.002966 0.004662 0.006357 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 9168 KiB 9168 KiB 9168 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 62 KiB 67 KiB 72 KiB 8329 KiB 8330 KiB 8332 KiB InitParticles 48 5189 KiB 5190 KiB 5191 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 77 KiB 83 KiB 88 KiB 8199 KiB 8201 KiB 8202 KiB amrex::packBuffer 204 214 KiB 215 KiB 215 KiB 8199 KiB 8200 KiB 8202 KiB ParticleContainer::SortParticlesByBin() 1212 2332 KiB 2335 KiB 2338 KiB 2866 KiB 2869 KiB 2873 KiB Redistribute_partition 4054 60 KiB 60 KiB 61 KiB 1821 KiB 1822 KiB 1823 KiB DenseBins::buildGPU 426 594 KiB 594 KiB 594 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7745 B 7773 B 7801 B 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2125 B 2158 B 2191 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 936 B 936 B 936 B 1024 B 1024 B 1024 B amrex::communicateParticlesStart 206 61 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 5 B 5 B 6 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 107 KiB 108 KiB 109 KiB 8199 KiB 8200 KiB 8202 KiB amrex::communicateParticlesStart 204 50 KiB 54 KiB 58 KiB 8199 KiB 8200 KiB 8202 KiB The_Pinned_Arena::Initialize() 2 7 B 7 B 7 B 8192 KiB 8192 KiB 8192 KiB InitParticles 564 11 KiB 12 KiB 13 KiB 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 922 B 922 B 923 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 940 B 941 B 943 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 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: [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: [24 ... 24] [The Pinned Arena] max space (MB) used spread across MPI: [16 ... 16] AMReX (26.06-17-g6a6dcd903f99) finalized