Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-27-gb523c3297d00) initialized Starting run at 08:34:53 UTC on 2023-07-19. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-27-gb523c3297 Microphysics git describe: 23.07-34-g0ef8cc66 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.060739727 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034974882 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046694176 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049911888 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.076492587 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.076392794 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.060215097 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.06044545 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069772132 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.080937742 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.075393875 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.05728215 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.07880471 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.058894968 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034232391 seconds Ending run at 08:34:54 UTC on 2023-07-19. Run time = 0.971435696 Run time without initialization = 0.826230391 Average number of zones advanced per microsecond: 3.173 Average number of zones advanced per microsecond per rank: 3.173 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9715 ... 0.9715 ... 0.9715 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3012 0.3012 0.3012 31.01% VisMF::Write(FabArray) 11 0.2414 0.2414 0.2414 24.85% MLCellLinOp::applyBC() 4433 0.07695 0.07695 0.07695 7.92% MLPoisson::Fsmooth() 3280 0.03223 0.03223 0.03223 3.32% FillBoundary_nowait() 4023 0.0314 0.0314 0.0314 3.23% StateData::FillBoundary(geom) 328 0.02542 0.02542 0.02542 2.62% amrex::Dot() 1114 0.02064 0.02064 0.02064 2.12% Castro::normalize_species() 62 0.01963 0.01963 0.01963 2.02% Castro::computeTemp() 63 0.01559 0.01559 0.01559 1.60% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.53% FabArray::norminf() 743 0.0144 0.0144 0.0144 1.48% FabArray::ParallelCopy_nowait() 861 0.0133 0.0133 0.0133 1.37% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.35% StateDataPhysBCFunct::() 41 0.01222 0.01222 0.01222 1.26% Castro::enforce_min_density() 62 0.01197 0.01197 0.01197 1.23% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.06% MLCellLinOp::defineAuxData() 11 0.009908 0.009908 0.009908 1.02% FabArray::Saxpy() 813 0.008116 0.008116 0.008116 0.84% FabArray::Xpay() 821 0.008097 0.008097 0.008097 0.83% Gravity::fill_multipole_BCs() 11 0.006901 0.006901 0.006901 0.71% MLMG::addInterpCorrection() 410 0.006753 0.006753 0.006753 0.70% amrex::average_down 410 0.005977 0.005977 0.005977 0.62% Castro::estTimeStep() 21 0.005536 0.005536 0.005536 0.57% Amr::checkPoint() 3 0.004983 0.004983 0.004983 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004938 0.004938 0.004938 0.51% FabArray::LinComb() 557 0.004487 0.004487 0.004487 0.46% amrex::Add() 164 0.004336 0.004336 0.004336 0.45% BndryData::define() 11 0.003823 0.003823 0.003823 0.39% Castro::enforce_speed_limit() 62 0.003303 0.003303 0.003303 0.34% Castro::construct_new_gravity_source() 10 0.00307 0.00307 0.00307 0.32% Castro::construct_old_gravity_source() 10 0.002671 0.002671 0.002671 0.27% Amr::writePlotFile() 2 0.002421 0.002421 0.002421 0.25% MLCGSolver::bicgstab 82 0.002138 0.002138 0.002138 0.22% check_for_negative_density() 10 0.001921 0.001921 0.001921 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.18% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.17% Gravity::actual_solve_with_mlmg() 11 0.001487 0.001487 0.001487 0.15% MLCellLinOp::setLevelBC() 11 0.001431 0.001431 0.001431 0.15% FabArray::mult() 43 0.00132 0.00132 0.00132 0.14% FabArray::setDomainBndry() 41 0.001291 0.001291 0.001291 0.13% Castro::initData() 1 0.001249 0.001249 0.001249 0.13% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.12% MLCellLinOp::smooth() 1640 0.001147 0.001147 0.001147 0.12% MLCellLinOp::prepareForSolve() 11 0.00113 0.00113 0.00113 0.12% MLCellLinOp::compGrad() 11 0.0009301 0.0009301 0.0009301 0.10% MLMG::prepareForSolve() 11 0.0008692 0.0008692 0.0008692 0.09% FabArray::FillBoundary() 4023 0.0008655 0.0008655 0.0008655 0.09% FabArrayBase::getCPC() 1323 0.0007401 0.0007401 0.0007401 0.08% FabArrayBase::CPC::define() 454 0.0006904 0.0006904 0.0006904 0.07% FabArrayBase::getFB() 4023 0.0006311 0.0006311 0.0006311 0.06% Gravity::get_new_grav_vector() 11 0.0005482 0.0005482 0.0005482 0.06% Amr::InitAmr() 1 0.0005061 0.0005061 0.0005061 0.05% Gravity::get_old_grav_vector() 10 0.0004745 0.0004745 0.0004745 0.05% Amr::coarseTimeStep() 10 0.0004663 0.0004663 0.0004663 0.05% MLCellLinOp::apply() 1142 0.0004508 0.0004508 0.0004508 0.05% MLLinOp::defineGrids() 11 0.0004116 0.0004116 0.0004116 0.04% MLMG::mgVcycle() 82 0.0003567 0.0003567 0.0003567 0.04% main() 1 0.000341 0.000341 0.000341 0.04% AmrLevel::FillPatch() 41 0.0003175 0.0003175 0.0003175 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002926 0.0002926 0.0002926 0.03% MultiFab::max() 11 0.0002623 0.0002623 0.0002623 0.03% FabArray::ParallelCopy() 861 0.0002308 0.0002308 0.0002308 0.02% MLCellLinOp::correctionResidual() 492 0.0002288 0.0002288 0.0002288 0.02% MLCellLinOp::defineBC() 11 0.0002136 0.0002136 0.0002136 0.02% FillPatchIterator::Initialize 41 0.0002081 0.0002081 0.0002081 0.02% Castro::subcycle_advance_ctu() 10 0.0002024 0.0002024 0.0002024 0.02% Castro::create_source_corrector() 10 0.0001776 0.0001776 0.0001776 0.02% Amr::timeStep() 10 0.0001628 0.0001628 0.0001628 0.02% StateData::checkPoint() 12 0.0001329 0.0001329 0.0001329 0.01% Gravity::update_max_rhs() 11 0.0001308 0.0001308 0.0001308 0.01% MLMG:computeResOfCorrection() 410 0.0001218 0.0001218 0.0001218 0.01% Castro::advance() 10 0.0001186 0.0001186 0.0001186 0.01% Gravity::solve_for_phi() 10 0.0001102 0.0001102 0.0001102 0.01% Castro::Castro() 1 9.474e-05 9.474e-05 9.474e-05 0.01% MLMG::mgVcycle_down::0 82 9.243e-05 9.243e-05 9.243e-05 0.01% MLMG::actualBottomSolve() 82 8.998e-05 8.998e-05 8.998e-05 0.01% FabArrayBase::FB::FB() 56 8.954e-05 8.954e-05 8.954e-05 0.01% MLMG::mgVcycle_down::1 82 8.24e-05 8.24e-05 8.24e-05 0.01% MLMG::mgVcycle_down::2 82 8.063e-05 8.063e-05 8.063e-05 0.01% MLMG::mgVcycle_down::4 82 7.988e-05 7.988e-05 7.988e-05 0.01% Castro::construct_new_source() 50 7.97e-05 7.97e-05 7.97e-05 0.01% MLMG::mgVcycle_down::3 82 7.765e-05 7.765e-05 7.765e-05 0.01% AmrLevel::checkPoint() 3 7.237e-05 7.237e-05 7.237e-05 0.01% MLMG::solve() 11 7.217e-05 7.217e-05 7.217e-05 0.01% Castro::initialize_advance() 10 7.154e-05 7.154e-05 7.154e-05 0.01% Castro::do_new_sources() 10 6.961e-05 6.961e-05 6.961e-05 0.01% Castro::clean_state() 62 6.661e-05 6.661e-05 6.661e-05 0.01% MLMG::mgVcycle_up::4 82 6.313e-05 6.313e-05 6.313e-05 0.01% MLMG::oneIter() 82 5.906e-05 5.906e-05 5.906e-05 0.01% Castro::finalize_advance() 10 5.851e-05 5.851e-05 5.851e-05 0.01% Castro::initialize_do_advance() 10 5.735e-05 5.735e-05 5.735e-05 0.01% MLMG::mgVcycle_up::0 82 5.364e-05 5.364e-05 5.364e-05 0.01% MLMG::mgVcycle_up::3 82 5.345e-05 5.345e-05 5.345e-05 0.01% MLMG::mgVcycle_up::1 82 5.33e-05 5.33e-05 5.33e-05 0.01% MLMG::mgVcycle_up::2 82 5.253e-05 5.253e-05 5.253e-05 0.01% Castro::do_advance_ctu() 10 5.087e-05 5.087e-05 5.087e-05 0.01% MLCellLinOp::solutionResidual() 93 4.794e-05 4.794e-05 4.794e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.459e-05 4.459e-05 4.459e-05 0.00% Castro::finalize_do_advance() 10 3.865e-05 3.865e-05 3.865e-05 0.00% Castro::swap_state_time_levels() 10 3.836e-05 3.836e-05 3.836e-05 0.00% StateData::define() 4 3.772e-05 3.772e-05 3.772e-05 0.00% MLMG::mgVcycle_bottom 82 3.729e-05 3.729e-05 3.729e-05 0.00% FillPatchSingleLevel 41 3.355e-05 3.355e-05 3.355e-05 0.00% Castro::enforce_consistent_e() 1 3.349e-05 3.349e-05 3.349e-05 0.00% MLMG::ResNormInf() 93 3.33e-05 3.33e-05 3.33e-05 0.00% MLMG::computeResidual() 82 3.267e-05 3.267e-05 3.267e-05 0.00% MLPoisson::define() 11 2.663e-05 2.663e-05 2.663e-05 0.00% Amr::writeSmallPlotFile() 1 2.661e-05 2.661e-05 2.661e-05 0.00% Castro::construct_new_gravity() 10 2.652e-05 2.652e-05 2.652e-05 0.00% Castro::initMFs() 1 2.641e-05 2.641e-05 2.641e-05 0.00% makeSFC 55 2.454e-05 2.454e-05 2.454e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.407e-05 2.407e-05 2.407e-05 0.00% MLMG::computeMLResidual() 11 2.313e-05 2.313e-05 2.313e-05 0.00% Castro::do_old_sources() 10 2.19e-05 2.19e-05 2.19e-05 0.00% Amr::FinalizeInit() 1 1.992e-05 1.992e-05 1.992e-05 0.00% Castro::buildMetrics() 1 1.952e-05 1.952e-05 1.952e-05 0.00% MLMG::MLRhsNormInf() 11 1.931e-05 1.931e-05 1.931e-05 0.00% Castro::construct_old_source() 50 1.855e-05 1.855e-05 1.855e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.741e-05 1.741e-05 1.741e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.714e-05 1.714e-05 1.714e-05 0.00% Amr::defBaseLevel() 1 1.586e-05 1.586e-05 1.586e-05 0.00% DistributionMapping::Distribute() 56 1.548e-05 1.548e-05 1.548e-05 0.00% MLLinOp::define() 11 1.533e-05 1.533e-05 1.533e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.372e-05 1.372e-05 1.372e-05 0.00% Castro::apply_source_to_state() 20 1.093e-05 1.093e-05 1.093e-05 0.00% Castro::check_for_nan() 20 1.056e-05 1.056e-05 1.056e-05 0.00% Castro::construct_old_gravity() 10 1.038e-05 1.038e-05 1.038e-05 0.00% Castro::post_timestep() 10 9.911e-06 9.911e-06 9.911e-06 0.00% Gravity::swapTimeLevels() 10 9.099e-06 9.099e-06 9.099e-06 0.00% Amr::initSubcycle() 1 8.987e-06 8.987e-06 8.987e-06 0.00% Gravity::actual_multilevel_solve() 1 8.626e-06 8.626e-06 8.626e-06 0.00% MLPoisson::prepareForSolve() 11 8.405e-06 8.405e-06 8.405e-06 0.00% Castro::computeNewDt() 9 6.501e-06 6.501e-06 6.501e-06 0.00% AmrLevel::checkPointPost() 3 5.597e-06 5.597e-06 5.597e-06 0.00% MLMG::getGradSolution() 11 5.584e-06 5.584e-06 5.584e-06 0.00% Castro::expand_state() 10 5.555e-06 5.555e-06 5.555e-06 0.00% Gravity::set_mass_offset() 11 4.977e-06 4.977e-06 4.977e-06 0.00% Amr::InitializeInit() 1 4.944e-06 4.944e-06 4.944e-06 0.00% Castro::post_init() 1 4.461e-06 4.461e-06 4.461e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.3e-06 4.3e-06 4.3e-06 0.00% Castro::retry_advance_ctu() 10 4.277e-06 4.277e-06 4.277e-06 0.00% MLMG::MLResNormInf() 11 3.264e-06 3.264e-06 3.264e-06 0.00% Amr::init() 1 3.003e-06 3.003e-06 3.003e-06 0.00% Castro::computeInitialDt() 2 2.717e-06 2.717e-06 2.717e-06 0.00% Castro::FluxRegCrseInit 10 2.429e-06 2.429e-06 2.429e-06 0.00% Castro::FluxRegFineAdd() 10 2.39e-06 2.39e-06 2.39e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.829e-06 1.829e-06 1.829e-06 0.00% AmrLevel::checkPointPre() 3 1.751e-06 1.751e-06 1.751e-06 0.00% Amr::initialInit() 1 1.15e-06 1.15e-06 1.15e-06 0.00% Castro::post_regrid() 1 8.75e-07 8.75e-07 8.75e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9715 0.9715 0.9715 100.00% Amr::coarseTimeStep() 10 0.7918 0.7918 0.7918 81.50% Amr::timeStep() 10 0.6686 0.6686 0.6686 68.82% Castro::advance() 10 0.6574 0.6574 0.6574 67.67% Castro::subcycle_advance_ctu() 10 0.6427 0.6427 0.6427 66.16% Castro::do_advance_ctu() 10 0.6425 0.6425 0.6425 66.13% Castro::construct_ctu_hydro_source() 10 0.3128 0.3128 0.3128 32.20% Gravity::solve_phi_with_mlmg() 11 0.2848 0.2848 0.2848 29.31% Gravity::actual_solve_with_mlmg() 11 0.2774 0.2774 0.2774 28.55% Castro::construct_new_gravity() 10 0.26 0.26 0.26 26.76% MLMG::solve() 11 0.2563 0.2563 0.2563 26.38% Gravity::solve_for_phi() 10 0.244 0.244 0.244 25.11% MLMG::oneIter() 82 0.2419 0.2419 0.2419 24.90% VisMF::Write(FabArray) 11 0.2414 0.2414 0.2414 24.85% MLMG::mgVcycle() 82 0.2383 0.2383 0.2383 24.53% Amr::checkPoint() 3 0.1802 0.1802 0.1802 18.55% AmrLevel::checkPoint() 3 0.1752 0.1752 0.1752 18.04% StateData::checkPoint() 12 0.1752 0.1752 0.1752 18.03% Amr::init() 1 0.1445 0.1445 0.1445 14.88% MLCellLinOp::smooth() 1640 0.1173 0.1173 0.1173 12.07% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 11.32% MLMG::mgVcycle_bottom 82 0.07367 0.07367 0.07367 7.58% MLMG::actualBottomSolve() 82 0.07363 0.07363 0.07363 7.58% MLCGSolver::bicgstab 82 0.07293 0.07293 0.07293 7.51% Amr::writePlotFile() 2 0.06933 0.06933 0.06933 7.14% Castro::clean_state() 62 0.05626 0.05626 0.05626 5.79% Amr::initialInit() 1 0.04868 0.04868 0.04868 5.01% AmrLevel::FillPatch() 41 0.04741 0.04741 0.04741 4.88% Amr::FinalizeInit() 1 0.04465 0.04465 0.04465 4.60% Castro::post_init() 1 0.04336 0.04336 0.04336 4.46% FillPatchIterator::Initialize 41 0.04325 0.04325 0.04325 4.45% FillPatchIterator::FillFromLevel0() 41 0.04175 0.04175 0.04175 4.30% FillPatchSingleLevel 41 0.0417 0.0417 0.0417 4.29% Gravity::multilevel_solve_for_new_phi() 1 0.04124 0.04124 0.04124 4.25% Gravity::actual_multilevel_solve() 1 0.04123 0.04123 0.04123 4.24% StateDataPhysBCFunct::() 41 0.03764 0.03764 0.03764 3.87% MLCellLinOp::apply() 1142 0.03631 0.03631 0.03631 3.74% MLMG::mgVcycle_down::0 82 0.03404 0.03404 0.03404 3.50% FabArray::FillBoundary() 4023 0.03298 0.03298 0.03298 3.40% MLPoisson::Fsmooth() 3280 0.03223 0.03223 0.03223 3.32% FillBoundary_nowait() 4023 0.03212 0.03212 0.03212 3.31% MLMG::mgVcycle_up::0 82 0.02576 0.02576 0.02576 2.65% StateData::FillBoundary(geom) 328 0.02542 0.02542 0.02542 2.62% MLCellLinOp::correctionResidual() 492 0.0223 0.0223 0.0223 2.30% Castro::computeTemp() 63 0.02218 0.02218 0.02218 2.28% Castro::initialize_do_advance() 10 0.02134 0.02134 0.02134 2.20% amrex::Dot() 1114 0.02064 0.02064 0.02064 2.12% MLMG:computeResOfCorrection() 410 0.01964 0.01964 0.01964 2.02% Castro::normalize_species() 62 0.01963 0.01963 0.01963 2.02% Castro::do_old_sources() 10 0.0183 0.0183 0.0183 1.88% Gravity::get_new_grav_vector() 11 0.01782 0.01782 0.01782 1.83% MLPoisson::define() 11 0.01678 0.01678 0.01678 1.73% MLMG::mgVcycle_down::1 82 0.01583 0.01583 0.01583 1.63% Castro::construct_old_gravity() 10 0.01524 0.01524 0.01524 1.57% Gravity::get_old_grav_vector() 10 0.01523 0.01523 0.01523 1.57% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.53% MLMG::mgVcycle_down::2 82 0.01476 0.01476 0.01476 1.52% MLMG::mgVcycle_down::3 82 0.01447 0.01447 0.01447 1.49% FabArray::norminf() 743 0.0144 0.0144 0.0144 1.48% FabArray::ParallelCopy() 861 0.01435 0.01435 0.01435 1.48% MLMG::mgVcycle_down::4 82 0.01423 0.01423 0.01423 1.47% FabArray::ParallelCopy_nowait() 861 0.01412 0.01412 0.01412 1.45% Castro::initialize_advance() 10 0.01398 0.01398 0.01398 1.44% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.35% MLCGSolver::ParallelAllReduce 1514 0.01242 0.01242 0.01242 1.28% Castro::enforce_min_density() 62 0.01197 0.01197 0.01197 1.23% MLMG::addInterpCorrection() 410 0.01187 0.01187 0.01187 1.22% Castro::do_new_sources() 10 0.01171 0.01171 0.01171 1.21% Castro::expand_state() 10 0.01162 0.01162 0.01162 1.20% MLMG::mgVcycle_up::4 82 0.01152 0.01152 0.01152 1.19% MLMG::mgVcycle_up::1 82 0.01144 0.01144 0.01144 1.18% MLCellLinOp::defineAuxData() 11 0.01126 0.01126 0.01126 1.16% MLMG::mgVcycle_up::2 82 0.01121 0.01121 0.01121 1.15% amrex::average_down 410 0.01118 0.01118 0.01118 1.15% Castro::post_timestep() 10 0.01109 0.01109 0.01109 1.14% MLMG::mgVcycle_up::3 82 0.01102 0.01102 0.01102 1.13% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.06% FabArray::Saxpy() 813 0.008116 0.008116 0.008116 0.84% FabArray::Xpay() 821 0.008097 0.008097 0.008097 0.83% Gravity::fill_multipole_BCs() 11 0.007151 0.007151 0.007151 0.74% MLCellLinOp::solutionResidual() 93 0.007134 0.007134 0.007134 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006594 0.006594 0.006594 0.68% MLMG::computeResidual() 82 0.00613 0.00613 0.00613 0.63% Castro::estTimeStep() 21 0.005536 0.005536 0.005536 0.57% MLCellLinOp::defineBC() 11 0.005021 0.005021 0.005021 0.52% BndryData::define() 11 0.004807 0.004807 0.004807 0.49% MLMG::prepareForSolve() 11 0.004689 0.004689 0.004689 0.48% FabArray::LinComb() 557 0.004487 0.004487 0.004487 0.46% amrex::Add() 164 0.004336 0.004336 0.004336 0.45% Amr::InitializeInit() 1 0.004032 0.004032 0.004032 0.42% Amr::defBaseLevel() 1 0.004027 0.004027 0.004027 0.41% Castro::initData() 1 0.003499 0.003499 0.003499 0.36% Castro::enforce_speed_limit() 62 0.003303 0.003303 0.003303 0.34% Castro::construct_new_source() 50 0.00315 0.00315 0.00315 0.32% Castro::construct_new_gravity_source() 10 0.00307 0.00307 0.00307 0.32% Castro::construct_old_source() 50 0.002689 0.002689 0.002689 0.28% Castro::construct_old_gravity_source() 10 0.002671 0.002671 0.002671 0.27% Castro::computeNewDt() 9 0.002557 0.002557 0.002557 0.26% Castro::finalize_do_advance() 10 0.002167 0.002167 0.002167 0.22% MLMG::ResNormInf() 93 0.002147 0.002147 0.002147 0.22% check_for_negative_density() 10 0.001921 0.001921 0.001921 0.20% Castro::apply_source_to_state() 20 0.001822 0.001822 0.001822 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.18% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.17% MLCellLinOp::setLevelBC() 11 0.001431 0.001431 0.001431 0.15% FabArrayBase::getCPC() 1323 0.00143 0.00143 0.00143 0.15% MLMG::getGradSolution() 11 0.001424 0.001424 0.001424 0.15% MLCellLinOp::compGrad() 11 0.001419 0.001419 0.001419 0.15% FabArray::mult() 43 0.00132 0.00132 0.00132 0.14% FabArray::setDomainBndry() 41 0.001291 0.001291 0.001291 0.13% Castro::check_for_nan() 20 0.001213 0.001213 0.001213 0.12% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.12% MLPoisson::prepareForSolve() 11 0.001138 0.001138 0.001138 0.12% MLCellLinOp::prepareForSolve() 11 0.00113 0.00113 0.00113 0.12% Castro::post_regrid() 1 0.001116 0.001116 0.001116 0.11% MLMG::computeMLResidual() 11 0.00106 0.00106 0.00106 0.11% Castro::computeInitialDt() 2 0.0008604 0.0008604 0.0008604 0.09% Gravity::update_max_rhs() 11 0.0008396 0.0008396 0.0008396 0.09% FabArrayBase::getFB() 4023 0.0007206 0.0007206 0.0007206 0.07% FabArrayBase::CPC::define() 454 0.0006904 0.0006904 0.0006904 0.07% Castro::finalize_advance() 10 0.0005793 0.0005793 0.0005793 0.06% Amr::InitAmr() 1 0.0005151 0.0005151 0.0005151 0.05% MLLinOp::define() 11 0.0004809 0.0004809 0.0004809 0.05% MLLinOp::defineGrids() 11 0.0004656 0.0004656 0.0004656 0.05% Castro::Castro() 1 0.0004512 0.0004512 0.0004512 0.05% Gravity::swapTimeLevels() 10 0.0004366 0.0004366 0.0004366 0.04% MLMG::MLResNormInf() 11 0.0002997 0.0002997 0.0002997 0.03% MultiFab::max() 11 0.0002623 0.0002623 0.0002623 0.03% MLMG::MLRhsNormInf() 11 0.0002364 0.0002364 0.0002364 0.02% Castro::create_source_corrector() 10 0.0001776 0.0001776 0.0001776 0.02% Castro::buildMetrics() 1 0.0001564 0.0001564 0.0001564 0.02% FabArrayBase::FB::FB() 56 8.954e-05 8.954e-05 8.954e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.513e-05 5.513e-05 5.513e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.215e-05 5.215e-05 5.215e-05 0.01% makeSFC 55 3.843e-05 3.843e-05 3.843e-05 0.00% Castro::swap_state_time_levels() 10 3.836e-05 3.836e-05 3.836e-05 0.00% StateData::define() 4 3.772e-05 3.772e-05 3.772e-05 0.00% Castro::enforce_consistent_e() 1 3.349e-05 3.349e-05 3.349e-05 0.00% Amr::writeSmallPlotFile() 1 2.661e-05 2.661e-05 2.661e-05 0.00% Castro::initMFs() 1 2.641e-05 2.641e-05 2.641e-05 0.00% DistributionMapping::Distribute() 56 1.548e-05 1.548e-05 1.548e-05 0.00% Amr::initSubcycle() 1 8.987e-06 8.987e-06 8.987e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.896e-06 5.896e-06 5.896e-06 0.00% AmrLevel::checkPointPost() 3 5.597e-06 5.597e-06 5.597e-06 0.00% Gravity::set_mass_offset() 11 4.977e-06 4.977e-06 4.977e-06 0.00% Castro::retry_advance_ctu() 10 4.277e-06 4.277e-06 4.277e-06 0.00% Castro::FluxRegCrseInit 10 2.429e-06 2.429e-06 2.429e-06 0.00% Castro::FluxRegFineAdd() 10 2.39e-06 2.39e-06 2.39e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.829e-06 1.829e-06 1.829e-06 0.00% AmrLevel::checkPointPre() 3 1.751e-06 1.751e-06 1.751e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 84 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 145 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 945 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2005 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7607 KiB 14 MiB MLMG::prepareForSolve() 660 660 3246 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 160 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1663 B 2048 KiB Gravity::solve_for_phi() 80 80 513 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 296 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 188 KiB 671 KiB Castro::estTimeStep() 21 21 2777 B 480 KiB VisMF::Write(FabArray) 656 656 3118 B 320 KiB Castro::normalize_species() 62 62 6588 B 320 KiB amrex::average_down 1067 1067 1173 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1054 B 257 KiB amrex::Dot() 1360 1360 3129 B 160 KiB FabArray::norminf() 907 907 2190 B 160 KiB check_for_negative_density() 10 10 313 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3173 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8866 8866 204 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 109 B 1472 B MLCellLinOp::defineBC() 66 66 334 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 531 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 582 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3173 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4433 4433 202 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3857 B 6144 B Gravity::get_new_grav_vector() 3 3 2919 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 2880 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 270 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-27-gb523c3297d00) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-27-gb523c3297d00) initialized Starting run at 08:34:55 UTC on 2023-07-19. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-27-gb523c3297 Microphysics git describe: 23.07-34-g0ef8cc66 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515433938 Restart time = 0.044572695 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051663325 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.065031137 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.086129912 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.072774824 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.053634124 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.048620744 seconds Ending run at 08:34:55 UTC on 2023-07-19. Run time = 0.423421438 Run time without initialization = 0.378261673 Average number of zones advanced per microsecond: 3.465 Average number of zones advanced per microsecond per rank: 3.465 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4234 ... 0.4234 ... 0.4234 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1427 0.1427 0.1427 33.71% VisMF::Read() 3 0.03842 0.03842 0.03842 9.07% MLCellLinOp::applyBC() 1946 0.03325 0.03325 0.03325 7.85% VisMF::Write(FabArray) 1 0.03199 0.03199 0.03199 7.55% Amr::writePlotFile() 1 0.01646 0.01646 0.01646 3.89% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.27% StateData::FillBoundary(geom) 160 0.01272 0.01272 0.01272 3.00% FillBoundary_nowait() 1766 0.01264 0.01264 0.01264 2.98% Castro::normalize_species() 30 0.01014 0.01014 0.01014 2.39% amrex::Dot() 484 0.008838 0.008838 0.008838 2.09% amrex::Copy() 463 0.006938 0.006938 0.006938 1.64% Castro::computeTemp() 30 0.006873 0.006873 0.006873 1.62% FabArray::setVal() 537 0.006208 0.006208 0.006208 1.47% FabArray::norminf() 326 0.006194 0.006194 0.006194 1.46% FabArray::ParallelCopy_nowait() 380 0.006033 0.006033 0.006033 1.42% StateDataPhysBCFunct::() 20 0.00566 0.00566 0.00566 1.34% Castro::enforce_min_density() 30 0.005422 0.005422 0.005422 1.28% MLCellLinOp::defineAuxData() 6 0.005184 0.005184 0.005184 1.22% MLPoisson::Fapply() 500 0.004394 0.004394 0.004394 1.04% FabArray::Saxpy() 355 0.00362 0.00362 0.00362 0.85% Gravity::fill_multipole_BCs() 6 0.003563 0.003563 0.003563 0.84% FabArray::Xpay() 361 0.003506 0.003506 0.003506 0.83% Castro::estTimeStep() 10 0.00342 0.00342 0.00342 0.81% MLMG::addInterpCorrection() 180 0.002925 0.002925 0.002925 0.69% amrex::average_down 180 0.002574 0.002574 0.002574 0.61% Amr::restart() 1 0.002472 0.002472 0.002472 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002119 0.002119 0.002119 0.50% BndryData::define() 6 0.002031 0.002031 0.002031 0.48% FabArray::LinComb() 242 0.001906 0.001906 0.001906 0.45% amrex::Add() 72 0.001842 0.001842 0.001842 0.44% Castro::construct_new_gravity_source() 5 0.001621 0.001621 0.001621 0.38% Castro::construct_old_gravity_source() 5 0.001375 0.001375 0.001375 0.32% Castro::subcycle_advance_ctu() 5 0.00128 0.00128 0.00128 0.30% MLCGSolver::bicgstab 36 0.0009318 0.0009318 0.0009318 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008897 0.0008897 0.0008897 0.21% check_for_negative_density() 5 0.0008067 0.0008067 0.0008067 0.19% Castro::reset_internal_energy(Fab) 240 0.0007756 0.0007756 0.0007756 0.18% Gravity::actual_solve_with_mlmg() 6 0.0007729 0.0007729 0.0007729 0.18% MLCellLinOp::setLevelBC() 6 0.0007424 0.0007424 0.0007424 0.18% FabArray::setDomainBndry() 20 0.0006524 0.0006524 0.0006524 0.15% FabArray::mult() 22 0.0006467 0.0006467 0.0006467 0.15% MLCellLinOp::prepareForSolve() 6 0.0006083 0.0006083 0.0006083 0.14% MultiFab::contains_nan() 10 0.0005847 0.0005847 0.0005847 0.14% MLCellLinOp::smooth() 720 0.0005231 0.0005231 0.0005231 0.12% MLCellLinOp::compGrad() 6 0.0004817 0.0004817 0.0004817 0.11% Castro::enforce_speed_limit() 30 0.0004801 0.0004801 0.0004801 0.11% MLMG::prepareForSolve() 6 0.00047 0.00047 0.00047 0.11% FabArrayBase::CPC::define() 244 0.0004126 0.0004126 0.0004126 0.10% Amr::InitAmr() 1 0.000404 0.000404 0.000404 0.10% FabArray::FillBoundary() 1766 0.0003866 0.0003866 0.0003866 0.09% FabArrayBase::getCPC() 632 0.0003595 0.0003595 0.0003595 0.08% main() 1 0.0002756 0.0002756 0.0002756 0.07% FabArrayBase::getFB() 1766 0.0002641 0.0002641 0.0002641 0.06% Gravity::get_old_grav_vector() 5 0.0002636 0.0002636 0.0002636 0.06% Gravity::get_new_grav_vector() 5 0.0002301 0.0002301 0.0002301 0.05% MLCellLinOp::apply() 500 0.0001918 0.0001918 0.0001918 0.05% Amr::coarseTimeStep() 5 0.0001717 0.0001717 0.0001717 0.04% AmrLevel::FillPatch() 20 0.0001611 0.0001611 0.0001611 0.04% MLMG::mgVcycle() 36 0.000157 0.000157 0.000157 0.04% MLLinOp::defineGrids() 6 0.0001385 0.0001385 0.0001385 0.03% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLCGSolver::ParallelAllReduce 659 0.0001229 0.0001229 0.0001229 0.03% MLCellLinOp::defineBC() 6 0.0001083 0.0001083 0.0001083 0.03% Castro::do_new_sources() 5 0.0001072 0.0001072 0.0001072 0.03% Castro::construct_new_source() 25 0.0001055 0.0001055 0.0001055 0.02% FillPatchIterator::Initialize 20 0.0001049 0.0001049 0.0001049 0.02% FabArray::ParallelCopy() 380 0.000104 0.000104 0.000104 0.02% MLCellLinOp::correctionResidual() 216 9.021e-05 9.021e-05 9.021e-05 0.02% Amr::timeStep() 5 8.01e-05 8.01e-05 8.01e-05 0.02% AmrLevel::restart() 1 7.273e-05 7.273e-05 7.273e-05 0.02% Castro::create_source_corrector() 5 6.887e-05 6.887e-05 6.887e-05 0.02% Castro::finalize_do_advance() 5 6.877e-05 6.877e-05 6.877e-05 0.02% Gravity::update_max_rhs() 6 6.426e-05 6.426e-05 6.426e-05 0.02% StateData::restartDoit() 4 6.217e-05 6.217e-05 6.217e-05 0.01% FabArrayBase::FB::FB() 26 5.845e-05 5.845e-05 5.845e-05 0.01% Gravity::solve_for_phi() 5 5.718e-05 5.718e-05 5.718e-05 0.01% MLMG:computeResOfCorrection() 180 5.383e-05 5.383e-05 5.383e-05 0.01% MLMG::actualBottomSolve() 36 4.085e-05 4.085e-05 4.085e-05 0.01% MLMG::mgVcycle_down::0 36 3.833e-05 3.833e-05 3.833e-05 0.01% MLMG::mgVcycle_down::1 36 3.686e-05 3.686e-05 3.686e-05 0.01% Castro::advance() 5 3.618e-05 3.618e-05 3.618e-05 0.01% MLMG::mgVcycle_down::2 36 3.472e-05 3.472e-05 3.472e-05 0.01% MLMG::mgVcycle_down::4 36 3.463e-05 3.463e-05 3.463e-05 0.01% Castro::initialize_advance() 5 3.403e-05 3.403e-05 3.403e-05 0.01% MLMG::mgVcycle_down::3 36 3.39e-05 3.39e-05 3.39e-05 0.01% MLMG::solve() 6 3.234e-05 3.234e-05 3.234e-05 0.01% Castro::finalize_advance() 5 3.197e-05 3.197e-05 3.197e-05 0.01% Castro::clean_state() 30 3.106e-05 3.106e-05 3.106e-05 0.01% MLMG::mgVcycle_up::4 36 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::initialize_do_advance() 5 2.859e-05 2.859e-05 2.859e-05 0.01% Castro::initMFs() 1 2.642e-05 2.642e-05 2.642e-05 0.01% Castro::buildMetrics() 1 2.599e-05 2.599e-05 2.599e-05 0.01% Amr::writeSmallPlotFile() 1 2.478e-05 2.478e-05 2.478e-05 0.01% MLMG::oneIter() 36 2.395e-05 2.395e-05 2.395e-05 0.01% Castro::do_advance_ctu() 5 2.39e-05 2.39e-05 2.39e-05 0.01% MLMG::mgVcycle_up::0 36 2.36e-05 2.36e-05 2.36e-05 0.01% MLMG::mgVcycle_up::3 36 2.317e-05 2.317e-05 2.317e-05 0.01% MLMG::mgVcycle_up::2 36 2.308e-05 2.308e-05 2.308e-05 0.01% MLMG::mgVcycle_up::1 36 2.254e-05 2.254e-05 2.254e-05 0.01% Castro::swap_state_time_levels() 5 2.253e-05 2.253e-05 2.253e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.223e-05 2.223e-05 2.223e-05 0.01% MLCellLinOp::solutionResidual() 42 2.027e-05 2.027e-05 2.027e-05 0.00% Castro::post_restart() 1 1.894e-05 1.894e-05 1.894e-05 0.00% MLPoisson::define() 6 1.841e-05 1.841e-05 1.841e-05 0.00% MLMG::ResNormInf() 42 1.659e-05 1.659e-05 1.659e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.569e-05 1.569e-05 1.569e-05 0.00% FillPatchSingleLevel 20 1.546e-05 1.546e-05 1.546e-05 0.00% MLMG::mgVcycle_bottom 36 1.368e-05 1.368e-05 1.368e-05 0.00% MLMG::computeResidual() 36 1.324e-05 1.324e-05 1.324e-05 0.00% makeSFC 30 1.271e-05 1.271e-05 1.271e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.197e-05 1.197e-05 1.197e-05 0.00% Castro::construct_new_gravity() 5 1.188e-05 1.188e-05 1.188e-05 0.00% Castro::do_old_sources() 5 1.126e-05 1.126e-05 1.126e-05 0.00% Castro::construct_old_source() 25 9.894e-06 9.894e-06 9.894e-06 0.00% MLLinOp::define() 6 9.887e-06 9.887e-06 9.887e-06 0.00% DistributionMapping::Distribute() 31 8.563e-06 8.563e-06 8.563e-06 0.00% Amr::initSubcycle() 1 8.51e-06 8.51e-06 8.51e-06 0.00% Gravity::actual_multilevel_solve() 1 7.54e-06 7.54e-06 7.54e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.978e-06 6.978e-06 6.978e-06 0.00% Castro::construct_old_gravity() 5 5.864e-06 5.864e-06 5.864e-06 0.00% Castro::check_for_nan() 10 5.391e-06 5.391e-06 5.391e-06 0.00% Castro::apply_source_to_state() 10 5.342e-06 5.342e-06 5.342e-06 0.00% Castro::post_timestep() 5 4.779e-06 4.779e-06 4.779e-06 0.00% MLPoisson::prepareForSolve() 6 4.057e-06 4.057e-06 4.057e-06 0.00% Gravity::swapTimeLevels() 5 3.775e-06 3.775e-06 3.775e-06 0.00% MLMG::computeMLResidual() 6 3.522e-06 3.522e-06 3.522e-06 0.00% Castro::computeNewDt() 5 3.13e-06 3.13e-06 3.13e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.091e-06 3.091e-06 3.091e-06 0.00% MLMG::getGradSolution() 6 2.858e-06 2.858e-06 2.858e-06 0.00% Castro::expand_state() 5 2.396e-06 2.396e-06 2.396e-06 0.00% MLMG::MLResNormInf() 6 2.147e-06 2.147e-06 2.147e-06 0.00% MLMG::MLRhsNormInf() 6 2.094e-06 2.094e-06 2.094e-06 0.00% Castro::retry_advance_ctu() 5 1.97e-06 1.97e-06 1.97e-06 0.00% Gravity::set_mass_offset() 6 1.867e-06 1.867e-06 1.867e-06 0.00% Castro::FluxRegCrseInit 5 1.361e-06 1.361e-06 1.361e-06 0.00% Castro::FluxRegFineAdd() 5 1.228e-06 1.228e-06 1.228e-06 0.00% Amr::init() 1 1.126e-06 1.126e-06 1.126e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.85e-07 9.85e-07 9.85e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4234 0.4234 0.4234 100.00% Amr::coarseTimeStep() 5 0.3294 0.3294 0.3294 77.79% Amr::timeStep() 5 0.3273 0.3273 0.3273 77.30% Castro::advance() 5 0.3232 0.3232 0.3232 76.33% Castro::subcycle_advance_ctu() 5 0.3165 0.3165 0.3165 74.74% Castro::do_advance_ctu() 5 0.3152 0.3152 0.3152 74.44% Castro::construct_ctu_hydro_source() 5 0.1479 0.1479 0.1479 34.94% Castro::construct_new_gravity() 5 0.1303 0.1303 0.1303 30.78% Gravity::solve_phi_with_mlmg() 6 0.1248 0.1248 0.1248 29.47% Gravity::solve_for_phi() 5 0.1218 0.1218 0.1218 28.76% Gravity::actual_solve_with_mlmg() 6 0.121 0.121 0.121 28.57% MLMG::solve() 6 0.1099 0.1099 0.1099 25.96% MLMG::oneIter() 36 0.1032 0.1032 0.1032 24.36% MLMG::mgVcycle() 36 0.1016 0.1016 0.1016 24.00% MLCellLinOp::smooth() 720 0.04974 0.04974 0.04974 11.75% Amr::writePlotFile() 1 0.04871 0.04871 0.04871 11.50% MLCellLinOp::applyBC() 1946 0.04659 0.04659 0.04659 11.00% Amr::init() 1 0.04461 0.04461 0.04461 10.54% Amr::restart() 1 0.04461 0.04461 0.04461 10.54% AmrLevel::restart() 1 0.03862 0.03862 0.03862 9.12% StateData::restartDoit() 4 0.03854 0.03854 0.03854 9.10% VisMF::Read() 3 0.03842 0.03842 0.03842 9.07% VisMF::Write(FabArray) 1 0.03199 0.03199 0.03199 7.55% MLMG::mgVcycle_bottom 36 0.03152 0.03152 0.03152 7.44% MLMG::actualBottomSolve() 36 0.0315 0.0315 0.0315 7.44% MLCGSolver::bicgstab 36 0.0312 0.0312 0.0312 7.37% Castro::clean_state() 30 0.02584 0.02584 0.02584 6.10% AmrLevel::FillPatch() 20 0.02325 0.02325 0.02325 5.49% FillPatchIterator::Initialize 20 0.02121 0.02121 0.02121 5.01% FillPatchIterator::FillFromLevel0() 20 0.02045 0.02045 0.02045 4.83% FillPatchSingleLevel 20 0.02043 0.02043 0.02043 4.82% StateDataPhysBCFunct::() 20 0.01837 0.01837 0.01837 4.34% MLCellLinOp::apply() 500 0.01554 0.01554 0.01554 3.67% MLMG::mgVcycle_down::0 36 0.01428 0.01428 0.01428 3.37% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.27% FabArray::FillBoundary() 1766 0.01335 0.01335 0.01335 3.15% FillBoundary_nowait() 1766 0.01296 0.01296 0.01296 3.06% StateData::FillBoundary(geom) 160 0.01272 0.01272 0.01272 3.00% MLMG::mgVcycle_up::0 36 0.01077 0.01077 0.01077 2.54% Castro::do_old_sources() 5 0.01068 0.01068 0.01068 2.52% Castro::normalize_species() 30 0.01014 0.01014 0.01014 2.39% Castro::initialize_do_advance() 5 0.01008 0.01008 0.01008 2.38% Castro::computeTemp() 30 0.009768 0.009768 0.009768 2.31% MLCellLinOp::correctionResidual() 216 0.009477 0.009477 0.009477 2.24% amrex::Dot() 484 0.008838 0.008838 0.008838 2.09% MLPoisson::define() 6 0.008783 0.008783 0.008783 2.07% Gravity::get_new_grav_vector() 5 0.008456 0.008456 0.008456 2.00% MLMG:computeResOfCorrection() 180 0.008342 0.008342 0.008342 1.97% Castro::construct_old_gravity() 5 0.007937 0.007937 0.007937 1.87% Gravity::get_old_grav_vector() 5 0.007931 0.007931 0.007931 1.87% amrex::Copy() 463 0.006938 0.006938 0.006938 1.64% MLMG::mgVcycle_down::1 36 0.006782 0.006782 0.006782 1.60% FabArray::ParallelCopy() 380 0.006533 0.006533 0.006533 1.54% FabArray::ParallelCopy_nowait() 380 0.006429 0.006429 0.006429 1.52% Castro::initialize_advance() 5 0.006402 0.006402 0.006402 1.51% MLMG::mgVcycle_down::2 36 0.00638 0.00638 0.00638 1.51% MLMG::mgVcycle_down::3 36 0.006215 0.006215 0.006215 1.47% FabArray::setVal() 537 0.006208 0.006208 0.006208 1.47% FabArray::norminf() 326 0.006194 0.006194 0.006194 1.46% Castro::do_new_sources() 5 0.006141 0.006141 0.006141 1.45% MLMG::mgVcycle_down::4 36 0.006119 0.006119 0.006119 1.44% MLCellLinOp::defineAuxData() 6 0.005896 0.005896 0.005896 1.39% Castro::enforce_min_density() 30 0.005422 0.005422 0.005422 1.28% MLCGSolver::ParallelAllReduce 659 0.005314 0.005314 0.005314 1.25% Castro::expand_state() 5 0.005212 0.005212 0.005212 1.23% MLMG::addInterpCorrection() 180 0.005146 0.005146 0.005146 1.22% MLMG::mgVcycle_up::1 36 0.004928 0.004928 0.004928 1.16% MLMG::mgVcycle_up::4 36 0.004921 0.004921 0.004921 1.16% amrex::average_down 180 0.00485 0.00485 0.00485 1.15% MLMG::mgVcycle_up::2 36 0.004833 0.004833 0.004833 1.14% MLMG::mgVcycle_up::3 36 0.004721 0.004721 0.004721 1.11% MLPoisson::Fapply() 500 0.004394 0.004394 0.004394 1.04% Castro::post_timestep() 5 0.004031 0.004031 0.004031 0.95% Gravity::fill_multipole_BCs() 6 0.003683 0.003683 0.003683 0.87% FabArray::Saxpy() 355 0.00362 0.00362 0.00362 0.85% FabArray::Xpay() 361 0.003506 0.003506 0.003506 0.83% Castro::estTimeStep() 10 0.00342 0.00342 0.00342 0.81% Castro::post_restart() 1 0.003356 0.003356 0.003356 0.79% Gravity::multilevel_solve_for_new_phi() 1 0.003245 0.003245 0.003245 0.77% Gravity::actual_multilevel_solve() 1 0.003229 0.003229 0.003229 0.76% MLCellLinOp::solutionResidual() 42 0.003175 0.003175 0.003175 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002895 0.002895 0.002895 0.68% MLCellLinOp::defineBC() 6 0.002693 0.002693 0.002693 0.64% MLMG::computeResidual() 36 0.002629 0.002629 0.002629 0.62% BndryData::define() 6 0.002584 0.002584 0.002584 0.61% MLMG::prepareForSolve() 6 0.002506 0.002506 0.002506 0.59% FabArray::LinComb() 242 0.001906 0.001906 0.001906 0.45% Castro::computeNewDt() 5 0.001889 0.001889 0.001889 0.45% amrex::Add() 72 0.001842 0.001842 0.001842 0.44% Castro::construct_new_source() 25 0.001726 0.001726 0.001726 0.41% Castro::construct_new_gravity_source() 5 0.001621 0.001621 0.001621 0.38% Castro::finalize_do_advance() 5 0.001603 0.001603 0.001603 0.38% Castro::construct_old_source() 25 0.001385 0.001385 0.001385 0.33% Castro::construct_old_gravity_source() 5 0.001375 0.001375 0.001375 0.32% MLMG::ResNormInf() 42 0.0009342 0.0009342 0.0009342 0.22% Castro::apply_source_to_state() 10 0.0009196 0.0009196 0.0009196 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008897 0.0008897 0.0008897 0.21% check_for_negative_density() 5 0.0008067 0.0008067 0.0008067 0.19% Castro::reset_internal_energy(Fab) 240 0.0007756 0.0007756 0.0007756 0.18% FabArrayBase::getCPC() 632 0.0007721 0.0007721 0.0007721 0.18% MLMG::getGradSolution() 6 0.0007443 0.0007443 0.0007443 0.18% MLCellLinOp::setLevelBC() 6 0.0007424 0.0007424 0.0007424 0.18% MLCellLinOp::compGrad() 6 0.0007415 0.0007415 0.0007415 0.18% FabArray::setDomainBndry() 20 0.0006524 0.0006524 0.0006524 0.15% FabArray::mult() 22 0.0006467 0.0006467 0.0006467 0.15% MLPoisson::prepareForSolve() 6 0.0006123 0.0006123 0.0006123 0.14% MLCellLinOp::prepareForSolve() 6 0.0006083 0.0006083 0.0006083 0.14% Castro::check_for_nan() 10 0.0005901 0.0005901 0.0005901 0.14% MultiFab::contains_nan() 10 0.0005847 0.0005847 0.0005847 0.14% MLMG::computeMLResidual() 6 0.0005621 0.0005621 0.0005621 0.13% Castro::enforce_speed_limit() 30 0.0004801 0.0004801 0.0004801 0.11% Gravity::update_max_rhs() 6 0.000444 0.000444 0.000444 0.10% FabArrayBase::CPC::define() 244 0.0004126 0.0004126 0.0004126 0.10% Amr::InitAmr() 1 0.0004125 0.0004125 0.0004125 0.10% FabArrayBase::getFB() 1766 0.0003225 0.0003225 0.0003225 0.08% Castro::finalize_advance() 5 0.0002891 0.0002891 0.0002891 0.07% Gravity::swapTimeLevels() 5 0.0002215 0.0002215 0.0002215 0.05% MLLinOp::define() 6 0.0001762 0.0001762 0.0001762 0.04% MLLinOp::defineGrids() 6 0.0001663 0.0001663 0.0001663 0.04% MLMG::MLResNormInf() 6 0.0001498 0.0001498 0.0001498 0.04% Castro::buildMetrics() 1 0.0001439 0.0001439 0.0001439 0.03% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLMG::MLRhsNormInf() 6 0.0001167 0.0001167 0.0001167 0.03% Castro::create_source_corrector() 5 6.887e-05 6.887e-05 6.887e-05 0.02% FabArrayBase::FB::FB() 26 5.845e-05 5.845e-05 5.845e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.682e-05 2.682e-05 2.682e-05 0.01% Castro::initMFs() 1 2.642e-05 2.642e-05 2.642e-05 0.01% Amr::writeSmallPlotFile() 1 2.478e-05 2.478e-05 2.478e-05 0.01% Castro::swap_state_time_levels() 5 2.253e-05 2.253e-05 2.253e-05 0.01% makeSFC 30 1.984e-05 1.984e-05 1.984e-05 0.00% DistributionMapping::Distribute() 31 8.563e-06 8.563e-06 8.563e-06 0.00% Amr::initSubcycle() 1 8.51e-06 8.51e-06 8.51e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.527e-06 4.527e-06 4.527e-06 0.00% Castro::retry_advance_ctu() 5 1.97e-06 1.97e-06 1.97e-06 0.00% Gravity::set_mass_offset() 6 1.867e-06 1.867e-06 1.867e-06 0.00% Castro::FluxRegCrseInit 5 1.361e-06 1.361e-06 1.361e-06 0.00% Castro::FluxRegFineAdd() 5 1.228e-06 1.228e-06 1.228e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.85e-07 9.85e-07 9.85e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 192 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 148 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1036 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2225 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6825 KiB 14 MiB MLMG::prepareForSolve() 361 361 3188 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 204 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6821 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2032 B 2048 KiB Gravity::solve_for_phi() 40 40 587 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 293 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3831 B 480 KiB VisMF::Write(FabArray) 112 112 1176 B 320 KiB Castro::normalize_species() 30 30 7798 B 320 KiB amrex::average_down 469 469 1137 B 257 KiB MLMG::addInterpCorrection() 468 468 1048 B 257 KiB amrex::Dot() 592 592 3075 B 160 KiB FabArray::norminf() 398 398 2156 B 160 KiB check_for_negative_density() 5 5 301 B 160 KiB MultiFab::max() 6 6 49 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 3101 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3892 3892 204 B 9344 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 49 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 107 B 1472 B MLCellLinOp::defineBC() 36 36 329 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1216 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 103 KiB 8192 KiB VisMF::Write(FabArray) 120 120 234 KiB 3584 KiB VisMF::Read() 24 24 177 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3101 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 1946 1946 202 B 9328 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2703 B 3072 B Gravity::fill_multipole_BCs() 18 18 3 B 2832 B StateData::FillBoundary(geom) 960 960 50 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 509 B 1296 B amrex::average_down 37 37 228 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 15 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-27-gb523c3297d00) finalized