Initializing AMReX (26.06-13-g87eac2327e9f)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.06-13-g87eac2327e9f) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.3 ... 1.301 ... 1.302 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.353 0.3532 0.3535 27.15% numParticlesOutOfRange() 614 0.1776 0.1816 0.1856 14.26% amrex::unpackBuffer 103 0.1283 0.1287 0.1291 9.91% Redistribute_partition 103 0.1246 0.1247 0.1247 9.58% DenseBins::buildGPU 203 0.108 0.1089 0.1099 8.44% amrex::unpackRemotes 103 0.104 0.1053 0.1066 8.19% ParticleContainer::Redistribute_impl() 103 0.08719 0.0917 0.09621 7.39% ParticleCopyPlan::build 103 0.05502 0.05523 0.05545 4.26% TestParticleContainer::moveParticles 100 0.04873 0.04884 0.04894 3.76% amrex::communicateParticlesStart 103 0.0241 0.0269 0.0297 2.28% amrex::computeNeighborProcs 101 0.01982 0.01999 0.02017 1.55% TestParticleContainer::checkAnswer 103 0.0163 0.01709 0.01788 1.37% ParticleCopyPlan::buildMPIStart 103 0.01266 0.01393 0.01521 1.17% amrex::communicateParticlesFinish 103 0.008907 0.01066 0.01242 0.95% InitParticles 1 0.00476 0.004965 0.005171 0.40% testRedistribute 1 0.0007382 0.0008804 0.001023 0.08% ParticleContainer::OK() 103 3.571e-05 3.675e-05 3.779e-05 0.00% Other 624 0.006552 0.008351 0.01015 0.78% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.3 1.301 1.302 100.00% ParticleContainer::Redistribute_impl() 103 0.6368 0.6368 0.6368 48.92% ParticleContainer::SortParticlesByBin() 101 0.4603 0.4615 0.4627 35.54% numParticlesOutOfRange() 614 0.1776 0.1816 0.1856 14.26% amrex::unpackBuffer 103 0.1283 0.1287 0.1291 9.91% Redistribute_partition 103 0.1246 0.1247 0.1247 9.58% DenseBins::buildGPU 203 0.108 0.1089 0.1099 8.44% amrex::unpackRemotes 103 0.104 0.1053 0.1066 8.19% TestParticleContainer::checkAnswer 103 0.09836 0.0988 0.09924 7.62% ParticleCopyPlan::build 103 0.09408 0.09457 0.09506 7.30% ParticleContainer::OK() 103 0.08048 0.08171 0.08294 6.37% TestParticleContainer::moveParticles 100 0.04873 0.04884 0.04894 3.76% amrex::communicateParticlesStart 103 0.0241 0.0269 0.0297 2.28% amrex::computeNeighborProcs 101 0.01982 0.01999 0.02017 1.55% ParticleCopyPlan::buildMPIStart 103 0.01841 0.01885 0.01928 1.48% amrex::communicateParticlesFinish 103 0.008907 0.01066 0.01242 0.95% InitParticles 1 0.00992 0.00992 0.009921 0.76% Other 624 0.007066 0.009631 0.0122 0.94% -------------------------------------------------------------------------------------------- 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 65 KiB 67 KiB 69 KiB 8321 KiB 8331 KiB 8341 KiB InitParticles 48 5193 KiB 5194 KiB 5195 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 80 KiB 80 KiB 81 KiB 8190 KiB 8201 KiB 8211 KiB amrex::packBuffer 204 206 KiB 207 KiB 208 KiB 8190 KiB 8200 KiB 8211 KiB ParticleContainer::SortParticlesByBin() 1212 2333 KiB 2336 KiB 2340 KiB 2867 KiB 2871 KiB 2875 KiB Redistribute_partition 4054 59 KiB 59 KiB 59 KiB 1820 KiB 1822 KiB 1825 KiB DenseBins::buildGPU 426 594 KiB 594 KiB 594 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7495 B 7507 B 7520 B 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2145 B 2152 B 2160 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 417 B 417 B 418 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 63 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 4 B 4 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 104 KiB 110 KiB 117 KiB 8190 KiB 8200 KiB 8211 KiB amrex::communicateParticlesStart 204 50 KiB 53 KiB 56 KiB 8190 KiB 8200 KiB 8211 KiB The_Pinned_Arena::Initialize() 2 5 B 7 B 9 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 942 B 942 B 943 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 79 B 79 B 79 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.06-13-g87eac2327e9f) finalized