Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-23-g7aad6ca7f649) initialized Starting run at 09:19:50 UTC on 2023-03-27. Successfully read inputs file ... Castro git describe: 23.03-15-g8309823c4 AMReX git describe: 23.03-23-g7aad6ca7f Microphysics git describe: 23.03-21-gfc700fa2 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.058380548 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033734719 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047371241 [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.052324461 [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.055986053 [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.064451359 [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.059189764 [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.058434499 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.074778476 [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.052941944 [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.05511283 [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.057755212 [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.059735583 [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.058342709 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033493942 seconds Ending run at 09:19:51 UTC on 2023-03-27. Run time = 0.872338588 Run time without initialization = 0.730557158 Average number of zones advanced per microsecond: 3.588 Average number of zones advanced per microsecond per rank: 3.588 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8724 ... 0.8724 ... 0.8724 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2356 0.2356 0.2356 27.01% Castro::construct_ctu_hydro_source() 10 0.2133 0.2133 0.2133 24.45% MLCellLinOp::applyBC() 4433 0.07759 0.07759 0.07759 8.89% MLPoisson::Fsmooth() 3280 0.03248 0.03248 0.03248 3.72% FillBoundary_nowait() 4023 0.03087 0.03087 0.03087 3.54% StateData::FillBoundary(geom) 328 0.02518 0.02518 0.02518 2.89% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.39% StateDataPhysBCFunct::() 41 0.02026 0.02026 0.02026 2.32% Castro::normalize_species() 62 0.01551 0.01551 0.01551 1.78% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.71% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.66% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.55% Castro::computeTemp() 63 0.01342 0.01342 0.01342 1.54% FabArray::setVal() 1144 0.01323 0.01323 0.01323 1.52% MLPoisson::Fapply() 1142 0.01048 0.01048 0.01048 1.20% MLCellLinOp::defineAuxData() 11 0.009799 0.009799 0.009799 1.12% FabArray::Saxpy() 813 0.008241 0.008241 0.008241 0.94% FabArray::Xpay() 821 0.008122 0.008122 0.008122 0.93% Castro::enforce_min_density() 62 0.008091 0.008091 0.008091 0.93% MLMG::addInterpCorrection() 410 0.006852 0.006852 0.006852 0.79% Gravity::fill_multipole_BCs() 11 0.006465 0.006465 0.006465 0.74% amrex::average_down 410 0.006025 0.006025 0.006025 0.69% FabArray::LinComb() 557 0.004533 0.004533 0.004533 0.52% Castro::estTimeStep() 21 0.004516 0.004516 0.004516 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004353 0.004353 0.004353 0.50% amrex::Add() 164 0.004353 0.004353 0.004353 0.50% Amr::checkPoint() 3 0.003947 0.003947 0.003947 0.45% BndryData::define() 11 0.003754 0.003754 0.003754 0.43% Castro::construct_new_gravity_source() 10 0.003389 0.003389 0.003389 0.39% Castro::do_advance_ctu() 10 0.003009 0.003009 0.003009 0.34% Castro::construct_old_gravity_source() 10 0.002635 0.002635 0.002635 0.30% Amr::writePlotFile() 2 0.002368 0.002368 0.002368 0.27% MLCGSolver::bicgstab 82 0.002258 0.002258 0.002258 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001717 0.001717 0.001717 0.20% Castro::reset_internal_energy(Fab) 504 0.001512 0.001512 0.001512 0.17% Gravity::actual_solve_with_mlmg() 11 0.00147 0.00147 0.00147 0.17% Castro::enforce_speed_limit() 62 0.001442 0.001442 0.001442 0.17% MLCellLinOp::setLevelBC() 11 0.001389 0.001389 0.001389 0.16% Castro::initData() 1 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.15% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.14% MLCellLinOp::prepareForSolve() 11 0.001137 0.001137 0.001137 0.13% MLCellLinOp::smooth() 1640 0.001123 0.001123 0.001123 0.13% MLCellLinOp::compGrad() 11 0.0009096 0.0009096 0.0009096 0.10% MLMG::prepareForSolve() 11 0.0008913 0.0008913 0.0008913 0.10% FabArray::FillBoundary() 4023 0.0008359 0.0008359 0.0008359 0.10% FabArrayBase::getCPC() 1323 0.000738 0.000738 0.000738 0.08% FabArrayBase::CPC::define() 454 0.0006564 0.0006564 0.0006564 0.08% Gravity::get_new_grav_vector() 11 0.0006333 0.0006333 0.0006333 0.07% FabArrayBase::getFB() 4023 0.0006075 0.0006075 0.0006075 0.07% Amr::InitAmr() 1 0.0005877 0.0005877 0.0005877 0.07% Gravity::get_old_grav_vector() 10 0.0005643 0.0005643 0.0005643 0.06% MLCellLinOp::apply() 1142 0.0005006 0.0005006 0.0005006 0.06% MLMG::mgVcycle() 82 0.0003731 0.0003731 0.0003731 0.04% MLLinOp::defineGrids() 11 0.0003643 0.0003643 0.0003643 0.04% Amr::coarseTimeStep() 10 0.0003198 0.0003198 0.0003198 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003025 0.0003025 0.0003025 0.03% main() 1 0.0002774 0.0002774 0.0002774 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% FabArray::ParallelCopy() 861 0.0002483 0.0002483 0.0002483 0.03% MLCellLinOp::correctionResidual() 492 0.0002338 0.0002338 0.0002338 0.03% FillPatchIterator::Initialize 41 0.0002265 0.0002265 0.0002265 0.03% MLCellLinOp::defineBC() 11 0.0002192 0.0002192 0.0002192 0.03% Castro::subcycle_advance_ctu() 10 0.0001513 0.0001513 0.0001513 0.02% Amr::timeStep() 10 0.0001504 0.0001504 0.0001504 0.02% StateData::checkPoint() 12 0.0001315 0.0001315 0.0001315 0.02% Gravity::update_max_rhs() 11 0.0001194 0.0001194 0.0001194 0.01% Gravity::solve_for_phi() 10 0.0001102 0.0001102 0.0001102 0.01% Castro::advance() 10 0.0001079 0.0001079 0.0001079 0.01% MLMG:computeResOfCorrection() 410 0.0001064 0.0001064 0.0001064 0.01% Castro::finalize_advance() 10 9.687e-05 9.687e-05 9.687e-05 0.01% Castro::Castro() 1 9.358e-05 9.358e-05 9.358e-05 0.01% Castro::expand_state() 10 9.251e-05 9.251e-05 9.251e-05 0.01% MLMG::actualBottomSolve() 82 8.979e-05 8.979e-05 8.979e-05 0.01% MLMG::mgVcycle_down::2 82 8.647e-05 8.647e-05 8.647e-05 0.01% FabArrayBase::FB::FB() 56 8.593e-05 8.593e-05 8.593e-05 0.01% MLMG::mgVcycle_down::0 82 8.437e-05 8.437e-05 8.437e-05 0.01% MLMG::mgVcycle_down::1 82 7.588e-05 7.588e-05 7.588e-05 0.01% AmrLevel::checkPoint() 3 7.472e-05 7.472e-05 7.472e-05 0.01% Castro::clean_state() 62 7.376e-05 7.376e-05 7.376e-05 0.01% MLMG::solve() 11 7.331e-05 7.331e-05 7.331e-05 0.01% MLMG::mgVcycle_down::3 82 7.223e-05 7.223e-05 7.223e-05 0.01% Castro::initialize_advance() 10 7.149e-05 7.149e-05 7.149e-05 0.01% MLMG::mgVcycle_down::4 82 7.01e-05 7.01e-05 7.01e-05 0.01% MLMG::mgVcycle_up::4 82 5.935e-05 5.935e-05 5.935e-05 0.01% MLMG::oneIter() 82 5.519e-05 5.519e-05 5.519e-05 0.01% Castro::initialize_do_advance() 10 5.483e-05 5.483e-05 5.483e-05 0.01% MLCellLinOp::solutionResidual() 93 5.091e-05 5.091e-05 5.091e-05 0.01% MLMG::mgVcycle_up::0 82 5.062e-05 5.062e-05 5.062e-05 0.01% MLMG::mgVcycle_up::1 82 4.639e-05 4.639e-05 4.639e-05 0.01% MLMG::mgVcycle_up::3 82 4.53e-05 4.53e-05 4.53e-05 0.01% MLMG::mgVcycle_up::2 82 4.486e-05 4.486e-05 4.486e-05 0.01% Castro::construct_new_source() 50 4.411e-05 4.411e-05 4.411e-05 0.01% Castro::swap_state_time_levels() 10 3.974e-05 3.974e-05 3.974e-05 0.00% Castro::finalize_do_advance() 10 3.775e-05 3.775e-05 3.775e-05 0.00% StateData::define() 4 3.565e-05 3.565e-05 3.565e-05 0.00% Castro::enforce_consistent_e() 1 3.3e-05 3.3e-05 3.3e-05 0.00% MLMG::ResNormInf() 93 3.283e-05 3.283e-05 3.283e-05 0.00% MLMG::mgVcycle_bottom 82 3.228e-05 3.228e-05 3.228e-05 0.00% MLMG::computeResidual() 82 3.069e-05 3.069e-05 3.069e-05 0.00% FillPatchSingleLevel 41 3.018e-05 3.018e-05 3.018e-05 0.00% Castro::initMFs() 1 2.584e-05 2.584e-05 2.584e-05 0.00% Castro::create_source_corrector() 10 2.573e-05 2.573e-05 2.573e-05 0.00% Amr::writeSmallPlotFile() 1 2.528e-05 2.528e-05 2.528e-05 0.00% Castro::construct_new_gravity() 10 2.445e-05 2.445e-05 2.445e-05 0.00% makeSFC 55 2.386e-05 2.386e-05 2.386e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.216e-05 2.216e-05 2.216e-05 0.00% MLPoisson::define() 11 2.189e-05 2.189e-05 2.189e-05 0.00% Amr::defBaseLevel() 1 2.035e-05 2.035e-05 2.035e-05 0.00% Castro::buildMetrics() 1 1.919e-05 1.919e-05 1.919e-05 0.00% Amr::FinalizeInit() 1 1.866e-05 1.866e-05 1.866e-05 0.00% Castro::construct_old_source() 50 1.835e-05 1.835e-05 1.835e-05 0.00% Castro::do_new_sources() 10 1.664e-05 1.664e-05 1.664e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.656e-05 1.656e-05 1.656e-05 0.00% Castro::do_old_sources() 10 1.54e-05 1.54e-05 1.54e-05 0.00% MLPoisson::prepareForSolve() 11 1.428e-05 1.428e-05 1.428e-05 0.00% DistributionMapping::Distribute() 56 1.388e-05 1.388e-05 1.388e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.386e-05 1.386e-05 1.386e-05 0.00% Castro::check_for_nan() 20 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::construct_old_gravity() 10 1.038e-05 1.038e-05 1.038e-05 0.00% Gravity::swapTimeLevels() 10 1.004e-05 1.004e-05 1.004e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.953e-06 9.953e-06 9.953e-06 0.00% MLLinOp::define() 11 9.628e-06 9.628e-06 9.628e-06 0.00% Amr::initSubcycle() 1 9.363e-06 9.363e-06 9.363e-06 0.00% Castro::apply_source_to_state() 20 8.94e-06 8.94e-06 8.94e-06 0.00% Castro::post_timestep() 10 8.162e-06 8.162e-06 8.162e-06 0.00% Gravity::actual_multilevel_solve() 1 8.018e-06 8.018e-06 8.018e-06 0.00% Castro::computeNewDt() 9 7.301e-06 7.301e-06 7.301e-06 0.00% MLMG::computeMLResidual() 11 7.183e-06 7.183e-06 7.183e-06 0.00% MLMG::getGradSolution() 11 5.768e-06 5.768e-06 5.768e-06 0.00% Amr::InitializeInit() 1 4.946e-06 4.946e-06 4.946e-06 0.00% Gravity::set_mass_offset() 11 4.512e-06 4.512e-06 4.512e-06 0.00% AmrLevel::checkPointPost() 3 4.319e-06 4.319e-06 4.319e-06 0.00% Castro::post_init() 1 4.137e-06 4.137e-06 4.137e-06 0.00% MLMG::MLRhsNormInf() 11 3.885e-06 3.885e-06 3.885e-06 0.00% Castro::retry_advance_ctu() 10 3.735e-06 3.735e-06 3.735e-06 0.00% MLMG::MLResNormInf() 11 3.454e-06 3.454e-06 3.454e-06 0.00% Castro::FluxRegCrseInit 10 3.121e-06 3.121e-06 3.121e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.931e-06 2.931e-06 2.931e-06 0.00% Castro::computeInitialDt() 2 2.841e-06 2.841e-06 2.841e-06 0.00% Amr::init() 1 2.529e-06 2.529e-06 2.529e-06 0.00% Castro::FluxRegFineAdd() 10 2.082e-06 2.082e-06 2.082e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.937e-06 1.937e-06 1.937e-06 0.00% AmrLevel::checkPointPre() 3 1.613e-06 1.613e-06 1.613e-06 0.00% Amr::initialInit() 1 1.081e-06 1.081e-06 1.081e-06 0.00% Castro::post_regrid() 1 1e-06 1e-06 1e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8724 0.8724 0.8724 100.00% Amr::coarseTimeStep() 10 0.6968 0.6968 0.6968 79.88% Amr::timeStep() 10 0.5768 0.5768 0.5768 66.11% Castro::advance() 10 0.5698 0.5698 0.5698 65.32% Castro::subcycle_advance_ctu() 10 0.5576 0.5576 0.5576 63.92% Castro::do_advance_ctu() 10 0.5574 0.5574 0.5574 63.90% Gravity::solve_phi_with_mlmg() 11 0.2855 0.2855 0.2855 32.73% Gravity::actual_solve_with_mlmg() 11 0.2786 0.2786 0.2786 31.93% Castro::construct_new_gravity() 10 0.261 0.261 0.261 29.92% MLMG::solve() 11 0.2578 0.2578 0.2578 29.55% Gravity::solve_for_phi() 10 0.2447 0.2447 0.2447 28.06% MLMG::oneIter() 82 0.2434 0.2434 0.2434 27.90% MLMG::mgVcycle() 82 0.2398 0.2398 0.2398 27.48% VisMF::Write(FabArray) 11 0.2356 0.2356 0.2356 27.01% Castro::construct_ctu_hydro_source() 10 0.2133 0.2133 0.2133 24.45% Amr::checkPoint() 3 0.1753 0.1753 0.1753 20.09% AmrLevel::checkPoint() 3 0.1713 0.1713 0.1713 19.64% StateData::checkPoint() 12 0.1713 0.1713 0.1713 19.63% Amr::init() 1 0.1411 0.1411 0.1411 16.17% MLCellLinOp::smooth() 1640 0.1175 0.1175 0.1175 13.47% MLCellLinOp::applyBC() 4433 0.11 0.11 0.11 12.61% MLMG::mgVcycle_bottom 82 0.0746 0.0746 0.0746 8.55% MLMG::actualBottomSolve() 82 0.07457 0.07457 0.07457 8.55% MLCGSolver::bicgstab 82 0.07387 0.07387 0.07387 8.47% Amr::writePlotFile() 2 0.06737 0.06737 0.06737 7.72% FillPatchIterator::Initialize 41 0.05109 0.05109 0.05109 5.86% FillPatchSingleLevel 41 0.04956 0.04956 0.04956 5.68% Amr::initialInit() 1 0.04883 0.04883 0.04883 5.60% StateDataPhysBCFunct::() 41 0.04544 0.04544 0.04544 5.21% Amr::FinalizeInit() 1 0.0445 0.0445 0.0445 5.10% Castro::clean_state() 62 0.04347 0.04347 0.04347 4.98% Castro::post_init() 1 0.04318 0.04318 0.04318 4.95% Gravity::multilevel_solve_for_new_phi() 1 0.04119 0.04119 0.04119 4.72% Gravity::actual_multilevel_solve() 1 0.04117 0.04117 0.04117 4.72% MLCellLinOp::apply() 1142 0.03658 0.03658 0.03658 4.19% MLMG::mgVcycle_down::0 82 0.03377 0.03377 0.03377 3.87% MLPoisson::Fsmooth() 3280 0.03248 0.03248 0.03248 3.72% FabArray::FillBoundary() 4023 0.0324 0.0324 0.0324 3.71% FillBoundary_nowait() 4023 0.03156 0.03156 0.03156 3.62% Castro::initialize_do_advance() 10 0.02771 0.02771 0.02771 3.18% MLMG::mgVcycle_up::0 82 0.02568 0.02568 0.02568 2.94% StateData::FillBoundary(geom) 328 0.02518 0.02518 0.02518 2.89% MLCellLinOp::correctionResidual() 492 0.02229 0.02229 0.02229 2.56% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.39% MLMG:computeResOfCorrection() 410 0.01962 0.01962 0.01962 2.25% Castro::computeTemp() 63 0.01929 0.01929 0.01929 2.21% Castro::expand_state() 10 0.01915 0.01915 0.01915 2.20% Gravity::get_new_grav_vector() 11 0.01793 0.01793 0.01793 2.06% MLPoisson::define() 11 0.01655 0.01655 0.01655 1.90% MLMG::mgVcycle_down::1 82 0.01593 0.01593 0.01593 1.83% Castro::normalize_species() 62 0.01551 0.01551 0.01551 1.78% Castro::construct_old_gravity() 10 0.01523 0.01523 0.01523 1.75% Gravity::get_old_grav_vector() 10 0.01521 0.01521 0.01521 1.74% MLMG::mgVcycle_down::2 82 0.01496 0.01496 0.01496 1.71% amrex::Copy() 1029 0.01491 0.01491 0.01491 1.71% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.67% MLMG::mgVcycle_down::3 82 0.0145 0.0145 0.0145 1.66% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.66% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.64% MLMG::mgVcycle_down::4 82 0.01431 0.01431 0.01431 1.64% FabArray::setVal() 1144 0.01323 0.01323 0.01323 1.52% MLCGSolver::ParallelAllReduce 1514 0.01253 0.01253 0.01253 1.44% MLMG::addInterpCorrection() 410 0.01207 0.01207 0.01207 1.38% Castro::do_new_sources() 10 0.0117 0.0117 0.0117 1.34% MLMG::mgVcycle_up::4 82 0.01164 0.01164 0.01164 1.33% MLMG::mgVcycle_up::1 82 0.01159 0.01159 0.01159 1.33% Castro::initialize_advance() 10 0.01148 0.01148 0.01148 1.32% MLMG::mgVcycle_up::2 82 0.01133 0.01133 0.01133 1.30% amrex::average_down 410 0.0113 0.0113 0.0113 1.29% MLCellLinOp::defineAuxData() 11 0.01112 0.01112 0.01112 1.28% MLMG::mgVcycle_up::3 82 0.01108 0.01108 0.01108 1.27% MLPoisson::Fapply() 1142 0.01048 0.01048 0.01048 1.20% Castro::do_old_sources() 10 0.01005 0.01005 0.01005 1.15% FabArray::Saxpy() 813 0.008241 0.008241 0.008241 0.94% FabArray::Xpay() 821 0.008122 0.008122 0.008122 0.93% Castro::enforce_min_density() 62 0.008091 0.008091 0.008091 0.93% MLCellLinOp::solutionResidual() 93 0.007208 0.007208 0.007208 0.83% Castro::post_timestep() 10 0.006824 0.006824 0.006824 0.78% Gravity::fill_multipole_BCs() 11 0.006708 0.006708 0.006708 0.77% MLMG::computeResidual() 82 0.006221 0.006221 0.006221 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005865 0.005865 0.005865 0.67% MLCellLinOp::defineBC() 11 0.004978 0.004978 0.004978 0.57% BndryData::define() 11 0.004759 0.004759 0.004759 0.55% MLMG::prepareForSolve() 11 0.004722 0.004722 0.004722 0.54% FabArray::LinComb() 557 0.004533 0.004533 0.004533 0.52% Castro::estTimeStep() 21 0.004516 0.004516 0.004516 0.52% amrex::Add() 164 0.004353 0.004353 0.004353 0.50% Amr::InitializeInit() 1 0.004334 0.004334 0.004334 0.50% Amr::defBaseLevel() 1 0.004329 0.004329 0.004329 0.50% Castro::initData() 1 0.003806 0.003806 0.003806 0.44% Castro::construct_new_source() 50 0.003433 0.003433 0.003433 0.39% Castro::construct_new_gravity_source() 10 0.003389 0.003389 0.003389 0.39% Castro::construct_old_source() 50 0.002653 0.002653 0.002653 0.30% Castro::construct_old_gravity_source() 10 0.002635 0.002635 0.002635 0.30% Castro::computeNewDt() 9 0.002152 0.002152 0.002152 0.25% MLMG::ResNormInf() 93 0.002103 0.002103 0.002103 0.24% Castro::apply_source_to_state() 20 0.001817 0.001817 0.001817 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001717 0.001717 0.001717 0.20% Castro::reset_internal_energy(Fab) 504 0.001512 0.001512 0.001512 0.17% Castro::enforce_speed_limit() 62 0.001442 0.001442 0.001442 0.17% FabArrayBase::getCPC() 1323 0.001394 0.001394 0.001394 0.16% MLMG::getGradSolution() 11 0.001391 0.001391 0.001391 0.16% MLCellLinOp::setLevelBC() 11 0.001389 0.001389 0.001389 0.16% MLCellLinOp::compGrad() 11 0.001385 0.001385 0.001385 0.16% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.15% Castro::check_for_nan() 20 0.001211 0.001211 0.001211 0.14% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.14% MLPoisson::prepareForSolve() 11 0.001152 0.001152 0.001152 0.13% Castro::post_regrid() 1 0.001143 0.001143 0.001143 0.13% MLCellLinOp::prepareForSolve() 11 0.001137 0.001137 0.001137 0.13% MLMG::computeMLResidual() 11 0.001026 0.001026 0.001026 0.12% Castro::computeInitialDt() 2 0.0008739 0.0008739 0.0008739 0.10% Gravity::update_max_rhs() 11 0.0008241 0.0008241 0.0008241 0.09% FabArrayBase::getFB() 4023 0.0006934 0.0006934 0.0006934 0.08% FabArrayBase::CPC::define() 454 0.0006564 0.0006564 0.0006564 0.08% Castro::finalize_advance() 10 0.0006166 0.0006166 0.0006166 0.07% Amr::InitAmr() 1 0.0005971 0.0005971 0.0005971 0.07% Gravity::swapTimeLevels() 10 0.0004562 0.0004562 0.0004562 0.05% Castro::Castro() 1 0.0004523 0.0004523 0.0004523 0.05% MLLinOp::define() 11 0.0004263 0.0004263 0.0004263 0.05% MLLinOp::defineGrids() 11 0.0004167 0.0004167 0.0004167 0.05% MLMG::MLResNormInf() 11 0.0002871 0.0002871 0.0002871 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% MLMG::MLRhsNormInf() 11 0.0002204 0.0002204 0.0002204 0.03% Castro::buildMetrics() 1 0.0001677 0.0001677 0.0001677 0.02% FabArrayBase::FB::FB() 56 8.593e-05 8.593e-05 8.593e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.045e-05 5.045e-05 5.045e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.56e-05 4.56e-05 4.56e-05 0.01% Castro::swap_state_time_levels() 10 3.974e-05 3.974e-05 3.974e-05 0.00% Castro::finalize_do_advance() 10 3.775e-05 3.775e-05 3.775e-05 0.00% makeSFC 55 3.659e-05 3.659e-05 3.659e-05 0.00% StateData::define() 4 3.565e-05 3.565e-05 3.565e-05 0.00% Castro::enforce_consistent_e() 1 3.3e-05 3.3e-05 3.3e-05 0.00% Castro::initMFs() 1 2.584e-05 2.584e-05 2.584e-05 0.00% Castro::create_source_corrector() 10 2.573e-05 2.573e-05 2.573e-05 0.00% Amr::writeSmallPlotFile() 1 2.528e-05 2.528e-05 2.528e-05 0.00% DistributionMapping::Distribute() 56 1.388e-05 1.388e-05 1.388e-05 0.00% Amr::initSubcycle() 1 9.363e-06 9.363e-06 9.363e-06 0.00% Gravity::set_mass_offset() 11 4.512e-06 4.512e-06 4.512e-06 0.00% AmrLevel::checkPointPost() 3 4.319e-06 4.319e-06 4.319e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.089e-06 4.089e-06 4.089e-06 0.00% Castro::retry_advance_ctu() 10 3.735e-06 3.735e-06 3.735e-06 0.00% Castro::FluxRegCrseInit 10 3.121e-06 3.121e-06 3.121e-06 0.00% Castro::FluxRegFineAdd() 10 2.082e-06 2.082e-06 2.082e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.937e-06 1.937e-06 1.937e-06 0.00% AmrLevel::checkPointPre() 3 1.613e-06 1.613e-06 1.613e-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 95 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 113 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 1406 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2170 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 3635 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1810 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2510 B 480 KiB VisMF::Write(FabArray) 656 656 3459 B 320 KiB Castro::normalize_species() 62 62 5787 B 320 KiB amrex::average_down 1067 1067 1280 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1196 B 257 KiB amrex::Dot() 1360 1360 3523 B 160 KiB FabArray::norminf() 907 907 2446 B 160 KiB Castro::do_advance_ctu() 10 10 532 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 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 45 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 8866 8866 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3847 B 6144 B StateData::FillBoundary(geom) 1992 1992 64 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 595 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 631 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3554 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 309 B 9648 B MLCellLinOp::applyBC() 4433 4433 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3847 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 64 B 2880 B Gravity::fill_multipole_BCs() 33 33 4 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 302 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 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): 2459 [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.03-23-g7aad6ca7f649) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-23-g7aad6ca7f649) initialized Starting run at 09:19:51 UTC on 2023-03-27. Successfully read inputs file ... Castro git describe: 23.03-15-g8309823c4 AMReX git describe: 23.03-23-g7aad6ca7f Microphysics git describe: 23.03-21-gfc700fa2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.479551755 Restart time = 0.045841431 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049213963 [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.046966407 [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.056336021 [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.059020221 [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.063432038 [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.033800053 seconds Ending run at 09:19:52 UTC on 2023-03-27. Run time = 0.355645818 Run time without initialization = 0.309227591 Average number of zones advanced per microsecond: 4.239 Average number of zones advanced per microsecond per rank: 4.239 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3557 ... 0.3557 ... 0.3557 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0969 0.0969 0.0969 27.24% VisMF::Read() 3 0.03961 0.03961 0.03961 11.14% MLCellLinOp::applyBC() 1946 0.03342 0.03342 0.03342 9.40% VisMF::Write(FabArray) 1 0.03226 0.03226 0.03226 9.07% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.92% FillBoundary_nowait() 1766 0.01276 0.01276 0.01276 3.59% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.41% amrex::Dot() 484 0.008883 0.008883 0.008883 2.50% Castro::computeTemp() 30 0.00724 0.00724 0.00724 2.04% Castro::normalize_species() 30 0.007176 0.007176 0.007176 2.02% amrex::Copy() 463 0.006957 0.006957 0.006957 1.96% FabArray::setVal() 537 0.006252 0.006252 0.006252 1.76% FabArray::norminf() 326 0.0062 0.0062 0.0062 1.74% FabArray::ParallelCopy_nowait() 380 0.006068 0.006068 0.006068 1.71% StateDataPhysBCFunct::() 20 0.005791 0.005791 0.005791 1.63% MLCellLinOp::defineAuxData() 6 0.005173 0.005173 0.005173 1.45% MLPoisson::Fapply() 500 0.004453 0.004453 0.004453 1.25% FabArray::Saxpy() 355 0.003637 0.003637 0.003637 1.02% FabArray::Xpay() 361 0.003491 0.003491 0.003491 0.98% Gravity::fill_multipole_BCs() 6 0.003129 0.003129 0.003129 0.88% MLMG::addInterpCorrection() 180 0.002974 0.002974 0.002974 0.84% amrex::average_down 180 0.002603 0.002603 0.002603 0.73% Amr::restart() 1 0.002512 0.002512 0.002512 0.71% Castro::enforce_min_density() 30 0.002367 0.002367 0.002367 0.67% BndryData::define() 6 0.00203 0.00203 0.00203 0.57% Castro::estTimeStep() 10 0.001998 0.001998 0.001998 0.56% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.54% amrex::Add() 72 0.001852 0.001852 0.001852 0.52% Castro::reset_internal_energy(MultiFab) 30 0.001743 0.001743 0.001743 0.49% Castro::construct_new_gravity_source() 5 0.001615 0.001615 0.001615 0.45% Amr::writePlotFile() 1 0.001388 0.001388 0.001388 0.39% Castro::construct_old_gravity_source() 5 0.001368 0.001368 0.001368 0.38% Castro::do_advance_ctu() 5 0.001285 0.001285 0.001285 0.36% MLCGSolver::bicgstab 36 0.0009677 0.0009677 0.0009677 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009199 0.0009199 0.0009199 0.26% Gravity::actual_solve_with_mlmg() 6 0.0007854 0.0007854 0.0007854 0.22% MLCellLinOp::setLevelBC() 6 0.0007623 0.0007623 0.0007623 0.21% Castro::reset_internal_energy(Fab) 240 0.0006802 0.0006802 0.0006802 0.19% FabArray::mult() 22 0.000645 0.000645 0.000645 0.18% Castro::enforce_speed_limit() 30 0.0006367 0.0006367 0.0006367 0.18% FabArray::setDomainBndry() 20 0.0006343 0.0006343 0.0006343 0.18% MLCellLinOp::prepareForSolve() 6 0.0006056 0.0006056 0.0006056 0.17% MultiFab::contains_nan() 10 0.0005957 0.0005957 0.0005957 0.17% MLCellLinOp::compGrad() 6 0.0004957 0.0004957 0.0004957 0.14% MLCellLinOp::smooth() 720 0.0004794 0.0004794 0.0004794 0.13% MLMG::prepareForSolve() 6 0.0004755 0.0004755 0.0004755 0.13% FabArrayBase::CPC::define() 244 0.000413 0.000413 0.000413 0.12% Amr::InitAmr() 1 0.0004015 0.0004015 0.0004015 0.11% FabArray::FillBoundary() 1766 0.000366 0.000366 0.000366 0.10% FabArrayBase::getCPC() 632 0.0003588 0.0003588 0.0003588 0.10% main() 1 0.0003087 0.0003087 0.0003087 0.09% Gravity::get_old_grav_vector() 5 0.0002985 0.0002985 0.0002985 0.08% Gravity::get_new_grav_vector() 5 0.000272 0.000272 0.000272 0.08% FabArrayBase::getFB() 1766 0.0002603 0.0002603 0.0002603 0.07% MLCellLinOp::apply() 500 0.0002086 0.0002086 0.0002086 0.06% MLMG::mgVcycle() 36 0.0001699 0.0001699 0.0001699 0.05% MLLinOp::defineGrids() 6 0.0001671 0.0001671 0.0001671 0.05% Amr::coarseTimeStep() 5 0.0001649 0.0001649 0.0001649 0.05% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.04% MLCGSolver::ParallelAllReduce 659 0.0001317 0.0001317 0.0001317 0.04% Castro::subcycle_advance_ctu() 5 0.0001256 0.0001256 0.0001256 0.04% MLCellLinOp::defineBC() 6 0.0001199 0.0001199 0.0001199 0.03% FillPatchIterator::Initialize 20 0.0001181 0.0001181 0.0001181 0.03% FabArray::ParallelCopy() 380 0.0001106 0.0001106 0.0001106 0.03% MLCellLinOp::correctionResidual() 216 0.0001005 0.0001005 0.0001005 0.03% Amr::timeStep() 5 7.442e-05 7.442e-05 7.442e-05 0.02% AmrLevel::restart() 1 7.335e-05 7.335e-05 7.335e-05 0.02% Castro::advance() 5 7.242e-05 7.242e-05 7.242e-05 0.02% StateData::restartDoit() 4 5.955e-05 5.955e-05 5.955e-05 0.02% Gravity::update_max_rhs() 6 5.818e-05 5.818e-05 5.818e-05 0.02% FabArrayBase::FB::FB() 26 5.795e-05 5.795e-05 5.795e-05 0.02% Gravity::solve_for_phi() 5 5.317e-05 5.317e-05 5.317e-05 0.01% MLMG:computeResOfCorrection() 180 5.102e-05 5.102e-05 5.102e-05 0.01% Castro::finalize_advance() 5 5.005e-05 5.005e-05 5.005e-05 0.01% Castro::expand_state() 5 4.832e-05 4.832e-05 4.832e-05 0.01% MLMG::actualBottomSolve() 36 4.237e-05 4.237e-05 4.237e-05 0.01% Castro::initialize_do_advance() 5 4.083e-05 4.083e-05 4.083e-05 0.01% MLMG::mgVcycle_down::0 36 4.017e-05 4.017e-05 4.017e-05 0.01% Castro::construct_old_source() 25 3.758e-05 3.758e-05 3.758e-05 0.01% Castro::create_source_corrector() 5 3.632e-05 3.632e-05 3.632e-05 0.01% Castro::clean_state() 30 3.52e-05 3.52e-05 3.52e-05 0.01% MLMG::solve() 6 3.512e-05 3.512e-05 3.512e-05 0.01% MLMG::mgVcycle_down::1 36 3.496e-05 3.496e-05 3.496e-05 0.01% Castro::initialize_advance() 5 3.388e-05 3.388e-05 3.388e-05 0.01% MLMG::mgVcycle_down::4 36 3.278e-05 3.278e-05 3.278e-05 0.01% MLMG::mgVcycle_down::2 36 3.243e-05 3.243e-05 3.243e-05 0.01% MLMG::mgVcycle_down::3 36 3.163e-05 3.163e-05 3.163e-05 0.01% MLMG::mgVcycle_up::4 36 2.857e-05 2.857e-05 2.857e-05 0.01% Castro::buildMetrics() 1 2.707e-05 2.707e-05 2.707e-05 0.01% Amr::writeSmallPlotFile() 1 2.668e-05 2.668e-05 2.668e-05 0.01% Castro::initMFs() 1 2.656e-05 2.656e-05 2.656e-05 0.01% Castro::swap_state_time_levels() 5 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::oneIter() 36 2.41e-05 2.41e-05 2.41e-05 0.01% MLMG::mgVcycle_up::0 36 2.324e-05 2.324e-05 2.324e-05 0.01% MLCellLinOp::solutionResidual() 42 2.226e-05 2.226e-05 2.226e-05 0.01% MLMG::mgVcycle_up::3 36 2.089e-05 2.089e-05 2.089e-05 0.01% Castro::construct_old_gravity() 5 2.043e-05 2.043e-05 2.043e-05 0.01% MLMG::mgVcycle_up::2 36 2.037e-05 2.037e-05 2.037e-05 0.01% Castro::finalize_do_advance() 5 1.978e-05 1.978e-05 1.978e-05 0.01% MLMG::mgVcycle_up::1 36 1.948e-05 1.948e-05 1.948e-05 0.01% Castro::post_restart() 1 1.923e-05 1.923e-05 1.923e-05 0.01% MLMG::ResNormInf() 42 1.679e-05 1.679e-05 1.679e-05 0.00% MLMG::mgVcycle_bottom 36 1.605e-05 1.605e-05 1.605e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.548e-05 1.548e-05 1.548e-05 0.00% FillPatchSingleLevel 20 1.503e-05 1.503e-05 1.503e-05 0.00% MLMG::computeResidual() 36 1.454e-05 1.454e-05 1.454e-05 0.00% MLPoisson::define() 6 1.444e-05 1.444e-05 1.444e-05 0.00% makeSFC 30 1.341e-05 1.341e-05 1.341e-05 0.00% Castro::construct_new_gravity() 5 1.287e-05 1.287e-05 1.287e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.186e-05 1.186e-05 1.186e-05 0.00% Castro::construct_new_source() 25 9.905e-06 9.905e-06 9.905e-06 0.00% MLPoisson::prepareForSolve() 6 9.9e-06 9.9e-06 9.9e-06 0.00% Castro::do_new_sources() 5 8.671e-06 8.671e-06 8.671e-06 0.00% Castro::do_old_sources() 5 8.644e-06 8.644e-06 8.644e-06 0.00% Amr::initSubcycle() 1 8.428e-06 8.428e-06 8.428e-06 0.00% DistributionMapping::Distribute() 31 7.959e-06 7.959e-06 7.959e-06 0.00% Gravity::actual_multilevel_solve() 1 7.623e-06 7.623e-06 7.623e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.217e-06 7.217e-06 7.217e-06 0.00% Castro::check_for_nan() 10 5.764e-06 5.764e-06 5.764e-06 0.00% Castro::apply_source_to_state() 10 5.405e-06 5.405e-06 5.405e-06 0.00% MLLinOp::define() 6 5.392e-06 5.392e-06 5.392e-06 0.00% Castro::post_timestep() 5 4.485e-06 4.485e-06 4.485e-06 0.00% Gravity::swapTimeLevels() 5 4.45e-06 4.45e-06 4.45e-06 0.00% Castro::computeNewDt() 5 3.921e-06 3.921e-06 3.921e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.699e-06 3.699e-06 3.699e-06 0.00% MLMG::computeMLResidual() 6 3.685e-06 3.685e-06 3.685e-06 0.00% MLMG::getGradSolution() 6 2.925e-06 2.925e-06 2.925e-06 0.00% Gravity::set_mass_offset() 6 2.221e-06 2.221e-06 2.221e-06 0.00% MLMG::MLResNormInf() 6 2.077e-06 2.077e-06 2.077e-06 0.00% MLMG::MLRhsNormInf() 6 2.074e-06 2.074e-06 2.074e-06 0.00% Castro::retry_advance_ctu() 5 1.813e-06 1.813e-06 1.813e-06 0.00% Castro::FluxRegCrseInit 5 1.482e-06 1.482e-06 1.482e-06 0.00% Castro::FluxRegFineAdd() 5 1.043e-06 1.043e-06 1.043e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.017e-06 1.017e-06 1.017e-06 0.00% Amr::init() 1 9.2e-07 9.2e-07 9.2e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3557 0.3557 0.3557 100.00% Amr::coarseTimeStep() 5 0.2751 0.2751 0.2751 77.35% Amr::timeStep() 5 0.2737 0.2737 0.2737 76.94% Castro::advance() 5 0.2708 0.2708 0.2708 76.13% Castro::subcycle_advance_ctu() 5 0.2641 0.2641 0.2641 74.25% Castro::do_advance_ctu() 5 0.264 0.264 0.264 74.21% Castro::construct_new_gravity() 5 0.1298 0.1298 0.1298 36.50% Gravity::solve_phi_with_mlmg() 6 0.1252 0.1252 0.1252 35.19% Gravity::solve_for_phi() 5 0.1221 0.1221 0.1221 34.33% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 34.24% MLMG::solve() 6 0.1106 0.1106 0.1106 31.10% MLMG::oneIter() 36 0.1038 0.1038 0.1038 29.18% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 28.74% Castro::construct_ctu_hydro_source() 5 0.09689 0.09689 0.09689 27.24% MLCellLinOp::smooth() 720 0.04993 0.04993 0.04993 14.04% MLCellLinOp::applyBC() 1946 0.04686 0.04686 0.04686 13.17% Amr::init() 1 0.04588 0.04588 0.04588 12.90% Amr::restart() 1 0.04588 0.04588 0.04588 12.90% AmrLevel::restart() 1 0.03981 0.03981 0.03981 11.19% StateData::restartDoit() 4 0.03973 0.03973 0.03973 11.17% VisMF::Read() 3 0.03961 0.03961 0.03961 11.14% Amr::writePlotFile() 1 0.0339 0.0339 0.0339 9.53% VisMF::Write(FabArray) 1 0.03226 0.03226 0.03226 9.07% MLMG::mgVcycle_bottom 36 0.03181 0.03181 0.03181 8.94% MLMG::actualBottomSolve() 36 0.0318 0.0318 0.0318 8.94% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 8.85% FillPatchIterator::Initialize 20 0.02072 0.02072 0.02072 5.83% FillPatchSingleLevel 20 0.01997 0.01997 0.01997 5.61% Castro::clean_state() 30 0.01988 0.01988 0.01988 5.59% StateDataPhysBCFunct::() 20 0.01792 0.01792 0.01792 5.04% MLCellLinOp::apply() 500 0.01575 0.01575 0.01575 4.43% MLMG::mgVcycle_down::0 36 0.01436 0.01436 0.01436 4.04% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 3.92% FabArray::FillBoundary() 1766 0.01344 0.01344 0.01344 3.78% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.68% StateData::FillBoundary(geom) 160 0.01213 0.01213 0.01213 3.41% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 3.04% Castro::initialize_do_advance() 5 0.009889 0.009889 0.009889 2.78% Castro::computeTemp() 30 0.009663 0.009663 0.009663 2.72% MLCellLinOp::correctionResidual() 216 0.009502 0.009502 0.009502 2.67% amrex::Dot() 484 0.008883 0.008883 0.008883 2.50% MLPoisson::define() 6 0.008835 0.008835 0.008835 2.48% MLMG:computeResOfCorrection() 180 0.008345 0.008345 0.008345 2.35% Castro::construct_old_gravity() 5 0.00763 0.00763 0.00763 2.15% Gravity::get_new_grav_vector() 5 0.007613 0.007613 0.007613 2.14% Gravity::get_old_grav_vector() 5 0.00761 0.00761 0.00761 2.14% Castro::normalize_species() 30 0.007176 0.007176 0.007176 2.02% amrex::Copy() 463 0.006957 0.006957 0.006957 1.96% MLMG::mgVcycle_down::1 36 0.006843 0.006843 0.006843 1.92% Castro::do_new_sources() 5 0.006705 0.006705 0.006705 1.89% FabArray::ParallelCopy() 380 0.006574 0.006574 0.006574 1.85% FabArray::ParallelCopy_nowait() 380 0.006464 0.006464 0.006464 1.82% MLMG::mgVcycle_down::2 36 0.006348 0.006348 0.006348 1.78% Castro::initialize_advance() 5 0.006322 0.006322 0.006322 1.78% FabArray::setVal() 537 0.006252 0.006252 0.006252 1.76% FabArray::norminf() 326 0.0062 0.0062 0.0062 1.74% MLMG::mgVcycle_down::3 36 0.006176 0.006176 0.006176 1.74% MLMG::mgVcycle_down::4 36 0.006126 0.006126 0.006126 1.72% Castro::expand_state() 5 0.006083 0.006083 0.006083 1.71% MLCellLinOp::defineAuxData() 6 0.00591 0.00591 0.00591 1.66% MLCGSolver::ParallelAllReduce 659 0.005339 0.005339 0.005339 1.50% MLMG::addInterpCorrection() 180 0.00522 0.00522 0.00522 1.47% MLMG::mgVcycle_up::4 36 0.004974 0.004974 0.004974 1.40% MLMG::mgVcycle_up::1 36 0.00495 0.00495 0.00495 1.39% MLMG::mgVcycle_up::2 36 0.004901 0.004901 0.004901 1.38% amrex::average_down 180 0.0049 0.0049 0.0049 1.38% MLMG::mgVcycle_up::3 36 0.004767 0.004767 0.004767 1.34% Castro::do_old_sources() 5 0.004528 0.004528 0.004528 1.27% MLPoisson::Fapply() 500 0.004453 0.004453 0.004453 1.25% FabArray::Saxpy() 355 0.003637 0.003637 0.003637 1.02% FabArray::Xpay() 361 0.003491 0.003491 0.003491 0.98% Castro::post_restart() 1 0.003385 0.003385 0.003385 0.95% Gravity::multilevel_solve_for_new_phi() 1 0.003277 0.003277 0.003277 0.92% Gravity::fill_multipole_BCs() 6 0.003275 0.003275 0.003275 0.92% Gravity::actual_multilevel_solve() 1 0.003262 0.003262 0.003262 0.92% MLCellLinOp::solutionResidual() 42 0.003243 0.003243 0.003243 0.91% Castro::post_timestep() 5 0.002817 0.002817 0.002817 0.79% MLCellLinOp::defineBC() 6 0.00271 0.00271 0.00271 0.76% MLMG::computeResidual() 36 0.002694 0.002694 0.002694 0.76% BndryData::define() 6 0.00259 0.00259 0.00259 0.73% MLMG::prepareForSolve() 6 0.002506 0.002506 0.002506 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002423 0.002423 0.002423 0.68% Castro::enforce_min_density() 30 0.002367 0.002367 0.002367 0.67% Castro::estTimeStep() 10 0.001998 0.001998 0.001998 0.56% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.54% amrex::Add() 72 0.001852 0.001852 0.001852 0.52% Castro::construct_new_source() 25 0.001625 0.001625 0.001625 0.46% Castro::construct_new_gravity_source() 5 0.001615 0.001615 0.001615 0.45% Castro::construct_old_source() 25 0.001406 0.001406 0.001406 0.40% Castro::construct_old_gravity_source() 5 0.001368 0.001368 0.001368 0.38% Castro::computeNewDt() 5 0.001289 0.001289 0.001289 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009199 0.0009199 0.0009199 0.26% MLMG::ResNormInf() 42 0.0009172 0.0009172 0.0009172 0.26% Castro::apply_source_to_state() 10 0.0009169 0.0009169 0.0009169 0.26% FabArrayBase::getCPC() 632 0.0007719 0.0007719 0.0007719 0.22% MLMG::getGradSolution() 6 0.0007636 0.0007636 0.0007636 0.21% MLCellLinOp::setLevelBC() 6 0.0007623 0.0007623 0.0007623 0.21% MLCellLinOp::compGrad() 6 0.0007606 0.0007606 0.0007606 0.21% Castro::reset_internal_energy(Fab) 240 0.0006802 0.0006802 0.0006802 0.19% FabArray::mult() 22 0.000645 0.000645 0.000645 0.18% Castro::enforce_speed_limit() 30 0.0006367 0.0006367 0.0006367 0.18% FabArray::setDomainBndry() 20 0.0006343 0.0006343 0.0006343 0.18% MLPoisson::prepareForSolve() 6 0.0006155 0.0006155 0.0006155 0.17% MLCellLinOp::prepareForSolve() 6 0.0006056 0.0006056 0.0006056 0.17% Castro::check_for_nan() 10 0.0006015 0.0006015 0.0006015 0.17% MultiFab::contains_nan() 10 0.0005957 0.0005957 0.0005957 0.17% MLMG::computeMLResidual() 6 0.0005678 0.0005678 0.0005678 0.16% Gravity::update_max_rhs() 6 0.0004377 0.0004377 0.0004377 0.12% FabArrayBase::CPC::define() 244 0.000413 0.000413 0.000413 0.12% Amr::InitAmr() 1 0.0004099 0.0004099 0.0004099 0.12% FabArrayBase::getFB() 1766 0.0003182 0.0003182 0.0003182 0.09% Castro::finalize_advance() 5 0.0003087 0.0003087 0.0003087 0.09% Gravity::swapTimeLevels() 5 0.0002249 0.0002249 0.0002249 0.06% MLLinOp::define() 6 0.0002008 0.0002008 0.0002008 0.06% MLLinOp::defineGrids() 6 0.0001954 0.0001954 0.0001954 0.05% MLMG::MLResNormInf() 6 0.0001495 0.0001495 0.0001495 0.04% Castro::buildMetrics() 1 0.0001477 0.0001477 0.0001477 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.04% MLMG::MLRhsNormInf() 6 0.0001162 0.0001162 0.0001162 0.03% FabArrayBase::FB::FB() 26 5.795e-05 5.795e-05 5.795e-05 0.02% Castro::create_source_corrector() 5 3.632e-05 3.632e-05 3.632e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.724e-05 2.724e-05 2.724e-05 0.01% Amr::writeSmallPlotFile() 1 2.668e-05 2.668e-05 2.668e-05 0.01% Castro::initMFs() 1 2.656e-05 2.656e-05 2.656e-05 0.01% Castro::swap_state_time_levels() 5 2.437e-05 2.437e-05 2.437e-05 0.01% makeSFC 30 2.003e-05 2.003e-05 2.003e-05 0.01% Castro::finalize_do_advance() 5 1.978e-05 1.978e-05 1.978e-05 0.01% Amr::initSubcycle() 1 8.428e-06 8.428e-06 8.428e-06 0.00% DistributionMapping::Distribute() 31 7.959e-06 7.959e-06 7.959e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.045e-06 5.045e-06 5.045e-06 0.00% Gravity::set_mass_offset() 6 2.221e-06 2.221e-06 2.221e-06 0.00% Castro::retry_advance_ctu() 5 1.813e-06 1.813e-06 1.813e-06 0.00% Castro::FluxRegCrseInit 5 1.482e-06 1.482e-06 1.482e-06 0.00% Castro::FluxRegFineAdd() 5 1.043e-06 1.043e-06 1.043e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.017e-06 1.017e-06 1.017e-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 232 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 122 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 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1285 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2666 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6653 KiB 14 MiB MLMG::prepareForSolve() 361 361 3818 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 221 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 219 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6648 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2382 B 2048 KiB Gravity::solve_for_phi() 40 40 701 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 351 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 225 KiB 671 KiB Castro::estTimeStep() 10 10 2659 B 480 KiB VisMF::Write(FabArray) 112 112 1438 B 320 KiB Castro::normalize_species() 30 30 6556 B 320 KiB amrex::average_down 469 469 1327 B 257 KiB MLMG::addInterpCorrection() 468 468 1257 B 257 KiB amrex::Dot() 592 592 3666 B 160 KiB FabArray::norminf() 398 398 2570 B 160 KiB Castro::do_advance_ctu() 5 5 546 B 160 KiB MultiFab::max() 6 6 58 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3715 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 311 B 9648 B MLCellLinOp::applyBC() 3892 3892 243 B 9344 B amrex::Copy() 56 56 5946 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 54 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 128 B 1472 B MLCellLinOp::defineBC() 36 36 394 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1400 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 122 KiB 8192 KiB VisMF::Write(FabArray) 120 120 279 KiB 3584 KiB VisMF::Read() 24 24 218 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3715 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 54 B 10 KiB FillBoundary_nowait() 336 336 311 B 9648 B MLCellLinOp::applyBC() 1946 1946 241 B 9328 B amrex::Copy() 56 56 5946 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2616 B 3072 B StateData::FillBoundary(geom) 960 960 55 B 2976 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 555 B 1296 B amrex::average_down 37 37 220 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 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): 2459 [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.03-23-g7aad6ca7f649) finalized