Initializing AMReX (26.04-124-g666ca0230a91)... MPI initialized with 2 MPI processes MPI initialized with thread support level 0 Initializing CUDA... CUDA initialized with 1 device. AMReX (26.04-124-g666ca0230a91) initialized Running redistribute test About to initialize particles pass TinyProfiler total time across processes [min...avg...max]: 1.317 ... 1.321 ... 1.325 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- ParticleContainer::SortParticlesByBin() 101 0.3562 0.3565 0.3569 26.93% numParticlesOutOfRange() 614 0.1644 0.1833 0.2023 15.26% amrex::unpackBuffer 103 0.128 0.1297 0.1314 9.92% Redistribute_partition 103 0.1251 0.1257 0.1263 9.53% DenseBins::buildGPU 203 0.1073 0.1113 0.1153 8.70% amrex::unpackRemotes 103 0.1008 0.1069 0.1131 8.53% ParticleContainer::Redistribute_impl() 103 0.07915 0.09427 0.1094 8.26% ParticleCopyPlan::build 103 0.05582 0.05583 0.05584 4.21% TestParticleContainer::moveParticles 100 0.04899 0.04924 0.04949 3.73% amrex::communicateParticlesStart 103 0.01934 0.02743 0.03553 2.68% TestParticleContainer::checkAnswer 103 0.01355 0.01889 0.02423 1.83% amrex::computeNeighborProcs 101 0.01952 0.02017 0.02082 1.57% ParticleCopyPlan::buildMPIStart 103 0.009371 0.01371 0.01805 1.36% amrex::communicateParticlesFinish 103 0.004777 0.01083 0.01688 1.27% ParticleCopyPlan::doHandShake 103 0.001073 0.004982 0.00889 0.67% InitParticles 1 0.004698 0.004908 0.005118 0.39% testRedistribute 1 0.0007525 0.0009127 0.001073 0.08% ParticleContainer::OK() 103 3.121e-05 3.218e-05 3.316e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.192e-06 4.086e-06 4.98e-06 0.00% Other 520 0.002457 0.006487 0.01052 0.79% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- testRedistribute 1 1.317 1.321 1.325 100.00% ParticleContainer::Redistribute_impl() 103 0.645 0.6451 0.6451 48.69% ParticleContainer::SortParticlesByBin() 101 0.4628 0.4672 0.4715 35.58% numParticlesOutOfRange() 614 0.1644 0.1833 0.2023 15.26% amrex::unpackBuffer 103 0.128 0.1297 0.1314 9.92% Redistribute_partition 103 0.1251 0.1257 0.1263 9.53% DenseBins::buildGPU 203 0.1073 0.1113 0.1153 8.70% amrex::unpackRemotes 103 0.1008 0.1069 0.1131 8.53% TestParticleContainer::checkAnswer 103 0.1002 0.1012 0.1021 7.71% ParticleCopyPlan::build 103 0.09498 0.09517 0.09536 7.20% ParticleContainer::OK() 103 0.0779 0.0823 0.0867 6.54% TestParticleContainer::moveParticles 100 0.04899 0.04924 0.04949 3.73% amrex::communicateParticlesStart 103 0.01934 0.02743 0.03553 2.68% amrex::computeNeighborProcs 101 0.01952 0.02017 0.02082 1.57% ParticleCopyPlan::buildMPIStart 103 0.01826 0.01869 0.01912 1.44% amrex::communicateParticlesFinish 103 0.004777 0.01083 0.01688 1.27% InitParticles 1 0.00984 0.009848 0.009855 0.74% ParticleCopyPlan::doHandShake 103 0.001073 0.004982 0.00889 0.67% DistributionMapping::SFCProcessorMapDoIt() 1 1.24e-05 0.00381 0.007607 0.57% Other 520 0.002988 0.007042 0.0111 0.84% -------------------------------------------------------------------------------------------- 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 9170 KiB 9170 KiB 9216 KiB 9216 KiB 9216 KiB ParticleContainer::ReserveForRedistribute() 72 63 KiB 65 KiB 67 KiB 8321 KiB 8331 KiB 8341 KiB InitParticles 48 5153 KiB 5154 KiB 5154 KiB 8331 KiB 8331 KiB 8331 KiB ParticleContainer::Redistribute_impl() 210 78 KiB 79 KiB 80 KiB 8190 KiB 8201 KiB 8211 KiB amrex::packBuffer 204 207 KiB 209 KiB 211 KiB 8190 KiB 8200 KiB 8211 KiB ParticleContainer::SortParticlesByBin() 1212 2316 KiB 2319 KiB 2322 KiB 2866 KiB 2870 KiB 2873 KiB Redistribute_partition 4054 59 KiB 59 KiB 59 KiB 1821 KiB 1822 KiB 1824 KiB DenseBins::buildGPU 426 589 KiB 590 KiB 590 KiB 653 KiB 653 KiB 653 KiB ParticleCopyPlan::buildCopiesAtomicScatter 406 7525 B 7563 B 7602 B 260 KiB 260 KiB 260 KiB testRedistribute 4 16 B 16 B 17 B 48 KiB 48 KiB 48 KiB numParticlesOutOfRange() 1228 2093 B 2132 B 2171 B 24 KiB 24 KiB 24 KiB ParticleCopyPlan::build 1236 411 B 414 B 418 B 1280 B 1280 B 1280 B ParticleBufferMap::define 8 929 B 929 B 929 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 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 101 KiB 111 KiB 121 KiB 8190 KiB 8200 KiB 8211 KiB amrex::communicateParticlesStart 204 46 KiB 52 KiB 59 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 14 KiB 6884 KiB 6884 KiB 6884 KiB Redistribute_partition 420 915 B 915 B 916 B 1280 B 1280 B 1280 B numParticlesOutOfRange() 1248 934 B 935 B 936 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 78 B 79 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-124-g666ca0230a91) finalized