Initializing AMReX (26.04-113-g05a28aa730e4)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.04-113-g05a28aa730e4) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.318 ... 1.319 ... 1.32 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3575 0.3575 0.3575 27.09% numParticlesOutOfRange() 614 0.1666 0.1839 0.2011 15.24% amrex::unpackBuffer 103 0.1288 0.1304 0.1321 10.01% Redistribute_partition 103 0.1254 0.1262 0.127 9.62% DenseBins::buildGPU 203 0.1079 0.1115 0.1151 8.72% amrex::unpackRemotes 103 0.1015 0.1074 0.1132 8.58% ParticleContainer::Redistribute_impl() 103 0.08243 0.09349 0.1046 7.92% ParticleCopyPlan::build 103 0.05609 0.05621 0.05633 4.27% TestParticleContainer::moveParticles 100 0.04893 0.04909 0.04925 3.73% amrex::communicateParticlesStart 103 0.02236 0.02606 0.02976 2.26% TestParticleContainer::checkAnswer 103 0.01358 0.01876 0.02393 1.81% amrex::computeNeighborProcs 101 0.01953 0.02016 0.02078 1.57% ParticleCopyPlan::buildMPIStart 103 0.01005 0.01412 0.0182 1.38% amrex::communicateParticlesFinish 103 0.004845 0.0104 0.01595 1.21% ParticleCopyPlan::doHandShake 103 0.0005321 0.004923 0.009314 0.71% InitParticles 1 0.004749 0.00495 0.005151 0.39% testRedistribute 1 0.0008314 0.0008483 0.0008651 0.07% ParticleContainer::OK() 103 2.86e-05 2.924e-05 2.989e-05 0.00% Other 521 0.002208 0.003103 0.003997 0.30% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.318 1.319 1.32 100.00% ParticleContainer::Redistribute_impl() 103 0.6444 0.6446 0.6447 48.85% ParticleContainer::SortParticlesByBin() 101 0.4647 0.4683 0.4718 35.75% numParticlesOutOfRange() 614 0.1666 0.1839 0.2011 15.24% amrex::unpackBuffer 103 0.1288 0.1304 0.1321 10.01% Redistribute_partition 103 0.1254 0.1262 0.127 9.62% DenseBins::buildGPU 203 0.1079 0.1115 0.1151 8.72% amrex::unpackRemotes 103 0.1015 0.1074 0.1132 8.58% TestParticleContainer::checkAnswer 103 0.09985 0.1014 0.103 7.80% ParticleCopyPlan::build 103 0.0948 0.09586 0.09693 7.34% ParticleContainer::OK() 103 0.07906 0.08266 0.08627 6.54% TestParticleContainer::moveParticles 100 0.04893 0.04909 0.04925 3.73% amrex::communicateParticlesStart 103 0.02236 0.02606 0.02976 2.26% amrex::computeNeighborProcs 101 0.01953 0.02016 0.02078 1.57% ParticleCopyPlan::buildMPIStart 103 0.01873 0.01905 0.01936 1.47% amrex::communicateParticlesFinish 103 0.004845 0.0104 0.01595 1.21% InitParticles 1 0.00988 0.00988 0.009881 0.75% ParticleCopyPlan::doHandShake 103 0.0005321 0.004923 0.009314 0.71% Other 521 0.002686 0.004369 0.006051 0.46% -------------------------------------------------------------------------------------------- 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 61 KiB 64 KiB 66 KiB 8310 KiB 8332 KiB 8354 KiB InitParticles 48 5192 KiB 5193 KiB 5193 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 78 KiB 78 KiB 78 KiB 8179 KiB 8201 KiB 8223 KiB amrex::packBuffer 204 198 KiB 199 KiB 199 KiB 8178 KiB 8200 KiB 8222 KiB ParticleContainer::SortParticlesByBin() 1212 2334 KiB 2337 KiB 2341 KiB 2865 KiB 2870 KiB 2874 KiB Redistribute_partition 4054 56 KiB 57 KiB 57 KiB 1819 KiB 1823 KiB 1828 KiB DenseBins::buildGPU 426 593 KiB 593 KiB 593 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7204 B 7247 B 7291 B 260 KiB 260 KiB 261 KiB testRedistribute 4 16 B 16 B 16 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2113 B 2155 B 2197 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 412 B 416 B 420 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 934 B 934 B 935 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 86 KiB 105 KiB 124 KiB 8178 KiB 8200 KiB 8223 KiB amrex::communicateParticlesStart 204 40 KiB 51 KiB 63 KiB 8178 KiB 8200 KiB 8222 KiB The_Pinned_Arena::Initialize() 2 4 B 6 B 8 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 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-113-g05a28aa730e4) finalized