Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-18-gf22705a9a2c6) initialized Starting run at 09:17:43 UTC on 2023-03-22. Successfully read inputs file ... Castro git describe: 23.03-10-g2433cabb3 AMReX git describe: 23.03-18-gf22705a9a Microphysics git describe: 23.03-20-g47547e7e 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.058460597 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033683244 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048445279 [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.049223225 [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.058062819 [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.063104116 [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.059391155 [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.057813793 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.061234496 [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.064581899 [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.074067886 [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.061916916 [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.062398746 [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.058305165 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033878826 seconds Ending run at 09:17:44 UTC on 2023-03-22. Run time = 0.89412849 Run time without initialization = 0.753063884 Average number of zones advanced per microsecond: 3.481 Average number of zones advanced per microsecond per rank: 3.481 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 % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2402 0.2402 0.2402 26.86% VisMF::Write(FabArray) 11 0.2354 0.2354 0.2354 26.32% MLCellLinOp::applyBC() 4433 0.07735 0.07735 0.07735 8.65% MLPoisson::Fsmooth() 3280 0.03249 0.03249 0.03249 3.63% FillBoundary_nowait() 4023 0.03046 0.03046 0.03046 3.41% StateData::FillBoundary(geom) 328 0.02511 0.02511 0.02511 2.81% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.33% Castro::computeTemp() 63 0.01518 0.01518 0.01518 1.70% Castro::normalize_species() 62 0.01506 0.01506 0.01506 1.68% amrex::Copy() 1029 0.01494 0.01494 0.01494 1.67% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.62% FabArray::ParallelCopy_nowait() 861 0.01351 0.01351 0.01351 1.51% FabArray::setVal() 1144 0.01325 0.01325 0.01325 1.48% StateDataPhysBCFunct::() 41 0.01197 0.01197 0.01197 1.34% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.17% MLCellLinOp::defineAuxData() 11 0.009779 0.009779 0.009779 1.09% Castro::enforce_min_density() 62 0.008527 0.008527 0.008527 0.95% FabArray::Saxpy() 813 0.008249 0.008249 0.008249 0.92% FabArray::Xpay() 821 0.008102 0.008102 0.008102 0.91% MLMG::addInterpCorrection() 410 0.006827 0.006827 0.006827 0.76% Gravity::fill_multipole_BCs() 11 0.006452 0.006452 0.006452 0.72% amrex::average_down 410 0.005973 0.005973 0.005973 0.67% Castro::estTimeStep() 21 0.005879 0.005879 0.005879 0.66% Castro::reset_internal_energy(MultiFab) 63 0.004791 0.004791 0.004791 0.54% FabArray::LinComb() 557 0.00454 0.00454 0.00454 0.51% amrex::Add() 164 0.004333 0.004333 0.004333 0.48% Amr::checkPoint() 3 0.003974 0.003974 0.003974 0.44% BndryData::define() 11 0.003756 0.003756 0.003756 0.42% Castro::do_advance_ctu() 10 0.00333 0.00333 0.00333 0.37% Castro::construct_new_gravity_source() 10 0.003197 0.003197 0.003197 0.36% Castro::construct_old_gravity_source() 10 0.002527 0.002527 0.002527 0.28% Amr::writePlotFile() 2 0.002306 0.002306 0.002306 0.26% MLCGSolver::bicgstab 82 0.002256 0.002256 0.002256 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001699 0.001699 0.001699 0.19% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% Gravity::actual_solve_with_mlmg() 11 0.001503 0.001503 0.001503 0.17% MLCellLinOp::setLevelBC() 11 0.001399 0.001399 0.001399 0.16% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.001313 0.001313 0.001313 0.15% Castro::initData() 1 0.00127 0.00127 0.00127 0.14% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.13% MLCellLinOp::smooth() 1640 0.001172 0.001172 0.001172 0.13% MLCellLinOp::prepareForSolve() 11 0.001138 0.001138 0.001138 0.13% Castro::enforce_speed_limit() 62 0.001128 0.001128 0.001128 0.13% Castro::subcycle_advance_ctu() 10 0.0009284 0.0009284 0.0009284 0.10% MLCellLinOp::compGrad() 11 0.0009206 0.0009206 0.0009206 0.10% MLMG::prepareForSolve() 11 0.0008886 0.0008886 0.0008886 0.10% FabArray::FillBoundary() 4023 0.000836 0.000836 0.000836 0.09% FabArrayBase::getCPC() 1323 0.0007593 0.0007593 0.0007593 0.08% FabArrayBase::CPC::define() 454 0.00067 0.00067 0.00067 0.07% Gravity::get_new_grav_vector() 11 0.0006329 0.0006329 0.0006329 0.07% FabArrayBase::getFB() 4023 0.000602 0.000602 0.000602 0.07% Gravity::get_old_grav_vector() 10 0.0005555 0.0005555 0.0005555 0.06% Amr::InitAmr() 1 0.0005207 0.0005207 0.0005207 0.06% MLCellLinOp::apply() 1142 0.0005153 0.0005153 0.0005153 0.06% MLMG::mgVcycle() 82 0.0003791 0.0003791 0.0003791 0.04% MLLinOp::defineGrids() 11 0.0003753 0.0003753 0.0003753 0.04% Amr::coarseTimeStep() 10 0.0003677 0.0003677 0.0003677 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003127 0.0003127 0.0003127 0.03% main() 1 0.0003064 0.0003064 0.0003064 0.03% MultiFab::max() 11 0.0002579 0.0002579 0.0002579 0.03% FabArray::ParallelCopy() 861 0.0002521 0.0002521 0.0002521 0.03% MLCellLinOp::correctionResidual() 492 0.0002412 0.0002412 0.0002412 0.03% FillPatchIterator::Initialize 41 0.0002332 0.0002332 0.0002332 0.03% MLCellLinOp::defineBC() 11 0.0002183 0.0002183 0.0002183 0.02% Amr::timeStep() 10 0.0001786 0.0001786 0.0001786 0.02% Castro::finalize_advance() 10 0.0001618 0.0001618 0.0001618 0.02% Gravity::update_max_rhs() 11 0.0001367 0.0001367 0.0001367 0.02% StateData::checkPoint() 12 0.0001321 0.0001321 0.0001321 0.01% MLMG:computeResOfCorrection() 410 0.0001107 0.0001107 0.0001107 0.01% Gravity::solve_for_phi() 10 0.0001065 0.0001065 0.0001065 0.01% Castro::Castro() 1 9.985e-05 9.985e-05 9.985e-05 0.01% MLMG::mgVcycle_down::2 82 9.344e-05 9.344e-05 9.344e-05 0.01% MLMG::actualBottomSolve() 82 9.085e-05 9.085e-05 9.085e-05 0.01% MLMG::mgVcycle_down::0 82 8.795e-05 8.795e-05 8.795e-05 0.01% FabArrayBase::FB::FB() 56 8.735e-05 8.735e-05 8.735e-05 0.01% Castro::advance() 10 8.498e-05 8.498e-05 8.498e-05 0.01% Castro::initialize_advance() 10 8.439e-05 8.439e-05 8.439e-05 0.01% MLMG::mgVcycle_down::1 82 8.042e-05 8.042e-05 8.042e-05 0.01% MLMG::mgVcycle_down::3 82 7.751e-05 7.751e-05 7.751e-05 0.01% Castro::expand_state() 10 7.707e-05 7.707e-05 7.707e-05 0.01% Castro::clean_state() 62 7.596e-05 7.596e-05 7.596e-05 0.01% MLMG::solve() 11 7.534e-05 7.534e-05 7.534e-05 0.01% AmrLevel::checkPoint() 3 7.506e-05 7.506e-05 7.506e-05 0.01% MLMG::mgVcycle_down::4 82 7.21e-05 7.21e-05 7.21e-05 0.01% MLMG::mgVcycle_up::4 82 6.038e-05 6.038e-05 6.038e-05 0.01% MLMG::oneIter() 82 5.933e-05 5.933e-05 5.933e-05 0.01% MLMG::mgVcycle_up::3 82 5.264e-05 5.264e-05 5.264e-05 0.01% MLCellLinOp::solutionResidual() 93 5.216e-05 5.216e-05 5.216e-05 0.01% MLMG::mgVcycle_up::0 82 5.187e-05 5.187e-05 5.187e-05 0.01% Castro::initialize_do_advance() 10 5.104e-05 5.104e-05 5.104e-05 0.01% Castro::finalize_do_advance() 10 5.064e-05 5.064e-05 5.064e-05 0.01% MLMG::mgVcycle_up::1 82 4.837e-05 4.837e-05 4.837e-05 0.01% Castro::create_source_corrector() 10 4.768e-05 4.768e-05 4.768e-05 0.01% MLMG::mgVcycle_up::2 82 4.669e-05 4.669e-05 4.669e-05 0.01% Castro::construct_new_source() 50 4.258e-05 4.258e-05 4.258e-05 0.00% Castro::swap_state_time_levels() 10 3.862e-05 3.862e-05 3.862e-05 0.00% StateData::define() 4 3.505e-05 3.505e-05 3.505e-05 0.00% MLMG::ResNormInf() 93 3.375e-05 3.375e-05 3.375e-05 0.00% Castro::enforce_consistent_e() 1 3.353e-05 3.353e-05 3.353e-05 0.00% MLMG::mgVcycle_bottom 82 3.339e-05 3.339e-05 3.339e-05 0.00% MLMG::computeResidual() 82 3.221e-05 3.221e-05 3.221e-05 0.00% FillPatchSingleLevel 41 2.984e-05 2.984e-05 2.984e-05 0.00% Castro::construct_new_gravity() 10 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::initMFs() 1 2.529e-05 2.529e-05 2.529e-05 0.00% makeSFC 55 2.481e-05 2.481e-05 2.481e-05 0.00% Amr::writeSmallPlotFile() 1 2.416e-05 2.416e-05 2.416e-05 0.00% MLPoisson::define() 11 2.253e-05 2.253e-05 2.253e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.21e-05 2.21e-05 2.21e-05 0.00% Amr::FinalizeInit() 1 1.96e-05 1.96e-05 1.96e-05 0.00% Amr::defBaseLevel() 1 1.94e-05 1.94e-05 1.94e-05 0.00% Castro::buildMetrics() 1 1.837e-05 1.837e-05 1.837e-05 0.00% Castro::do_new_sources() 10 1.699e-05 1.699e-05 1.699e-05 0.00% Castro::construct_old_source() 50 1.687e-05 1.687e-05 1.687e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.666e-05 1.666e-05 1.666e-05 0.00% Castro::do_old_sources() 10 1.65e-05 1.65e-05 1.65e-05 0.00% Castro::post_timestep() 10 1.527e-05 1.527e-05 1.527e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.444e-05 1.444e-05 1.444e-05 0.00% MLPoisson::prepareForSolve() 11 1.424e-05 1.424e-05 1.424e-05 0.00% DistributionMapping::Distribute() 56 1.376e-05 1.376e-05 1.376e-05 0.00% Castro::check_for_nan() 20 1.131e-05 1.131e-05 1.131e-05 0.00% Castro::apply_source_to_state() 20 1.117e-05 1.117e-05 1.117e-05 0.00% MLLinOp::define() 11 1.098e-05 1.098e-05 1.098e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.033e-05 1.033e-05 1.033e-05 0.00% Castro::construct_old_gravity() 10 1.015e-05 1.015e-05 1.015e-05 0.00% Gravity::swapTimeLevels() 10 9.754e-06 9.754e-06 9.754e-06 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% Castro::computeNewDt() 9 7.732e-06 7.732e-06 7.732e-06 0.00% Gravity::actual_multilevel_solve() 1 7.617e-06 7.617e-06 7.617e-06 0.00% MLMG::computeMLResidual() 11 7.58e-06 7.58e-06 7.58e-06 0.00% MLMG::getGradSolution() 11 5.825e-06 5.825e-06 5.825e-06 0.00% Castro::retry_advance_ctu() 10 5.75e-06 5.75e-06 5.75e-06 0.00% Gravity::set_mass_offset() 11 5.31e-06 5.31e-06 5.31e-06 0.00% Amr::InitializeInit() 1 5.078e-06 5.078e-06 5.078e-06 0.00% AmrLevel::checkPointPost() 3 4.271e-06 4.271e-06 4.271e-06 0.00% Castro::FluxRegCrseInit 10 4.22e-06 4.22e-06 4.22e-06 0.00% Castro::post_init() 1 4.018e-06 4.018e-06 4.018e-06 0.00% MLMG::MLRhsNormInf() 11 3.97e-06 3.97e-06 3.97e-06 0.00% MLMG::MLResNormInf() 11 3.655e-06 3.655e-06 3.655e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.356e-06 3.356e-06 3.356e-06 0.00% Castro::computeInitialDt() 2 2.827e-06 2.827e-06 2.827e-06 0.00% Castro::FluxRegFineAdd() 10 2.525e-06 2.525e-06 2.525e-06 0.00% Amr::init() 1 2.227e-06 2.227e-06 2.227e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.971e-06 1.971e-06 1.971e-06 0.00% AmrLevel::checkPointPre() 3 1.874e-06 1.874e-06 1.874e-06 0.00% Amr::initialInit() 1 1.246e-06 1.246e-06 1.246e-06 0.00% Castro::post_regrid() 1 9.17e-07 9.17e-07 9.17e-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.719 0.719 0.719 80.41% Amr::timeStep() 10 0.5982 0.5982 0.5982 66.90% Castro::advance() 10 0.5902 0.5902 0.5902 66.00% Castro::subcycle_advance_ctu() 10 0.5784 0.5784 0.5784 64.68% Castro::do_advance_ctu() 10 0.5774 0.5774 0.5774 64.58% Gravity::solve_phi_with_mlmg() 11 0.2849 0.2849 0.2849 31.86% Gravity::actual_solve_with_mlmg() 11 0.2779 0.2779 0.2779 31.08% Castro::construct_new_gravity() 10 0.2602 0.2602 0.2602 29.10% MLMG::solve() 11 0.2571 0.2571 0.2571 28.75% Gravity::solve_for_phi() 10 0.2445 0.2445 0.2445 27.34% MLMG::oneIter() 82 0.2428 0.2428 0.2428 27.15% Castro::construct_ctu_hydro_source() 10 0.2402 0.2402 0.2402 26.86% MLMG::mgVcycle() 82 0.2391 0.2391 0.2391 26.74% VisMF::Write(FabArray) 11 0.2354 0.2354 0.2354 26.32% Amr::checkPoint() 3 0.1747 0.1747 0.1747 19.54% AmrLevel::checkPoint() 3 0.1707 0.1707 0.1707 19.09% StateData::checkPoint() 12 0.1706 0.1706 0.1706 19.08% Amr::init() 1 0.1404 0.1404 0.1404 15.70% MLCellLinOp::smooth() 1640 0.117 0.117 0.117 13.09% MLCellLinOp::applyBC() 4433 0.1093 0.1093 0.1093 12.23% MLMG::mgVcycle_bottom 82 0.07448 0.07448 0.07448 8.33% MLMG::actualBottomSolve() 82 0.07444 0.07444 0.07444 8.33% MLCGSolver::bicgstab 82 0.07374 0.07374 0.07374 8.25% Amr::writePlotFile() 2 0.06768 0.06768 0.06768 7.57% Amr::initialInit() 1 0.04814 0.04814 0.04814 5.38% Castro::clean_state() 62 0.04541 0.04541 0.04541 5.08% Amr::FinalizeInit() 1 0.04394 0.04394 0.04394 4.91% FillPatchIterator::Initialize 41 0.0427 0.0427 0.0427 4.78% Castro::post_init() 1 0.04265 0.04265 0.04265 4.77% FillPatchSingleLevel 41 0.04116 0.04116 0.04116 4.60% Gravity::multilevel_solve_for_new_phi() 1 0.04082 0.04082 0.04082 4.57% Gravity::actual_multilevel_solve() 1 0.04081 0.04081 0.04081 4.56% StateDataPhysBCFunct::() 41 0.03707 0.03707 0.03707 4.15% MLCellLinOp::apply() 1142 0.03649 0.03649 0.03649 4.08% MLMG::mgVcycle_down::0 82 0.03347 0.03347 0.03347 3.74% MLPoisson::Fsmooth() 3280 0.03249 0.03249 0.03249 3.63% FabArray::FillBoundary() 4023 0.03198 0.03198 0.03198 3.58% FillBoundary_nowait() 4023 0.03115 0.03115 0.03115 3.48% MLMG::mgVcycle_up::0 82 0.02552 0.02552 0.02552 2.85% StateData::FillBoundary(geom) 328 0.02511 0.02511 0.02511 2.81% MLCellLinOp::correctionResidual() 492 0.02229 0.02229 0.02229 2.49% Castro::computeTemp() 63 0.02156 0.02156 0.02156 2.41% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.33% MLMG:computeResOfCorrection() 410 0.01959 0.01959 0.01959 2.19% Castro::initialize_do_advance() 10 0.0194 0.0194 0.0194 2.17% Gravity::get_new_grav_vector() 11 0.01723 0.01723 0.01723 1.93% MLPoisson::define() 11 0.01653 0.01653 0.01653 1.85% MLMG::mgVcycle_down::1 82 0.01592 0.01592 0.01592 1.78% Castro::construct_old_gravity() 10 0.01536 0.01536 0.01536 1.72% Gravity::get_old_grav_vector() 10 0.01535 0.01535 0.01535 1.72% Castro::normalize_species() 62 0.01506 0.01506 0.01506 1.68% amrex::Copy() 1029 0.01494 0.01494 0.01494 1.67% MLMG::mgVcycle_down::2 82 0.0149 0.0149 0.0149 1.67% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.63% MLMG::mgVcycle_down::3 82 0.01455 0.01455 0.01455 1.63% FabArray::norminf() 743 0.01446 0.01446 0.01446 1.62% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.60% MLMG::mgVcycle_down::4 82 0.01432 0.01432 0.01432 1.60% FabArray::setVal() 1144 0.01325 0.01325 0.01325 1.48% MLCGSolver::ParallelAllReduce 1514 0.01248 0.01248 0.01248 1.40% MLMG::addInterpCorrection() 410 0.01205 0.01205 0.01205 1.35% Castro::do_new_sources() 10 0.01187 0.01187 0.01187 1.33% MLMG::mgVcycle_up::4 82 0.01163 0.01163 0.01163 1.30% MLMG::mgVcycle_up::1 82 0.01154 0.01154 0.01154 1.29% Castro::expand_state() 10 0.01144 0.01144 0.01144 1.28% MLMG::mgVcycle_up::2 82 0.01133 0.01133 0.01133 1.27% amrex::average_down 410 0.01128 0.01128 0.01128 1.26% MLCellLinOp::defineAuxData() 11 0.01111 0.01111 0.01111 1.24% MLMG::mgVcycle_up::3 82 0.01108 0.01108 0.01108 1.24% Castro::initialize_advance() 10 0.01102 0.01102 0.01102 1.23% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.17% Castro::do_old_sources() 10 0.01039 0.01039 0.01039 1.16% Castro::enforce_min_density() 62 0.008527 0.008527 0.008527 0.95% FabArray::Saxpy() 813 0.008249 0.008249 0.008249 0.92% FabArray::Xpay() 821 0.008102 0.008102 0.008102 0.91% Castro::post_timestep() 10 0.007828 0.007828 0.007828 0.88% MLCellLinOp::solutionResidual() 93 0.007191 0.007191 0.007191 0.80% Gravity::fill_multipole_BCs() 11 0.006715 0.006715 0.006715 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006375 0.006375 0.006375 0.71% MLMG::computeResidual() 82 0.006204 0.006204 0.006204 0.69% Castro::estTimeStep() 21 0.005879 0.005879 0.005879 0.66% MLCellLinOp::defineBC() 11 0.004959 0.004959 0.004959 0.55% MLMG::prepareForSolve() 11 0.004748 0.004748 0.004748 0.53% BndryData::define() 11 0.00474 0.00474 0.00474 0.53% FabArray::LinComb() 557 0.00454 0.00454 0.00454 0.51% amrex::Add() 164 0.004333 0.004333 0.004333 0.48% Amr::InitializeInit() 1 0.004192 0.004192 0.004192 0.47% Amr::defBaseLevel() 1 0.004187 0.004187 0.004187 0.47% Castro::initData() 1 0.003663 0.003663 0.003663 0.41% Castro::computeNewDt() 9 0.003522 0.003522 0.003522 0.39% Castro::construct_new_source() 50 0.00324 0.00324 0.00324 0.36% Castro::construct_new_gravity_source() 10 0.003197 0.003197 0.003197 0.36% Castro::construct_old_source() 50 0.002544 0.002544 0.002544 0.28% Castro::construct_old_gravity_source() 10 0.002527 0.002527 0.002527 0.28% MLMG::ResNormInf() 93 0.002086 0.002086 0.002086 0.23% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001699 0.001699 0.001699 0.19% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% FabArrayBase::getCPC() 1323 0.001429 0.001429 0.001429 0.16% MLCellLinOp::setLevelBC() 11 0.001399 0.001399 0.001399 0.16% MLMG::getGradSolution() 11 0.001397 0.001397 0.001397 0.16% MLCellLinOp::compGrad() 11 0.001391 0.001391 0.001391 0.16% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.001313 0.001313 0.001313 0.15% Castro::check_for_nan() 20 0.001204 0.001204 0.001204 0.13% MultiFab::contains_nan() 20 0.001193 0.001193 0.001193 0.13% MLPoisson::prepareForSolve() 11 0.001152 0.001152 0.001152 0.13% MLCellLinOp::prepareForSolve() 11 0.001138 0.001138 0.001138 0.13% Castro::enforce_speed_limit() 62 0.001128 0.001128 0.001128 0.13% Castro::post_regrid() 1 0.001122 0.001122 0.001122 0.13% MLMG::computeMLResidual() 11 0.001027 0.001027 0.001027 0.11% Castro::computeInitialDt() 2 0.0008655 0.0008655 0.0008655 0.10% Gravity::update_max_rhs() 11 0.0008644 0.0008644 0.0008644 0.10% Castro::finalize_advance() 10 0.0007077 0.0007077 0.0007077 0.08% FabArrayBase::getFB() 4023 0.0006894 0.0006894 0.0006894 0.08% FabArrayBase::CPC::define() 454 0.00067 0.00067 0.00067 0.07% Amr::InitAmr() 1 0.0005294 0.0005294 0.0005294 0.06% Castro::Castro() 1 0.0004551 0.0004551 0.0004551 0.05% Gravity::swapTimeLevels() 10 0.0004451 0.0004451 0.0004451 0.05% MLLinOp::define() 11 0.0004402 0.0004402 0.0004402 0.05% MLLinOp::defineGrids() 11 0.0004292 0.0004292 0.0004292 0.05% MLMG::MLResNormInf() 11 0.0002855 0.0002855 0.0002855 0.03% MultiFab::max() 11 0.0002579 0.0002579 0.0002579 0.03% MLMG::MLRhsNormInf() 11 0.0002209 0.0002209 0.0002209 0.02% Castro::buildMetrics() 1 0.000165 0.000165 0.000165 0.02% FabArrayBase::FB::FB() 56 8.735e-05 8.735e-05 8.735e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.192e-05 5.192e-05 5.192e-05 0.01% Castro::finalize_do_advance() 10 5.064e-05 5.064e-05 5.064e-05 0.01% Castro::create_source_corrector() 10 4.768e-05 4.768e-05 4.768e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.538e-05 4.538e-05 4.538e-05 0.01% Castro::swap_state_time_levels() 10 3.862e-05 3.862e-05 3.862e-05 0.00% makeSFC 55 3.748e-05 3.748e-05 3.748e-05 0.00% StateData::define() 4 3.505e-05 3.505e-05 3.505e-05 0.00% Castro::enforce_consistent_e() 1 3.353e-05 3.353e-05 3.353e-05 0.00% Castro::initMFs() 1 2.529e-05 2.529e-05 2.529e-05 0.00% Amr::writeSmallPlotFile() 1 2.416e-05 2.416e-05 2.416e-05 0.00% DistributionMapping::Distribute() 56 1.376e-05 1.376e-05 1.376e-05 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% Castro::retry_advance_ctu() 10 5.75e-06 5.75e-06 5.75e-06 0.00% Gravity::set_mass_offset() 11 5.31e-06 5.31e-06 5.31e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.446e-06 4.446e-06 4.446e-06 0.00% AmrLevel::checkPointPost() 3 4.271e-06 4.271e-06 4.271e-06 0.00% Castro::FluxRegCrseInit 10 4.22e-06 4.22e-06 4.22e-06 0.00% Castro::FluxRegFineAdd() 10 2.525e-06 2.525e-06 2.525e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.971e-06 1.971e-06 1.971e-06 0.00% AmrLevel::checkPointPre() 3 1.874e-06 1.874e-06 1.874e-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 91 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 123 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 1017 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2129 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3537 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1844 B 2048 KiB Gravity::solve_for_phi() 80 80 559 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 2758 B 480 KiB VisMF::Write(FabArray) 656 656 3355 B 320 KiB Castro::normalize_species() 62 62 5479 B 320 KiB amrex::average_down 1067 1067 1257 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1158 B 257 KiB amrex::Dot() 1360 1360 3430 B 160 KiB FabArray::norminf() 907 907 2394 B 160 KiB Castro::do_advance_ctu() 10 10 583 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3458 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3861 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 571 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 615 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3458 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3861 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 45 B 2784 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 294 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): 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-18-gf22705a9a2c6) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-18-gf22705a9a2c6) initialized Starting run at 09:17:45 UTC on 2023-03-22. Successfully read inputs file ... Castro git describe: 23.03-10-g2433cabb3 AMReX git describe: 23.03-18-gf22705a9a Microphysics git describe: 23.03-20-g47547e7e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.477130356 Restart time = 0.04544964 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.04908417 [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.047173383 [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.048891117 [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.054408723 [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.059347865 [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.032959497 seconds Ending run at 09:17:46 UTC on 2023-03-22. Run time = 0.338289462 Run time without initialization = 0.292253316 Average number of zones advanced per microsecond: 4.485 Average number of zones advanced per microsecond per rank: 4.485 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3383 ... 0.3383 ... 0.3383 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0805 0.0805 0.0805 23.79% VisMF::Read() 3 0.03925 0.03925 0.03925 11.60% MLCellLinOp::applyBC() 1946 0.03343 0.03343 0.03343 9.88% VisMF::Write(FabArray) 1 0.03143 0.03143 0.03143 9.29% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 4.12% FillBoundary_nowait() 1766 0.0129 0.0129 0.0129 3.81% StateData::FillBoundary(geom) 160 0.01224 0.01224 0.01224 3.62% amrex::Dot() 484 0.008856 0.008856 0.008856 2.62% amrex::Copy() 463 0.006965 0.006965 0.006965 2.06% Castro::normalize_species() 30 0.006932 0.006932 0.006932 2.05% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.85% FabArray::norminf() 326 0.006244 0.006244 0.006244 1.85% FabArray::ParallelCopy_nowait() 380 0.006095 0.006095 0.006095 1.80% StateDataPhysBCFunct::() 20 0.00578 0.00578 0.00578 1.71% Castro::computeTemp() 30 0.00561 0.00561 0.00561 1.66% MLCellLinOp::defineAuxData() 6 0.00526 0.00526 0.00526 1.55% MLPoisson::Fapply() 500 0.004453 0.004453 0.004453 1.32% FabArray::Saxpy() 355 0.00365 0.00365 0.00365 1.08% FabArray::Xpay() 361 0.003513 0.003513 0.003513 1.04% Gravity::fill_multipole_BCs() 6 0.003098 0.003098 0.003098 0.92% Castro::estTimeStep() 10 0.003024 0.003024 0.003024 0.89% MLMG::addInterpCorrection() 180 0.002989 0.002989 0.002989 0.88% amrex::average_down 180 0.002617 0.002617 0.002617 0.77% Amr::restart() 1 0.002456 0.002456 0.002456 0.73% Castro::enforce_min_density() 30 0.002285 0.002285 0.002285 0.68% BndryData::define() 6 0.00204 0.00204 0.00204 0.60% Castro::do_advance_ctu() 5 0.001983 0.001983 0.001983 0.59% Castro::reset_internal_energy(MultiFab) 30 0.001937 0.001937 0.001937 0.57% FabArray::LinComb() 242 0.001925 0.001925 0.001925 0.57% amrex::Add() 72 0.001867 0.001867 0.001867 0.55% Castro::construct_new_gravity_source() 5 0.001624 0.001624 0.001624 0.48% Amr::writePlotFile() 1 0.001346 0.001346 0.001346 0.40% Castro::construct_old_gravity_source() 5 0.001254 0.001254 0.001254 0.37% MLCGSolver::bicgstab 36 0.001001 0.001001 0.001001 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000916 0.000916 0.000916 0.27% Castro::enforce_speed_limit() 30 0.0008166 0.0008166 0.0008166 0.24% Castro::reset_internal_energy(Fab) 240 0.0008015 0.0008015 0.0008015 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007652 0.0007652 0.0007652 0.23% MLCellLinOp::setLevelBC() 6 0.0007447 0.0007447 0.0007447 0.22% FabArray::setDomainBndry() 20 0.0006594 0.0006594 0.0006594 0.19% FabArray::mult() 22 0.0006457 0.0006457 0.0006457 0.19% MLCellLinOp::prepareForSolve() 6 0.0006102 0.0006102 0.0006102 0.18% MultiFab::contains_nan() 10 0.0005929 0.0005929 0.0005929 0.18% MLCellLinOp::compGrad() 6 0.0004907 0.0004907 0.0004907 0.15% MLMG::prepareForSolve() 6 0.0004827 0.0004827 0.0004827 0.14% MLCellLinOp::smooth() 720 0.0004466 0.0004466 0.0004466 0.13% FabArrayBase::CPC::define() 244 0.0004083 0.0004083 0.0004083 0.12% Amr::InitAmr() 1 0.0004069 0.0004069 0.0004069 0.12% FabArray::FillBoundary() 1766 0.0003601 0.0003601 0.0003601 0.11% FabArrayBase::getCPC() 632 0.0003475 0.0003475 0.0003475 0.10% Gravity::get_old_grav_vector() 5 0.0002973 0.0002973 0.0002973 0.09% Gravity::get_new_grav_vector() 5 0.0002743 0.0002743 0.0002743 0.08% main() 1 0.0002728 0.0002728 0.0002728 0.08% FabArrayBase::getFB() 1766 0.000254 0.000254 0.000254 0.08% MLCellLinOp::apply() 500 0.0002054 0.0002054 0.0002054 0.06% MLMG::mgVcycle() 36 0.0001623 0.0001623 0.0001623 0.05% Amr::coarseTimeStep() 5 0.0001554 0.0001554 0.0001554 0.05% MLLinOp::defineGrids() 6 0.0001379 0.0001379 0.0001379 0.04% MultiFab::max() 6 0.0001357 0.0001357 0.0001357 0.04% MLCGSolver::ParallelAllReduce 659 0.0001258 0.0001258 0.0001258 0.04% MLCellLinOp::defineBC() 6 0.0001155 0.0001155 0.0001155 0.03% FillPatchIterator::Initialize 20 0.0001146 0.0001146 0.0001146 0.03% FabArray::ParallelCopy() 380 0.0001057 0.0001057 0.0001057 0.03% MLCellLinOp::correctionResidual() 216 9.764e-05 9.764e-05 9.764e-05 0.03% Amr::timeStep() 5 7.765e-05 7.765e-05 7.765e-05 0.02% AmrLevel::restart() 1 7.555e-05 7.555e-05 7.555e-05 0.02% Castro::subcycle_advance_ctu() 5 7.306e-05 7.306e-05 7.306e-05 0.02% Gravity::solve_for_phi() 5 7.004e-05 7.004e-05 7.004e-05 0.02% StateData::restartDoit() 4 6.4e-05 6.4e-05 6.4e-05 0.02% FabArrayBase::FB::FB() 26 5.898e-05 5.898e-05 5.898e-05 0.02% Gravity::update_max_rhs() 6 5.713e-05 5.713e-05 5.713e-05 0.02% Castro::finalize_advance() 5 5.613e-05 5.613e-05 5.613e-05 0.02% Castro::advance() 5 5.259e-05 5.259e-05 5.259e-05 0.02% MLMG:computeResOfCorrection() 180 4.75e-05 4.75e-05 4.75e-05 0.01% Castro::expand_state() 5 4.747e-05 4.747e-05 4.747e-05 0.01% MLMG::actualBottomSolve() 36 4.064e-05 4.064e-05 4.064e-05 0.01% MLMG::mgVcycle_down::0 36 3.939e-05 3.939e-05 3.939e-05 0.01% MLMG::solve() 6 3.611e-05 3.611e-05 3.611e-05 0.01% Castro::clean_state() 30 3.56e-05 3.56e-05 3.56e-05 0.01% MLMG::mgVcycle_down::1 36 3.494e-05 3.494e-05 3.494e-05 0.01% Castro::initialize_advance() 5 3.429e-05 3.429e-05 3.429e-05 0.01% MLMG::mgVcycle_down::4 36 3.174e-05 3.174e-05 3.174e-05 0.01% MLMG::mgVcycle_down::2 36 3.154e-05 3.154e-05 3.154e-05 0.01% MLMG::mgVcycle_down::3 36 3.046e-05 3.046e-05 3.046e-05 0.01% MLMG::oneIter() 36 2.833e-05 2.833e-05 2.833e-05 0.01% MLMG::mgVcycle_up::4 36 2.785e-05 2.785e-05 2.785e-05 0.01% Castro::buildMetrics() 1 2.762e-05 2.762e-05 2.762e-05 0.01% MLCellLinOp::solutionResidual() 42 2.711e-05 2.711e-05 2.711e-05 0.01% Castro::initMFs() 1 2.682e-05 2.682e-05 2.682e-05 0.01% Castro::initialize_do_advance() 5 2.51e-05 2.51e-05 2.51e-05 0.01% Amr::writeSmallPlotFile() 1 2.454e-05 2.454e-05 2.454e-05 0.01% Castro::swap_state_time_levels() 5 2.327e-05 2.327e-05 2.327e-05 0.01% MLMG::mgVcycle_up::0 36 2.211e-05 2.211e-05 2.211e-05 0.01% MLPoisson::define() 6 2.066e-05 2.066e-05 2.066e-05 0.01% MLMG::mgVcycle_up::2 36 2.018e-05 2.018e-05 2.018e-05 0.01% MLMG::mgVcycle_up::3 36 2.006e-05 2.006e-05 2.006e-05 0.01% MLMG::mgVcycle_up::1 36 1.944e-05 1.944e-05 1.944e-05 0.01% Castro::post_restart() 1 1.92e-05 1.92e-05 1.92e-05 0.01% Castro::finalize_do_advance() 5 1.878e-05 1.878e-05 1.878e-05 0.01% MLMG::ResNormInf() 42 1.664e-05 1.664e-05 1.664e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.594e-05 1.594e-05 1.594e-05 0.00% MLMG::computeResidual() 36 1.419e-05 1.419e-05 1.419e-05 0.00% MLMG::mgVcycle_bottom 36 1.407e-05 1.407e-05 1.407e-05 0.00% FillPatchSingleLevel 20 1.383e-05 1.383e-05 1.383e-05 0.00% Castro::construct_new_gravity() 5 1.28e-05 1.28e-05 1.28e-05 0.00% makeSFC 30 1.261e-05 1.261e-05 1.261e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::construct_new_source() 25 1.099e-05 1.099e-05 1.099e-05 0.00% Castro::construct_old_source() 25 1.036e-05 1.036e-05 1.036e-05 0.00% MLPoisson::prepareForSolve() 6 9.878e-06 9.878e-06 9.878e-06 0.00% Castro::do_new_sources() 5 8.803e-06 8.803e-06 8.803e-06 0.00% DistributionMapping::Distribute() 31 8.727e-06 8.727e-06 8.727e-06 0.00% Amr::initSubcycle() 1 8.532e-06 8.532e-06 8.532e-06 0.00% Castro::do_old_sources() 5 8.039e-06 8.039e-06 8.039e-06 0.00% Gravity::actual_multilevel_solve() 1 7.23e-06 7.23e-06 7.23e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.962e-06 6.962e-06 6.962e-06 0.00% Castro::apply_source_to_state() 10 5.916e-06 5.916e-06 5.916e-06 0.00% Castro::check_for_nan() 10 5.468e-06 5.468e-06 5.468e-06 0.00% Castro::construct_old_gravity() 5 5.25e-06 5.25e-06 5.25e-06 0.00% MLLinOp::define() 6 5.207e-06 5.207e-06 5.207e-06 0.00% Castro::post_timestep() 5 4.531e-06 4.531e-06 4.531e-06 0.00% Gravity::swapTimeLevels() 5 4.154e-06 4.154e-06 4.154e-06 0.00% Castro::computeNewDt() 5 3.676e-06 3.676e-06 3.676e-06 0.00% MLMG::computeMLResidual() 6 3.501e-06 3.501e-06 3.501e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.038e-06 3.038e-06 3.038e-06 0.00% MLMG::getGradSolution() 6 2.964e-06 2.964e-06 2.964e-06 0.00% Castro::create_source_corrector() 5 2.891e-06 2.891e-06 2.891e-06 0.00% MLMG::MLResNormInf() 6 2.439e-06 2.439e-06 2.439e-06 0.00% Gravity::set_mass_offset() 6 2.274e-06 2.274e-06 2.274e-06 0.00% MLMG::MLRhsNormInf() 6 2.145e-06 2.145e-06 2.145e-06 0.00% Castro::retry_advance_ctu() 5 1.819e-06 1.819e-06 1.819e-06 0.00% Castro::FluxRegCrseInit 5 1.586e-06 1.586e-06 1.586e-06 0.00% Castro::FluxRegFineAdd() 5 1.031e-06 1.031e-06 1.031e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.023e-06 1.023e-06 1.023e-06 0.00% Amr::init() 1 9.39e-07 9.39e-07 9.39e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3383 0.3383 0.3383 100.00% Amr::coarseTimeStep() 5 0.2591 0.2591 0.2591 76.57% Amr::timeStep() 5 0.2567 0.2567 0.2567 75.87% Castro::advance() 5 0.2535 0.2535 0.2535 74.94% Castro::subcycle_advance_ctu() 5 0.2474 0.2474 0.2474 73.11% Castro::do_advance_ctu() 5 0.2473 0.2473 0.2473 73.09% Castro::construct_new_gravity() 5 0.1301 0.1301 0.1301 38.47% Gravity::solve_phi_with_mlmg() 6 0.1254 0.1254 0.1254 37.08% Gravity::solve_for_phi() 5 0.1224 0.1224 0.1224 36.17% Gravity::actual_solve_with_mlmg() 6 0.1221 0.1221 0.1221 36.09% MLMG::solve() 6 0.1109 0.1109 0.1109 32.78% MLMG::oneIter() 36 0.104 0.104 0.104 30.74% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 30.28% Castro::construct_ctu_hydro_source() 5 0.08048 0.08048 0.08048 23.79% MLCellLinOp::smooth() 720 0.05008 0.05008 0.05008 14.80% MLCellLinOp::applyBC() 1946 0.04701 0.04701 0.04701 13.90% Amr::init() 1 0.04549 0.04549 0.04549 13.45% Amr::restart() 1 0.04549 0.04549 0.04549 13.45% AmrLevel::restart() 1 0.03944 0.03944 0.03944 11.66% StateData::restartDoit() 4 0.03936 0.03936 0.03936 11.64% VisMF::Read() 3 0.03925 0.03925 0.03925 11.60% Amr::writePlotFile() 1 0.03304 0.03304 0.03304 9.77% MLMG::mgVcycle_bottom 36 0.0318 0.0318 0.0318 9.40% MLMG::actualBottomSolve() 36 0.03179 0.03179 0.03179 9.40% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 9.31% VisMF::Write(FabArray) 1 0.03143 0.03143 0.03143 9.29% FillPatchIterator::Initialize 20 0.02082 0.02082 0.02082 6.15% FillPatchSingleLevel 20 0.02004 0.02004 0.02004 5.92% Castro::clean_state() 30 0.01842 0.01842 0.01842 5.44% StateDataPhysBCFunct::() 20 0.01802 0.01802 0.01802 5.33% MLCellLinOp::apply() 500 0.0157 0.0157 0.0157 4.64% MLMG::mgVcycle_down::0 36 0.01431 0.01431 0.01431 4.23% MLPoisson::Fsmooth() 1440 0.01395 0.01395 0.01395 4.12% FabArray::FillBoundary() 1766 0.01358 0.01358 0.01358 4.01% FillBoundary_nowait() 1766 0.01322 0.01322 0.01322 3.91% StateData::FillBoundary(geom) 160 0.01224 0.01224 0.01224 3.62% MLMG::mgVcycle_up::0 36 0.01092 0.01092 0.01092 3.23% MLCellLinOp::correctionResidual() 216 0.009521 0.009521 0.009521 2.81% Castro::initialize_do_advance() 5 0.009326 0.009326 0.009326 2.76% MLPoisson::define() 6 0.008902 0.008902 0.008902 2.63% amrex::Dot() 484 0.008856 0.008856 0.008856 2.62% MLMG:computeResOfCorrection() 180 0.008364 0.008364 0.008364 2.47% Castro::computeTemp() 30 0.008349 0.008349 0.008349 2.47% Castro::construct_old_gravity() 5 0.007707 0.007707 0.007707 2.28% Gravity::get_old_grav_vector() 5 0.007702 0.007702 0.007702 2.28% Gravity::get_new_grav_vector() 5 0.007651 0.007651 0.007651 2.26% amrex::Copy() 463 0.006965 0.006965 0.006965 2.06% Castro::normalize_species() 30 0.006932 0.006932 0.006932 2.05% MLMG::mgVcycle_down::1 36 0.006811 0.006811 0.006811 2.01% FabArray::ParallelCopy() 380 0.006578 0.006578 0.006578 1.94% FabArray::ParallelCopy_nowait() 380 0.006472 0.006472 0.006472 1.91% MLMG::mgVcycle_down::2 36 0.00638 0.00638 0.00638 1.89% Castro::do_new_sources() 5 0.006358 0.006358 0.006358 1.88% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.85% FabArray::norminf() 326 0.006244 0.006244 0.006244 1.85% MLMG::mgVcycle_down::3 36 0.006232 0.006232 0.006232 1.84% MLMG::mgVcycle_down::4 36 0.006193 0.006193 0.006193 1.83% Castro::expand_state() 5 0.006069 0.006069 0.006069 1.79% MLCellLinOp::defineAuxData() 6 0.00599 0.00599 0.00599 1.77% Castro::initialize_advance() 5 0.005806 0.005806 0.005806 1.72% MLCGSolver::ParallelAllReduce 659 0.005332 0.005332 0.005332 1.58% MLMG::addInterpCorrection() 180 0.005249 0.005249 0.005249 1.55% MLMG::mgVcycle_up::4 36 0.005012 0.005012 0.005012 1.48% MLMG::mgVcycle_up::1 36 0.004942 0.004942 0.004942 1.46% amrex::average_down 180 0.004925 0.004925 0.004925 1.46% MLMG::mgVcycle_up::2 36 0.004861 0.004861 0.004861 1.44% MLMG::mgVcycle_up::3 36 0.004796 0.004796 0.004796 1.42% MLPoisson::Fapply() 500 0.004453 0.004453 0.004453 1.32% Castro::do_old_sources() 5 0.004038 0.004038 0.004038 1.19% FabArray::Saxpy() 355 0.00365 0.00365 0.00365 1.08% FabArray::Xpay() 361 0.003513 0.003513 0.003513 1.04% Castro::post_restart() 1 0.00341 0.00341 0.00341 1.01% Gravity::multilevel_solve_for_new_phi() 1 0.003302 0.003302 0.003302 0.98% Gravity::actual_multilevel_solve() 1 0.003287 0.003287 0.003287 0.97% MLCellLinOp::solutionResidual() 42 0.003254 0.003254 0.003254 0.96% Gravity::fill_multipole_BCs() 6 0.003223 0.003223 0.003223 0.95% Castro::post_timestep() 5 0.003076 0.003076 0.003076 0.91% Castro::estTimeStep() 10 0.003024 0.003024 0.003024 0.89% Castro::reset_internal_energy(MultiFab) 30 0.002739 0.002739 0.002739 0.81% MLCellLinOp::defineBC() 6 0.00272 0.00272 0.00272 0.80% MLMG::computeResidual() 36 0.002685 0.002685 0.002685 0.79% BndryData::define() 6 0.002605 0.002605 0.002605 0.77% MLMG::prepareForSolve() 6 0.002557 0.002557 0.002557 0.76% Castro::enforce_min_density() 30 0.002285 0.002285 0.002285 0.68% Castro::computeNewDt() 5 0.002217 0.002217 0.002217 0.66% FabArray::LinComb() 242 0.001925 0.001925 0.001925 0.57% amrex::Add() 72 0.001867 0.001867 0.001867 0.55% Castro::construct_new_source() 25 0.001635 0.001635 0.001635 0.48% Castro::construct_new_gravity_source() 5 0.001624 0.001624 0.001624 0.48% Castro::construct_old_source() 25 0.001265 0.001265 0.001265 0.37% Castro::construct_old_gravity_source() 5 0.001254 0.001254 0.001254 0.37% MLMG::ResNormInf() 42 0.0009344 0.0009344 0.0009344 0.28% Castro::apply_source_to_state() 10 0.000919 0.000919 0.000919 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000916 0.000916 0.000916 0.27% Castro::enforce_speed_limit() 30 0.0008166 0.0008166 0.0008166 0.24% Castro::reset_internal_energy(Fab) 240 0.0008015 0.0008015 0.0008015 0.24% MLMG::getGradSolution() 6 0.0007739 0.0007739 0.0007739 0.23% MLCellLinOp::compGrad() 6 0.0007709 0.0007709 0.0007709 0.23% FabArrayBase::getCPC() 632 0.0007558 0.0007558 0.0007558 0.22% MLCellLinOp::setLevelBC() 6 0.0007447 0.0007447 0.0007447 0.22% FabArray::setDomainBndry() 20 0.0006594 0.0006594 0.0006594 0.19% FabArray::mult() 22 0.0006457 0.0006457 0.0006457 0.19% MLPoisson::prepareForSolve() 6 0.0006201 0.0006201 0.0006201 0.18% MLCellLinOp::prepareForSolve() 6 0.0006102 0.0006102 0.0006102 0.18% Castro::check_for_nan() 10 0.0005984 0.0005984 0.0005984 0.18% MultiFab::contains_nan() 10 0.0005929 0.0005929 0.0005929 0.18% MLMG::computeMLResidual() 6 0.0005868 0.0005868 0.0005868 0.17% Gravity::update_max_rhs() 6 0.0004384 0.0004384 0.0004384 0.13% Amr::InitAmr() 1 0.0004154 0.0004154 0.0004154 0.12% FabArrayBase::CPC::define() 244 0.0004083 0.0004083 0.0004083 0.12% Castro::finalize_advance() 5 0.0003158 0.0003158 0.0003158 0.09% FabArrayBase::getFB() 1766 0.000313 0.000313 0.000313 0.09% Gravity::swapTimeLevels() 5 0.0002273 0.0002273 0.0002273 0.07% MLLinOp::define() 6 0.0001711 0.0001711 0.0001711 0.05% MLLinOp::defineGrids() 6 0.0001659 0.0001659 0.0001659 0.05% Castro::buildMetrics() 1 0.0001543 0.0001543 0.0001543 0.05% MLMG::MLResNormInf() 6 0.0001506 0.0001506 0.0001506 0.04% MultiFab::max() 6 0.0001357 0.0001357 0.0001357 0.04% MLMG::MLRhsNormInf() 6 0.0001201 0.0001201 0.0001201 0.04% FabArrayBase::FB::FB() 26 5.898e-05 5.898e-05 5.898e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::initMFs() 1 2.682e-05 2.682e-05 2.682e-05 0.01% Amr::writeSmallPlotFile() 1 2.454e-05 2.454e-05 2.454e-05 0.01% Castro::swap_state_time_levels() 5 2.327e-05 2.327e-05 2.327e-05 0.01% makeSFC 30 1.996e-05 1.996e-05 1.996e-05 0.01% Castro::finalize_do_advance() 5 1.878e-05 1.878e-05 1.878e-05 0.01% DistributionMapping::Distribute() 31 8.727e-06 8.727e-06 8.727e-06 0.00% Amr::initSubcycle() 1 8.532e-06 8.532e-06 8.532e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.413e-06 4.413e-06 4.413e-06 0.00% Castro::create_source_corrector() 5 2.891e-06 2.891e-06 2.891e-06 0.00% Gravity::set_mass_offset() 6 2.274e-06 2.274e-06 2.274e-06 0.00% Castro::retry_advance_ctu() 5 1.819e-06 1.819e-06 1.819e-06 0.00% Castro::FluxRegCrseInit 5 1.586e-06 1.586e-06 1.586e-06 0.00% Castro::FluxRegFineAdd() 5 1.031e-06 1.031e-06 1.031e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.023e-06 1.023e-06 1.023e-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 246 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 102 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 1352 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2732 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 6616 KiB 14 MiB MLMG::prepareForSolve() 361 361 4024 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 235 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 231 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6611 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2512 B 2048 KiB Gravity::solve_for_phi() 40 40 739 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 370 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 237 KiB 671 KiB Castro::estTimeStep() 10 10 3125 B 480 KiB VisMF::Write(FabArray) 112 112 1462 B 320 KiB Castro::normalize_species() 30 30 6656 B 320 KiB amrex::average_down 469 469 1365 B 257 KiB MLMG::addInterpCorrection() 468 468 1323 B 257 KiB amrex::Dot() 592 592 3848 B 160 KiB FabArray::norminf() 398 398 2722 B 160 KiB Castro::do_advance_ctu() 5 5 633 B 160 KiB MultiFab::max() 6 6 61 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3912 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 57 B 10 KiB FillBoundary_nowait() 336 336 331 B 9648 B MLCellLinOp::applyBC() 3892 3892 255 B 9344 B amrex::Copy() 56 56 5932 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 60 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 135 B 1472 B MLCellLinOp::defineBC() 36 36 415 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1459 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 127 KiB 8192 KiB VisMF::Write(FabArray) 120 120 287 KiB 3584 KiB VisMF::Read() 24 24 225 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3912 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 57 B 10 KiB FillBoundary_nowait() 336 336 331 B 9648 B MLCellLinOp::applyBC() 1946 1946 253 B 9328 B amrex::Copy() 56 56 5932 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2597 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 61 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 570 B 1296 B amrex::average_down 37 37 218 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 398 398 19 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-18-gf22705a9a2c6) finalized