Initializing AMReX (24.03-17-ga5720c951e81)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-17-ga5720c951e81) initialized Starting run at 09:10:32 UTC on 2024-03-18. Successfully read inputs file ... Castro git describe: 24.03-10-g3a323186e AMReX git describe: 24.03-17-ga5720c951 Microphysics git describe: 24.03-14-gd2554385 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.088288359 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025336285 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.064057498 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051180839 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.076029097 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.079017271 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.059558627 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.046000905 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.079057641 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.08134075 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.05947454 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.05884139 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.061951597 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043724238 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025095547 seconds Ending run at 09:10:33 UTC on 2024-03-18. Run time = 0.955721987 Run time without initialization = 0.786030262 Average number of zones advanced per microsecond: 3.335 Average number of zones advanced per microsecond per rank: 3.335 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9558 ... 0.9558 ... 0.9558 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2776 0.2776 0.2776 29.05% VisMF::Write(FabArray) 11 0.2199 0.2199 0.2199 23.01% MLCellLinOp::applyBC() 4351 0.08962 0.08962 0.08962 9.38% MLPoisson::Fsmooth() 3280 0.03441 0.03441 0.03441 3.60% FillBoundary_nowait() 3941 0.03112 0.03112 0.03112 3.26% StateData::FillBoundary(geom) 328 0.02698 0.02698 0.02698 2.82% amrex::Dot() 1114 0.02189 0.02189 0.02189 2.29% Castro::normalize_species() 62 0.02147 0.02147 0.02147 2.25% FabArray::norminf() 1061 0.02033 0.02033 0.02033 2.13% Castro::computeTemp() 63 0.01651 0.01651 0.01651 1.73% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.46% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.43% FabArray::Saxpy() 1370 0.01335 0.01335 0.01335 1.40% StateDataPhysBCFunct::() 41 0.01243 0.01243 0.01243 1.30% Castro::enforce_min_density() 62 0.01107 0.01107 0.01107 1.16% amrex::Copy() 472 0.011 0.011 0.011 1.15% MLPoisson::Fapply() 1060 0.01052 0.01052 0.01052 1.10% MLCellLinOp::defineAuxData() 11 0.01043 0.01043 0.01043 1.09% Gravity::fill_multipole_BCs() 11 0.009309 0.009309 0.009309 0.97% FabArray::Xpay() 739 0.007963 0.007963 0.007963 0.83% MLMG::addInterpCorrection() 410 0.007224 0.007224 0.007224 0.76% amrex::average_down 410 0.006316 0.006316 0.006316 0.66% Amr::checkPoint() 3 0.005921 0.005921 0.005921 0.62% Castro::estTimeStep() 21 0.005909 0.005909 0.005909 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005299 0.005299 0.005299 0.55% BndryData::define() 11 0.004054 0.004054 0.004054 0.42% amrex::Add() 82 0.003662 0.003662 0.003662 0.38% Castro::construct_new_gravity_source() 10 0.003402 0.003402 0.003402 0.36% Castro::enforce_speed_limit() 62 0.00296 0.00296 0.00296 0.31% Castro::construct_old_gravity_source() 10 0.002793 0.002793 0.002793 0.29% Amr::writePlotFile() 2 0.002153 0.002153 0.002153 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.19% check_for_negative_density() 10 0.001805 0.001805 0.001805 0.19% Castro::reset_internal_energy(Fab) 504 0.001786 0.001786 0.001786 0.19% MLCGSolver::bicgstab 82 0.00168 0.00168 0.00168 0.18% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% Castro::initData() 1 0.001561 0.001561 0.001561 0.16% Gravity::actual_solve_with_mlmg() 11 0.001559 0.001559 0.001559 0.16% FabArray::mult() 43 0.001395 0.001395 0.001395 0.15% FabArray::setDomainBndry() 41 0.001383 0.001383 0.001383 0.14% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.13% MLCellLinOp::smooth() 1640 0.001217 0.001217 0.001217 0.13% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.12% MLMG::prepareForSolve() 11 0.0009592 0.0009592 0.0009592 0.10% FabArray::FillBoundary() 3941 0.0007832 0.0007832 0.0007832 0.08% FabArrayBase::getCPC() 1323 0.0007791 0.0007791 0.0007791 0.08% FabArrayBase::CPC::define() 454 0.0006796 0.0006796 0.0006796 0.07% FabArrayBase::getFB() 3941 0.0006624 0.0006624 0.0006624 0.07% Gravity::get_new_grav_vector() 11 0.0006294 0.0006294 0.0006294 0.07% Amr::InitAmr() 1 0.0005758 0.0005758 0.0005758 0.06% Gravity::get_old_grav_vector() 10 0.0004897 0.0004897 0.0004897 0.05% MLCellLinOp::apply() 1060 0.000446 0.000446 0.000446 0.05% AmrLevel::FillPatch() 41 0.0004148 0.0004148 0.0004148 0.04% Amr::coarseTimeStep() 10 0.0003651 0.0003651 0.0003651 0.04% MultiFab::max() 11 0.0003407 0.0003407 0.0003407 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003252 0.0003252 0.0003252 0.03% main() 1 0.0003125 0.0003125 0.0003125 0.03% MLCellLinOp::defineBC() 11 0.0002755 0.0002755 0.0002755 0.03% FabArray::ParallelCopy() 861 0.0002594 0.0002594 0.0002594 0.03% FillPatchIterator::Initialize 41 0.0002199 0.0002199 0.0002199 0.02% MLMG::mgVcycle() 82 0.0002153 0.0002153 0.0002153 0.02% MLCellLinOp::correctionResidual() 410 0.0001846 0.0001846 0.0001846 0.02% Castro::subcycle_advance_ctu() 10 0.0001737 0.0001737 0.0001737 0.02% Castro::create_source_corrector() 10 0.0001704 0.0001704 0.0001704 0.02% MLLinOp::defineGrids() 11 0.0001701 0.0001701 0.0001701 0.02% Amr::timeStep() 10 0.0001538 0.0001538 0.0001538 0.02% Gravity::update_max_rhs() 11 0.0001297 0.0001297 0.0001297 0.01% StateData::checkPoint() 12 0.0001198 0.0001198 0.0001198 0.01% MLMG:computeResOfCorrection() 410 0.0001174 0.0001174 0.0001174 0.01% Gravity::solve_for_phi() 10 0.0001137 0.0001137 0.0001137 0.01% Castro::construct_new_source() 50 0.0001131 0.0001131 0.0001131 0.01% Castro::Castro() 1 0.0001065 0.0001065 0.0001065 0.01% Castro::advance() 10 9.625e-05 9.625e-05 9.625e-05 0.01% MLMG::mgVcycle_down::0 82 9.482e-05 9.482e-05 9.482e-05 0.01% FabArrayBase::FB::FB() 56 9.04e-05 9.04e-05 9.04e-05 0.01% MLMG::mgVcycle_down::1 82 8.613e-05 8.613e-05 8.613e-05 0.01% MLMG::actualBottomSolve() 82 8.568e-05 8.568e-05 8.568e-05 0.01% MLMG::mgVcycle_down::2 82 8.483e-05 8.483e-05 8.483e-05 0.01% Castro::initialize_advance() 10 8.258e-05 8.258e-05 8.258e-05 0.01% MLMG::mgVcycle_down::4 82 7.946e-05 7.946e-05 7.946e-05 0.01% MLMG::mgVcycle_down::3 82 7.814e-05 7.814e-05 7.814e-05 0.01% MLMG::solve() 11 7.662e-05 7.662e-05 7.662e-05 0.01% Castro::clean_state() 62 7.409e-05 7.409e-05 7.409e-05 0.01% Castro::enforce_consistent_e() 1 6.897e-05 6.897e-05 6.897e-05 0.01% Castro::do_new_sources() 10 6.714e-05 6.714e-05 6.714e-05 0.01% Castro::finalize_advance() 10 6.583e-05 6.583e-05 6.583e-05 0.01% Castro::do_advance_ctu() 10 6.313e-05 6.313e-05 6.313e-05 0.01% AmrLevel::checkPoint() 3 6.293e-05 6.293e-05 6.293e-05 0.01% MLMG::mgVcycle_up::0 82 6.054e-05 6.054e-05 6.054e-05 0.01% Castro::initialize_do_advance() 10 5.931e-05 5.931e-05 5.931e-05 0.01% MLMG::mgVcycle_up::4 82 5.888e-05 5.888e-05 5.888e-05 0.01% MLMG::oneIter() 82 5.797e-05 5.797e-05 5.797e-05 0.01% MLCellLinOp::solutionResidual() 93 5.685e-05 5.685e-05 5.685e-05 0.01% MLMG::mgVcycle_up::2 82 5.65e-05 5.65e-05 5.65e-05 0.01% MLMG::mgVcycle_up::3 82 5.52e-05 5.52e-05 5.52e-05 0.01% MLMG::mgVcycle_up::1 82 5.273e-05 5.273e-05 5.273e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.664e-05 4.664e-05 4.664e-05 0.00% Castro::finalize_do_advance() 10 4.445e-05 4.445e-05 4.445e-05 0.00% StateData::define() 4 4.343e-05 4.343e-05 4.343e-05 0.00% Castro::post_timestep() 10 3.937e-05 3.937e-05 3.937e-05 0.00% Castro::swap_state_time_levels() 10 3.765e-05 3.765e-05 3.765e-05 0.00% FillPatchSingleLevel 41 3.735e-05 3.735e-05 3.735e-05 0.00% Amr::writeSmallPlotFile() 1 3.655e-05 3.655e-05 3.655e-05 0.00% MLMG::ResNormInf() 93 3.573e-05 3.573e-05 3.573e-05 0.00% MLMG::mgVcycle_bottom 82 3.358e-05 3.358e-05 3.358e-05 0.00% MLMG::computeResidual() 82 3.307e-05 3.307e-05 3.307e-05 0.00% Castro::initMFs() 1 3.228e-05 3.228e-05 3.228e-05 0.00% Amr::defBaseLevel() 1 3.095e-05 3.095e-05 3.095e-05 0.00% Castro::buildMetrics() 1 2.711e-05 2.711e-05 2.711e-05 0.00% Castro::construct_new_gravity() 10 2.563e-05 2.563e-05 2.563e-05 0.00% makeSFC 55 2.54e-05 2.54e-05 2.54e-05 0.00% Castro::do_old_sources() 10 2.381e-05 2.381e-05 2.381e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.312e-05 2.312e-05 2.312e-05 0.00% Castro::construct_old_source() 50 1.982e-05 1.982e-05 1.982e-05 0.00% MLPoisson::define() 11 1.945e-05 1.945e-05 1.945e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.901e-05 1.901e-05 1.901e-05 0.00% Amr::FinalizeInit() 1 1.744e-05 1.744e-05 1.744e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.713e-05 1.713e-05 1.713e-05 0.00% DistributionMapping::Distribute() 56 1.554e-05 1.554e-05 1.554e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.385e-05 1.385e-05 1.385e-05 0.00% MLPoisson::prepareForSolve() 11 1.288e-05 1.288e-05 1.288e-05 0.00% MLMG::computeMLResidual() 11 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::apply_source_to_state() 20 1.245e-05 1.245e-05 1.245e-05 0.00% MLLinOp::define() 11 1.245e-05 1.245e-05 1.245e-05 0.00% Castro::check_for_nan() 20 1.227e-05 1.227e-05 1.227e-05 0.00% Amr::initSubcycle() 1 1.069e-05 1.069e-05 1.069e-05 0.00% Gravity::swapTimeLevels() 10 1.051e-05 1.051e-05 1.051e-05 0.00% Castro::construct_old_gravity() 10 9.964e-06 9.964e-06 9.964e-06 0.00% Castro::post_init() 1 9.503e-06 9.503e-06 9.503e-06 0.00% Gravity::actual_multilevel_solve() 1 8.305e-06 8.305e-06 8.305e-06 0.00% Amr::InitializeInit() 1 7.175e-06 7.175e-06 7.175e-06 0.00% MLMG::getGradSolution() 11 6.532e-06 6.532e-06 6.532e-06 0.00% Castro::computeNewDt() 9 6.4e-06 6.4e-06 6.4e-06 0.00% Castro::expand_state() 10 5.902e-06 5.902e-06 5.902e-06 0.00% MLMG::MLRhsNormInf() 11 4.64e-06 4.64e-06 4.64e-06 0.00% AmrLevel::checkPointPost() 3 4.568e-06 4.568e-06 4.568e-06 0.00% Castro::retry_advance_ctu() 10 4.37e-06 4.37e-06 4.37e-06 0.00% Gravity::set_mass_offset() 11 3.991e-06 3.991e-06 3.991e-06 0.00% MLMG::MLResNormInf() 11 3.328e-06 3.328e-06 3.328e-06 0.00% Castro::computeInitialDt() 2 3.324e-06 3.324e-06 3.324e-06 0.00% Castro::FluxRegCrseInit 10 3.242e-06 3.242e-06 3.242e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.096e-06 3.096e-06 3.096e-06 0.00% AmrLevel::checkPointPre() 3 2.438e-06 2.438e-06 2.438e-06 0.00% Amr::init() 1 2.227e-06 2.227e-06 2.227e-06 0.00% Castro::FluxRegFineAdd() 10 2.09e-06 2.09e-06 2.09e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.017e-06 2.017e-06 2.017e-06 0.00% Castro::post_regrid() 1 1.234e-06 1.234e-06 1.234e-06 0.00% Amr::initialInit() 1 1.145e-06 1.145e-06 1.145e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9557 0.9557 0.9557 100.00% Amr::coarseTimeStep() 10 0.7607 0.7607 0.7607 79.59% Amr::timeStep() 10 0.6671 0.6671 0.6671 69.79% Castro::advance() 10 0.6556 0.6556 0.6556 68.60% Castro::subcycle_advance_ctu() 10 0.6402 0.6402 0.6402 66.99% Castro::do_advance_ctu() 10 0.64 0.64 0.64 66.97% Gravity::solve_phi_with_mlmg() 11 0.3074 0.3074 0.3074 32.16% Gravity::actual_solve_with_mlmg() 11 0.2976 0.2976 0.2976 31.14% Castro::construct_ctu_hydro_source() 10 0.2892 0.2892 0.2892 30.26% Castro::construct_new_gravity() 10 0.2777 0.2777 0.2777 29.06% MLMG::solve() 11 0.2753 0.2753 0.2753 28.81% Gravity::solve_for_phi() 10 0.2613 0.2613 0.2613 27.34% MLMG::oneIter() 82 0.2597 0.2597 0.2597 27.17% MLMG::mgVcycle() 82 0.256 0.256 0.256 26.78% VisMF::Write(FabArray) 11 0.2199 0.2199 0.2199 23.01% Amr::checkPoint() 3 0.1781 0.1781 0.1781 18.64% AmrLevel::checkPoint() 3 0.1722 0.1722 0.1722 18.02% StateData::checkPoint() 12 0.1722 0.1722 0.1722 18.01% Amr::init() 1 0.169 0.169 0.169 17.68% MLCellLinOp::smooth() 1640 0.1313 0.1313 0.1313 13.74% MLCellLinOp::applyBC() 4351 0.1223 0.1223 0.1223 12.79% MLMG::mgVcycle_bottom 82 0.07438 0.07438 0.07438 7.78% MLMG::actualBottomSolve() 82 0.07435 0.07435 0.07435 7.78% MLCGSolver::bicgstab 82 0.07352 0.07352 0.07352 7.69% Castro::clean_state() 62 0.05829 0.05829 0.05829 6.10% Amr::initialInit() 1 0.05521 0.05521 0.05521 5.78% Amr::writePlotFile() 2 0.05058 0.05058 0.05058 5.29% Amr::FinalizeInit() 1 0.05006 0.05006 0.05006 5.24% AmrLevel::FillPatch() 41 0.0495 0.0495 0.0495 5.18% Castro::post_init() 1 0.04888 0.04888 0.04888 5.11% Gravity::multilevel_solve_for_new_phi() 1 0.0465 0.0465 0.0465 4.87% Gravity::actual_multilevel_solve() 1 0.04649 0.04649 0.04649 4.86% FillPatchIterator::Initialize 41 0.04518 0.04518 0.04518 4.73% FillPatchIterator::FillFromLevel0() 41 0.04358 0.04358 0.04358 4.56% FillPatchSingleLevel 41 0.04353 0.04353 0.04353 4.55% StateDataPhysBCFunct::() 41 0.03941 0.03941 0.03941 4.12% MLCellLinOp::apply() 1060 0.03705 0.03705 0.03705 3.88% MLMG::mgVcycle_down::0 82 0.0352 0.0352 0.0352 3.68% MLPoisson::Fsmooth() 3280 0.03441 0.03441 0.03441 3.60% FabArray::FillBoundary() 3941 0.03266 0.03266 0.03266 3.42% FillBoundary_nowait() 3941 0.03187 0.03187 0.03187 3.33% StateData::FillBoundary(geom) 328 0.02698 0.02698 0.02698 2.82% MLMG::mgVcycle_up::0 82 0.02672 0.02672 0.02672 2.80% Castro::computeTemp() 63 0.0236 0.0236 0.0236 2.47% Castro::initialize_do_advance() 10 0.02261 0.02261 0.02261 2.37% amrex::Dot() 1114 0.02189 0.02189 0.02189 2.29% Castro::normalize_species() 62 0.02147 0.02147 0.02147 2.25% MLMG:computeResOfCorrection() 410 0.02089 0.02089 0.02089 2.19% MLCellLinOp::correctionResidual() 410 0.02077 0.02077 0.02077 2.17% FabArray::norminf() 1061 0.02033 0.02033 0.02033 2.13% MLMG::mgVcycle_up::3 82 0.01863 0.01863 0.01863 1.95% Castro::do_old_sources() 10 0.01848 0.01848 0.01848 1.93% Gravity::get_new_grav_vector() 11 0.01834 0.01834 0.01834 1.92% MLPoisson::define() 11 0.01748 0.01748 0.01748 1.83% MLMG::mgVcycle_down::1 82 0.0171 0.0171 0.0171 1.79% MLMG::mgVcycle_down::2 82 0.01592 0.01592 0.01592 1.67% Castro::construct_old_gravity() 10 0.01566 0.01566 0.01566 1.64% Gravity::get_old_grav_vector() 10 0.01565 0.01565 0.01565 1.64% MLMG::mgVcycle_down::3 82 0.01552 0.01552 0.01552 1.62% MLMG::mgVcycle_down::4 82 0.0154 0.0154 0.0154 1.61% FabArray::ParallelCopy() 861 0.01504 0.01504 0.01504 1.57% FabArray::ParallelCopy_nowait() 861 0.01478 0.01478 0.01478 1.55% Castro::initialize_advance() 10 0.0147 0.0147 0.0147 1.54% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.43% FabArray::Saxpy() 1370 0.01335 0.01335 0.01335 1.40% Castro::do_new_sources() 10 0.01312 0.01312 0.01312 1.37% MLCGSolver::ParallelAllReduce 1832 0.01312 0.01312 0.01312 1.37% MLMG::addInterpCorrection() 410 0.0127 0.0127 0.0127 1.33% MLMG::mgVcycle_up::1 82 0.01241 0.01241 0.01241 1.30% Castro::expand_state() 10 0.01236 0.01236 0.01236 1.29% MLMG::mgVcycle_up::4 82 0.01225 0.01225 0.01225 1.28% MLMG::mgVcycle_up::2 82 0.01223 0.01223 0.01223 1.28% MLCellLinOp::defineAuxData() 11 0.01187 0.01187 0.01187 1.24% amrex::average_down 410 0.0118 0.0118 0.0118 1.23% Castro::post_timestep() 10 0.01126 0.01126 0.01126 1.18% Castro::enforce_min_density() 62 0.01107 0.01107 0.01107 1.16% amrex::Copy() 472 0.011 0.011 0.011 1.15% MLPoisson::Fapply() 1060 0.01052 0.01052 0.01052 1.10% Gravity::fill_multipole_BCs() 11 0.009552 0.009552 0.009552 1.00% FabArray::Xpay() 739 0.007963 0.007963 0.007963 0.83% MLCellLinOp::solutionResidual() 93 0.007827 0.007827 0.007827 0.82% Castro::reset_internal_energy(MultiFab) 63 0.007086 0.007086 0.007086 0.74% MLMG::computeResidual() 82 0.006581 0.006581 0.006581 0.69% Castro::estTimeStep() 21 0.005909 0.005909 0.005909 0.62% MLCellLinOp::defineBC() 11 0.005358 0.005358 0.005358 0.56% MLMG::prepareForSolve() 11 0.005226 0.005226 0.005226 0.55% Amr::InitializeInit() 1 0.005145 0.005145 0.005145 0.54% Amr::defBaseLevel() 1 0.005137 0.005137 0.005137 0.54% BndryData::define() 11 0.005083 0.005083 0.005083 0.53% Castro::initData() 1 0.004433 0.004433 0.004433 0.46% amrex::Add() 82 0.003662 0.003662 0.003662 0.38% Castro::construct_new_source() 50 0.003515 0.003515 0.003515 0.37% Castro::construct_new_gravity_source() 10 0.003402 0.003402 0.003402 0.36% Castro::enforce_speed_limit() 62 0.00296 0.00296 0.00296 0.31% Castro::construct_old_source() 50 0.002813 0.002813 0.002813 0.29% Castro::construct_old_gravity_source() 10 0.002793 0.002793 0.002793 0.29% Castro::computeNewDt() 9 0.002741 0.002741 0.002741 0.29% MLMG::ResNormInf() 93 0.002218 0.002218 0.002218 0.23% Castro::finalize_do_advance() 10 0.002202 0.002202 0.002202 0.23% Castro::apply_source_to_state() 20 0.001875 0.001875 0.001875 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.19% check_for_negative_density() 10 0.001805 0.001805 0.001805 0.19% Castro::reset_internal_energy(Fab) 504 0.001786 0.001786 0.001786 0.19% MLMG::getGradSolution() 11 0.001626 0.001626 0.001626 0.17% MLCellLinOp::compGrad() 11 0.001619 0.001619 0.001619 0.17% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% FabArrayBase::getCPC() 1323 0.001459 0.001459 0.001459 0.15% FabArray::mult() 43 0.001395 0.001395 0.001395 0.15% FabArray::setDomainBndry() 41 0.001383 0.001383 0.001383 0.14% MLPoisson::prepareForSolve() 11 0.001349 0.001349 0.001349 0.14% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% Castro::check_for_nan() 20 0.001292 0.001292 0.001292 0.14% MLMG::computeMLResidual() 11 0.001292 0.001292 0.001292 0.14% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.13% Castro::computeInitialDt() 2 0.00102 0.00102 0.00102 0.11% Gravity::update_max_rhs() 11 0.001009 0.001009 0.001009 0.11% Castro::post_regrid() 1 0.0008435 0.0008435 0.0008435 0.09% FabArrayBase::getFB() 3941 0.0007528 0.0007528 0.0007528 0.08% FabArrayBase::CPC::define() 454 0.0006796 0.0006796 0.0006796 0.07% Castro::finalize_advance() 10 0.0006219 0.0006219 0.0006219 0.07% Castro::Castro() 1 0.0006065 0.0006065 0.0006065 0.06% Amr::InitAmr() 1 0.0005865 0.0005865 0.0005865 0.06% Gravity::swapTimeLevels() 10 0.0004901 0.0004901 0.0004901 0.05% MultiFab::max() 11 0.0003407 0.0003407 0.0003407 0.04% MLMG::MLResNormInf() 11 0.0003387 0.0003387 0.0003387 0.04% Castro::buildMetrics() 1 0.0002935 0.0002935 0.0002935 0.03% MLLinOp::define() 11 0.0002384 0.0002384 0.0002384 0.02% MLMG::MLRhsNormInf() 11 0.0002353 0.0002353 0.0002353 0.02% MLLinOp::defineGrids() 11 0.0002259 0.0002259 0.0002259 0.02% Castro::create_source_corrector() 10 0.0001704 0.0001704 0.0001704 0.02% FabArrayBase::FB::FB() 56 9.04e-05 9.04e-05 9.04e-05 0.01% Castro::enforce_consistent_e() 1 6.897e-05 6.897e-05 6.897e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.244e-05 6.244e-05 6.244e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.381e-05 5.381e-05 5.381e-05 0.01% StateData::define() 4 4.343e-05 4.343e-05 4.343e-05 0.00% makeSFC 55 3.996e-05 3.996e-05 3.996e-05 0.00% Castro::swap_state_time_levels() 10 3.765e-05 3.765e-05 3.765e-05 0.00% Amr::writeSmallPlotFile() 1 3.655e-05 3.655e-05 3.655e-05 0.00% Castro::initMFs() 1 3.228e-05 3.228e-05 3.228e-05 0.00% DistributionMapping::Distribute() 56 1.554e-05 1.554e-05 1.554e-05 0.00% Amr::initSubcycle() 1 1.069e-05 1.069e-05 1.069e-05 0.00% AmrLevel::checkPointPost() 3 4.568e-06 4.568e-06 4.568e-06 0.00% Castro::retry_advance_ctu() 10 4.37e-06 4.37e-06 4.37e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.082e-06 4.082e-06 4.082e-06 0.00% Gravity::set_mass_offset() 11 3.991e-06 3.991e-06 3.991e-06 0.00% Castro::FluxRegCrseInit 10 3.242e-06 3.242e-06 3.242e-06 0.00% AmrLevel::checkPointPre() 3 2.438e-06 2.438e-06 2.438e-06 0.00% Castro::FluxRegFineAdd() 10 2.09e-06 2.09e-06 2.09e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.017e-06 2.017e-06 2.017e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 5605 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1013 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1476 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3544 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2048 B 2048 KiB Gravity::solve_for_phi() 80 80 559 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3015 B 480 KiB VisMF::Write(FabArray) 656 656 3243 B 320 KiB Castro::normalize_species() 62 62 7317 B 320 KiB amrex::average_down 1067 1067 1570 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1135 B 257 KiB amrex::Dot() 1360 1360 3376 B 160 KiB FabArray::norminf() 1143 1143 3285 B 160 KiB check_for_negative_density() 10 10 303 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3779 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 365 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 578 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 408 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3779 B 6144 B Gravity::get_new_grav_vector() 3 3 2896 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 45 B 2784 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (24.03-17-ga5720c951e81) finalized Initializing AMReX (24.03-17-ga5720c951e81)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-17-ga5720c951e81) initialized Starting run at 09:10:33 UTC on 2024-03-18. Successfully read inputs file ... Castro git describe: 24.03-10-g3a323186e AMReX git describe: 24.03-17-ga5720c951 Microphysics git describe: 24.03-14-gd2554385 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.545554478 Restart time = 0.072489051 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069492906 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.04906202 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.07331299 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074687903 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.06136733 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02743964 seconds Ending run at 09:10:34 UTC on 2024-03-18. Run time = 0.428964351 Run time without initialization = 0.355834559 Average number of zones advanced per microsecond: 3.684 Average number of zones advanced per microsecond per rank: 3.684 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.429 ... 0.429 ... 0.429 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1301 0.1301 0.1301 30.32% VisMF::Read() 3 0.06117 0.06117 0.06117 14.26% MLCellLinOp::applyBC() 1910 0.03608 0.03608 0.03608 8.41% VisMF::Write(FabArray) 1 0.02475 0.02475 0.02475 5.77% MLPoisson::Fsmooth() 1440 0.01501 0.01501 0.01501 3.50% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 3.03% FillBoundary_nowait() 1730 0.01291 0.01291 0.01291 3.01% Castro::normalize_species() 30 0.01022 0.01022 0.01022 2.38% amrex::Dot() 484 0.009361 0.009361 0.009361 2.18% FabArray::norminf() 465 0.008814 0.008814 0.008814 2.05% Castro::computeTemp() 30 0.007908 0.007908 0.007908 1.84% FabArray::setVal() 501 0.006716 0.006716 0.006716 1.57% FabArray::ParallelCopy_nowait() 380 0.006248 0.006248 0.006248 1.46% Castro::enforce_min_density() 30 0.006063 0.006063 0.006063 1.41% FabArray::Saxpy() 597 0.005951 0.005951 0.005951 1.39% StateDataPhysBCFunct::() 20 0.005845 0.005845 0.005845 1.36% MLCellLinOp::defineAuxData() 6 0.005678 0.005678 0.005678 1.32% amrex::Copy() 221 0.005504 0.005504 0.005504 1.28% Gravity::fill_multipole_BCs() 6 0.004984 0.004984 0.004984 1.16% Amr::restart() 1 0.004904 0.004904 0.004904 1.14% MLPoisson::Fapply() 464 0.004561 0.004561 0.004561 1.06% FabArray::Xpay() 325 0.003516 0.003516 0.003516 0.82% Castro::estTimeStep() 10 0.003465 0.003465 0.003465 0.81% MLMG::addInterpCorrection() 180 0.003157 0.003157 0.003157 0.74% amrex::average_down 180 0.002763 0.002763 0.002763 0.64% Amr::writePlotFile() 1 0.002523 0.002523 0.002523 0.59% BndryData::define() 6 0.002219 0.002219 0.002219 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002152 0.002152 0.002152 0.50% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001549 0.001549 0.001549 0.36% Castro::construct_old_gravity_source() 5 0.001519 0.001519 0.001519 0.35% Castro::reset_internal_energy(Fab) 240 0.0015 0.0015 0.0015 0.35% Castro::enforce_speed_limit() 30 0.001407 0.001407 0.001407 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009946 0.0009946 0.0009946 0.23% check_for_negative_density() 5 0.0009306 0.0009306 0.0009306 0.22% MLCellLinOp::setLevelBC() 6 0.0008997 0.0008997 0.0008997 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008254 0.0008254 0.0008254 0.19% MLCGSolver::bicgstab 36 0.0007897 0.0007897 0.0007897 0.18% MLCellLinOp::prepareForSolve() 6 0.0007663 0.0007663 0.0007663 0.18% FabArray::mult() 22 0.0007051 0.0007051 0.0007051 0.16% FabArray::setDomainBndry() 20 0.0006996 0.0006996 0.0006996 0.16% MultiFab::contains_nan() 10 0.0006671 0.0006671 0.0006671 0.16% MLCellLinOp::compGrad() 6 0.0006017 0.0006017 0.0006017 0.14% MLCellLinOp::smooth() 720 0.0005974 0.0005974 0.0005974 0.14% MLMG::prepareForSolve() 6 0.0005561 0.0005561 0.0005561 0.13% Amr::InitAmr() 1 0.0004628 0.0004628 0.0004628 0.11% FabArrayBase::CPC::define() 244 0.0004321 0.0004321 0.0004321 0.10% FabArray::FillBoundary() 1730 0.0003697 0.0003697 0.0003697 0.09% FabArrayBase::getCPC() 632 0.000368 0.000368 0.000368 0.09% Gravity::get_old_grav_vector() 5 0.0003404 0.0003404 0.0003404 0.08% Gravity::get_new_grav_vector() 5 0.0002739 0.0002739 0.0002739 0.06% main() 1 0.0002694 0.0002694 0.0002694 0.06% FabArrayBase::getFB() 1730 0.0002691 0.0002691 0.0002691 0.06% MLCellLinOp::apply() 464 0.000217 0.000217 0.000217 0.05% MultiFab::max() 6 0.0002118 0.0002118 0.0002118 0.05% Amr::coarseTimeStep() 5 0.0002071 0.0002071 0.0002071 0.05% AmrLevel::FillPatch() 20 0.0002006 0.0002006 0.0002006 0.05% MLCellLinOp::defineBC() 6 0.0001572 0.0001572 0.0001572 0.04% MLCGSolver::ParallelAllReduce 798 0.0001552 0.0001552 0.0001552 0.04% Castro::subcycle_advance_ctu() 5 0.0001252 0.0001252 0.0001252 0.03% FabArray::ParallelCopy() 380 0.0001225 0.0001225 0.0001225 0.03% Castro::create_source_corrector() 5 0.0001113 0.0001113 0.0001113 0.03% FillPatchIterator::Initialize 20 0.0001048 0.0001048 0.0001048 0.02% Castro::construct_new_source() 25 0.0001021 0.0001021 0.0001021 0.02% MLLinOp::defineGrids() 6 0.0001015 0.0001015 0.0001015 0.02% Amr::timeStep() 5 9.715e-05 9.715e-05 9.715e-05 0.02% MLMG::mgVcycle() 36 9.376e-05 9.376e-05 9.376e-05 0.02% MLCellLinOp::correctionResidual() 180 8.803e-05 8.803e-05 8.803e-05 0.02% AmrLevel::restart() 1 7.783e-05 7.783e-05 7.783e-05 0.02% Castro::advance() 5 7.604e-05 7.604e-05 7.604e-05 0.02% Castro::initialize_do_advance() 5 6.898e-05 6.898e-05 6.898e-05 0.02% StateData::restartDoit() 4 6.863e-05 6.863e-05 6.863e-05 0.02% Gravity::update_max_rhs() 6 6.624e-05 6.624e-05 6.624e-05 0.02% FabArrayBase::FB::FB() 26 5.802e-05 5.802e-05 5.802e-05 0.01% MLMG:computeResOfCorrection() 180 5.315e-05 5.315e-05 5.315e-05 0.01% Gravity::solve_for_phi() 5 5.188e-05 5.188e-05 5.188e-05 0.01% MLMG::mgVcycle_down::0 36 4.577e-05 4.577e-05 4.577e-05 0.01% Castro::do_advance_ctu() 5 4.481e-05 4.481e-05 4.481e-05 0.01% Castro::finalize_do_advance() 5 4.473e-05 4.473e-05 4.473e-05 0.01% MLMG::mgVcycle_down::2 36 4.023e-05 4.023e-05 4.023e-05 0.01% MLMG::mgVcycle_down::1 36 4.011e-05 4.011e-05 4.011e-05 0.01% MLMG::actualBottomSolve() 36 3.874e-05 3.874e-05 3.874e-05 0.01% MLMG::solve() 6 3.801e-05 3.801e-05 3.801e-05 0.01% Castro::initialize_advance() 5 3.73e-05 3.73e-05 3.73e-05 0.01% Castro::clean_state() 30 3.633e-05 3.633e-05 3.633e-05 0.01% MLMG::mgVcycle_down::4 36 3.58e-05 3.58e-05 3.58e-05 0.01% MLMG::mgVcycle_down::3 36 3.458e-05 3.458e-05 3.458e-05 0.01% Amr::writeSmallPlotFile() 1 3.225e-05 3.225e-05 3.225e-05 0.01% Castro::post_timestep() 5 3.117e-05 3.117e-05 3.117e-05 0.01% Castro::do_new_sources() 5 3.071e-05 3.071e-05 3.071e-05 0.01% Castro::finalize_advance() 5 2.984e-05 2.984e-05 2.984e-05 0.01% Castro::construct_old_source() 25 2.858e-05 2.858e-05 2.858e-05 0.01% MLMG::mgVcycle_up::4 36 2.79e-05 2.79e-05 2.79e-05 0.01% Castro::post_restart() 1 2.773e-05 2.773e-05 2.773e-05 0.01% Castro::buildMetrics() 1 2.751e-05 2.751e-05 2.751e-05 0.01% MLMG::oneIter() 36 2.641e-05 2.641e-05 2.641e-05 0.01% Castro::swap_state_time_levels() 5 2.535e-05 2.535e-05 2.535e-05 0.01% MLCellLinOp::solutionResidual() 42 2.466e-05 2.466e-05 2.466e-05 0.01% MLMG::mgVcycle_up::3 36 2.429e-05 2.429e-05 2.429e-05 0.01% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.01% MLMG::mgVcycle_up::0 36 2.388e-05 2.388e-05 2.388e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.279e-05 2.279e-05 2.279e-05 0.01% MLMG::mgVcycle_up::2 36 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::mgVcycle_up::1 36 2.189e-05 2.189e-05 2.189e-05 0.01% MLMG::ResNormInf() 42 1.812e-05 1.812e-05 1.812e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.716e-05 1.716e-05 1.716e-05 0.00% FillPatchSingleLevel 20 1.577e-05 1.577e-05 1.577e-05 0.00% MLMG::mgVcycle_bottom 36 1.471e-05 1.471e-05 1.471e-05 0.00% MLMG::computeResidual() 36 1.46e-05 1.46e-05 1.46e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.447e-05 1.447e-05 1.447e-05 0.00% MLPoisson::define() 6 1.435e-05 1.435e-05 1.435e-05 0.00% makeSFC 30 1.419e-05 1.419e-05 1.419e-05 0.00% Castro::construct_new_gravity() 5 1.301e-05 1.301e-05 1.301e-05 0.00% Castro::do_old_sources() 5 1.2e-05 1.2e-05 1.2e-05 0.00% Amr::initSubcycle() 1 9.857e-06 9.857e-06 9.857e-06 0.00% DistributionMapping::Distribute() 31 8.622e-06 8.622e-06 8.622e-06 0.00% MLMG::computeMLResidual() 6 8.471e-06 8.471e-06 8.471e-06 0.00% MLPoisson::prepareForSolve() 6 8.129e-06 8.129e-06 8.129e-06 0.00% Gravity::actual_multilevel_solve() 1 7.837e-06 7.837e-06 7.837e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.837e-06 7.837e-06 7.837e-06 0.00% Castro::apply_source_to_state() 10 7.014e-06 7.014e-06 7.014e-06 0.00% MLLinOp::define() 6 6.701e-06 6.701e-06 6.701e-06 0.00% Castro::check_for_nan() 10 6.674e-06 6.674e-06 6.674e-06 0.00% Castro::construct_old_gravity() 5 5.855e-06 5.855e-06 5.855e-06 0.00% Gravity::swapTimeLevels() 5 5.228e-06 5.228e-06 5.228e-06 0.00% Castro::computeNewDt() 5 3.545e-06 3.545e-06 3.545e-06 0.00% MLMG::getGradSolution() 6 3.455e-06 3.455e-06 3.455e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.215e-06 3.215e-06 3.215e-06 0.00% Castro::expand_state() 5 3.091e-06 3.091e-06 3.091e-06 0.00% MLMG::MLRhsNormInf() 6 2.493e-06 2.493e-06 2.493e-06 0.00% MLMG::MLResNormInf() 6 2.373e-06 2.373e-06 2.373e-06 0.00% Gravity::set_mass_offset() 6 2.326e-06 2.326e-06 2.326e-06 0.00% Castro::retry_advance_ctu() 5 2.326e-06 2.326e-06 2.326e-06 0.00% Castro::FluxRegCrseInit 5 1.548e-06 1.548e-06 1.548e-06 0.00% Castro::FluxRegFineAdd() 5 1.235e-06 1.235e-06 1.235e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.067e-06 1.067e-06 1.067e-06 0.00% Amr::init() 1 8.55e-07 8.55e-07 8.55e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.429 0.429 0.429 100.00% Amr::coarseTimeStep() 5 0.3281 0.3281 0.3281 76.49% Amr::timeStep() 5 0.3256 0.3256 0.3256 75.89% Castro::advance() 5 0.32 0.32 0.32 74.59% Castro::subcycle_advance_ctu() 5 0.3123 0.3123 0.3123 72.79% Castro::do_advance_ctu() 5 0.3121 0.3121 0.3121 72.76% Castro::construct_new_gravity() 5 0.1372 0.1372 0.1372 31.98% Castro::construct_ctu_hydro_source() 5 0.1361 0.1361 0.1361 31.74% Gravity::solve_phi_with_mlmg() 6 0.1344 0.1344 0.1344 31.33% Gravity::actual_solve_with_mlmg() 6 0.1292 0.1292 0.1292 30.11% Gravity::solve_for_phi() 5 0.1291 0.1291 0.1291 30.10% MLMG::solve() 6 0.1169 0.1169 0.1169 27.26% MLMG::oneIter() 36 0.1091 0.1091 0.1091 25.44% MLMG::mgVcycle() 36 0.1076 0.1076 0.1076 25.07% Amr::init() 1 0.07254 0.07254 0.07254 16.91% Amr::restart() 1 0.07254 0.07254 0.07254 16.91% AmrLevel::restart() 1 0.06155 0.06155 0.06155 14.35% StateData::restartDoit() 4 0.06146 0.06146 0.06146 14.33% VisMF::Read() 3 0.06117 0.06117 0.06117 14.26% MLCellLinOp::smooth() 720 0.05355 0.05355 0.05355 12.48% MLCellLinOp::applyBC() 1910 0.04968 0.04968 0.04968 11.58% MLMG::mgVcycle_bottom 36 0.03221 0.03221 0.03221 7.51% MLMG::actualBottomSolve() 36 0.03219 0.03219 0.03219 7.50% MLCGSolver::bicgstab 36 0.03182 0.03182 0.03182 7.42% Castro::clean_state() 30 0.02928 0.02928 0.02928 6.83% Amr::writePlotFile() 1 0.02754 0.02754 0.02754 6.42% VisMF::Write(FabArray) 1 0.02475 0.02475 0.02475 5.77% AmrLevel::FillPatch() 20 0.02386 0.02386 0.02386 5.56% FillPatchIterator::Initialize 20 0.02176 0.02176 0.02176 5.07% FillPatchIterator::FillFromLevel0() 20 0.02095 0.02095 0.02095 4.88% FillPatchSingleLevel 20 0.02093 0.02093 0.02093 4.88% StateDataPhysBCFunct::() 20 0.01886 0.01886 0.01886 4.40% MLCellLinOp::apply() 464 0.01623 0.01623 0.01623 3.78% MLMG::mgVcycle_down::0 36 0.01514 0.01514 0.01514 3.53% MLPoisson::Fsmooth() 1440 0.01501 0.01501 0.01501 3.50% FabArray::FillBoundary() 1730 0.0136 0.0136 0.0136 3.17% FillBoundary_nowait() 1730 0.01323 0.01323 0.01323 3.08% StateData::FillBoundary(geom) 160 0.01302 0.01302 0.01302 3.03% Castro::computeTemp() 30 0.01156 0.01156 0.01156 2.69% Castro::initialize_do_advance() 5 0.01153 0.01153 0.01153 2.69% MLMG::mgVcycle_up::0 36 0.01131 0.01131 0.01131 2.64% Castro::do_old_sources() 5 0.01028 0.01028 0.01028 2.40% Castro::normalize_species() 30 0.01022 0.01022 0.01022 2.38% MLPoisson::define() 6 0.009607 0.009607 0.009607 2.24% amrex::Dot() 484 0.009361 0.009361 0.009361 2.18% MLMG:computeResOfCorrection() 180 0.009023 0.009023 0.009023 2.10% MLCellLinOp::correctionResidual() 180 0.00897 0.00897 0.00897 2.09% FabArray::norminf() 465 0.008814 0.008814 0.008814 2.05% Gravity::get_new_grav_vector() 5 0.00797 0.00797 0.00797 1.86% Castro::construct_old_gravity() 5 0.00789 0.00789 0.00789 1.84% Gravity::get_old_grav_vector() 5 0.007885 0.007885 0.007885 1.84% MLMG::mgVcycle_down::1 36 0.007489 0.007489 0.007489 1.75% Castro::do_new_sources() 5 0.007403 0.007403 0.007403 1.73% Castro::initialize_advance() 5 0.007369 0.007369 0.007369 1.72% MLMG::mgVcycle_down::2 36 0.006873 0.006873 0.006873 1.60% FabArray::ParallelCopy() 380 0.006766 0.006766 0.006766 1.58% MLMG::mgVcycle_down::3 36 0.006722 0.006722 0.006722 1.57% FabArray::setVal() 501 0.006716 0.006716 0.006716 1.57% MLMG::mgVcycle_down::4 36 0.006651 0.006651 0.006651 1.55% FabArray::ParallelCopy_nowait() 380 0.006644 0.006644 0.006644 1.55% Castro::expand_state() 5 0.006526 0.006526 0.006526 1.52% MLCellLinOp::defineAuxData() 6 0.00648 0.00648 0.00648 1.51% Castro::enforce_min_density() 30 0.006063 0.006063 0.006063 1.41% FabArray::Saxpy() 597 0.005951 0.005951 0.005951 1.39% Castro::post_restart() 1 0.005902 0.005902 0.005902 1.38% MLCGSolver::ParallelAllReduce 798 0.005687 0.005687 0.005687 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005513 0.005513 0.005513 1.29% amrex::Copy() 221 0.005504 0.005504 0.005504 1.28% Gravity::actual_multilevel_solve() 1 0.005496 0.005496 0.005496 1.28% MLMG::addInterpCorrection() 180 0.005489 0.005489 0.005489 1.28% Castro::post_timestep() 5 0.005465 0.005465 0.005465 1.27% MLMG::mgVcycle_up::1 36 0.005357 0.005357 0.005357 1.25% MLMG::mgVcycle_up::4 36 0.005323 0.005323 0.005323 1.24% MLMG::mgVcycle_up::2 36 0.005255 0.005255 0.005255 1.22% amrex::average_down 180 0.005146 0.005146 0.005146 1.20% MLMG::mgVcycle_up::3 36 0.005143 0.005143 0.005143 1.20% Gravity::fill_multipole_BCs() 6 0.005109 0.005109 0.005109 1.19% MLPoisson::Fapply() 464 0.004561 0.004561 0.004561 1.06% MLCellLinOp::solutionResidual() 42 0.003664 0.003664 0.003664 0.85% Castro::reset_internal_energy(MultiFab) 30 0.003652 0.003652 0.003652 0.85% FabArray::Xpay() 325 0.003516 0.003516 0.003516 0.82% Castro::estTimeStep() 10 0.003465 0.003465 0.003465 0.81% MLCellLinOp::defineBC() 6 0.002974 0.002974 0.002974 0.69% MLMG::prepareForSolve() 6 0.002929 0.002929 0.002929 0.68% MLMG::computeResidual() 36 0.002852 0.002852 0.002852 0.66% BndryData::define() 6 0.002817 0.002817 0.002817 0.66% Castro::computeNewDt() 5 0.002348 0.002348 0.002348 0.55% Castro::construct_new_source() 25 0.001982 0.001982 0.001982 0.46% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001549 0.001549 0.001549 0.36% Castro::construct_old_source() 25 0.001548 0.001548 0.001548 0.36% Castro::construct_old_gravity_source() 5 0.001519 0.001519 0.001519 0.35% Castro::reset_internal_energy(Fab) 240 0.0015 0.0015 0.0015 0.35% Castro::enforce_speed_limit() 30 0.001407 0.001407 0.001407 0.33% Castro::finalize_do_advance() 5 0.001165 0.001165 0.001165 0.27% MLMG::ResNormInf() 42 0.001001 0.001001 0.001001 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009946 0.0009946 0.0009946 0.23% Castro::apply_source_to_state() 10 0.0009638 0.0009638 0.0009638 0.22% check_for_negative_density() 5 0.0009306 0.0009306 0.0009306 0.22% MLCellLinOp::setLevelBC() 6 0.0008997 0.0008997 0.0008997 0.21% MLMG::getGradSolution() 6 0.0008938 0.0008938 0.0008938 0.21% MLCellLinOp::compGrad() 6 0.0008903 0.0008903 0.0008903 0.21% MLMG::computeMLResidual() 6 0.0008351 0.0008351 0.0008351 0.19% FabArrayBase::getCPC() 632 0.0008 0.0008 0.0008 0.19% MLPoisson::prepareForSolve() 6 0.0007744 0.0007744 0.0007744 0.18% MLCellLinOp::prepareForSolve() 6 0.0007663 0.0007663 0.0007663 0.18% Gravity::update_max_rhs() 6 0.0007403 0.0007403 0.0007403 0.17% FabArray::mult() 22 0.0007051 0.0007051 0.0007051 0.16% FabArray::setDomainBndry() 20 0.0006996 0.0006996 0.0006996 0.16% Castro::check_for_nan() 10 0.0006737 0.0006737 0.0006737 0.16% MultiFab::contains_nan() 10 0.0006671 0.0006671 0.0006671 0.16% Amr::InitAmr() 1 0.0004726 0.0004726 0.0004726 0.11% FabArrayBase::CPC::define() 244 0.0004321 0.0004321 0.0004321 0.10% FabArrayBase::getFB() 1730 0.0003271 0.0003271 0.0003271 0.08% Castro::finalize_advance() 5 0.000302 0.000302 0.000302 0.07% Gravity::swapTimeLevels() 5 0.0002531 0.0002531 0.0002531 0.06% MultiFab::max() 6 0.0002118 0.0002118 0.0002118 0.05% MLMG::MLResNormInf() 6 0.0001913 0.0001913 0.0001913 0.04% Castro::buildMetrics() 1 0.0001609 0.0001609 0.0001609 0.04% MLLinOp::define() 6 0.0001387 0.0001387 0.0001387 0.03% MLLinOp::defineGrids() 6 0.000132 0.000132 0.000132 0.03% MLMG::MLRhsNormInf() 6 0.0001241 0.0001241 0.0001241 0.03% Castro::create_source_corrector() 5 0.0001113 0.0001113 0.0001113 0.03% FabArrayBase::FB::FB() 26 5.802e-05 5.802e-05 5.802e-05 0.01% Amr::writeSmallPlotFile() 1 3.225e-05 3.225e-05 3.225e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::swap_state_time_levels() 5 2.535e-05 2.535e-05 2.535e-05 0.01% Castro::initMFs() 1 2.424e-05 2.424e-05 2.424e-05 0.01% makeSFC 30 2.162e-05 2.162e-05 2.162e-05 0.01% Amr::initSubcycle() 1 9.857e-06 9.857e-06 9.857e-06 0.00% DistributionMapping::Distribute() 31 8.622e-06 8.622e-06 8.622e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.399e-06 4.399e-06 4.399e-06 0.00% Gravity::set_mass_offset() 6 2.326e-06 2.326e-06 2.326e-06 0.00% Castro::retry_advance_ctu() 5 2.326e-06 2.326e-06 2.326e-06 0.00% Castro::FluxRegCrseInit 5 1.548e-06 1.548e-06 1.548e-06 0.00% Castro::FluxRegFineAdd() 5 1.235e-06 1.235e-06 1.235e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.067e-06 1.067e-06 1.067e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1127 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1707 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 6392 KiB 14 MiB MLMG::prepareForSolve() 361 361 3345 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6378 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3433 B 2048 KiB Gravity::solve_for_phi() 40 40 615 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3871 B 480 KiB VisMF::Write(FabArray) 112 112 1297 B 320 KiB Castro::normalize_species() 30 30 7755 B 320 KiB amrex::average_down 469 469 1399 B 257 KiB MLMG::addInterpCorrection() 468 468 1097 B 257 KiB amrex::Dot() 592 592 3212 B 160 KiB FabArray::norminf() 501 501 3168 B 160 KiB check_for_negative_density() 5 5 348 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3240 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 3820 3820 209 B 9344 B amrex::Copy() 56 56 5821 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 48 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 346 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1435 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 160 KiB 3584 KiB VisMF::Read() 24 24 217 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3240 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 261 B 9648 B MLCellLinOp::applyBC() 1910 1910 207 B 9328 B amrex::Copy() 56 56 5821 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2500 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 48 B 2688 B MLMG::prepareForSolve() 7 7 797 B 1648 B amrex::average_down 37 37 456 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 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() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (24.03-17-ga5720c951e81) finalized