Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-11-gab567b81cbf1) initialized Starting run at 08:28:41 UTC on 2023-05-12. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-11-gab567b81c Microphysics git describe: 23.05-4-g0685d31f 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.060110258 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034596988 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047692582 [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.0505524 [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.057712825 [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.071429052 [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.06545016 [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.059746484 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.063275823 [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.06398776 [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.06125244 [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.046130545 [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.049503035 [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.060014255 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.056026873 seconds Ending run at 08:28:42 UTC on 2023-05-12. Run time = 0.896928785 Run time without initialization = 0.75345964 Average number of zones advanced per microsecond: 3.479 Average number of zones advanced per microsecond per rank: 3.479 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.897 ... 0.897 ... 0.897 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2424 0.2424 0.2424 27.02% Castro::construct_ctu_hydro_source() 10 0.2134 0.2134 0.2134 23.79% MLCellLinOp::applyBC() 4433 0.07741 0.07741 0.07741 8.63% MLPoisson::Fsmooth() 3280 0.03254 0.03254 0.03254 3.63% FillBoundary_nowait() 4023 0.03102 0.03102 0.03102 3.46% StateData::FillBoundary(geom) 328 0.02526 0.02526 0.02526 2.82% Amr::writePlotFile() 2 0.02361 0.02361 0.02361 2.63% amrex::Dot() 1114 0.02062 0.02062 0.02062 2.30% Castro::normalize_species() 62 0.01589 0.01589 0.01589 1.77% amrex::Copy() 1029 0.0149 0.0149 0.0149 1.66% Castro::computeTemp() 63 0.01479 0.01479 0.01479 1.65% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.61% FabArray::ParallelCopy_nowait() 861 0.0134 0.0134 0.0134 1.49% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.47% StateDataPhysBCFunct::() 41 0.01213 0.01213 0.01213 1.35% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.17% MLCellLinOp::defineAuxData() 11 0.01003 0.01003 0.01003 1.12% Castro::enforce_min_density() 62 0.009829 0.009829 0.009829 1.10% FabArray::Saxpy() 813 0.008203 0.008203 0.008203 0.91% FabArray::Xpay() 821 0.008067 0.008067 0.008067 0.90% Gravity::fill_multipole_BCs() 11 0.006648 0.006648 0.006648 0.74% MLMG::addInterpCorrection() 410 0.006609 0.006609 0.006609 0.74% amrex::average_down 410 0.005946 0.005946 0.005946 0.66% Castro::estTimeStep() 21 0.005375 0.005375 0.005375 0.60% FabArray::LinComb() 557 0.004553 0.004553 0.004553 0.51% amrex::Add() 164 0.004388 0.004388 0.004388 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004254 0.004254 0.004254 0.47% Amr::checkPoint() 3 0.004025 0.004025 0.004025 0.45% BndryData::define() 11 0.00374 0.00374 0.00374 0.42% Castro::do_advance_ctu() 10 0.003486 0.003486 0.003486 0.39% Castro::construct_new_gravity_source() 10 0.003271 0.003271 0.003271 0.36% Castro::construct_old_gravity_source() 10 0.00273 0.00273 0.00273 0.30% MLCGSolver::bicgstab 82 0.00215 0.00215 0.00215 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001722 0.001722 0.001722 0.19% Castro::reset_internal_energy(Fab) 504 0.00161 0.00161 0.00161 0.18% Gravity::actual_solve_with_mlmg() 11 0.001479 0.001479 0.001479 0.16% MLCellLinOp::setLevelBC() 11 0.001402 0.001402 0.001402 0.16% FabArray::mult() 43 0.001325 0.001325 0.001325 0.15% FabArray::setDomainBndry() 41 0.00131 0.00131 0.00131 0.15% Castro::initData() 1 0.001266 0.001266 0.001266 0.14% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.13% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.13% MLCellLinOp::smooth() 1640 0.001029 0.001029 0.001029 0.11% Castro::enforce_speed_limit() 62 0.001022 0.001022 0.001022 0.11% Castro::subcycle_advance_ctu() 10 0.000947 0.000947 0.000947 0.11% MLCellLinOp::compGrad() 11 0.0009261 0.0009261 0.0009261 0.10% MLMG::prepareForSolve() 11 0.0008761 0.0008761 0.0008761 0.10% FabArray::FillBoundary() 4023 0.0008392 0.0008392 0.0008392 0.09% FabArrayBase::getCPC() 1323 0.0007407 0.0007407 0.0007407 0.08% FabArrayBase::CPC::define() 454 0.0006862 0.0006862 0.0006862 0.08% Gravity::get_new_grav_vector() 11 0.0006281 0.0006281 0.0006281 0.07% FabArrayBase::getFB() 4023 0.0005749 0.0005749 0.0005749 0.06% Gravity::get_old_grav_vector() 10 0.0005514 0.0005514 0.0005514 0.06% Amr::InitAmr() 1 0.0004724 0.0004724 0.0004724 0.05% MLCellLinOp::apply() 1142 0.0004389 0.0004389 0.0004389 0.05% MLLinOp::defineGrids() 11 0.0003798 0.0003798 0.0003798 0.04% Amr::coarseTimeStep() 10 0.0003689 0.0003689 0.0003689 0.04% MLMG::mgVcycle() 82 0.0003305 0.0003305 0.0003305 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002968 0.0002968 0.0002968 0.03% main() 1 0.000278 0.000278 0.000278 0.03% MultiFab::max() 11 0.0002589 0.0002589 0.0002589 0.03% FillPatchIterator::Initialize 41 0.000234 0.000234 0.000234 0.03% FabArray::ParallelCopy() 861 0.0002337 0.0002337 0.0002337 0.03% MLCellLinOp::correctionResidual() 492 0.0002172 0.0002172 0.0002172 0.02% MLCellLinOp::defineBC() 11 0.0002139 0.0002139 0.0002139 0.02% Castro::create_source_corrector() 10 0.0001987 0.0001987 0.0001987 0.02% Amr::timeStep() 10 0.0001679 0.0001679 0.0001679 0.02% StateData::checkPoint() 12 0.0001362 0.0001362 0.0001362 0.02% MLMG:computeResOfCorrection() 410 0.0001219 0.0001219 0.0001219 0.01% Gravity::update_max_rhs() 11 0.00012 0.00012 0.00012 0.01% Gravity::solve_for_phi() 10 0.0001157 0.0001157 0.0001157 0.01% Castro::Castro() 1 8.702e-05 8.702e-05 8.702e-05 0.01% Castro::expand_state() 10 8.651e-05 8.651e-05 8.651e-05 0.01% MLMG::actualBottomSolve() 82 8.624e-05 8.624e-05 8.624e-05 0.01% FabArrayBase::FB::FB() 56 8.565e-05 8.565e-05 8.565e-05 0.01% MLMG::mgVcycle_down::0 82 8.353e-05 8.353e-05 8.353e-05 0.01% AmrLevel::checkPoint() 3 7.753e-05 7.753e-05 7.753e-05 0.01% Castro::finalize_advance() 10 7.673e-05 7.673e-05 7.673e-05 0.01% MLMG::mgVcycle_down::1 82 7.654e-05 7.654e-05 7.654e-05 0.01% MLMG::mgVcycle_down::2 82 7.612e-05 7.612e-05 7.612e-05 0.01% Castro::clean_state() 62 7.478e-05 7.478e-05 7.478e-05 0.01% MLMG::mgVcycle_down::3 82 7.193e-05 7.193e-05 7.193e-05 0.01% MLMG::mgVcycle_down::4 82 7.109e-05 7.109e-05 7.109e-05 0.01% Castro::initialize_advance() 10 7.02e-05 7.02e-05 7.02e-05 0.01% MLMG::solve() 11 6.957e-05 6.957e-05 6.957e-05 0.01% Castro::advance() 10 6.241e-05 6.241e-05 6.241e-05 0.01% MLMG::mgVcycle_up::4 82 5.793e-05 5.793e-05 5.793e-05 0.01% MLMG::oneIter() 82 5.394e-05 5.394e-05 5.394e-05 0.01% Castro::initialize_do_advance() 10 5.382e-05 5.382e-05 5.382e-05 0.01% MLMG::mgVcycle_up::0 82 5.227e-05 5.227e-05 5.227e-05 0.01% MLCellLinOp::solutionResidual() 93 4.836e-05 4.836e-05 4.836e-05 0.01% MLMG::mgVcycle_up::1 82 4.805e-05 4.805e-05 4.805e-05 0.01% MLMG::mgVcycle_up::3 82 4.762e-05 4.762e-05 4.762e-05 0.01% Castro::construct_new_source() 50 4.606e-05 4.606e-05 4.606e-05 0.01% MLMG::mgVcycle_up::2 82 4.543e-05 4.543e-05 4.543e-05 0.01% StateData::define() 4 4.279e-05 4.279e-05 4.279e-05 0.00% Castro::finalize_do_advance() 10 3.785e-05 3.785e-05 3.785e-05 0.00% Castro::swap_state_time_levels() 10 3.766e-05 3.766e-05 3.766e-05 0.00% MLMG::ResNormInf() 93 3.361e-05 3.361e-05 3.361e-05 0.00% Castro::enforce_consistent_e() 1 3.321e-05 3.321e-05 3.321e-05 0.00% FillPatchSingleLevel 41 3.144e-05 3.144e-05 3.144e-05 0.00% MLMG::mgVcycle_bottom 82 3.021e-05 3.021e-05 3.021e-05 0.00% MLMG::computeResidual() 82 2.931e-05 2.931e-05 2.931e-05 0.00% Amr::writeSmallPlotFile() 1 2.55e-05 2.55e-05 2.55e-05 0.00% makeSFC 55 2.45e-05 2.45e-05 2.45e-05 0.00% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.321e-05 2.321e-05 2.321e-05 0.00% MLPoisson::define() 11 2.28e-05 2.28e-05 2.28e-05 0.00% Castro::construct_new_gravity() 10 2.26e-05 2.26e-05 2.26e-05 0.00% Amr::FinalizeInit() 1 2.007e-05 2.007e-05 2.007e-05 0.00% Amr::defBaseLevel() 1 1.943e-05 1.943e-05 1.943e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.764e-05 1.764e-05 1.764e-05 0.00% Castro::buildMetrics() 1 1.711e-05 1.711e-05 1.711e-05 0.00% Castro::construct_old_source() 50 1.613e-05 1.613e-05 1.613e-05 0.00% Castro::do_new_sources() 10 1.612e-05 1.612e-05 1.612e-05 0.00% DistributionMapping::Distribute() 56 1.547e-05 1.547e-05 1.547e-05 0.00% Castro::do_old_sources() 10 1.453e-05 1.453e-05 1.453e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.421e-05 1.421e-05 1.421e-05 0.00% MLPoisson::prepareForSolve() 11 1.419e-05 1.419e-05 1.419e-05 0.00% MLMG::computeMLResidual() 11 1.393e-05 1.393e-05 1.393e-05 0.00% Castro::check_for_nan() 20 1.066e-05 1.066e-05 1.066e-05 0.00% MLLinOp::define() 11 1.043e-05 1.043e-05 1.043e-05 0.00% Castro::apply_source_to_state() 20 1.01e-05 1.01e-05 1.01e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.522e-06 9.522e-06 9.522e-06 0.00% Castro::construct_old_gravity() 10 9.404e-06 9.404e-06 9.404e-06 0.00% Gravity::actual_multilevel_solve() 1 8.323e-06 8.323e-06 8.323e-06 0.00% Gravity::swapTimeLevels() 10 8.182e-06 8.182e-06 8.182e-06 0.00% Castro::post_timestep() 10 8.11e-06 8.11e-06 8.11e-06 0.00% Amr::initSubcycle() 1 8.083e-06 8.083e-06 8.083e-06 0.00% Castro::computeNewDt() 9 6.323e-06 6.323e-06 6.323e-06 0.00% MLMG::getGradSolution() 11 5.848e-06 5.848e-06 5.848e-06 0.00% Castro::retry_advance_ctu() 10 5.341e-06 5.341e-06 5.341e-06 0.00% Castro::post_init() 1 4.796e-06 4.796e-06 4.796e-06 0.00% Amr::InitializeInit() 1 4.519e-06 4.519e-06 4.519e-06 0.00% Gravity::set_mass_offset() 11 4.421e-06 4.421e-06 4.421e-06 0.00% AmrLevel::checkPointPost() 3 4.294e-06 4.294e-06 4.294e-06 0.00% MLMG::MLRhsNormInf() 11 3.882e-06 3.882e-06 3.882e-06 0.00% MLMG::MLResNormInf() 11 3.699e-06 3.699e-06 3.699e-06 0.00% Castro::FluxRegCrseInit 10 3.231e-06 3.231e-06 3.231e-06 0.00% Castro::computeInitialDt() 2 3.17e-06 3.17e-06 3.17e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.927e-06 2.927e-06 2.927e-06 0.00% Amr::init() 1 2.449e-06 2.449e-06 2.449e-06 0.00% Castro::FluxRegFineAdd() 10 2.289e-06 2.289e-06 2.289e-06 0.00% AmrLevel::checkPointPre() 3 2.216e-06 2.216e-06 2.216e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.924e-06 1.924e-06 1.924e-06 0.00% Castro::post_regrid() 1 1.243e-06 1.243e-06 1.243e-06 0.00% Amr::initialInit() 1 1.143e-06 1.143e-06 1.143e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8969 0.8969 0.8969 100.00% Amr::coarseTimeStep() 10 0.6972 0.6972 0.6972 77.73% Amr::timeStep() 10 0.5737 0.5737 0.5737 63.96% Castro::advance() 10 0.5662 0.5662 0.5662 63.12% Castro::subcycle_advance_ctu() 10 0.5541 0.5541 0.5541 61.77% Castro::do_advance_ctu() 10 0.5531 0.5531 0.5531 61.67% Gravity::solve_phi_with_mlmg() 11 0.2848 0.2848 0.2848 31.75% Gravity::actual_solve_with_mlmg() 11 0.2776 0.2776 0.2776 30.95% Castro::construct_new_gravity() 10 0.2602 0.2602 0.2602 29.01% MLMG::solve() 11 0.2566 0.2566 0.2566 28.60% Gravity::solve_for_phi() 10 0.2443 0.2443 0.2443 27.24% VisMF::Write(FabArray) 11 0.2424 0.2424 0.2424 27.02% MLMG::oneIter() 82 0.2422 0.2422 0.2422 27.00% MLMG::mgVcycle() 82 0.2385 0.2385 0.2385 26.59% Castro::construct_ctu_hydro_source() 10 0.2134 0.2134 0.2134 23.79% Amr::checkPoint() 3 0.18 0.18 0.18 20.07% AmrLevel::checkPoint() 3 0.176 0.176 0.176 19.62% StateData::checkPoint() 12 0.1759 0.1759 0.1759 19.61% Amr::init() 1 0.1429 0.1429 0.1429 15.93% MLCellLinOp::smooth() 1640 0.1175 0.1175 0.1175 13.10% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 12.26% Amr::writePlotFile() 2 0.09075 0.09075 0.09075 10.12% MLMG::mgVcycle_bottom 82 0.07391 0.07391 0.07391 8.24% MLMG::actualBottomSolve() 82 0.07388 0.07388 0.07388 8.24% MLCGSolver::bicgstab 82 0.07318 0.07318 0.07318 8.16% Amr::initialInit() 1 0.04804 0.04804 0.04804 5.36% Castro::clean_state() 62 0.04673 0.04673 0.04673 5.21% Amr::FinalizeInit() 1 0.044 0.044 0.044 4.91% FillPatchIterator::Initialize 41 0.04302 0.04302 0.04302 4.80% Castro::post_init() 1 0.04262 0.04262 0.04262 4.75% FillPatchSingleLevel 41 0.04148 0.04148 0.04148 4.62% Gravity::multilevel_solve_for_new_phi() 1 0.04089 0.04089 0.04089 4.56% Gravity::actual_multilevel_solve() 1 0.04087 0.04087 0.04087 4.56% StateDataPhysBCFunct::() 41 0.03738 0.03738 0.03738 4.17% MLCellLinOp::apply() 1142 0.03644 0.03644 0.03644 4.06% MLMG::mgVcycle_down::0 82 0.03386 0.03386 0.03386 3.77% MLPoisson::Fsmooth() 3280 0.03254 0.03254 0.03254 3.63% FabArray::FillBoundary() 4023 0.03252 0.03252 0.03252 3.63% FillBoundary_nowait() 4023 0.03168 0.03168 0.03168 3.53% MLMG::mgVcycle_up::0 82 0.02559 0.02559 0.02559 2.85% StateData::FillBoundary(geom) 328 0.02526 0.02526 0.02526 2.82% MLCellLinOp::correctionResidual() 492 0.02226 0.02226 0.02226 2.48% Castro::computeTemp() 63 0.02066 0.02066 0.02066 2.30% amrex::Dot() 1114 0.02062 0.02062 0.02062 2.30% Castro::initialize_do_advance() 10 0.01992 0.01992 0.01992 2.22% MLMG:computeResOfCorrection() 410 0.01962 0.01962 0.01962 2.19% Gravity::get_new_grav_vector() 11 0.01735 0.01735 0.01735 1.93% MLPoisson::define() 11 0.0168 0.0168 0.0168 1.87% Castro::normalize_species() 62 0.01589 0.01589 0.01589 1.77% MLMG::mgVcycle_down::1 82 0.01584 0.01584 0.01584 1.77% Castro::construct_old_gravity() 10 0.01527 0.01527 0.01527 1.70% Gravity::get_old_grav_vector() 10 0.01526 0.01526 0.01526 1.70% amrex::Copy() 1029 0.0149 0.0149 0.0149 1.66% MLMG::mgVcycle_down::2 82 0.01482 0.01482 0.01482 1.65% MLMG::mgVcycle_down::3 82 0.01448 0.01448 0.01448 1.61% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.61% FabArray::ParallelCopy() 861 0.01444 0.01444 0.01444 1.61% MLMG::mgVcycle_down::4 82 0.0143 0.0143 0.0143 1.59% FabArray::ParallelCopy_nowait() 861 0.01421 0.01421 0.01421 1.58% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.47% Castro::do_new_sources() 10 0.01246 0.01246 0.01246 1.39% MLCGSolver::ParallelAllReduce 1514 0.01236 0.01236 0.01236 1.38% MLMG::addInterpCorrection() 410 0.01178 0.01178 0.01178 1.31% Castro::expand_state() 10 0.01162 0.01162 0.01162 1.30% MLMG::mgVcycle_up::1 82 0.01156 0.01156 0.01156 1.29% Castro::do_old_sources() 10 0.01154 0.01154 0.01154 1.29% MLMG::mgVcycle_up::4 82 0.01147 0.01147 0.01147 1.28% MLCellLinOp::defineAuxData() 11 0.01139 0.01139 0.01139 1.27% Castro::initialize_advance() 10 0.01139 0.01139 0.01139 1.27% MLMG::mgVcycle_up::2 82 0.0113 0.0113 0.0113 1.26% amrex::average_down 410 0.01115 0.01115 0.01115 1.24% MLMG::mgVcycle_up::3 82 0.01104 0.01104 0.01104 1.23% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.17% Castro::enforce_min_density() 62 0.009829 0.009829 0.009829 1.10% FabArray::Saxpy() 813 0.008203 0.008203 0.008203 0.91% FabArray::Xpay() 821 0.008067 0.008067 0.008067 0.90% Castro::post_timestep() 10 0.007372 0.007372 0.007372 0.82% MLCellLinOp::solutionResidual() 93 0.007235 0.007235 0.007235 0.81% Gravity::fill_multipole_BCs() 11 0.006906 0.006906 0.006906 0.77% MLMG::computeResidual() 82 0.006246 0.006246 0.006246 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005864 0.005864 0.005864 0.65% Castro::estTimeStep() 21 0.005375 0.005375 0.005375 0.60% MLCellLinOp::defineBC() 11 0.004935 0.004935 0.004935 0.55% BndryData::define() 11 0.004721 0.004721 0.004721 0.53% MLMG::prepareForSolve() 11 0.004678 0.004678 0.004678 0.52% FabArray::LinComb() 557 0.004553 0.004553 0.004553 0.51% amrex::Add() 164 0.004388 0.004388 0.004388 0.49% Amr::InitializeInit() 1 0.004037 0.004037 0.004037 0.45% Amr::defBaseLevel() 1 0.004033 0.004033 0.004033 0.45% Castro::initData() 1 0.003526 0.003526 0.003526 0.39% Castro::construct_new_source() 50 0.003317 0.003317 0.003317 0.37% Castro::construct_new_gravity_source() 10 0.003271 0.003271 0.003271 0.36% Castro::construct_old_source() 50 0.002746 0.002746 0.002746 0.31% Castro::construct_old_gravity_source() 10 0.00273 0.00273 0.00273 0.30% Castro::computeNewDt() 9 0.002545 0.002545 0.002545 0.28% MLMG::ResNormInf() 93 0.002109 0.002109 0.002109 0.24% Castro::apply_source_to_state() 20 0.001831 0.001831 0.001831 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001722 0.001722 0.001722 0.19% Castro::reset_internal_energy(Fab) 504 0.00161 0.00161 0.00161 0.18% FabArrayBase::getCPC() 1323 0.001427 0.001427 0.001427 0.16% MLMG::getGradSolution() 11 0.001405 0.001405 0.001405 0.16% MLCellLinOp::setLevelBC() 11 0.001402 0.001402 0.001402 0.16% MLCellLinOp::compGrad() 11 0.001399 0.001399 0.001399 0.16% FabArray::mult() 43 0.001325 0.001325 0.001325 0.15% FabArray::setDomainBndry() 41 0.00131 0.00131 0.00131 0.15% Castro::check_for_nan() 20 0.001216 0.001216 0.001216 0.14% MultiFab::contains_nan() 20 0.001206 0.001206 0.001206 0.13% MLPoisson::prepareForSolve() 11 0.001143 0.001143 0.001143 0.13% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.13% Castro::post_regrid() 1 0.001123 0.001123 0.001123 0.13% MLMG::computeMLResidual() 11 0.001032 0.001032 0.001032 0.12% Castro::enforce_speed_limit() 62 0.001022 0.001022 0.001022 0.11% Castro::computeInitialDt() 2 0.0009677 0.0009677 0.0009677 0.11% Gravity::update_max_rhs() 11 0.0008258 0.0008258 0.0008258 0.09% FabArrayBase::CPC::define() 454 0.0006862 0.0006862 0.0006862 0.08% FabArrayBase::getFB() 4023 0.0006605 0.0006605 0.0006605 0.07% Castro::finalize_advance() 10 0.0006259 0.0006259 0.0006259 0.07% Amr::InitAmr() 1 0.0004805 0.0004805 0.0004805 0.05% MLLinOp::define() 11 0.0004449 0.0004449 0.0004449 0.05% Gravity::swapTimeLevels() 10 0.0004383 0.0004383 0.0004383 0.05% MLLinOp::defineGrids() 11 0.0004345 0.0004345 0.0004345 0.05% Castro::Castro() 1 0.000431 0.000431 0.000431 0.05% MLMG::MLResNormInf() 11 0.0002844 0.0002844 0.0002844 0.03% MultiFab::max() 11 0.0002589 0.0002589 0.0002589 0.03% MLMG::MLRhsNormInf() 11 0.0002202 0.0002202 0.0002202 0.02% Castro::create_source_corrector() 10 0.0001987 0.0001987 0.0001987 0.02% Castro::buildMetrics() 1 0.0001582 0.0001582 0.0001582 0.02% FabArrayBase::FB::FB() 56 8.565e-05 8.565e-05 8.565e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.274e-05 5.274e-05 5.274e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.231e-05 5.231e-05 5.231e-05 0.01% StateData::define() 4 4.279e-05 4.279e-05 4.279e-05 0.00% makeSFC 55 3.853e-05 3.853e-05 3.853e-05 0.00% Castro::finalize_do_advance() 10 3.785e-05 3.785e-05 3.785e-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.321e-05 3.321e-05 3.321e-05 0.00% Amr::writeSmallPlotFile() 1 2.55e-05 2.55e-05 2.55e-05 0.00% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.00% DistributionMapping::Distribute() 56 1.547e-05 1.547e-05 1.547e-05 0.00% Amr::initSubcycle() 1 8.083e-06 8.083e-06 8.083e-06 0.00% Castro::retry_advance_ctu() 10 5.341e-06 5.341e-06 5.341e-06 0.00% Gravity::set_mass_offset() 11 4.421e-06 4.421e-06 4.421e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.368e-06 4.368e-06 4.368e-06 0.00% AmrLevel::checkPointPost() 3 4.294e-06 4.294e-06 4.294e-06 0.00% Castro::FluxRegCrseInit 10 3.231e-06 3.231e-06 3.231e-06 0.00% Castro::FluxRegFineAdd() 10 2.289e-06 2.289e-06 2.289e-06 0.00% AmrLevel::checkPointPre() 3 2.216e-06 2.216e-06 2.216e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.924e-06 1.924e-06 1.924e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 111 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 1025 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2181 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3519 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1764 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2826 B 480 KiB VisMF::Write(FabArray) 656 656 3359 B 320 KiB Castro::normalize_species() 62 62 5767 B 320 KiB amrex::average_down 1067 1067 1246 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1132 B 257 KiB amrex::Dot() 1360 1360 3389 B 160 KiB FabArray::norminf() 907 907 2389 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 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3441 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 8866 8866 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3825 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 118 B 1472 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 555 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 629 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3441 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3825 B 6144 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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-11-gab567b81cbf1) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-11-gab567b81cbf1) initialized Starting run at 08:28:43 UTC on 2023-05-12. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-11-gab567b81c Microphysics git describe: 23.05-4-g0685d31f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.496059628 Restart time = 0.065617551 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049615256 [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.049380422 [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.068027947 [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.069242197 [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.068558201 [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.03565036 seconds Ending run at 08:28:43 UTC on 2023-05-12. Run time = 0.40718128 Run time without initialization = 0.340956569 Average number of zones advanced per microsecond: 3.844 Average number of zones advanced per microsecond per rank: 3.844 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4072 ... 0.4072 ... 0.4072 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1136 0.1136 0.1136 27.90% MLCellLinOp::applyBC() 1946 0.03961 0.03961 0.03961 9.73% VisMF::Read() 3 0.03924 0.03924 0.03924 9.64% VisMF::Write(FabArray) 1 0.03301 0.03301 0.03301 8.11% Amr::restart() 1 0.02274 0.02274 0.02274 5.58% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.44% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 3.13% StateData::FillBoundary(geom) 160 0.01248 0.01248 0.01248 3.06% amrex::Dot() 484 0.008834 0.008834 0.008834 2.17% Castro::normalize_species() 30 0.007704 0.007704 0.007704 1.89% amrex::Copy() 463 0.006965 0.006965 0.006965 1.71% Castro::enforce_min_density() 30 0.006355 0.006355 0.006355 1.56% FabArray::norminf() 326 0.006272 0.006272 0.006272 1.54% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.54% FabArray::ParallelCopy_nowait() 380 0.006076 0.006076 0.006076 1.49% Castro::computeTemp() 30 0.005959 0.005959 0.005959 1.46% MLCellLinOp::defineAuxData() 6 0.00531 0.00531 0.00531 1.30% StateDataPhysBCFunct::() 20 0.005025 0.005025 0.005025 1.23% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.09% FabArray::Saxpy() 355 0.00366 0.00366 0.00366 0.90% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.86% MLMG::addInterpCorrection() 180 0.002907 0.002907 0.002907 0.71% Castro::estTimeStep() 10 0.002662 0.002662 0.002662 0.65% Gravity::fill_multipole_BCs() 6 0.002622 0.002622 0.002622 0.64% amrex::average_down 180 0.002598 0.002598 0.002598 0.64% Amr::writePlotFile() 1 0.002485 0.002485 0.002485 0.61% Castro::enforce_speed_limit() 30 0.002095 0.002095 0.002095 0.51% Castro::reset_internal_energy(MultiFab) 30 0.00206 0.00206 0.00206 0.51% BndryData::define() 6 0.002038 0.002038 0.002038 0.50% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.47% amrex::Add() 72 0.001864 0.001864 0.001864 0.46% Castro::create_source_corrector() 5 0.001579 0.001579 0.001579 0.39% Castro::do_advance_ctu() 5 0.001536 0.001536 0.001536 0.38% Castro::construct_new_gravity_source() 5 0.001487 0.001487 0.001487 0.37% Castro::construct_old_gravity_source() 5 0.001181 0.001181 0.001181 0.29% MLCGSolver::bicgstab 36 0.0009406 0.0009406 0.0009406 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009328 0.0009328 0.0009328 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008021 0.0008021 0.0008021 0.20% Castro::reset_internal_energy(Fab) 240 0.0007747 0.0007747 0.0007747 0.19% MLCellLinOp::setLevelBC() 6 0.0007612 0.0007612 0.0007612 0.19% FabArray::mult() 22 0.0006569 0.0006569 0.0006569 0.16% FabArray::setDomainBndry() 20 0.0006559 0.0006559 0.0006559 0.16% MultiFab::contains_nan() 10 0.000629 0.000629 0.000629 0.15% MLCellLinOp::prepareForSolve() 6 0.000606 0.000606 0.000606 0.15% MLCellLinOp::compGrad() 6 0.0005165 0.0005165 0.0005165 0.13% MLMG::prepareForSolve() 6 0.0004825 0.0004825 0.0004825 0.12% MLCellLinOp::smooth() 720 0.0004447 0.0004447 0.0004447 0.11% FabArrayBase::CPC::define() 244 0.0004196 0.0004196 0.0004196 0.10% Amr::InitAmr() 1 0.0004088 0.0004088 0.0004088 0.10% FabArrayBase::getCPC() 632 0.000362 0.000362 0.000362 0.09% FabArray::FillBoundary() 1766 0.0003545 0.0003545 0.0003545 0.09% Gravity::get_old_grav_vector() 5 0.0003197 0.0003197 0.0003197 0.08% main() 1 0.0003038 0.0003038 0.0003038 0.07% Gravity::get_new_grav_vector() 5 0.0002794 0.0002794 0.0002794 0.07% FabArrayBase::getFB() 1766 0.0002525 0.0002525 0.0002525 0.06% Amr::coarseTimeStep() 5 0.0002129 0.0002129 0.0002129 0.05% MLCellLinOp::apply() 500 0.0002063 0.0002063 0.0002063 0.05% MLMG::mgVcycle() 36 0.0001744 0.0001744 0.0001744 0.04% MLLinOp::defineGrids() 6 0.0001658 0.0001658 0.0001658 0.04% Castro::construct_new_source() 25 0.0001501 0.0001501 0.0001501 0.04% MultiFab::max() 6 0.0001359 0.0001359 0.0001359 0.03% MLCGSolver::ParallelAllReduce 659 0.0001267 0.0001267 0.0001267 0.03% FillPatchIterator::Initialize 20 0.0001169 0.0001169 0.0001169 0.03% MLCellLinOp::defineBC() 6 0.0001156 0.0001156 0.0001156 0.03% FabArray::ParallelCopy() 380 0.0001089 0.0001089 0.0001089 0.03% Castro::post_timestep() 5 9.416e-05 9.416e-05 9.416e-05 0.02% MLCellLinOp::correctionResidual() 216 9.243e-05 9.243e-05 9.243e-05 0.02% Castro::initialize_do_advance() 5 9.084e-05 9.084e-05 9.084e-05 0.02% Amr::timeStep() 5 8.114e-05 8.114e-05 8.114e-05 0.02% AmrLevel::restart() 1 7.581e-05 7.581e-05 7.581e-05 0.02% Castro::subcycle_advance_ctu() 5 6.946e-05 6.946e-05 6.946e-05 0.02% Castro::construct_old_gravity() 5 6.873e-05 6.873e-05 6.873e-05 0.02% Gravity::update_max_rhs() 6 6.035e-05 6.035e-05 6.035e-05 0.01% Gravity::solve_for_phi() 5 6.033e-05 6.033e-05 6.033e-05 0.01% StateData::restartDoit() 4 6.024e-05 6.024e-05 6.024e-05 0.01% FabArrayBase::FB::FB() 26 5.834e-05 5.834e-05 5.834e-05 0.01% MLMG:computeResOfCorrection() 180 5.5e-05 5.5e-05 5.5e-05 0.01% Castro::advance() 5 5.472e-05 5.472e-05 5.472e-05 0.01% Castro::expand_state() 5 4.912e-05 4.912e-05 4.912e-05 0.01% Castro::clean_state() 30 3.884e-05 3.884e-05 3.884e-05 0.01% MLMG::actualBottomSolve() 36 3.864e-05 3.864e-05 3.864e-05 0.01% MLMG::mgVcycle_down::0 36 3.766e-05 3.766e-05 3.766e-05 0.01% Castro::construct_old_source() 25 3.701e-05 3.701e-05 3.701e-05 0.01% Castro::initialize_advance() 5 3.365e-05 3.365e-05 3.365e-05 0.01% MLMG::solve() 6 3.336e-05 3.336e-05 3.336e-05 0.01% MLMG::mgVcycle_down::1 36 3.149e-05 3.149e-05 3.149e-05 0.01% MLMG::mgVcycle_down::4 36 3.098e-05 3.098e-05 3.098e-05 0.01% MLMG::mgVcycle_down::2 36 3.093e-05 3.093e-05 3.093e-05 0.01% MLMG::mgVcycle_down::3 36 2.988e-05 2.988e-05 2.988e-05 0.01% Castro::finalize_advance() 5 2.884e-05 2.884e-05 2.884e-05 0.01% MLMG::mgVcycle_up::4 36 2.882e-05 2.882e-05 2.882e-05 0.01% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.01% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.01% Castro::buildMetrics() 1 2.544e-05 2.544e-05 2.544e-05 0.01% Castro::swap_state_time_levels() 5 2.45e-05 2.45e-05 2.45e-05 0.01% MLMG::oneIter() 36 2.359e-05 2.359e-05 2.359e-05 0.01% MLMG::mgVcycle_up::0 36 2.134e-05 2.134e-05 2.134e-05 0.01% MLCellLinOp::solutionResidual() 42 2.071e-05 2.071e-05 2.071e-05 0.01% MLMG::mgVcycle_up::1 36 2.066e-05 2.066e-05 2.066e-05 0.01% MLMG::mgVcycle_up::3 36 2.061e-05 2.061e-05 2.061e-05 0.01% Castro::post_restart() 1 1.983e-05 1.983e-05 1.983e-05 0.00% MLMG::mgVcycle_up::2 36 1.982e-05 1.982e-05 1.982e-05 0.00% Castro::finalize_do_advance() 5 1.944e-05 1.944e-05 1.944e-05 0.00% MLMG::ResNormInf() 42 1.757e-05 1.757e-05 1.757e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.648e-05 1.648e-05 1.648e-05 0.00% MLMG::mgVcycle_bottom 36 1.458e-05 1.458e-05 1.458e-05 0.00% Castro::construct_new_gravity() 5 1.443e-05 1.443e-05 1.443e-05 0.00% FillPatchSingleLevel 20 1.429e-05 1.429e-05 1.429e-05 0.00% MLPoisson::define() 6 1.399e-05 1.399e-05 1.399e-05 0.00% makeSFC 30 1.305e-05 1.305e-05 1.305e-05 0.00% MLMG::computeResidual() 36 1.28e-05 1.28e-05 1.28e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.257e-05 1.257e-05 1.257e-05 0.00% MLPoisson::prepareForSolve() 6 1.037e-05 1.037e-05 1.037e-05 0.00% MLMG::computeMLResidual() 6 9.423e-06 9.423e-06 9.423e-06 0.00% DistributionMapping::Distribute() 31 9.159e-06 9.159e-06 9.159e-06 0.00% Castro::do_new_sources() 5 9.131e-06 9.131e-06 9.131e-06 0.00% Amr::initSubcycle() 1 8.701e-06 8.701e-06 8.701e-06 0.00% Castro::do_old_sources() 5 7.81e-06 7.81e-06 7.81e-06 0.00% Castro::check_for_nan() 10 7.62e-06 7.62e-06 7.62e-06 0.00% Gravity::actual_multilevel_solve() 1 7.522e-06 7.522e-06 7.522e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.345e-06 7.345e-06 7.345e-06 0.00% Castro::apply_source_to_state() 10 5.46e-06 5.46e-06 5.46e-06 0.00% MLLinOp::define() 6 4.942e-06 4.942e-06 4.942e-06 0.00% Gravity::swapTimeLevels() 5 3.673e-06 3.673e-06 3.673e-06 0.00% Castro::computeNewDt() 5 3.317e-06 3.317e-06 3.317e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.957e-06 2.957e-06 2.957e-06 0.00% MLMG::getGradSolution() 6 2.831e-06 2.831e-06 2.831e-06 0.00% MLMG::MLResNormInf() 6 2.25e-06 2.25e-06 2.25e-06 0.00% Gravity::set_mass_offset() 6 2.147e-06 2.147e-06 2.147e-06 0.00% MLMG::MLRhsNormInf() 6 2.095e-06 2.095e-06 2.095e-06 0.00% Castro::retry_advance_ctu() 5 1.828e-06 1.828e-06 1.828e-06 0.00% Castro::FluxRegCrseInit 5 1.593e-06 1.593e-06 1.593e-06 0.00% Castro::FluxRegFineAdd() 5 1.313e-06 1.313e-06 1.313e-06 0.00% Amr::init() 1 1.175e-06 1.175e-06 1.175e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4072 0.4072 0.4072 100.00% Amr::coarseTimeStep() 5 0.305 0.305 0.305 74.90% Amr::timeStep() 5 0.3029 0.3029 0.3029 74.39% Castro::advance() 5 0.2978 0.2978 0.2978 73.12% Castro::subcycle_advance_ctu() 5 0.2907 0.2907 0.2907 71.38% Castro::do_advance_ctu() 5 0.2906 0.2906 0.2906 71.37% Castro::construct_new_gravity() 5 0.1359 0.1359 0.1359 33.38% Gravity::solve_phi_with_mlmg() 6 0.131 0.131 0.131 32.17% Gravity::actual_solve_with_mlmg() 6 0.1281 0.1281 0.1281 31.47% Gravity::solve_for_phi() 5 0.128 0.128 0.128 31.44% MLMG::solve() 6 0.1168 0.1168 0.1168 28.68% Castro::construct_ctu_hydro_source() 5 0.1136 0.1136 0.1136 27.90% MLMG::oneIter() 36 0.1099 0.1099 0.1099 27.00% MLMG::mgVcycle() 36 0.1084 0.1084 0.1084 26.61% Amr::init() 1 0.06568 0.06568 0.06568 16.13% Amr::restart() 1 0.06568 0.06568 0.06568 16.13% MLCellLinOp::smooth() 720 0.0562 0.0562 0.0562 13.80% MLCellLinOp::applyBC() 1946 0.05302 0.05302 0.05302 13.02% AmrLevel::restart() 1 0.03943 0.03943 0.03943 9.68% StateData::restartDoit() 4 0.03935 0.03935 0.03935 9.66% VisMF::Read() 3 0.03924 0.03924 0.03924 9.64% Amr::writePlotFile() 1 0.03575 0.03575 0.03575 8.78% VisMF::Write(FabArray) 1 0.03301 0.03301 0.03301 8.11% MLMG::mgVcycle_bottom 36 0.03176 0.03176 0.03176 7.80% MLMG::actualBottomSolve() 36 0.03175 0.03175 0.03175 7.80% MLCGSolver::bicgstab 36 0.03144 0.03144 0.03144 7.72% Castro::clean_state() 30 0.02499 0.02499 0.02499 6.14% FillPatchIterator::Initialize 20 0.02031 0.02031 0.02031 4.99% FillPatchSingleLevel 20 0.01954 0.01954 0.01954 4.80% StateDataPhysBCFunct::() 20 0.0175 0.0175 0.0175 4.30% MLCellLinOp::apply() 500 0.01569 0.01569 0.01569 3.85% MLMG::mgVcycle_down::0 36 0.01425 0.01425 0.01425 3.50% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.44% FabArray::FillBoundary() 1766 0.01342 0.01342 0.01342 3.29% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.21% StateData::FillBoundary(geom) 160 0.01248 0.01248 0.01248 3.06% MLMG::mgVcycle_up::2 36 0.01111 0.01111 0.01111 2.73% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 2.65% Castro::initialize_do_advance() 5 0.009634 0.009634 0.009634 2.37% MLCellLinOp::correctionResidual() 216 0.009487 0.009487 0.009487 2.33% MLPoisson::define() 6 0.008989 0.008989 0.008989 2.21% amrex::Dot() 484 0.008834 0.008834 0.008834 2.17% Castro::computeTemp() 30 0.008794 0.008794 0.008794 2.16% MLMG:computeResOfCorrection() 180 0.008342 0.008342 0.008342 2.05% Gravity::get_new_grav_vector() 5 0.007781 0.007781 0.007781 1.91% Castro::construct_old_gravity() 5 0.007739 0.007739 0.007739 1.90% Castro::normalize_species() 30 0.007704 0.007704 0.007704 1.89% Gravity::get_old_grav_vector() 5 0.007671 0.007671 0.007671 1.88% Castro::do_new_sources() 5 0.007 0.007 0.007 1.72% amrex::Copy() 463 0.006965 0.006965 0.006965 1.71% MLMG::mgVcycle_down::1 36 0.006792 0.006792 0.006792 1.67% Castro::initialize_advance() 5 0.006718 0.006718 0.006718 1.65% FabArray::ParallelCopy() 380 0.006588 0.006588 0.006588 1.62% FabArray::ParallelCopy_nowait() 380 0.006479 0.006479 0.006479 1.59% Castro::enforce_min_density() 30 0.006355 0.006355 0.006355 1.56% MLMG::mgVcycle_down::2 36 0.006339 0.006339 0.006339 1.56% FabArray::norminf() 326 0.006272 0.006272 0.006272 1.54% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.54% MLMG::mgVcycle_down::3 36 0.006197 0.006197 0.006197 1.52% MLMG::mgVcycle_down::4 36 0.006141 0.006141 0.006141 1.51% MLCellLinOp::defineAuxData() 6 0.006048 0.006048 0.006048 1.49% Castro::expand_state() 5 0.00555 0.00555 0.00555 1.36% MLCGSolver::ParallelAllReduce 659 0.00536 0.00536 0.00536 1.32% MLMG::addInterpCorrection() 180 0.0052 0.0052 0.0052 1.28% Castro::post_timestep() 5 0.00511 0.00511 0.00511 1.25% MLMG::mgVcycle_up::1 36 0.005065 0.005065 0.005065 1.24% MLMG::mgVcycle_up::4 36 0.004965 0.004965 0.004965 1.22% amrex::average_down 180 0.004872 0.004872 0.004872 1.20% Castro::do_old_sources() 5 0.004831 0.004831 0.004831 1.19% MLMG::mgVcycle_up::3 36 0.004802 0.004802 0.004802 1.18% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.09% FabArray::Saxpy() 355 0.00366 0.00366 0.00366 0.90% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.86% Castro::post_restart() 1 0.003331 0.003331 0.003331 0.82% MLCellLinOp::solutionResidual() 42 0.003233 0.003233 0.003233 0.79% Gravity::multilevel_solve_for_new_phi() 1 0.003216 0.003216 0.003216 0.79% Gravity::actual_multilevel_solve() 1 0.003199 0.003199 0.003199 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002835 0.002835 0.002835 0.70% Gravity::fill_multipole_BCs() 6 0.00276 0.00276 0.00276 0.68% MLCellLinOp::defineBC() 6 0.002727 0.002727 0.002727 0.67% MLMG::computeResidual() 36 0.002683 0.002683 0.002683 0.66% Castro::estTimeStep() 10 0.002662 0.002662 0.002662 0.65% BndryData::define() 6 0.002611 0.002611 0.002611 0.64% MLMG::prepareForSolve() 6 0.00252 0.00252 0.00252 0.62% Castro::enforce_speed_limit() 30 0.002095 0.002095 0.002095 0.51% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.47% Castro::computeNewDt() 5 0.001866 0.001866 0.001866 0.46% amrex::Add() 72 0.001864 0.001864 0.001864 0.46% Castro::construct_new_source() 25 0.001637 0.001637 0.001637 0.40% Castro::create_source_corrector() 5 0.001579 0.001579 0.001579 0.39% Castro::construct_new_gravity_source() 5 0.001487 0.001487 0.001487 0.37% Castro::construct_old_source() 25 0.001218 0.001218 0.001218 0.30% Castro::construct_old_gravity_source() 5 0.001181 0.001181 0.001181 0.29% MLMG::ResNormInf() 42 0.0009391 0.0009391 0.0009391 0.23% Castro::apply_source_to_state() 10 0.0009365 0.0009365 0.0009365 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009328 0.0009328 0.0009328 0.23% MLMG::getGradSolution() 6 0.0007818 0.0007818 0.0007818 0.19% FabArrayBase::getCPC() 632 0.0007816 0.0007816 0.0007816 0.19% MLCellLinOp::compGrad() 6 0.000779 0.000779 0.000779 0.19% Castro::reset_internal_energy(Fab) 240 0.0007747 0.0007747 0.0007747 0.19% MLCellLinOp::setLevelBC() 6 0.0007612 0.0007612 0.0007612 0.19% FabArray::mult() 22 0.0006569 0.0006569 0.0006569 0.16% FabArray::setDomainBndry() 20 0.0006559 0.0006559 0.0006559 0.16% Castro::check_for_nan() 10 0.0006366 0.0006366 0.0006366 0.16% MultiFab::contains_nan() 10 0.000629 0.000629 0.000629 0.15% MLPoisson::prepareForSolve() 6 0.0006164 0.0006164 0.0006164 0.15% MLCellLinOp::prepareForSolve() 6 0.000606 0.000606 0.000606 0.15% MLMG::computeMLResidual() 6 0.000572 0.000572 0.000572 0.14% Gravity::update_max_rhs() 6 0.0004487 0.0004487 0.0004487 0.11% FabArrayBase::CPC::define() 244 0.0004196 0.0004196 0.0004196 0.10% Amr::InitAmr() 1 0.0004175 0.0004175 0.0004175 0.10% FabArrayBase::getFB() 1766 0.0003108 0.0003108 0.0003108 0.08% Castro::finalize_advance() 5 0.0002886 0.0002886 0.0002886 0.07% Gravity::swapTimeLevels() 5 0.0002317 0.0002317 0.0002317 0.06% MLLinOp::define() 6 0.0002 0.0002 0.0002 0.05% MLLinOp::defineGrids() 6 0.000195 0.000195 0.000195 0.05% MLMG::MLResNormInf() 6 0.0001523 0.0001523 0.0001523 0.04% Castro::buildMetrics() 1 0.000143 0.000143 0.000143 0.04% MultiFab::max() 6 0.0001359 0.0001359 0.0001359 0.03% MLMG::MLRhsNormInf() 6 0.0001181 0.0001181 0.0001181 0.03% FabArrayBase::FB::FB() 26 5.834e-05 5.834e-05 5.834e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.822e-05 2.822e-05 2.822e-05 0.01% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.01% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.01% Castro::swap_state_time_levels() 5 2.45e-05 2.45e-05 2.45e-05 0.01% makeSFC 30 2.087e-05 2.087e-05 2.087e-05 0.01% Castro::finalize_do_advance() 5 1.944e-05 1.944e-05 1.944e-05 0.00% DistributionMapping::Distribute() 31 9.159e-06 9.159e-06 9.159e-06 0.00% Amr::initSubcycle() 1 8.701e-06 8.701e-06 8.701e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.293e-06 4.293e-06 4.293e-06 0.00% Gravity::set_mass_offset() 6 2.147e-06 2.147e-06 2.147e-06 0.00% Castro::retry_advance_ctu() 5 1.828e-06 1.828e-06 1.828e-06 0.00% Castro::FluxRegCrseInit 5 1.593e-06 1.593e-06 1.593e-06 0.00% Castro::FluxRegFineAdd() 5 1.313e-06 1.313e-06 1.313e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-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 200 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 132 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB FillPatchIterator::Initialize 160 160 1071 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2386 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 6404 KiB 14 MiB MLMG::prepareForSolve() 361 361 3524 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 195 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6399 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9760 B 2053 KiB Gravity::update_max_rhs() 48 48 2133 B 2048 KiB Gravity::solve_for_phi() 40 40 642 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 3012 B 480 KiB VisMF::Write(FabArray) 112 112 1214 B 320 KiB Castro::normalize_species() 30 30 6146 B 320 KiB amrex::average_down 469 469 1164 B 257 KiB MLMG::addInterpCorrection() 468 468 1092 B 257 KiB amrex::Dot() 592 592 3186 B 160 KiB FabArray::norminf() 398 398 2275 B 160 KiB Castro::do_advance_ctu() 5 5 490 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3432 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 3892 3892 228 B 9344 B amrex::Copy() 56 56 5719 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 363 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1292 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 107 KiB 8192 KiB VisMF::Write(FabArray) 120 120 243 KiB 3584 KiB VisMF::Read() 24 24 187 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3432 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 1946 1946 227 B 9328 B amrex::Copy() 56 56 5719 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2531 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 521 B 1296 B amrex::average_down 37 37 214 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 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-11-gab567b81cbf1) finalized