Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-31-g6a85487dce1b) initialized Starting run at 08:25:12 UTC on 2023-04-25. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-31-g6a85487dc Microphysics git describe: 23.04-5-g55ce5a0f 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.059787732 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034014296 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046371519 [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 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.048733898 [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 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.049383266 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.068589403 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.070282547 [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.060367158 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.071458024 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.054860201 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056143747 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058186157 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072563334 [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.059410055 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034281738 seconds Ending run at 08:25:13 UTC on 2023-04-25. Run time = 0.894155429 Run time without initialization = 0.751313458 Average number of zones advanced per microsecond: 3.489 Average number of zones advanced per microsecond per rank: 3.489 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8942 ... 0.8942 ... 0.8942 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2406 0.2406 0.2406 26.91% Castro::construct_ctu_hydro_source() 10 0.2267 0.2267 0.2267 25.35% MLCellLinOp::applyBC() 4433 0.08409 0.08409 0.08409 9.40% MLPoisson::Fsmooth() 3280 0.03261 0.03261 0.03261 3.65% FillBoundary_nowait() 4023 0.03122 0.03122 0.03122 3.49% StateData::FillBoundary(geom) 328 0.02514 0.02514 0.02514 2.81% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.32% amrex::Copy() 1029 0.01498 0.01498 0.01498 1.68% Castro::enforce_min_density() 62 0.01496 0.01496 0.01496 1.67% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.66% FabArray::norminf() 743 0.01456 0.01456 0.01456 1.63% Castro::computeTemp() 63 0.01361 0.01361 0.01361 1.52% FabArray::ParallelCopy_nowait() 861 0.01345 0.01345 0.01345 1.50% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.47% StateDataPhysBCFunct::() 41 0.01094 0.01094 0.01094 1.22% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.16% MLCellLinOp::defineAuxData() 11 0.01002 0.01002 0.01002 1.12% FabArray::Saxpy() 813 0.00829 0.00829 0.00829 0.93% FabArray::Xpay() 821 0.008104 0.008104 0.008104 0.91% MLMG::addInterpCorrection() 410 0.006682 0.006682 0.006682 0.75% Gravity::fill_multipole_BCs() 11 0.006649 0.006649 0.006649 0.74% amrex::average_down 410 0.006013 0.006013 0.006013 0.67% Amr::checkPoint() 3 0.004667 0.004667 0.004667 0.52% FabArray::LinComb() 557 0.004565 0.004565 0.004565 0.51% Castro::estTimeStep() 21 0.004447 0.004447 0.004447 0.50% amrex::Add() 164 0.00441 0.00441 0.00441 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004084 0.004084 0.004084 0.46% BndryData::define() 11 0.003733 0.003733 0.003733 0.42% Castro::do_advance_ctu() 10 0.003333 0.003333 0.003333 0.37% Castro::construct_new_gravity_source() 10 0.002973 0.002973 0.002973 0.33% Castro::construct_old_gravity_source() 10 0.002328 0.002328 0.002328 0.26% MLCGSolver::bicgstab 82 0.002181 0.002181 0.002181 0.24% Amr::writePlotFile() 2 0.002133 0.002133 0.002133 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001733 0.001733 0.001733 0.19% Castro::reset_internal_energy(Fab) 504 0.001568 0.001568 0.001568 0.18% Gravity::actual_solve_with_mlmg() 11 0.001497 0.001497 0.001497 0.17% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.16% FabArray::mult() 43 0.001331 0.001331 0.001331 0.15% Castro::initData() 1 0.001325 0.001325 0.001325 0.15% FabArray::setDomainBndry() 41 0.001299 0.001299 0.001299 0.15% MultiFab::contains_nan() 20 0.001212 0.001212 0.001212 0.14% MLCellLinOp::prepareForSolve() 11 0.001156 0.001156 0.001156 0.13% Castro::enforce_speed_limit() 62 0.001071 0.001071 0.001071 0.12% MLCellLinOp::smooth() 1640 0.000988 0.000988 0.000988 0.11% MLCellLinOp::compGrad() 11 0.0009496 0.0009496 0.0009496 0.11% MLMG::prepareForSolve() 11 0.0008861 0.0008861 0.0008861 0.10% FabArray::FillBoundary() 4023 0.0008126 0.0008126 0.0008126 0.09% FabArrayBase::getCPC() 1323 0.0007518 0.0007518 0.0007518 0.08% FabArrayBase::CPC::define() 454 0.000691 0.000691 0.000691 0.08% Gravity::get_new_grav_vector() 11 0.0006434 0.0006434 0.0006434 0.07% FabArrayBase::getFB() 4023 0.0005826 0.0005826 0.0005826 0.07% Gravity::get_old_grav_vector() 10 0.0005641 0.0005641 0.0005641 0.06% Amr::InitAmr() 1 0.0004809 0.0004809 0.0004809 0.05% MLCellLinOp::apply() 1142 0.0004302 0.0004302 0.0004302 0.05% MLLinOp::defineGrids() 11 0.0004219 0.0004219 0.0004219 0.05% Amr::coarseTimeStep() 10 0.0003435 0.0003435 0.0003435 0.04% MLMG::mgVcycle() 82 0.0003409 0.0003409 0.0003409 0.04% main() 1 0.0003051 0.0003051 0.0003051 0.03% MLCGSolver::ParallelAllReduce 1514 0.000292 0.000292 0.000292 0.03% MultiFab::max() 11 0.0002711 0.0002711 0.0002711 0.03% FillPatchIterator::Initialize 41 0.0002399 0.0002399 0.0002399 0.03% FabArray::ParallelCopy() 861 0.0002352 0.0002352 0.0002352 0.03% MLCellLinOp::correctionResidual() 492 0.0002165 0.0002165 0.0002165 0.02% MLCellLinOp::defineBC() 11 0.0002148 0.0002148 0.0002148 0.02% Castro::create_source_corrector() 10 0.0001873 0.0001873 0.0001873 0.02% Amr::timeStep() 10 0.0001538 0.0001538 0.0001538 0.02% Castro::subcycle_advance_ctu() 10 0.0001445 0.0001445 0.0001445 0.02% StateData::checkPoint() 12 0.0001392 0.0001392 0.0001392 0.02% MLMG:computeResOfCorrection() 410 0.0001219 0.0001219 0.0001219 0.01% Gravity::update_max_rhs() 11 0.0001218 0.0001218 0.0001218 0.01% Gravity::solve_for_phi() 10 0.0001166 0.0001166 0.0001166 0.01% FabArrayBase::FB::FB() 56 9.29e-05 9.29e-05 9.29e-05 0.01% Castro::advance() 10 9.058e-05 9.058e-05 9.058e-05 0.01% MLMG::actualBottomSolve() 82 8.592e-05 8.592e-05 8.592e-05 0.01% AmrLevel::checkPoint() 3 8.467e-05 8.467e-05 8.467e-05 0.01% Castro::Castro() 1 8.442e-05 8.442e-05 8.442e-05 0.01% MLMG::mgVcycle_down::0 82 8.377e-05 8.377e-05 8.377e-05 0.01% Castro::expand_state() 10 7.918e-05 7.918e-05 7.918e-05 0.01% MLMG::mgVcycle_down::2 82 7.537e-05 7.537e-05 7.537e-05 0.01% MLMG::mgVcycle_down::1 82 7.492e-05 7.492e-05 7.492e-05 0.01% MLMG::mgVcycle_down::4 82 7.449e-05 7.449e-05 7.449e-05 0.01% Castro::clean_state() 62 7.32e-05 7.32e-05 7.32e-05 0.01% Castro::initialize_advance() 10 7.123e-05 7.123e-05 7.123e-05 0.01% MLMG::mgVcycle_down::3 82 7.061e-05 7.061e-05 7.061e-05 0.01% MLMG::solve() 11 6.958e-05 6.958e-05 6.958e-05 0.01% Castro::finalize_advance() 10 6.323e-05 6.323e-05 6.323e-05 0.01% Castro::construct_new_source() 50 6.043e-05 6.043e-05 6.043e-05 0.01% MLMG::mgVcycle_up::4 82 5.942e-05 5.942e-05 5.942e-05 0.01% MLMG::oneIter() 82 5.475e-05 5.475e-05 5.475e-05 0.01% Castro::initialize_do_advance() 10 5.376e-05 5.376e-05 5.376e-05 0.01% MLMG::mgVcycle_up::3 82 5.291e-05 5.291e-05 5.291e-05 0.01% MLMG::mgVcycle_up::1 82 4.923e-05 4.923e-05 4.923e-05 0.01% MLCellLinOp::solutionResidual() 93 4.842e-05 4.842e-05 4.842e-05 0.01% MLMG::mgVcycle_up::2 82 4.713e-05 4.713e-05 4.713e-05 0.01% MLMG::mgVcycle_up::0 82 4.694e-05 4.694e-05 4.694e-05 0.01% Castro::swap_state_time_levels() 10 3.863e-05 3.863e-05 3.863e-05 0.00% Castro::finalize_do_advance() 10 3.804e-05 3.804e-05 3.804e-05 0.00% Castro::enforce_consistent_e() 1 3.44e-05 3.44e-05 3.44e-05 0.00% StateData::define() 4 3.391e-05 3.391e-05 3.391e-05 0.00% MLMG::ResNormInf() 93 3.388e-05 3.388e-05 3.388e-05 0.00% MLMG::mgVcycle_bottom 82 3.062e-05 3.062e-05 3.062e-05 0.00% FillPatchSingleLevel 41 3.03e-05 3.03e-05 3.03e-05 0.00% MLMG::computeResidual() 82 2.937e-05 2.937e-05 2.937e-05 0.00% Castro::construct_new_gravity() 10 2.778e-05 2.778e-05 2.778e-05 0.00% makeSFC 55 2.517e-05 2.517e-05 2.517e-05 0.00% Castro::initMFs() 1 2.427e-05 2.427e-05 2.427e-05 0.00% MLPoisson::define() 11 2.402e-05 2.402e-05 2.402e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.366e-05 2.366e-05 2.366e-05 0.00% Amr::writeSmallPlotFile() 1 2.356e-05 2.356e-05 2.356e-05 0.00% Amr::FinalizeInit() 1 2.06e-05 2.06e-05 2.06e-05 0.00% Amr::defBaseLevel() 1 1.979e-05 1.979e-05 1.979e-05 0.00% Castro::construct_old_source() 50 1.738e-05 1.738e-05 1.738e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.685e-05 1.685e-05 1.685e-05 0.00% Castro::buildMetrics() 1 1.675e-05 1.675e-05 1.675e-05 0.00% Castro::do_new_sources() 10 1.605e-05 1.605e-05 1.605e-05 0.00% DistributionMapping::Distribute() 56 1.559e-05 1.559e-05 1.559e-05 0.00% Castro::do_old_sources() 10 1.516e-05 1.516e-05 1.516e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.424e-05 1.424e-05 1.424e-05 0.00% MLPoisson::prepareForSolve() 11 1.349e-05 1.349e-05 1.349e-05 0.00% MLMG::computeMLResidual() 11 1.341e-05 1.341e-05 1.341e-05 0.00% MLLinOp::define() 11 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::check_for_nan() 20 1.093e-05 1.093e-05 1.093e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.002e-05 1.002e-05 1.002e-05 0.00% Castro::construct_old_gravity() 10 9.58e-06 9.58e-06 9.58e-06 0.00% Castro::apply_source_to_state() 20 9.51e-06 9.51e-06 9.51e-06 0.00% Gravity::actual_multilevel_solve() 1 8.74e-06 8.74e-06 8.74e-06 0.00% Gravity::swapTimeLevels() 10 8.679e-06 8.679e-06 8.679e-06 0.00% Amr::initSubcycle() 1 8.312e-06 8.312e-06 8.312e-06 0.00% Castro::post_timestep() 10 7.647e-06 7.647e-06 7.647e-06 0.00% Castro::computeNewDt() 9 6.606e-06 6.606e-06 6.606e-06 0.00% MLMG::getGradSolution() 11 5.585e-06 5.585e-06 5.585e-06 0.00% Amr::InitializeInit() 1 4.721e-06 4.721e-06 4.721e-06 0.00% AmrLevel::checkPointPost() 3 4.52e-06 4.52e-06 4.52e-06 0.00% Gravity::set_mass_offset() 11 4.118e-06 4.118e-06 4.118e-06 0.00% Castro::retry_advance_ctu() 10 3.906e-06 3.906e-06 3.906e-06 0.00% MLMG::MLRhsNormInf() 11 3.887e-06 3.887e-06 3.887e-06 0.00% MLMG::MLResNormInf() 11 3.812e-06 3.812e-06 3.812e-06 0.00% Castro::post_init() 1 3.767e-06 3.767e-06 3.767e-06 0.00% Castro::computeInitialDt() 2 3.161e-06 3.161e-06 3.161e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.826e-06 2.826e-06 2.826e-06 0.00% Amr::init() 1 2.759e-06 2.759e-06 2.759e-06 0.00% Castro::FluxRegCrseInit 10 2.544e-06 2.544e-06 2.544e-06 0.00% AmrLevel::checkPointPre() 3 1.977e-06 1.977e-06 1.977e-06 0.00% Castro::FluxRegFineAdd() 10 1.916e-06 1.916e-06 1.916e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.883e-06 1.883e-06 1.883e-06 0.00% Castro::post_regrid() 1 9.68e-07 9.68e-07 9.68e-07 0.00% Amr::initialInit() 1 9.48e-07 9.48e-07 9.48e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8942 0.8942 0.8942 100.00% Amr::coarseTimeStep() 10 0.7168 0.7168 0.7168 80.16% Amr::timeStep() 10 0.5938 0.5938 0.5938 66.41% Castro::advance() 10 0.5847 0.5847 0.5847 65.38% Castro::subcycle_advance_ctu() 10 0.572 0.572 0.572 63.97% Castro::do_advance_ctu() 10 0.5719 0.5719 0.5719 63.96% Gravity::solve_phi_with_mlmg() 11 0.2924 0.2924 0.2924 32.70% Gravity::actual_solve_with_mlmg() 11 0.2852 0.2852 0.2852 31.90% Castro::construct_new_gravity() 10 0.2681 0.2681 0.2681 29.98% MLMG::solve() 11 0.2641 0.2641 0.2641 29.53% Gravity::solve_for_phi() 10 0.2521 0.2521 0.2521 28.19% MLMG::oneIter() 82 0.2497 0.2497 0.2497 27.92% MLMG::mgVcycle() 82 0.246 0.246 0.246 27.51% VisMF::Write(FabArray) 11 0.2406 0.2406 0.2406 26.91% Castro::construct_ctu_hydro_source() 10 0.2267 0.2267 0.2267 25.35% Amr::checkPoint() 3 0.1797 0.1797 0.1797 20.10% AmrLevel::checkPoint() 3 0.1751 0.1751 0.1751 19.58% StateData::checkPoint() 12 0.175 0.175 0.175 19.57% Amr::init() 1 0.1422 0.1422 0.1422 15.90% MLCellLinOp::smooth() 1640 0.1243 0.1243 0.1243 13.90% MLCellLinOp::applyBC() 4433 0.1168 0.1168 0.1168 13.06% MLMG::mgVcycle_bottom 82 0.07427 0.07427 0.07427 8.31% MLMG::actualBottomSolve() 82 0.07424 0.07424 0.07424 8.30% MLCGSolver::bicgstab 82 0.07354 0.07354 0.07354 8.22% Amr::writePlotFile() 2 0.06842 0.06842 0.06842 7.65% Castro::clean_state() 62 0.04948 0.04948 0.04948 5.53% Amr::initialInit() 1 0.0483 0.0483 0.0483 5.40% Amr::FinalizeInit() 1 0.04414 0.04414 0.04414 4.94% Castro::post_init() 1 0.04274 0.04274 0.04274 4.78% FillPatchIterator::Initialize 41 0.04172 0.04172 0.04172 4.67% Gravity::multilevel_solve_for_new_phi() 1 0.04078 0.04078 0.04078 4.56% Gravity::actual_multilevel_solve() 1 0.04076 0.04076 0.04076 4.56% FillPatchSingleLevel 41 0.04018 0.04018 0.04018 4.49% MLCellLinOp::apply() 1142 0.03644 0.03644 0.03644 4.08% StateDataPhysBCFunct::() 41 0.03608 0.03608 0.03608 4.04% MLMG::mgVcycle_down::0 82 0.0339 0.0339 0.0339 3.79% FabArray::FillBoundary() 4023 0.03271 0.03271 0.03271 3.66% MLPoisson::Fsmooth() 3280 0.03261 0.03261 0.03261 3.65% FillBoundary_nowait() 4023 0.0319 0.0319 0.0319 3.57% MLMG::mgVcycle_up::0 82 0.02577 0.02577 0.02577 2.88% StateData::FillBoundary(geom) 328 0.02514 0.02514 0.02514 2.81% MLCellLinOp::correctionResidual() 492 0.02233 0.02233 0.02233 2.50% MLMG::mgVcycle_down::2 82 0.0214 0.0214 0.0214 2.39% amrex::Dot() 1114 0.0207 0.0207 0.0207 2.32% MLMG:computeResOfCorrection() 410 0.01969 0.01969 0.01969 2.20% Castro::initialize_do_advance() 10 0.01926 0.01926 0.01926 2.15% Castro::computeTemp() 63 0.01926 0.01926 0.01926 2.15% Gravity::get_new_grav_vector() 11 0.01768 0.01768 0.01768 1.98% MLPoisson::define() 11 0.01685 0.01685 0.01685 1.88% MLMG::mgVcycle_down::1 82 0.01591 0.01591 0.01591 1.78% amrex::Copy() 1029 0.01498 0.01498 0.01498 1.68% Castro::enforce_min_density() 62 0.01496 0.01496 0.01496 1.67% Castro::construct_old_gravity() 10 0.01486 0.01486 0.01486 1.66% Gravity::get_old_grav_vector() 10 0.01485 0.01485 0.01485 1.66% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.66% FabArray::norminf() 743 0.01456 0.01456 0.01456 1.63% FabArray::ParallelCopy() 861 0.01449 0.01449 0.01449 1.62% MLMG::mgVcycle_down::3 82 0.01448 0.01448 0.01448 1.62% MLMG::mgVcycle_down::4 82 0.01432 0.01432 0.01432 1.60% FabArray::ParallelCopy_nowait() 861 0.01426 0.01426 0.01426 1.59% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.47% MLCGSolver::ParallelAllReduce 1514 0.0124 0.0124 0.0124 1.39% Castro::initialize_advance() 10 0.01194 0.01194 0.01194 1.33% MLMG::addInterpCorrection() 410 0.01186 0.01186 0.01186 1.33% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.30% MLMG::mgVcycle_up::4 82 0.01147 0.01147 0.01147 1.28% MLCellLinOp::defineAuxData() 11 0.01141 0.01141 0.01141 1.28% MLMG::mgVcycle_up::2 82 0.01132 0.01132 0.01132 1.27% Castro::do_new_sources() 10 0.01126 0.01126 0.01126 1.26% amrex::average_down 410 0.01126 0.01126 0.01126 1.26% Castro::do_old_sources() 10 0.01116 0.01116 0.01116 1.25% MLMG::mgVcycle_up::3 82 0.01111 0.01111 0.01111 1.24% Castro::expand_state() 10 0.01094 0.01094 0.01094 1.22% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.16% Castro::post_timestep() 10 0.008982 0.008982 0.008982 1.00% FabArray::Saxpy() 813 0.00829 0.00829 0.00829 0.93% FabArray::Xpay() 821 0.008104 0.008104 0.008104 0.91% MLCellLinOp::solutionResidual() 93 0.007192 0.007192 0.007192 0.80% Gravity::fill_multipole_BCs() 11 0.00694 0.00694 0.00694 0.78% MLMG::computeResidual() 82 0.006204 0.006204 0.006204 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005652 0.005652 0.005652 0.63% MLCellLinOp::defineBC() 11 0.00493 0.00493 0.00493 0.55% MLMG::prepareForSolve() 11 0.004747 0.004747 0.004747 0.53% BndryData::define() 11 0.004715 0.004715 0.004715 0.53% FabArray::LinComb() 557 0.004565 0.004565 0.004565 0.51% Castro::estTimeStep() 21 0.004447 0.004447 0.004447 0.50% amrex::Add() 164 0.00441 0.00441 0.00441 0.49% Amr::InitializeInit() 1 0.004157 0.004157 0.004157 0.46% Amr::defBaseLevel() 1 0.004152 0.004152 0.004152 0.46% Castro::initData() 1 0.003659 0.003659 0.003659 0.41% Castro::construct_new_source() 50 0.003033 0.003033 0.003033 0.34% Castro::construct_new_gravity_source() 10 0.002973 0.002973 0.002973 0.33% Castro::construct_old_source() 50 0.002345 0.002345 0.002345 0.26% Castro::construct_old_gravity_source() 10 0.002328 0.002328 0.002328 0.26% MLMG::ResNormInf() 93 0.002115 0.002115 0.002115 0.24% Castro::computeNewDt() 9 0.002054 0.002054 0.002054 0.23% Castro::apply_source_to_state() 20 0.001832 0.001832 0.001832 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001733 0.001733 0.001733 0.19% Castro::reset_internal_energy(Fab) 504 0.001568 0.001568 0.001568 0.18% FabArrayBase::getCPC() 1323 0.001443 0.001443 0.001443 0.16% MLMG::getGradSolution() 11 0.001432 0.001432 0.001432 0.16% MLCellLinOp::compGrad() 11 0.001426 0.001426 0.001426 0.16% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.16% FabArray::mult() 43 0.001331 0.001331 0.001331 0.15% FabArray::setDomainBndry() 41 0.001299 0.001299 0.001299 0.15% Castro::check_for_nan() 20 0.001223 0.001223 0.001223 0.14% MultiFab::contains_nan() 20 0.001212 0.001212 0.001212 0.14% MLPoisson::prepareForSolve() 11 0.00117 0.00117 0.00117 0.13% MLCellLinOp::prepareForSolve() 11 0.001156 0.001156 0.001156 0.13% Castro::post_regrid() 1 0.001147 0.001147 0.001147 0.13% Castro::enforce_speed_limit() 62 0.001071 0.001071 0.001071 0.12% MLMG::computeMLResidual() 11 0.00103 0.00103 0.00103 0.12% Castro::computeInitialDt() 2 0.0009352 0.0009352 0.0009352 0.10% Gravity::update_max_rhs() 11 0.0008426 0.0008426 0.0008426 0.09% FabArrayBase::CPC::define() 454 0.000691 0.000691 0.000691 0.08% FabArrayBase::getFB() 4023 0.0006755 0.0006755 0.0006755 0.08% Castro::finalize_advance() 10 0.0005861 0.0005861 0.0005861 0.07% Amr::InitAmr() 1 0.0004892 0.0004892 0.0004892 0.05% MLLinOp::define() 11 0.0004888 0.0004888 0.0004888 0.05% MLLinOp::defineGrids() 11 0.0004775 0.0004775 0.0004775 0.05% Gravity::swapTimeLevels() 10 0.0004372 0.0004372 0.0004372 0.05% Castro::Castro() 1 0.0004258 0.0004258 0.0004258 0.05% MLMG::MLResNormInf() 11 0.0002863 0.0002863 0.0002863 0.03% MultiFab::max() 11 0.0002711 0.0002711 0.0002711 0.03% MLMG::MLRhsNormInf() 11 0.0002218 0.0002218 0.0002218 0.02% Castro::create_source_corrector() 10 0.0001873 0.0001873 0.0001873 0.02% Castro::buildMetrics() 1 0.0001558 0.0001558 0.0001558 0.02% FabArrayBase::FB::FB() 56 9.29e-05 9.29e-05 9.29e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.378e-05 5.378e-05 5.378e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.393e-05 4.393e-05 4.393e-05 0.00% makeSFC 55 3.954e-05 3.954e-05 3.954e-05 0.00% Castro::swap_state_time_levels() 10 3.863e-05 3.863e-05 3.863e-05 0.00% Castro::finalize_do_advance() 10 3.804e-05 3.804e-05 3.804e-05 0.00% Castro::enforce_consistent_e() 1 3.44e-05 3.44e-05 3.44e-05 0.00% StateData::define() 4 3.391e-05 3.391e-05 3.391e-05 0.00% Castro::initMFs() 1 2.427e-05 2.427e-05 2.427e-05 0.00% Amr::writeSmallPlotFile() 1 2.356e-05 2.356e-05 2.356e-05 0.00% DistributionMapping::Distribute() 56 1.559e-05 1.559e-05 1.559e-05 0.00% Amr::initSubcycle() 1 8.312e-06 8.312e-06 8.312e-06 0.00% AmrLevel::checkPointPost() 3 4.52e-06 4.52e-06 4.52e-06 0.00% Gravity::set_mass_offset() 11 4.118e-06 4.118e-06 4.118e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.049e-06 4.049e-06 4.049e-06 0.00% Castro::retry_advance_ctu() 10 3.906e-06 3.906e-06 3.906e-06 0.00% Castro::FluxRegCrseInit 10 2.544e-06 2.544e-06 2.544e-06 0.00% AmrLevel::checkPointPre() 3 1.977e-06 1.977e-06 1.977e-06 0.00% Castro::FluxRegFineAdd() 10 1.916e-06 1.916e-06 1.916e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.883e-06 1.883e-06 1.883e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 121 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 983 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2160 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3634 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1805 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 2366 B 480 KiB VisMF::Write(FabArray) 656 656 3352 B 320 KiB Castro::normalize_species() 62 62 5400 B 320 KiB amrex::average_down 1067 1067 1253 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1146 B 257 KiB amrex::Dot() 1360 1360 3418 B 160 KiB FabArray::norminf() 907 907 2411 B 160 KiB Castro::do_advance_ctu() 10 10 566 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3554 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3871 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 119 B 1472 B MLCellLinOp::defineBC() 66 66 373 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 600 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 624 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3554 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3871 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 42 B 2592 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 302 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.04-31-g6a85487dce1b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-31-g6a85487dce1b) initialized Starting run at 08:25:14 UTC on 2023-04-25. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-31-g6a85487dc Microphysics git describe: 23.04-5-g55ce5a0f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.486579169 Restart time = 0.046327301 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049756979 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.04744728 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.056552597 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.059940829 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072429853 [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.033514583 seconds Ending run at 08:25:14 UTC on 2023-04-25. Run time = 0.367030795 Run time without initialization = 0.320101656 Average number of zones advanced per microsecond: 4.095 Average number of zones advanced per microsecond per rank: 4.095 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3671 ... 0.3671 ... 0.3671 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1051 0.1051 0.1051 28.62% VisMF::Read() 3 0.04004 0.04004 0.04004 10.91% MLCellLinOp::applyBC() 1946 0.03359 0.03359 0.03359 9.15% VisMF::Write(FabArray) 1 0.03209 0.03209 0.03209 8.74% MLPoisson::Fsmooth() 1440 0.01405 0.01405 0.01405 3.83% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 3.48% StateData::FillBoundary(geom) 160 0.01246 0.01246 0.01246 3.39% amrex::Dot() 484 0.008849 0.008849 0.008849 2.41% Castro::enforce_min_density() 30 0.007231 0.007231 0.007231 1.97% amrex::Copy() 463 0.006988 0.006988 0.006988 1.90% FabArray::setVal() 537 0.006267 0.006267 0.006267 1.71% FabArray::norminf() 326 0.006263 0.006263 0.006263 1.71% FabArray::ParallelCopy_nowait() 380 0.006095 0.006095 0.006095 1.66% Castro::normalize_species() 30 0.005585 0.005585 0.005585 1.52% MLCellLinOp::defineAuxData() 6 0.005408 0.005408 0.005408 1.47% Castro::computeTemp() 30 0.005213 0.005213 0.005213 1.42% StateDataPhysBCFunct::() 20 0.005034 0.005034 0.005034 1.37% MLPoisson::Fapply() 500 0.004488 0.004488 0.004488 1.22% FabArray::Saxpy() 355 0.003669 0.003669 0.003669 1.00% FabArray::Xpay() 361 0.003517 0.003517 0.003517 0.96% Gravity::fill_multipole_BCs() 6 0.003305 0.003305 0.003305 0.90% MLMG::addInterpCorrection() 180 0.002877 0.002877 0.002877 0.78% Amr::restart() 1 0.002625 0.002625 0.002625 0.72% amrex::average_down 180 0.002611 0.002611 0.002611 0.71% Castro::estTimeStep() 10 0.002399 0.002399 0.002399 0.65% Castro::reset_internal_energy(MultiFab) 30 0.00239 0.00239 0.00239 0.65% BndryData::define() 6 0.00206 0.00206 0.00206 0.56% FabArray::LinComb() 242 0.001924 0.001924 0.001924 0.52% amrex::Add() 72 0.001854 0.001854 0.001854 0.51% Castro::do_advance_ctu() 5 0.001663 0.001663 0.001663 0.45% Castro::construct_new_gravity_source() 5 0.001557 0.001557 0.001557 0.42% Amr::writePlotFile() 1 0.001255 0.001255 0.001255 0.34% Castro::construct_old_gravity_source() 5 0.001224 0.001224 0.001224 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000941 0.000941 0.000941 0.26% MLCGSolver::bicgstab 36 0.0009268 0.0009268 0.0009268 0.25% Castro::enforce_speed_limit() 30 0.0008025 0.0008025 0.0008025 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007922 0.0007922 0.0007922 0.22% MLCellLinOp::setLevelBC() 6 0.0007473 0.0007473 0.0007473 0.20% Castro::reset_internal_energy(Fab) 240 0.0007423 0.0007423 0.0007423 0.20% FabArray::mult() 22 0.0006492 0.0006492 0.0006492 0.18% FabArray::setDomainBndry() 20 0.0006367 0.0006367 0.0006367 0.17% MLCellLinOp::prepareForSolve() 6 0.0006367 0.0006367 0.0006367 0.17% MultiFab::contains_nan() 10 0.0005989 0.0005989 0.0005989 0.16% MLCellLinOp::compGrad() 6 0.0004959 0.0004959 0.0004959 0.14% MLMG::prepareForSolve() 6 0.000495 0.000495 0.000495 0.13% MLCellLinOp::smooth() 720 0.0004475 0.0004475 0.0004475 0.12% FabArrayBase::CPC::define() 244 0.0004188 0.0004188 0.0004188 0.11% Amr::InitAmr() 1 0.0003895 0.0003895 0.0003895 0.11% FabArrayBase::getCPC() 632 0.0003504 0.0003504 0.0003504 0.10% FabArray::FillBoundary() 1766 0.0003441 0.0003441 0.0003441 0.09% Gravity::get_old_grav_vector() 5 0.0003028 0.0003028 0.0003028 0.08% main() 1 0.000285 0.000285 0.000285 0.08% Gravity::get_new_grav_vector() 5 0.0002735 0.0002735 0.0002735 0.07% FabArrayBase::getFB() 1766 0.000256 0.000256 0.000256 0.07% MLLinOp::defineGrids() 6 0.0002281 0.0002281 0.0002281 0.06% Amr::coarseTimeStep() 5 0.0002271 0.0002271 0.0002271 0.06% MLCellLinOp::apply() 500 0.0001803 0.0001803 0.0001803 0.05% MLMG::mgVcycle() 36 0.0001513 0.0001513 0.0001513 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.04% MLCGSolver::ParallelAllReduce 659 0.0001193 0.0001193 0.0001193 0.03% MLCellLinOp::defineBC() 6 0.0001176 0.0001176 0.0001176 0.03% FillPatchIterator::Initialize 20 0.000116 0.000116 0.000116 0.03% FabArray::ParallelCopy() 380 0.0001062 0.0001062 0.0001062 0.03% Castro::create_source_corrector() 5 9.272e-05 9.272e-05 9.272e-05 0.03% MLCellLinOp::correctionResidual() 216 8.769e-05 8.769e-05 8.769e-05 0.02% Amr::timeStep() 5 7.782e-05 7.782e-05 7.782e-05 0.02% AmrLevel::restart() 1 7.258e-05 7.258e-05 7.258e-05 0.02% Castro::subcycle_advance_ctu() 5 7.206e-05 7.206e-05 7.206e-05 0.02% Castro::expand_state() 5 6.536e-05 6.536e-05 6.536e-05 0.02% StateData::restartDoit() 4 6.38e-05 6.38e-05 6.38e-05 0.02% FabArrayBase::FB::FB() 26 6.139e-05 6.139e-05 6.139e-05 0.02% Gravity::update_max_rhs() 6 5.901e-05 5.901e-05 5.901e-05 0.02% Gravity::solve_for_phi() 5 5.551e-05 5.551e-05 5.551e-05 0.02% MLMG:computeResOfCorrection() 180 5.159e-05 5.159e-05 5.159e-05 0.01% MLMG::mgVcycle_down::0 36 3.808e-05 3.808e-05 3.808e-05 0.01% Castro::clean_state() 30 3.714e-05 3.714e-05 3.714e-05 0.01% MLMG::actualBottomSolve() 36 3.694e-05 3.694e-05 3.694e-05 0.01% MLMG::solve() 6 3.287e-05 3.287e-05 3.287e-05 0.01% Castro::initialize_advance() 5 3.265e-05 3.265e-05 3.265e-05 0.01% MLMG::mgVcycle_down::1 36 3.135e-05 3.135e-05 3.135e-05 0.01% Castro::finalize_advance() 5 2.998e-05 2.998e-05 2.998e-05 0.01% MLMG::mgVcycle_down::4 36 2.979e-05 2.979e-05 2.979e-05 0.01% Castro::swap_state_time_levels() 5 2.964e-05 2.964e-05 2.964e-05 0.01% MLMG::mgVcycle_down::2 36 2.944e-05 2.944e-05 2.944e-05 0.01% MLMG::mgVcycle_down::3 36 2.842e-05 2.842e-05 2.842e-05 0.01% Castro::construct_new_source() 25 2.82e-05 2.82e-05 2.82e-05 0.01% MLMG::mgVcycle_up::4 36 2.733e-05 2.733e-05 2.733e-05 0.01% Castro::initialize_do_advance() 5 2.688e-05 2.688e-05 2.688e-05 0.01% Castro::buildMetrics() 1 2.686e-05 2.686e-05 2.686e-05 0.01% Amr::writeSmallPlotFile() 1 2.679e-05 2.679e-05 2.679e-05 0.01% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.01% MLMG::oneIter() 36 2.44e-05 2.44e-05 2.44e-05 0.01% MLMG::mgVcycle_up::0 36 2.131e-05 2.131e-05 2.131e-05 0.01% MLCellLinOp::solutionResidual() 42 2.084e-05 2.084e-05 2.084e-05 0.01% MLMG::mgVcycle_up::3 36 2.068e-05 2.068e-05 2.068e-05 0.01% Castro::post_restart() 1 2.065e-05 2.065e-05 2.065e-05 0.01% Castro::finalize_do_advance() 5 2.03e-05 2.03e-05 2.03e-05 0.01% MLMG::mgVcycle_up::2 36 2.022e-05 2.022e-05 2.022e-05 0.01% MLMG::mgVcycle_up::1 36 1.915e-05 1.915e-05 1.915e-05 0.01% MLMG::ResNormInf() 42 1.715e-05 1.715e-05 1.715e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.605e-05 1.605e-05 1.605e-05 0.00% Castro::advance() 5 1.547e-05 1.547e-05 1.547e-05 0.00% MLPoisson::define() 6 1.417e-05 1.417e-05 1.417e-05 0.00% FillPatchSingleLevel 20 1.412e-05 1.412e-05 1.412e-05 0.00% MLMG::mgVcycle_bottom 36 1.403e-05 1.403e-05 1.403e-05 0.00% makeSFC 30 1.366e-05 1.366e-05 1.366e-05 0.00% MLMG::computeResidual() 36 1.309e-05 1.309e-05 1.309e-05 0.00% Castro::construct_new_gravity() 5 1.254e-05 1.254e-05 1.254e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.217e-05 1.217e-05 1.217e-05 0.00% Castro::construct_old_source() 25 9.804e-06 9.804e-06 9.804e-06 0.00% MLPoisson::prepareForSolve() 6 9.515e-06 9.515e-06 9.515e-06 0.00% MLMG::computeMLResidual() 6 9.229e-06 9.229e-06 9.229e-06 0.00% Amr::initSubcycle() 1 9.022e-06 9.022e-06 9.022e-06 0.00% Castro::do_new_sources() 5 8.832e-06 8.832e-06 8.832e-06 0.00% DistributionMapping::Distribute() 31 8.814e-06 8.814e-06 8.814e-06 0.00% Gravity::actual_multilevel_solve() 1 7.873e-06 7.873e-06 7.873e-06 0.00% Castro::do_old_sources() 5 7.563e-06 7.563e-06 7.563e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.546e-06 7.546e-06 7.546e-06 0.00% MLLinOp::define() 6 6.189e-06 6.189e-06 6.189e-06 0.00% Castro::check_for_nan() 10 5.316e-06 5.316e-06 5.316e-06 0.00% Castro::apply_source_to_state() 10 5.287e-06 5.287e-06 5.287e-06 0.00% Castro::construct_old_gravity() 5 5.183e-06 5.183e-06 5.183e-06 0.00% Castro::post_timestep() 5 4.733e-06 4.733e-06 4.733e-06 0.00% Gravity::swapTimeLevels() 5 3.648e-06 3.648e-06 3.648e-06 0.00% Castro::computeNewDt() 5 3.486e-06 3.486e-06 3.486e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.238e-06 3.238e-06 3.238e-06 0.00% MLMG::getGradSolution() 6 3.008e-06 3.008e-06 3.008e-06 0.00% Gravity::set_mass_offset() 6 2.674e-06 2.674e-06 2.674e-06 0.00% MLMG::MLResNormInf() 6 2.305e-06 2.305e-06 2.305e-06 0.00% MLMG::MLRhsNormInf() 6 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::retry_advance_ctu() 5 1.789e-06 1.789e-06 1.789e-06 0.00% Amr::init() 1 1.541e-06 1.541e-06 1.541e-06 0.00% Castro::FluxRegCrseInit 5 1.496e-06 1.496e-06 1.496e-06 0.00% Castro::FluxRegFineAdd() 5 1.475e-06 1.475e-06 1.475e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.06e-06 1.06e-06 1.06e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.367 0.367 0.367 100.00% Amr::coarseTimeStep() 5 0.2863 0.2863 0.2863 78.01% Amr::timeStep() 5 0.2844 0.2844 0.2844 77.49% Castro::advance() 5 0.2811 0.2811 0.2811 76.59% Castro::subcycle_advance_ctu() 5 0.2742 0.2742 0.2742 74.70% Castro::do_advance_ctu() 5 0.2741 0.2741 0.2741 74.68% Castro::construct_new_gravity() 5 0.1309 0.1309 0.1309 35.66% Gravity::solve_phi_with_mlmg() 6 0.1259 0.1259 0.1259 34.31% Gravity::solve_for_phi() 5 0.1229 0.1229 0.1229 33.49% Gravity::actual_solve_with_mlmg() 6 0.1224 0.1224 0.1224 33.34% MLMG::solve() 6 0.1109 0.1109 0.1109 30.20% Castro::construct_ctu_hydro_source() 5 0.1051 0.1051 0.1051 28.62% MLMG::oneIter() 36 0.104 0.104 0.104 28.32% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 27.90% MLCellLinOp::smooth() 720 0.05018 0.05018 0.05018 13.67% MLCellLinOp::applyBC() 1946 0.04703 0.04703 0.04703 12.81% Amr::init() 1 0.04639 0.04639 0.04639 12.64% Amr::restart() 1 0.04639 0.04639 0.04639 12.64% AmrLevel::restart() 1 0.04023 0.04023 0.04023 10.96% StateData::restartDoit() 4 0.04016 0.04016 0.04016 10.94% VisMF::Read() 3 0.04004 0.04004 0.04004 10.91% Amr::writePlotFile() 1 0.0336 0.0336 0.0336 9.15% VisMF::Write(FabArray) 1 0.03209 0.03209 0.03209 8.74% MLMG::mgVcycle_bottom 36 0.0318 0.0318 0.0318 8.66% MLMG::actualBottomSolve() 36 0.03179 0.03179 0.03179 8.66% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 8.58% Castro::clean_state() 30 0.022 0.022 0.022 5.99% FillPatchIterator::Initialize 20 0.02029 0.02029 0.02029 5.53% FillPatchSingleLevel 20 0.01954 0.01954 0.01954 5.32% StateDataPhysBCFunct::() 20 0.01749 0.01749 0.01749 4.77% MLCellLinOp::apply() 500 0.01576 0.01576 0.01576 4.29% MLMG::mgVcycle_down::0 36 0.01429 0.01429 0.01429 3.89% MLPoisson::Fsmooth() 1440 0.01405 0.01405 0.01405 3.83% FabArray::FillBoundary() 1766 0.01344 0.01344 0.01344 3.66% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.57% StateData::FillBoundary(geom) 160 0.01246 0.01246 0.01246 3.39% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.94% MLCellLinOp::correctionResidual() 216 0.009555 0.009555 0.009555 2.60% Castro::initialize_do_advance() 5 0.009524 0.009524 0.009524 2.59% MLPoisson::define() 6 0.009194 0.009194 0.009194 2.50% amrex::Dot() 484 0.008849 0.008849 0.008849 2.41% MLMG:computeResOfCorrection() 180 0.008396 0.008396 0.008396 2.29% Castro::computeTemp() 30 0.008345 0.008345 0.008345 2.27% Gravity::get_new_grav_vector() 5 0.007858 0.007858 0.007858 2.14% Castro::construct_old_gravity() 5 0.007419 0.007419 0.007419 2.02% Gravity::get_old_grav_vector() 5 0.007414 0.007414 0.007414 2.02% Castro::enforce_min_density() 30 0.007231 0.007231 0.007231 1.97% amrex::Copy() 463 0.006988 0.006988 0.006988 1.90% MLMG::mgVcycle_down::1 36 0.006858 0.006858 0.006858 1.87% Castro::initialize_advance() 5 0.006609 0.006609 0.006609 1.80% FabArray::ParallelCopy() 380 0.006582 0.006582 0.006582 1.79% FabArray::ParallelCopy_nowait() 380 0.006476 0.006476 0.006476 1.76% MLMG::mgVcycle_down::2 36 0.006409 0.006409 0.006409 1.75% FabArray::setVal() 537 0.006267 0.006267 0.006267 1.71% MLMG::mgVcycle_down::3 36 0.006265 0.006265 0.006265 1.71% FabArray::norminf() 326 0.006263 0.006263 0.006263 1.71% MLMG::mgVcycle_down::4 36 0.006248 0.006248 0.006248 1.70% MLCellLinOp::defineAuxData() 6 0.006159 0.006159 0.006159 1.68% Castro::do_new_sources() 5 0.005828 0.005828 0.005828 1.59% Castro::expand_state() 5 0.005589 0.005589 0.005589 1.52% Castro::normalize_species() 30 0.005585 0.005585 0.005585 1.52% MLCGSolver::ParallelAllReduce 659 0.005339 0.005339 0.005339 1.45% Castro::do_old_sources() 5 0.005164 0.005164 0.005164 1.41% MLMG::addInterpCorrection() 180 0.005136 0.005136 0.005136 1.40% MLMG::mgVcycle_up::4 36 0.004969 0.004969 0.004969 1.35% MLMG::mgVcycle_up::1 36 0.004961 0.004961 0.004961 1.35% amrex::average_down 180 0.004901 0.004901 0.004901 1.34% MLMG::mgVcycle_up::2 36 0.004872 0.004872 0.004872 1.33% MLMG::mgVcycle_up::3 36 0.004779 0.004779 0.004779 1.30% MLPoisson::Fapply() 500 0.004488 0.004488 0.004488 1.22% FabArray::Saxpy() 355 0.003669 0.003669 0.003669 1.00% FabArray::Xpay() 361 0.003517 0.003517 0.003517 0.96% Gravity::fill_multipole_BCs() 6 0.003461 0.003461 0.003461 0.94% Castro::post_restart() 1 0.003354 0.003354 0.003354 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.003245 0.003245 0.003245 0.88% MLCellLinOp::solutionResidual() 42 0.003234 0.003234 0.003234 0.88% Castro::post_timestep() 5 0.003233 0.003233 0.003233 0.88% Gravity::actual_multilevel_solve() 1 0.003229 0.003229 0.003229 0.88% Castro::reset_internal_energy(MultiFab) 30 0.003132 0.003132 0.003132 0.85% MLCellLinOp::defineBC() 6 0.002757 0.002757 0.002757 0.75% MLMG::computeResidual() 36 0.002679 0.002679 0.002679 0.73% BndryData::define() 6 0.002639 0.002639 0.002639 0.72% MLMG::prepareForSolve() 6 0.002574 0.002574 0.002574 0.70% Castro::estTimeStep() 10 0.002399 0.002399 0.002399 0.65% FabArray::LinComb() 242 0.001924 0.001924 0.001924 0.52% amrex::Add() 72 0.001854 0.001854 0.001854 0.51% Castro::computeNewDt() 5 0.001689 0.001689 0.001689 0.46% Castro::construct_new_source() 25 0.001586 0.001586 0.001586 0.43% Castro::construct_new_gravity_source() 5 0.001557 0.001557 0.001557 0.42% Castro::construct_old_source() 25 0.001234 0.001234 0.001234 0.34% Castro::construct_old_gravity_source() 5 0.001224 0.001224 0.001224 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000941 0.000941 0.000941 0.26% MLMG::ResNormInf() 42 0.0009295 0.0009295 0.0009295 0.25% Castro::apply_source_to_state() 10 0.0009175 0.0009175 0.0009175 0.25% Castro::enforce_speed_limit() 30 0.0008025 0.0008025 0.0008025 0.22% FabArrayBase::getCPC() 632 0.0007692 0.0007692 0.0007692 0.21% MLMG::getGradSolution() 6 0.0007633 0.0007633 0.0007633 0.21% MLCellLinOp::compGrad() 6 0.0007602 0.0007602 0.0007602 0.21% MLCellLinOp::setLevelBC() 6 0.0007473 0.0007473 0.0007473 0.20% Castro::reset_internal_energy(Fab) 240 0.0007423 0.0007423 0.0007423 0.20% FabArray::mult() 22 0.0006492 0.0006492 0.0006492 0.18% MLPoisson::prepareForSolve() 6 0.0006462 0.0006462 0.0006462 0.18% FabArray::setDomainBndry() 20 0.0006367 0.0006367 0.0006367 0.17% MLCellLinOp::prepareForSolve() 6 0.0006367 0.0006367 0.0006367 0.17% Castro::check_for_nan() 10 0.0006042 0.0006042 0.0006042 0.16% MultiFab::contains_nan() 10 0.0005989 0.0005989 0.0005989 0.16% MLMG::computeMLResidual() 6 0.0005774 0.0005774 0.0005774 0.16% Gravity::update_max_rhs() 6 0.0004382 0.0004382 0.0004382 0.12% FabArrayBase::CPC::define() 244 0.0004188 0.0004188 0.0004188 0.11% Amr::InitAmr() 1 0.0003985 0.0003985 0.0003985 0.11% FabArrayBase::getFB() 1766 0.0003174 0.0003174 0.0003174 0.09% Castro::finalize_advance() 5 0.0002893 0.0002893 0.0002893 0.08% MLLinOp::define() 6 0.0002641 0.0002641 0.0002641 0.07% MLLinOp::defineGrids() 6 0.0002579 0.0002579 0.0002579 0.07% Gravity::swapTimeLevels() 5 0.0002271 0.0002271 0.0002271 0.06% MLMG::MLResNormInf() 6 0.0001524 0.0001524 0.0001524 0.04% Castro::buildMetrics() 1 0.0001484 0.0001484 0.0001484 0.04% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.04% MLMG::MLRhsNormInf() 6 0.0001183 0.0001183 0.0001183 0.03% Castro::create_source_corrector() 5 9.272e-05 9.272e-05 9.272e-05 0.03% FabArrayBase::FB::FB() 26 6.139e-05 6.139e-05 6.139e-05 0.02% Castro::swap_state_time_levels() 5 2.964e-05 2.964e-05 2.964e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.874e-05 2.874e-05 2.874e-05 0.01% Amr::writeSmallPlotFile() 1 2.679e-05 2.679e-05 2.679e-05 0.01% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.01% makeSFC 30 2.119e-05 2.119e-05 2.119e-05 0.01% Castro::finalize_do_advance() 5 2.03e-05 2.03e-05 2.03e-05 0.01% Amr::initSubcycle() 1 9.022e-06 9.022e-06 9.022e-06 0.00% DistributionMapping::Distribute() 31 8.814e-06 8.814e-06 8.814e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.518e-06 4.518e-06 4.518e-06 0.00% Gravity::set_mass_offset() 6 2.674e-06 2.674e-06 2.674e-06 0.00% Castro::retry_advance_ctu() 5 1.789e-06 1.789e-06 1.789e-06 0.00% Castro::FluxRegCrseInit 5 1.496e-06 1.496e-06 1.496e-06 0.00% Castro::FluxRegFineAdd() 5 1.475e-06 1.475e-06 1.475e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.06e-06 1.06e-06 1.06e-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 224 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 132 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1193 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2573 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 6674 KiB 14 MiB MLMG::prepareForSolve() 361 361 3708 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 209 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 219 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6669 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2307 B 2048 KiB Gravity::solve_for_phi() 40 40 684 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 341 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 219 KiB 671 KiB Castro::estTimeStep() 10 10 3054 B 480 KiB VisMF::Write(FabArray) 112 112 1343 B 320 KiB Castro::normalize_species() 30 30 4935 B 320 KiB amrex::average_down 469 469 1273 B 257 KiB MLMG::addInterpCorrection() 468 468 1195 B 257 KiB amrex::Dot() 592 592 3551 B 160 KiB FabArray::norminf() 398 398 2519 B 160 KiB Castro::do_advance_ctu() 5 5 694 B 160 KiB MultiFab::max() 6 6 56 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3606 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 302 B 9648 B MLCellLinOp::applyBC() 3892 3892 235 B 9344 B amrex::Copy() 56 56 5956 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 124 B 1472 B MLCellLinOp::defineBC() 36 36 383 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1471 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 119 KiB 8192 KiB VisMF::Write(FabArray) 120 120 269 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3606 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 302 B 9648 B MLCellLinOp::applyBC() 1946 1946 233 B 9328 B amrex::Copy() 56 56 5956 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2632 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 47 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 546 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.04-31-g6a85487dce1b) finalized