Initializing AMReX (26.09-173-ga0da80d18121)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.09-173-ga0da80d18121) initialized Running redistribute test testNeighborProcsCoarseToFine: pass About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.329 ... 1.332 ... 1.334 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3545 0.3545 0.3545 26.58% numParticlesOutOfRange() 410 0.1717 0.1824 0.1931 14.47% amrex::unpackBuffer 103 0.1277 0.1291 0.1305 9.78% Redistribute_partition 103 0.1246 0.1253 0.1259 9.44% ParticleContainer::Redistribute_impl() 103 0.08662 0.1001 0.1137 8.52% DenseBins::buildGPU 203 0.1078 0.1102 0.1126 8.44% amrex::unpackRemotes 103 0.1051 0.1064 0.1078 8.08% ParticleCopyPlan::build 103 0.05568 0.0557 0.05573 4.18% TestParticleContainer::moveParticles 100 0.04869 0.04883 0.04896 3.67% amrex::communicateParticlesStart 103 0.03239 0.04019 0.04798 3.60% TestParticleContainer::checkAnswer 103 0.01436 0.01868 0.02301 1.72% amrex::computeNeighborProcs 102 0.01956 0.02013 0.02069 1.55% ParticleCopyPlan::buildMPIStart 103 0.01079 0.01417 0.01756 1.32% amrex::communicateParticlesFinish 103 0.005799 0.01052 0.01524 1.14% ParticleCopyPlan::doHandShake 103 0.001476 0.004859 0.008243 0.62% InitParticles 1 0.004606 0.00482 0.005033 0.38% testRedistribute 1 0.0008468 0.0008534 0.0008599 0.06% ParticleContainer::OK() 103 2.844e-05 3.05e-05 3.256e-05 0.00% Other 522 0.002619 0.004886 0.007153 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.329 1.329 1.329 99.66% ParticleContainer::Redistribute_impl() 103 0.706 0.7104 0.7147 53.58% ParticleContainer::SortParticlesByBin() 101 0.4616 0.464 0.4664 34.96% numParticlesOutOfRange() 410 0.1717 0.1824 0.1931 14.47% amrex::unpackBuffer 103 0.1277 0.1291 0.1305 9.78% Redistribute_partition 103 0.1246 0.1253 0.1259 9.44% DenseBins::buildGPU 203 0.1078 0.1102 0.1126 8.44% amrex::unpackRemotes 103 0.1051 0.1064 0.1078 8.08% TestParticleContainer::checkAnswer 103 0.09875 0.1006 0.1025 7.68% ParticleCopyPlan::build 103 0.0947 0.09528 0.09587 7.19% ParticleContainer::OK() 103 0.07945 0.08192 0.08439 6.33% TestParticleContainer::moveParticles 100 0.04869 0.04883 0.04896 3.67% amrex::communicateParticlesStart 103 0.03239 0.04019 0.04798 3.60% amrex::computeNeighborProcs 102 0.01956 0.02013 0.02069 1.55% ParticleCopyPlan::buildMPIStart 103 0.01903 0.01903 0.01903 1.43% amrex::communicateParticlesFinish 103 0.005799 0.01052 0.01524 1.14% InitParticles 1 0.009735 0.009747 0.009759 0.73% ParticleCopyPlan::doHandShake 103 0.001476 0.004859 0.008243 0.62% Other 522 0.003172 0.005477 0.007781 0.58% -------------------------------------------------------------------------------------------- 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 9170 KiB 9170 KiB 9170 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 64 KiB 64 KiB 64 KiB 8323 KiB 8331 KiB 8339 KiB InitParticles 48 5133 KiB 5134 KiB 5134 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 78 KiB 78 KiB 79 KiB 8193 KiB 8201 KiB 8209 KiB amrex::packBuffer 204 299 KiB 300 KiB 301 KiB 8192 KiB 8200 KiB 8208 KiB ParticleContainer::SortParticlesByBin() 1212 2306 KiB 2310 KiB 2315 KiB 2867 KiB 2869 KiB 2872 KiB Redistribute_partition 4054 79 KiB 79 KiB 79 KiB 1821 KiB 1823 KiB 1824 KiB DenseBins::buildGPU 426 595 KiB 595 KiB 595 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 10 KiB 10 KiB 10 KiB 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 16 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2103 B 2124 B 2146 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 427 B 430 B 433 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 937 B 937 B 937 B 1024 B 1024 B 1024 B amrex::communicateParticlesStart 206 63 B 65 B 67 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 135 KiB 165 KiB 196 KiB 8193 KiB 8200 KiB 8208 KiB amrex::communicateParticlesStart 204 41 KiB 50 KiB 60 KiB 8192 KiB 8200 KiB 8208 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 912 B 912 B 913 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 931 B 932 B 933 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 81 B 81 B 82 B 256 B 256 B 256 B ParticleCopyPlan::buildMPIStart 204 77 B 77 B 77 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: [32 ... 32] [The Pinned Arena] max space (MB) used spread across MPI: [16 ... 16] AMReX (26.09-173-ga0da80d18121) finalized