Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 08:23:47 UTC on 2023-05-29. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-13-gbf803460 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.059674465 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034303452 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046055385 [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.048911241 [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.049384939 [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.061173178 [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.074772419 [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.058884553 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.058756769 [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.064342287 [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.066187065 [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.064057703 [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.061340621 [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.058981415 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033908841 seconds Ending run at 08:23:48 UTC on 2023-05-29. Run time = 0.890718563 Run time without initialization = 0.747426216 Average number of zones advanced per microsecond: 3.507 Average number of zones advanced per microsecond per rank: 3.507 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8907 ... 0.8907 ... 0.8907 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 26.81% Castro::construct_ctu_hydro_source() 10 0.2285 0.2285 0.2285 25.65% MLCellLinOp::applyBC() 4433 0.0777 0.0777 0.0777 8.72% MLPoisson::Fsmooth() 3280 0.03267 0.03267 0.03267 3.67% FillBoundary_nowait() 4023 0.03166 0.03166 0.03166 3.55% StateData::FillBoundary(geom) 328 0.0249 0.0249 0.0249 2.80% amrex::Dot() 1114 0.0208 0.0208 0.0208 2.33% amrex::Copy() 1029 0.01503 0.01503 0.01503 1.69% Castro::computeTemp() 63 0.01487 0.01487 0.01487 1.67% FabArray::norminf() 743 0.01451 0.01451 0.01451 1.63% Castro::normalize_species() 62 0.01406 0.01406 0.01406 1.58% FabArray::ParallelCopy_nowait() 861 0.01352 0.01352 0.01352 1.52% FabArray::setVal() 1144 0.01327 0.01327 0.01327 1.49% Castro::enforce_min_density() 62 0.01285 0.01285 0.01285 1.44% StateDataPhysBCFunct::() 41 0.01133 0.01133 0.01133 1.27% MLPoisson::Fapply() 1142 0.01051 0.01051 0.01051 1.18% MLCellLinOp::defineAuxData() 11 0.01016 0.01016 0.01016 1.14% FabArray::Saxpy() 813 0.008279 0.008279 0.008279 0.93% FabArray::Xpay() 821 0.008143 0.008143 0.008143 0.91% MLMG::addInterpCorrection() 410 0.00672 0.00672 0.00672 0.75% Gravity::fill_multipole_BCs() 11 0.006518 0.006518 0.006518 0.73% Castro::estTimeStep() 21 0.006201 0.006201 0.006201 0.70% amrex::average_down 410 0.006041 0.006041 0.006041 0.68% FabArray::LinComb() 557 0.004642 0.004642 0.004642 0.52% amrex::Add() 164 0.00441 0.00441 0.00441 0.50% Amr::checkPoint() 3 0.004032 0.004032 0.004032 0.45% Castro::reset_internal_energy(MultiFab) 63 0.004026 0.004026 0.004026 0.45% BndryData::define() 11 0.00378 0.00378 0.00378 0.42% Castro::construct_new_gravity_source() 10 0.003239 0.003239 0.003239 0.36% Castro::do_advance_ctu() 10 0.003194 0.003194 0.003194 0.36% Castro::construct_old_gravity_source() 10 0.002734 0.002734 0.002734 0.31% Amr::writePlotFile() 2 0.0024 0.0024 0.0024 0.27% MLCGSolver::bicgstab 82 0.002163 0.002163 0.002163 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001748 0.001748 0.001748 0.20% Castro::reset_internal_energy(Fab) 504 0.001537 0.001537 0.001537 0.17% Gravity::actual_solve_with_mlmg() 11 0.001526 0.001526 0.001526 0.17% Castro::subcycle_advance_ctu() 10 0.001465 0.001465 0.001465 0.16% MLCellLinOp::setLevelBC() 11 0.001388 0.001388 0.001388 0.16% FabArray::mult() 43 0.001328 0.001328 0.001328 0.15% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.15% Castro::initData() 1 0.001236 0.001236 0.001236 0.14% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.13% MLCellLinOp::prepareForSolve() 11 0.001139 0.001139 0.001139 0.13% MLCellLinOp::smooth() 1640 0.001048 0.001048 0.001048 0.12% Castro::enforce_speed_limit() 62 0.0009808 0.0009808 0.0009808 0.11% MLCellLinOp::compGrad() 11 0.0009137 0.0009137 0.0009137 0.10% MLMG::prepareForSolve() 11 0.0008747 0.0008747 0.0008747 0.10% FabArray::FillBoundary() 4023 0.0008315 0.0008315 0.0008315 0.09% FabArrayBase::getCPC() 1323 0.0007818 0.0007818 0.0007818 0.09% FabArrayBase::CPC::define() 454 0.0007046 0.0007046 0.0007046 0.08% Gravity::get_new_grav_vector() 11 0.0006312 0.0006312 0.0006312 0.07% FabArrayBase::getFB() 4023 0.000595 0.000595 0.000595 0.07% Gravity::get_old_grav_vector() 10 0.0005564 0.0005564 0.0005564 0.06% Amr::InitAmr() 1 0.0005428 0.0005428 0.0005428 0.06% MLLinOp::defineGrids() 11 0.0004646 0.0004646 0.0004646 0.05% MLCellLinOp::apply() 1142 0.0004504 0.0004504 0.0004504 0.05% Amr::coarseTimeStep() 10 0.0003916 0.0003916 0.0003916 0.04% MLMG::mgVcycle() 82 0.0003844 0.0003844 0.0003844 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002969 0.0002969 0.0002969 0.03% main() 1 0.0002961 0.0002961 0.0002961 0.03% MultiFab::max() 11 0.0002672 0.0002672 0.0002672 0.03% FabArray::ParallelCopy() 861 0.0002394 0.0002394 0.0002394 0.03% FillPatchIterator::Initialize 41 0.0002372 0.0002372 0.0002372 0.03% MLCellLinOp::defineBC() 11 0.0002129 0.0002129 0.0002129 0.02% MLCellLinOp::correctionResidual() 492 0.0002118 0.0002118 0.0002118 0.02% Castro::create_source_corrector() 10 0.0001828 0.0001828 0.0001828 0.02% Amr::timeStep() 10 0.0001647 0.0001647 0.0001647 0.02% StateData::checkPoint() 12 0.0001319 0.0001319 0.0001319 0.01% Gravity::update_max_rhs() 11 0.0001213 0.0001213 0.0001213 0.01% Gravity::solve_for_phi() 10 0.0001121 0.0001121 0.0001121 0.01% MLMG:computeResOfCorrection() 410 0.000112 0.000112 0.000112 0.01% Castro::Castro() 1 0.0001056 0.0001056 0.0001056 0.01% FabArrayBase::FB::FB() 56 8.915e-05 8.915e-05 8.915e-05 0.01% MLMG::actualBottomSolve() 82 8.553e-05 8.553e-05 8.553e-05 0.01% MLMG::mgVcycle_down::0 82 8.501e-05 8.501e-05 8.501e-05 0.01% Castro::clean_state() 62 7.928e-05 7.928e-05 7.928e-05 0.01% Castro::expand_state() 10 7.76e-05 7.76e-05 7.76e-05 0.01% MLMG::mgVcycle_down::1 82 7.614e-05 7.614e-05 7.614e-05 0.01% Castro::finalize_advance() 10 7.525e-05 7.525e-05 7.525e-05 0.01% AmrLevel::checkPoint() 3 7.379e-05 7.379e-05 7.379e-05 0.01% MLMG::mgVcycle_down::2 82 7.276e-05 7.276e-05 7.276e-05 0.01% Castro::initialize_advance() 10 6.92e-05 6.92e-05 6.92e-05 0.01% MLMG::mgVcycle_down::3 82 6.804e-05 6.804e-05 6.804e-05 0.01% MLMG::solve() 11 6.795e-05 6.795e-05 6.795e-05 0.01% MLMG::mgVcycle_down::4 82 6.719e-05 6.719e-05 6.719e-05 0.01% MLMG::mgVcycle_up::4 82 5.743e-05 5.743e-05 5.743e-05 0.01% MLMG::mgVcycle_up::1 82 5.228e-05 5.228e-05 5.228e-05 0.01% Castro::initialize_do_advance() 10 5.142e-05 5.142e-05 5.142e-05 0.01% MLMG::oneIter() 82 5.091e-05 5.091e-05 5.091e-05 0.01% MLCellLinOp::solutionResidual() 93 5.047e-05 5.047e-05 5.047e-05 0.01% MLMG::mgVcycle_up::0 82 4.851e-05 4.851e-05 4.851e-05 0.01% Castro::advance() 10 4.795e-05 4.795e-05 4.795e-05 0.01% MLMG::mgVcycle_up::3 82 4.719e-05 4.719e-05 4.719e-05 0.01% MLMG::mgVcycle_up::2 82 4.665e-05 4.665e-05 4.665e-05 0.01% StateData::define() 4 4.335e-05 4.335e-05 4.335e-05 0.00% Castro::construct_new_source() 50 4.193e-05 4.193e-05 4.193e-05 0.00% Castro::finalize_do_advance() 10 4.022e-05 4.022e-05 4.022e-05 0.00% Castro::swap_state_time_levels() 10 3.766e-05 3.766e-05 3.766e-05 0.00% MLMG::ResNormInf() 93 3.593e-05 3.593e-05 3.593e-05 0.00% Castro::post_timestep() 10 3.462e-05 3.462e-05 3.462e-05 0.00% Castro::enforce_consistent_e() 1 3.291e-05 3.291e-05 3.291e-05 0.00% MLMG::mgVcycle_bottom 82 3.222e-05 3.222e-05 3.222e-05 0.00% MLMG::computeResidual() 82 3.165e-05 3.165e-05 3.165e-05 0.00% MLPoisson::define() 11 2.736e-05 2.736e-05 2.736e-05 0.00% FillPatchSingleLevel 41 2.719e-05 2.719e-05 2.719e-05 0.00% Castro::initMFs() 1 2.612e-05 2.612e-05 2.612e-05 0.00% makeSFC 55 2.593e-05 2.593e-05 2.593e-05 0.00% Amr::defBaseLevel() 1 2.466e-05 2.466e-05 2.466e-05 0.00% Amr::writeSmallPlotFile() 1 2.461e-05 2.461e-05 2.461e-05 0.00% Castro::construct_new_gravity() 10 2.414e-05 2.414e-05 2.414e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.264e-05 2.264e-05 2.264e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.154e-05 2.154e-05 2.154e-05 0.00% Amr::FinalizeInit() 1 2.117e-05 2.117e-05 2.117e-05 0.00% Castro::buildMetrics() 1 1.974e-05 1.974e-05 1.974e-05 0.00% Castro::construct_old_source() 50 1.884e-05 1.884e-05 1.884e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.827e-05 1.827e-05 1.827e-05 0.00% MLLinOp::define() 11 1.642e-05 1.642e-05 1.642e-05 0.00% DistributionMapping::Distribute() 56 1.552e-05 1.552e-05 1.552e-05 0.00% Castro::do_new_sources() 10 1.551e-05 1.551e-05 1.551e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.479e-05 1.479e-05 1.479e-05 0.00% Castro::do_old_sources() 10 1.405e-05 1.405e-05 1.405e-05 0.00% Castro::check_for_nan() 20 1.161e-05 1.161e-05 1.161e-05 0.00% Castro::apply_source_to_state() 20 9.916e-06 9.916e-06 9.916e-06 0.00% Castro::construct_old_gravity() 10 9.125e-06 9.125e-06 9.125e-06 0.00% Gravity::actual_multilevel_solve() 1 8.503e-06 8.503e-06 8.503e-06 0.00% Amr::initSubcycle() 1 8.497e-06 8.497e-06 8.497e-06 0.00% Gravity::swapTimeLevels() 10 8.196e-06 8.196e-06 8.196e-06 0.00% MLPoisson::prepareForSolve() 11 8.184e-06 8.184e-06 8.184e-06 0.00% Castro::computeNewDt() 9 7.579e-06 7.579e-06 7.579e-06 0.00% MLMG::computeMLResidual() 11 7.463e-06 7.463e-06 7.463e-06 0.00% MLMG::getGradSolution() 11 5.779e-06 5.779e-06 5.779e-06 0.00% Gravity::set_mass_offset() 11 5.017e-06 5.017e-06 5.017e-06 0.00% Amr::InitializeInit() 1 5.013e-06 5.013e-06 5.013e-06 0.00% Castro::post_init() 1 4.885e-06 4.885e-06 4.885e-06 0.00% Castro::retry_advance_ctu() 10 4.564e-06 4.564e-06 4.564e-06 0.00% AmrLevel::checkPointPost() 3 4.491e-06 4.491e-06 4.491e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.854e-06 3.854e-06 3.854e-06 0.00% MLMG::MLRhsNormInf() 11 3.771e-06 3.771e-06 3.771e-06 0.00% MLMG::MLResNormInf() 11 3.6e-06 3.6e-06 3.6e-06 0.00% Castro::FluxRegCrseInit 10 3.126e-06 3.126e-06 3.126e-06 0.00% Amr::init() 1 3.002e-06 3.002e-06 3.002e-06 0.00% Castro::computeInitialDt() 2 2.712e-06 2.712e-06 2.712e-06 0.00% Castro::FluxRegFineAdd() 10 2.687e-06 2.687e-06 2.687e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.97e-06 1.97e-06 1.97e-06 0.00% AmrLevel::checkPointPre() 3 1.849e-06 1.849e-06 1.849e-06 0.00% Castro::post_regrid() 1 1.376e-06 1.376e-06 1.376e-06 0.00% Amr::initialInit() 1 1.246e-06 1.246e-06 1.246e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8907 0.8907 0.8907 100.00% Amr::coarseTimeStep() 10 0.7133 0.7133 0.7133 80.08% Amr::timeStep() 10 0.5908 0.5908 0.5908 66.32% Castro::advance() 10 0.5833 0.5833 0.5833 65.48% Castro::subcycle_advance_ctu() 10 0.572 0.572 0.572 64.21% Castro::do_advance_ctu() 10 0.5705 0.5705 0.5705 64.05% Gravity::solve_phi_with_mlmg() 11 0.2872 0.2872 0.2872 32.25% Gravity::actual_solve_with_mlmg() 11 0.2802 0.2802 0.2802 31.46% Castro::construct_new_gravity() 10 0.2622 0.2622 0.2622 29.44% MLMG::solve() 11 0.2588 0.2588 0.2588 29.05% Gravity::solve_for_phi() 10 0.2466 0.2466 0.2466 27.69% MLMG::oneIter() 82 0.2444 0.2444 0.2444 27.44% MLMG::mgVcycle() 82 0.2407 0.2407 0.2407 27.02% VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 26.81% Castro::construct_ctu_hydro_source() 10 0.2285 0.2285 0.2285 25.65% Amr::checkPoint() 3 0.1777 0.1777 0.1777 19.95% AmrLevel::checkPoint() 3 0.1736 0.1736 0.1736 19.49% StateData::checkPoint() 12 0.1736 0.1736 0.1736 19.49% Amr::init() 1 0.1426 0.1426 0.1426 16.01% MLCellLinOp::smooth() 1640 0.1184 0.1184 0.1184 13.29% MLCellLinOp::applyBC() 4433 0.1109 0.1109 0.1109 12.45% MLMG::mgVcycle_bottom 82 0.07465 0.07465 0.07465 8.38% MLMG::actualBottomSolve() 82 0.07461 0.07461 0.07461 8.38% MLCGSolver::bicgstab 82 0.07391 0.07391 0.07391 8.30% Amr::writePlotFile() 2 0.06833 0.06833 0.06833 7.67% Amr::initialInit() 1 0.04848 0.04848 0.04848 5.44% Castro::clean_state() 62 0.0477 0.0477 0.0477 5.36% Amr::FinalizeInit() 1 0.04447 0.04447 0.04447 4.99% Castro::post_init() 1 0.0431 0.0431 0.0431 4.84% FillPatchIterator::Initialize 41 0.0419 0.0419 0.0419 4.70% Gravity::multilevel_solve_for_new_phi() 1 0.04107 0.04107 0.04107 4.61% Gravity::actual_multilevel_solve() 1 0.04105 0.04105 0.04105 4.61% FillPatchSingleLevel 41 0.04035 0.04035 0.04035 4.53% MLCellLinOp::apply() 1142 0.03665 0.03665 0.03665 4.11% StateDataPhysBCFunct::() 41 0.03623 0.03623 0.03623 4.07% MLMG::mgVcycle_down::0 82 0.03416 0.03416 0.03416 3.84% FabArray::FillBoundary() 4023 0.03318 0.03318 0.03318 3.72% MLPoisson::Fsmooth() 3280 0.03267 0.03267 0.03267 3.67% FillBoundary_nowait() 4023 0.03235 0.03235 0.03235 3.63% MLMG::mgVcycle_up::0 82 0.02603 0.02603 0.02603 2.92% StateData::FillBoundary(geom) 328 0.0249 0.0249 0.0249 2.80% MLCellLinOp::correctionResidual() 492 0.02237 0.02237 0.02237 2.51% amrex::Dot() 1114 0.0208 0.0208 0.0208 2.33% Castro::computeTemp() 63 0.02044 0.02044 0.02044 2.29% MLMG:computeResOfCorrection() 410 0.01971 0.01971 0.01971 2.21% Castro::initialize_do_advance() 10 0.01949 0.01949 0.01949 2.19% Gravity::get_new_grav_vector() 11 0.01735 0.01735 0.01735 1.95% MLPoisson::define() 11 0.01712 0.01712 0.01712 1.92% MLMG::mgVcycle_down::1 82 0.01596 0.01596 0.01596 1.79% Castro::construct_old_gravity() 10 0.01507 0.01507 0.01507 1.69% Gravity::get_old_grav_vector() 10 0.01506 0.01506 0.01506 1.69% amrex::Copy() 1029 0.01503 0.01503 0.01503 1.69% MLMG::mgVcycle_down::2 82 0.01492 0.01492 0.01492 1.67% FabArray::ParallelCopy() 861 0.01459 0.01459 0.01459 1.64% MLMG::mgVcycle_down::3 82 0.01454 0.01454 0.01454 1.63% FabArray::norminf() 743 0.01451 0.01451 0.01451 1.63% FabArray::ParallelCopy_nowait() 861 0.01435 0.01435 0.01435 1.61% MLMG::mgVcycle_down::4 82 0.01435 0.01435 0.01435 1.61% Castro::normalize_species() 62 0.01406 0.01406 0.01406 1.58% Castro::do_new_sources() 10 0.0136 0.0136 0.0136 1.53% FabArray::setVal() 1144 0.01327 0.01327 0.01327 1.49% Castro::enforce_min_density() 62 0.01285 0.01285 0.01285 1.44% MLCGSolver::ParallelAllReduce 1514 0.01248 0.01248 0.01248 1.40% MLMG::addInterpCorrection() 410 0.01198 0.01198 0.01198 1.34% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.31% MLMG::mgVcycle_up::4 82 0.01162 0.01162 0.01162 1.30% MLCellLinOp::defineAuxData() 11 0.01155 0.01155 0.01155 1.30% Castro::do_old_sources() 10 0.0115 0.0115 0.0115 1.29% MLMG::mgVcycle_up::2 82 0.01135 0.01135 0.01135 1.27% amrex::average_down 410 0.01129 0.01129 0.01129 1.27% MLMG::mgVcycle_up::3 82 0.01106 0.01106 0.01106 1.24% Castro::expand_state() 10 0.01094 0.01094 0.01094 1.23% Castro::initialize_advance() 10 0.01063 0.01063 0.01063 1.19% MLPoisson::Fapply() 1142 0.01051 0.01051 0.01051 1.18% FabArray::Saxpy() 813 0.008279 0.008279 0.008279 0.93% FabArray::Xpay() 821 0.008143 0.008143 0.008143 0.91% Castro::post_timestep() 10 0.007329 0.007329 0.007329 0.82% MLCellLinOp::solutionResidual() 93 0.007235 0.007235 0.007235 0.81% Gravity::fill_multipole_BCs() 11 0.006794 0.006794 0.006794 0.76% MLMG::computeResidual() 82 0.00624 0.00624 0.00624 0.70% Castro::estTimeStep() 21 0.006201 0.006201 0.006201 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005563 0.005563 0.005563 0.62% MLCellLinOp::defineBC() 11 0.005 0.005 0.005 0.56% BndryData::define() 11 0.004787 0.004787 0.004787 0.54% MLMG::prepareForSolve() 11 0.004726 0.004726 0.004726 0.53% FabArray::LinComb() 557 0.004642 0.004642 0.004642 0.52% amrex::Add() 164 0.00441 0.00441 0.00441 0.50% Amr::InitializeInit() 1 0.004016 0.004016 0.004016 0.45% Amr::defBaseLevel() 1 0.004011 0.004011 0.004011 0.45% Castro::computeNewDt() 9 0.003489 0.003489 0.003489 0.39% Castro::initData() 1 0.003441 0.003441 0.003441 0.39% Castro::construct_new_source() 50 0.003281 0.003281 0.003281 0.37% Castro::construct_new_gravity_source() 10 0.003239 0.003239 0.003239 0.36% Castro::construct_old_source() 50 0.002753 0.002753 0.002753 0.31% Castro::construct_old_gravity_source() 10 0.002734 0.002734 0.002734 0.31% MLMG::ResNormInf() 93 0.002105 0.002105 0.002105 0.24% Castro::apply_source_to_state() 20 0.001821 0.001821 0.001821 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001748 0.001748 0.001748 0.20% Castro::reset_internal_energy(Fab) 504 0.001537 0.001537 0.001537 0.17% FabArrayBase::getCPC() 1323 0.001486 0.001486 0.001486 0.17% MLMG::getGradSolution() 11 0.001395 0.001395 0.001395 0.16% MLCellLinOp::compGrad() 11 0.001389 0.001389 0.001389 0.16% MLCellLinOp::setLevelBC() 11 0.001388 0.001388 0.001388 0.16% FabArray::mult() 43 0.001328 0.001328 0.001328 0.15% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 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.13% MLPoisson::prepareForSolve() 11 0.001147 0.001147 0.001147 0.13% MLCellLinOp::prepareForSolve() 11 0.001139 0.001139 0.001139 0.13% Castro::post_regrid() 1 0.001134 0.001134 0.001134 0.13% MLMG::computeMLResidual() 11 0.001035 0.001035 0.001035 0.12% Castro::enforce_speed_limit() 62 0.0009808 0.0009808 0.0009808 0.11% Castro::computeInitialDt() 2 0.0009044 0.0009044 0.0009044 0.10% Gravity::update_max_rhs() 11 0.0008276 0.0008276 0.0008276 0.09% FabArrayBase::CPC::define() 454 0.0007046 0.0007046 0.0007046 0.08% FabArrayBase::getFB() 4023 0.0006842 0.0006842 0.0006842 0.08% Castro::finalize_advance() 10 0.0006216 0.0006216 0.0006216 0.07% Amr::InitAmr() 1 0.0005513 0.0005513 0.0005513 0.06% MLLinOp::define() 11 0.0005377 0.0005377 0.0005377 0.06% MLLinOp::defineGrids() 11 0.0005213 0.0005213 0.0005213 0.06% Castro::Castro() 1 0.0004779 0.0004779 0.0004779 0.05% Gravity::swapTimeLevels() 10 0.0004499 0.0004499 0.0004499 0.05% MLMG::MLResNormInf() 11 0.0002896 0.0002896 0.0002896 0.03% MultiFab::max() 11 0.0002672 0.0002672 0.0002672 0.03% MLMG::MLRhsNormInf() 11 0.0002215 0.0002215 0.0002215 0.02% Castro::create_source_corrector() 10 0.0001828 0.0001828 0.0001828 0.02% Castro::buildMetrics() 1 0.000181 0.000181 0.000181 0.02% FabArrayBase::FB::FB() 56 8.915e-05 8.915e-05 8.915e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.162e-05 6.162e-05 6.162e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.469e-05 5.469e-05 5.469e-05 0.01% StateData::define() 4 4.335e-05 4.335e-05 4.335e-05 0.00% Castro::finalize_do_advance() 10 4.022e-05 4.022e-05 4.022e-05 0.00% makeSFC 55 3.99e-05 3.99e-05 3.99e-05 0.00% Castro::swap_state_time_levels() 10 3.766e-05 3.766e-05 3.766e-05 0.00% Castro::enforce_consistent_e() 1 3.291e-05 3.291e-05 3.291e-05 0.00% Castro::initMFs() 1 2.612e-05 2.612e-05 2.612e-05 0.00% Amr::writeSmallPlotFile() 1 2.461e-05 2.461e-05 2.461e-05 0.00% DistributionMapping::Distribute() 56 1.552e-05 1.552e-05 1.552e-05 0.00% Amr::initSubcycle() 1 8.497e-06 8.497e-06 8.497e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.407e-06 5.407e-06 5.407e-06 0.00% Gravity::set_mass_offset() 11 5.017e-06 5.017e-06 5.017e-06 0.00% Castro::retry_advance_ctu() 10 4.564e-06 4.564e-06 4.564e-06 0.00% AmrLevel::checkPointPost() 3 4.491e-06 4.491e-06 4.491e-06 0.00% Castro::FluxRegCrseInit 10 3.126e-06 3.126e-06 3.126e-06 0.00% Castro::FluxRegFineAdd() 10 2.687e-06 2.687e-06 2.687e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.97e-06 1.97e-06 1.97e-06 0.00% AmrLevel::checkPointPre() 3 1.849e-06 1.849e-06 1.849e-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 122 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 992 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2156 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3574 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1778 B 2048 KiB Gravity::solve_for_phi() 80 80 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2517 B 480 KiB VisMF::Write(FabArray) 656 656 3358 B 320 KiB Castro::normalize_species() 62 62 5137 B 320 KiB amrex::average_down 1067 1067 1267 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1163 B 257 KiB amrex::Dot() 1360 1360 3450 B 160 KiB FabArray::norminf() 907 907 2411 B 160 KiB Castro::do_advance_ctu() 10 10 551 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 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3495 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 311 B 9648 B MLCellLinOp::applyBC() 8866 8866 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3859 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2976 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 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 625 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 625 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3495 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 311 B 9648 B MLCellLinOp::applyBC() 4433 4433 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3859 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 2976 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 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-29-g76d6d344e12d) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-29-g76d6d344e12d) initialized Starting run at 08:23:48 UTC on 2023-05-29. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-29-g76d6d344e Microphysics git describe: 23.05-13-gbf803460 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.482474838 Restart time = 0.04547603 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051165566 [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.069090232 [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.066670913 [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.065049956 [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.053248452 [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.033692578 seconds Ending run at 08:23:49 UTC on 2023-05-29. Run time = 0.385444199 Run time without initialization = 0.339370395 Average number of zones advanced per microsecond: 3.862 Average number of zones advanced per microsecond per rank: 3.862 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3855 ... 0.3855 ... 0.3855 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1238 0.1238 0.1238 32.11% VisMF::Read() 3 0.03921 0.03921 0.03921 10.17% MLCellLinOp::applyBC() 1946 0.03329 0.03329 0.03329 8.64% VisMF::Write(FabArray) 1 0.03207 0.03207 0.03207 8.32% MLPoisson::Fsmooth() 1440 0.01385 0.01385 0.01385 3.59% FillBoundary_nowait() 1766 0.01271 0.01271 0.01271 3.30% StateData::FillBoundary(geom) 160 0.01214 0.01214 0.01214 3.15% amrex::Dot() 484 0.008838 0.008838 0.008838 2.29% Castro::normalize_species() 30 0.008668 0.008668 0.008668 2.25% amrex::Copy() 463 0.007012 0.007012 0.007012 1.82% Castro::enforce_min_density() 30 0.006331 0.006331 0.006331 1.64% FabArray::setVal() 537 0.006218 0.006218 0.006218 1.61% FabArray::norminf() 326 0.006217 0.006217 0.006217 1.61% FabArray::ParallelCopy_nowait() 380 0.006071 0.006071 0.006071 1.57% Castro::computeTemp() 30 0.005736 0.005736 0.005736 1.49% MLCellLinOp::defineAuxData() 6 0.005307 0.005307 0.005307 1.38% StateDataPhysBCFunct::() 20 0.0045 0.0045 0.0045 1.17% MLPoisson::Fapply() 500 0.004459 0.004459 0.004459 1.16% FabArray::Saxpy() 355 0.003644 0.003644 0.003644 0.95% FabArray::Xpay() 361 0.003494 0.003494 0.003494 0.91% MLMG::addInterpCorrection() 180 0.002877 0.002877 0.002877 0.75% amrex::average_down 180 0.002569 0.002569 0.002569 0.67% Gravity::fill_multipole_BCs() 6 0.002539 0.002539 0.002539 0.66% Amr::restart() 1 0.002504 0.002504 0.002504 0.65% Castro::estTimeStep() 10 0.002328 0.002328 0.002328 0.60% Castro::reset_internal_energy(MultiFab) 30 0.002047 0.002047 0.002047 0.53% BndryData::define() 6 0.002027 0.002027 0.002027 0.53% FabArray::LinComb() 242 0.00197 0.00197 0.00197 0.51% amrex::Add() 72 0.001852 0.001852 0.001852 0.48% Castro::do_advance_ctu() 5 0.001575 0.001575 0.001575 0.41% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.41% Amr::writePlotFile() 1 0.001473 0.001473 0.001473 0.38% Castro::enforce_speed_limit() 30 0.001354 0.001354 0.001354 0.35% Castro::construct_old_gravity_source() 5 0.001069 0.001069 0.001069 0.28% MLCGSolver::bicgstab 36 0.0009314 0.0009314 0.0009314 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009118 0.0009118 0.0009118 0.24% Castro::reset_internal_energy(Fab) 240 0.000818 0.000818 0.000818 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008005 0.0008005 0.0008005 0.21% MLCellLinOp::setLevelBC() 6 0.0007342 0.0007342 0.0007342 0.19% FabArray::setDomainBndry() 20 0.0006444 0.0006444 0.0006444 0.17% FabArray::mult() 22 0.0006438 0.0006438 0.0006438 0.17% MultiFab::contains_nan() 10 0.0006146 0.0006146 0.0006146 0.16% MLCellLinOp::prepareForSolve() 6 0.0006032 0.0006032 0.0006032 0.16% MLCellLinOp::compGrad() 6 0.0004876 0.0004876 0.0004876 0.13% MLCellLinOp::smooth() 720 0.0004718 0.0004718 0.0004718 0.12% MLMG::prepareForSolve() 6 0.0004711 0.0004711 0.0004711 0.12% FabArrayBase::CPC::define() 244 0.0004183 0.0004183 0.0004183 0.11% Amr::InitAmr() 1 0.0003919 0.0003919 0.0003919 0.10% FabArrayBase::getCPC() 632 0.0003678 0.0003678 0.0003678 0.10% FabArray::FillBoundary() 1766 0.0003596 0.0003596 0.0003596 0.09% Gravity::get_old_grav_vector() 5 0.0003 0.0003 0.0003 0.08% main() 1 0.0002984 0.0002984 0.0002984 0.08% Gravity::get_new_grav_vector() 5 0.0002732 0.0002732 0.0002732 0.07% FabArrayBase::getFB() 1766 0.0002603 0.0002603 0.0002603 0.07% MLCellLinOp::apply() 500 0.0001976 0.0001976 0.0001976 0.05% Amr::coarseTimeStep() 5 0.0001862 0.0001862 0.0001862 0.05% MLLinOp::defineGrids() 6 0.0001715 0.0001715 0.0001715 0.04% MLMG::mgVcycle() 36 0.0001661 0.0001661 0.0001661 0.04% Castro::construct_new_source() 25 0.0001468 0.0001468 0.0001468 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLCGSolver::ParallelAllReduce 659 0.0001263 0.0001263 0.0001263 0.03% FillPatchIterator::Initialize 20 0.0001126 0.0001126 0.0001126 0.03% FabArray::ParallelCopy() 380 0.0001102 0.0001102 0.0001102 0.03% MLCellLinOp::defineBC() 6 0.0001085 0.0001085 0.0001085 0.03% Castro::create_source_corrector() 5 0.0001084 0.0001084 0.0001084 0.03% Castro::initialize_do_advance() 5 9.101e-05 9.101e-05 9.101e-05 0.02% MLCellLinOp::correctionResidual() 216 8.601e-05 8.601e-05 8.601e-05 0.02% Castro::post_timestep() 5 8.538e-05 8.538e-05 8.538e-05 0.02% AmrLevel::restart() 1 8.029e-05 8.029e-05 8.029e-05 0.02% Amr::timeStep() 5 7.34e-05 7.34e-05 7.34e-05 0.02% Castro::subcycle_advance_ctu() 5 6.973e-05 6.973e-05 6.973e-05 0.02% StateData::restartDoit() 4 6.942e-05 6.942e-05 6.942e-05 0.02% Castro::construct_old_gravity() 5 6.483e-05 6.483e-05 6.483e-05 0.02% Gravity::solve_for_phi() 5 6.211e-05 6.211e-05 6.211e-05 0.02% Gravity::update_max_rhs() 6 5.87e-05 5.87e-05 5.87e-05 0.02% FabArrayBase::FB::FB() 26 5.813e-05 5.813e-05 5.813e-05 0.02% MLMG:computeResOfCorrection() 180 4.767e-05 4.767e-05 4.767e-05 0.01% Castro::expand_state() 5 4.196e-05 4.196e-05 4.196e-05 0.01% MLMG::actualBottomSolve() 36 3.916e-05 3.916e-05 3.916e-05 0.01% MLMG::mgVcycle_down::0 36 3.752e-05 3.752e-05 3.752e-05 0.01% Castro::clean_state() 30 3.738e-05 3.738e-05 3.738e-05 0.01% MLMG::mgVcycle_down::1 36 3.352e-05 3.352e-05 3.352e-05 0.01% Castro::initialize_advance() 5 3.319e-05 3.319e-05 3.319e-05 0.01% MLMG::solve() 6 3.079e-05 3.079e-05 3.079e-05 0.01% MLMG::mgVcycle_down::4 36 3.059e-05 3.059e-05 3.059e-05 0.01% MLMG::mgVcycle_down::2 36 3.052e-05 3.052e-05 3.052e-05 0.01% MLMG::mgVcycle_down::3 36 2.848e-05 2.848e-05 2.848e-05 0.01% Castro::finalize_advance() 5 2.847e-05 2.847e-05 2.847e-05 0.01% MLMG::mgVcycle_up::4 36 2.792e-05 2.792e-05 2.792e-05 0.01% Castro::buildMetrics() 1 2.675e-05 2.675e-05 2.675e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::swap_state_time_levels() 5 2.417e-05 2.417e-05 2.417e-05 0.01% MLMG::mgVcycle_up::0 36 2.221e-05 2.221e-05 2.221e-05 0.01% MLMG::oneIter() 36 2.14e-05 2.14e-05 2.14e-05 0.01% MLMG::mgVcycle_up::3 36 2.131e-05 2.131e-05 2.131e-05 0.01% MLMG::mgVcycle_up::2 36 2.114e-05 2.114e-05 2.114e-05 0.01% MLMG::mgVcycle_up::1 36 2.059e-05 2.059e-05 2.059e-05 0.01% MLCellLinOp::solutionResidual() 42 2.037e-05 2.037e-05 2.037e-05 0.01% MLPoisson::define() 6 1.995e-05 1.995e-05 1.995e-05 0.01% Castro::post_restart() 1 1.979e-05 1.979e-05 1.979e-05 0.01% Castro::finalize_do_advance() 5 1.922e-05 1.922e-05 1.922e-05 0.00% MLMG::ResNormInf() 42 1.793e-05 1.793e-05 1.793e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.525e-05 1.525e-05 1.525e-05 0.00% MLMG::mgVcycle_bottom 36 1.476e-05 1.476e-05 1.476e-05 0.00% Castro::advance() 5 1.466e-05 1.466e-05 1.466e-05 0.00% Castro::construct_new_gravity() 5 1.433e-05 1.433e-05 1.433e-05 0.00% FillPatchSingleLevel 20 1.346e-05 1.346e-05 1.346e-05 0.00% makeSFC 30 1.317e-05 1.317e-05 1.317e-05 0.00% MLMG::computeResidual() 36 1.302e-05 1.302e-05 1.302e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.27e-05 1.27e-05 1.27e-05 0.00% MLLinOp::define() 6 1.125e-05 1.125e-05 1.125e-05 0.00% Castro::construct_old_source() 25 1.031e-05 1.031e-05 1.031e-05 0.00% DistributionMapping::Distribute() 31 8.835e-06 8.835e-06 8.835e-06 0.00% Castro::do_new_sources() 5 8.59e-06 8.59e-06 8.59e-06 0.00% Amr::initSubcycle() 1 8.147e-06 8.147e-06 8.147e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.645e-06 7.645e-06 7.645e-06 0.00% Castro::do_old_sources() 5 7.491e-06 7.491e-06 7.491e-06 0.00% Gravity::actual_multilevel_solve() 1 7.275e-06 7.275e-06 7.275e-06 0.00% Castro::check_for_nan() 10 6.893e-06 6.893e-06 6.893e-06 0.00% Castro::apply_source_to_state() 10 5.48e-06 5.48e-06 5.48e-06 0.00% MLPoisson::prepareForSolve() 6 4.204e-06 4.204e-06 4.204e-06 0.00% Gravity::swapTimeLevels() 5 3.844e-06 3.844e-06 3.844e-06 0.00% MLMG::computeMLResidual() 6 3.645e-06 3.645e-06 3.645e-06 0.00% Castro::computeNewDt() 5 3.566e-06 3.566e-06 3.566e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.26e-06 3.26e-06 3.26e-06 0.00% MLMG::getGradSolution() 6 2.807e-06 2.807e-06 2.807e-06 0.00% MLMG::MLResNormInf() 6 2.152e-06 2.152e-06 2.152e-06 0.00% MLMG::MLRhsNormInf() 6 2e-06 2e-06 2e-06 0.00% Gravity::set_mass_offset() 6 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::retry_advance_ctu() 5 1.914e-06 1.914e-06 1.914e-06 0.00% Castro::FluxRegCrseInit 5 1.455e-06 1.455e-06 1.455e-06 0.00% Amr::init() 1 1.148e-06 1.148e-06 1.148e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.125e-06 1.125e-06 1.125e-06 0.00% Castro::FluxRegFineAdd() 5 9.45e-07 9.45e-07 9.45e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3855 0.3855 0.3855 100.00% Amr::coarseTimeStep() 5 0.3054 0.3054 0.3054 79.23% Amr::timeStep() 5 0.3037 0.3037 0.3037 78.78% Castro::advance() 5 0.2987 0.2987 0.2987 77.49% Castro::subcycle_advance_ctu() 5 0.2916 0.2916 0.2916 75.64% Castro::do_advance_ctu() 5 0.2915 0.2915 0.2915 75.63% Castro::construct_new_gravity() 5 0.1289 0.1289 0.1289 33.44% Gravity::solve_phi_with_mlmg() 6 0.1242 0.1242 0.1242 32.22% Castro::construct_ctu_hydro_source() 5 0.1238 0.1238 0.1238 32.11% Gravity::actual_solve_with_mlmg() 6 0.1214 0.1214 0.1214 31.50% Gravity::solve_for_phi() 5 0.1211 0.1211 0.1211 31.41% MLMG::solve() 6 0.1101 0.1101 0.1101 28.57% MLMG::oneIter() 36 0.1033 0.1033 0.1033 26.81% MLMG::mgVcycle() 36 0.1018 0.1018 0.1018 26.40% MLCellLinOp::smooth() 720 0.04973 0.04973 0.04973 12.90% MLCellLinOp::applyBC() 1946 0.04668 0.04668 0.04668 12.11% Amr::init() 1 0.04554 0.04554 0.04554 11.81% Amr::restart() 1 0.04553 0.04553 0.04553 11.81% AmrLevel::restart() 1 0.03941 0.03941 0.03941 10.22% StateData::restartDoit() 4 0.03933 0.03933 0.03933 10.20% VisMF::Read() 3 0.03921 0.03921 0.03921 10.17% Amr::writePlotFile() 1 0.03379 0.03379 0.03379 8.77% VisMF::Write(FabArray) 1 0.03207 0.03207 0.03207 8.32% MLMG::mgVcycle_bottom 36 0.03175 0.03175 0.03175 8.24% MLMG::actualBottomSolve() 36 0.03174 0.03174 0.03174 8.23% MLCGSolver::bicgstab 36 0.03144 0.03144 0.03144 8.16% Castro::clean_state() 30 0.02499 0.02499 0.02499 6.48% FillPatchIterator::Initialize 20 0.01944 0.01944 0.01944 5.04% FillPatchSingleLevel 20 0.01869 0.01869 0.01869 4.85% StateDataPhysBCFunct::() 20 0.01664 0.01664 0.01664 4.32% MLCellLinOp::apply() 500 0.01567 0.01567 0.01567 4.06% MLMG::mgVcycle_down::0 36 0.0142 0.0142 0.0142 3.68% MLPoisson::Fsmooth() 1440 0.01385 0.01385 0.01385 3.59% FabArray::FillBoundary() 1766 0.01339 0.01339 0.01339 3.47% FillBoundary_nowait() 1766 0.01303 0.01303 0.01303 3.38% StateData::FillBoundary(geom) 160 0.01214 0.01214 0.01214 3.15% MLMG::mgVcycle_up::0 36 0.01075 0.01075 0.01075 2.79% MLCellLinOp::correctionResidual() 216 0.009486 0.009486 0.009486 2.46% MLPoisson::define() 6 0.008986 0.008986 0.008986 2.33% amrex::Dot() 484 0.008838 0.008838 0.008838 2.29% Castro::initialize_do_advance() 5 0.008786 0.008786 0.008786 2.28% Castro::normalize_species() 30 0.008668 0.008668 0.008668 2.25% Castro::computeTemp() 30 0.008601 0.008601 0.008601 2.23% MLMG:computeResOfCorrection() 180 0.00833 0.00833 0.00833 2.16% Gravity::get_new_grav_vector() 5 0.007676 0.007676 0.007676 1.99% Castro::construct_old_gravity() 5 0.007401 0.007401 0.007401 1.92% Gravity::get_old_grav_vector() 5 0.007337 0.007337 0.007337 1.90% Castro::do_new_sources() 5 0.007056 0.007056 0.007056 1.83% amrex::Copy() 463 0.007012 0.007012 0.007012 1.82% Castro::initialize_advance() 5 0.006818 0.006818 0.006818 1.77% MLMG::mgVcycle_down::1 36 0.006785 0.006785 0.006785 1.76% FabArray::ParallelCopy() 380 0.006567 0.006567 0.006567 1.70% FabArray::ParallelCopy_nowait() 380 0.006457 0.006457 0.006457 1.68% Castro::enforce_min_density() 30 0.006331 0.006331 0.006331 1.64% MLMG::mgVcycle_down::2 36 0.00632 0.00632 0.00632 1.64% FabArray::setVal() 537 0.006218 0.006218 0.006218 1.61% FabArray::norminf() 326 0.006217 0.006217 0.006217 1.61% MLMG::mgVcycle_down::3 36 0.006184 0.006184 0.006184 1.60% MLMG::mgVcycle_down::4 36 0.006113 0.006113 0.006113 1.59% MLCellLinOp::defineAuxData() 6 0.006059 0.006059 0.006059 1.57% MLCGSolver::ParallelAllReduce 659 0.005324 0.005324 0.005324 1.38% Castro::expand_state() 5 0.005194 0.005194 0.005194 1.35% Castro::do_old_sources() 5 0.005183 0.005183 0.005183 1.34% MLMG::addInterpCorrection() 180 0.005157 0.005157 0.005157 1.34% MLMG::mgVcycle_up::4 36 0.004963 0.004963 0.004963 1.29% MLMG::mgVcycle_up::1 36 0.004943 0.004943 0.004943 1.28% Castro::post_timestep() 5 0.004877 0.004877 0.004877 1.27% MLMG::mgVcycle_up::2 36 0.004844 0.004844 0.004844 1.26% amrex::average_down 180 0.004821 0.004821 0.004821 1.25% MLMG::mgVcycle_up::3 36 0.004754 0.004754 0.004754 1.23% MLPoisson::Fapply() 500 0.004459 0.004459 0.004459 1.16% FabArray::Saxpy() 355 0.003644 0.003644 0.003644 0.95% FabArray::Xpay() 361 0.003494 0.003494 0.003494 0.91% Castro::post_restart() 1 0.003449 0.003449 0.003449 0.89% Gravity::multilevel_solve_for_new_phi() 1 0.003344 0.003344 0.003344 0.87% Gravity::actual_multilevel_solve() 1 0.003328 0.003328 0.003328 0.86% MLCellLinOp::solutionResidual() 42 0.003214 0.003214 0.003214 0.83% Castro::reset_internal_energy(MultiFab) 30 0.002865 0.002865 0.002865 0.74% MLCellLinOp::defineBC() 6 0.002694 0.002694 0.002694 0.70% MLMG::computeResidual() 36 0.002669 0.002669 0.002669 0.69% Gravity::fill_multipole_BCs() 6 0.002665 0.002665 0.002665 0.69% BndryData::define() 6 0.002586 0.002586 0.002586 0.67% MLMG::prepareForSolve() 6 0.002503 0.002503 0.002503 0.65% Castro::estTimeStep() 10 0.002328 0.002328 0.002328 0.60% FabArray::LinComb() 242 0.00197 0.00197 0.00197 0.51% amrex::Add() 72 0.001852 0.001852 0.001852 0.48% Castro::construct_new_source() 25 0.001718 0.001718 0.001718 0.45% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.41% Castro::computeNewDt() 5 0.001561 0.001561 0.001561 0.40% Castro::enforce_speed_limit() 30 0.001354 0.001354 0.001354 0.35% Castro::construct_old_source() 25 0.00108 0.00108 0.00108 0.28% Castro::construct_old_gravity_source() 5 0.001069 0.001069 0.001069 0.28% MLMG::ResNormInf() 42 0.0009227 0.0009227 0.0009227 0.24% Castro::apply_source_to_state() 10 0.0009201 0.0009201 0.0009201 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009118 0.0009118 0.0009118 0.24% Castro::reset_internal_energy(Fab) 240 0.000818 0.000818 0.000818 0.21% FabArrayBase::getCPC() 632 0.0007861 0.0007861 0.0007861 0.20% MLMG::getGradSolution() 6 0.0007547 0.0007547 0.0007547 0.20% MLCellLinOp::compGrad() 6 0.0007518 0.0007518 0.0007518 0.20% MLCellLinOp::setLevelBC() 6 0.0007342 0.0007342 0.0007342 0.19% FabArray::setDomainBndry() 20 0.0006444 0.0006444 0.0006444 0.17% FabArray::mult() 22 0.0006438 0.0006438 0.0006438 0.17% Castro::check_for_nan() 10 0.0006215 0.0006215 0.0006215 0.16% MultiFab::contains_nan() 10 0.0006146 0.0006146 0.0006146 0.16% MLPoisson::prepareForSolve() 6 0.0006074 0.0006074 0.0006074 0.16% MLCellLinOp::prepareForSolve() 6 0.0006032 0.0006032 0.0006032 0.16% MLMG::computeMLResidual() 6 0.0005616 0.0005616 0.0005616 0.15% Gravity::update_max_rhs() 6 0.0004426 0.0004426 0.0004426 0.11% FabArrayBase::CPC::define() 244 0.0004183 0.0004183 0.0004183 0.11% Amr::InitAmr() 1 0.0004001 0.0004001 0.0004001 0.10% FabArrayBase::getFB() 1766 0.0003184 0.0003184 0.0003184 0.08% Castro::finalize_advance() 5 0.0002863 0.0002863 0.0002863 0.07% Gravity::swapTimeLevels() 5 0.0002255 0.0002255 0.0002255 0.06% MLLinOp::define() 6 0.0002122 0.0002122 0.0002122 0.06% MLLinOp::defineGrids() 6 0.0002009 0.0002009 0.0002009 0.05% MLMG::MLResNormInf() 6 0.0001514 0.0001514 0.0001514 0.04% Castro::buildMetrics() 1 0.0001462 0.0001462 0.0001462 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLMG::MLRhsNormInf() 6 0.0001154 0.0001154 0.0001154 0.03% Castro::create_source_corrector() 5 0.0001084 0.0001084 0.0001084 0.03% FabArrayBase::FB::FB() 26 5.813e-05 5.813e-05 5.813e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.829e-05 2.829e-05 2.829e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::initMFs() 1 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::swap_state_time_levels() 5 2.417e-05 2.417e-05 2.417e-05 0.01% makeSFC 30 2.065e-05 2.065e-05 2.065e-05 0.01% Castro::finalize_do_advance() 5 1.922e-05 1.922e-05 1.922e-05 0.00% DistributionMapping::Distribute() 31 8.835e-06 8.835e-06 8.835e-06 0.00% Amr::initSubcycle() 1 8.147e-06 8.147e-06 8.147e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.618e-06 4.618e-06 4.618e-06 0.00% Gravity::set_mass_offset() 6 1.975e-06 1.975e-06 1.975e-06 0.00% Castro::retry_advance_ctu() 5 1.914e-06 1.914e-06 1.914e-06 0.00% Castro::FluxRegCrseInit 5 1.455e-06 1.455e-06 1.455e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.125e-06 1.125e-06 1.125e-06 0.00% Castro::FluxRegFineAdd() 5 9.45e-07 9.45e-07 9.45e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 211 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 144 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1078 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2451 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6735 KiB 14 MiB MLMG::prepareForSolve() 361 361 3508 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 197 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 203 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6731 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9759 B 2053 KiB Gravity::update_max_rhs() 48 48 2222 B 2048 KiB Gravity::solve_for_phi() 40 40 642 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 2783 B 480 KiB VisMF::Write(FabArray) 112 112 1276 B 320 KiB Castro::normalize_species() 30 30 7312 B 320 KiB amrex::average_down 469 469 1219 B 257 KiB MLMG::addInterpCorrection() 468 468 1142 B 257 KiB amrex::Dot() 592 592 3373 B 160 KiB FabArray::norminf() 398 398 2380 B 160 KiB Castro::do_advance_ctu() 5 5 522 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3413 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3892 3892 224 B 9344 B amrex::Copy() 56 56 5968 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 118 B 1472 B MLCellLinOp::defineBC() 36 36 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1345 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 256 KiB 3584 KiB VisMF::Read() 24 24 197 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3413 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 1946 1946 222 B 9328 B amrex::Copy() 56 56 5968 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2659 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 532 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-29-g76d6d344e12d) finalized