Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-17-g8cae8024915f) initialized Starting run at 07:51:59 UTC on 2023-04-10. Successfully read inputs file ... Castro git describe: 23.04-6-gc2542242e AMReX git describe: 23.04-17-g8cae80249 Microphysics git describe: 23.04-3-gdc41ef4e 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.057137577 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.03258726 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047053339 [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.048078465 [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.048313035 [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.046645369 [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.059379257 [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.056076706 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.076655677 [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.069639765 [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.053890263 [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.055022617 [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.063224876 [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.056877445 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032778933 seconds Ending run at 07:52:00 UTC on 2023-04-10. Run time = 0.852195835 Run time without initialization = 0.714248751 Average number of zones advanced per microsecond: 3.670 Average number of zones advanced per microsecond per rank: 3.670 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8522 ... 0.8522 ... 0.8522 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2286 0.2286 0.2286 26.82% Castro::construct_ctu_hydro_source() 10 0.2127 0.2127 0.2127 24.95% MLCellLinOp::applyBC() 4433 0.0753 0.0753 0.0753 8.84% MLPoisson::Fsmooth() 3280 0.03168 0.03168 0.03168 3.72% FillBoundary_nowait() 4023 0.03103 0.03103 0.03103 3.64% StateData::FillBoundary(geom) 328 0.0238 0.0238 0.0238 2.79% amrex::Dot() 1114 0.01991 0.01991 0.01991 2.34% Castro::normalize_species() 62 0.01507 0.01507 0.01507 1.77% amrex::Copy() 1029 0.01453 0.01453 0.01453 1.70% Castro::computeTemp() 63 0.01443 0.01443 0.01443 1.69% StateDataPhysBCFunct::() 41 0.01415 0.01415 0.01415 1.66% FabArray::norminf() 743 0.01394 0.01394 0.01394 1.64% FabArray::ParallelCopy_nowait() 861 0.01338 0.01338 0.01338 1.57% FabArray::setVal() 1144 0.01291 0.01291 0.01291 1.52% MLPoisson::Fapply() 1142 0.01011 0.01011 0.01011 1.19% Castro::enforce_min_density() 62 0.01006 0.01006 0.01006 1.18% MLCellLinOp::defineAuxData() 11 0.009469 0.009469 0.009469 1.11% FabArray::Saxpy() 813 0.007982 0.007982 0.007982 0.94% FabArray::Xpay() 821 0.007896 0.007896 0.007896 0.93% MLMG::addInterpCorrection() 410 0.006708 0.006708 0.006708 0.79% Gravity::fill_multipole_BCs() 11 0.006435 0.006435 0.006435 0.76% amrex::average_down 410 0.005837 0.005837 0.005837 0.68% Castro::estTimeStep() 21 0.005355 0.005355 0.005355 0.63% FabArray::LinComb() 557 0.004391 0.004391 0.004391 0.52% amrex::Add() 164 0.004305 0.004305 0.004305 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004227 0.004227 0.004227 0.50% Amr::checkPoint() 3 0.004 0.004 0.004 0.47% BndryData::define() 11 0.003553 0.003553 0.003553 0.42% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.39% Castro::construct_old_gravity_source() 10 0.002855 0.002855 0.002855 0.34% Castro::do_advance_ctu() 10 0.002757 0.002757 0.002757 0.32% Amr::writePlotFile() 2 0.002403 0.002403 0.002403 0.28% MLCGSolver::bicgstab 82 0.002165 0.002165 0.002165 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.19% Gravity::actual_solve_with_mlmg() 11 0.001466 0.001466 0.001466 0.17% Castro::reset_internal_energy(Fab) 504 0.001365 0.001365 0.001365 0.16% MLCellLinOp::setLevelBC() 11 0.001358 0.001358 0.001358 0.16% FabArray::mult() 43 0.001309 0.001309 0.001309 0.15% FabArray::setDomainBndry() 41 0.00129 0.00129 0.00129 0.15% MultiFab::contains_nan() 20 0.001189 0.001189 0.001189 0.14% Castro::initData() 1 0.001156 0.001156 0.001156 0.14% MLCellLinOp::prepareForSolve() 11 0.001105 0.001105 0.001105 0.13% MLCellLinOp::smooth() 1640 0.001067 0.001067 0.001067 0.13% Castro::enforce_speed_limit() 62 0.001031 0.001031 0.001031 0.12% MLCellLinOp::compGrad() 11 0.0009158 0.0009158 0.0009158 0.11% MLMG::prepareForSolve() 11 0.0008734 0.0008734 0.0008734 0.10% FabArray::FillBoundary() 4023 0.0008481 0.0008481 0.0008481 0.10% FabArrayBase::getCPC() 1323 0.0007248 0.0007248 0.0007248 0.09% FabArrayBase::CPC::define() 454 0.0006703 0.0006703 0.0006703 0.08% Gravity::get_new_grav_vector() 11 0.0006258 0.0006258 0.0006258 0.07% FabArrayBase::getFB() 4023 0.0005962 0.0005962 0.0005962 0.07% Gravity::get_old_grav_vector() 10 0.0005518 0.0005518 0.0005518 0.06% Amr::InitAmr() 1 0.0004882 0.0004882 0.0004882 0.06% MLMG::mgVcycle() 82 0.0004613 0.0004613 0.0004613 0.05% MLCellLinOp::apply() 1142 0.0004473 0.0004473 0.0004473 0.05% MLLinOp::defineGrids() 11 0.000408 0.000408 0.000408 0.05% Amr::coarseTimeStep() 10 0.0003337 0.0003337 0.0003337 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002944 0.0002944 0.0002944 0.03% main() 1 0.0002898 0.0002898 0.0002898 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% FabArray::ParallelCopy() 861 0.0002439 0.0002439 0.0002439 0.03% FillPatchIterator::Initialize 41 0.0002247 0.0002247 0.0002247 0.03% MLCellLinOp::correctionResidual() 492 0.0002212 0.0002212 0.0002212 0.03% MLCellLinOp::defineBC() 11 0.0002131 0.0002131 0.0002131 0.03% Castro::subcycle_advance_ctu() 10 0.0001618 0.0001618 0.0001618 0.02% Amr::timeStep() 10 0.0001597 0.0001597 0.0001597 0.02% Castro::create_source_corrector() 10 0.0001526 0.0001526 0.0001526 0.02% StateData::checkPoint() 12 0.0001371 0.0001371 0.0001371 0.02% Gravity::update_max_rhs() 11 0.0001235 0.0001235 0.0001235 0.01% MLMG:computeResOfCorrection() 410 0.0001114 0.0001114 0.0001114 0.01% Gravity::solve_for_phi() 10 0.0001101 0.0001101 0.0001101 0.01% MLMG::mgVcycle_down::0 82 8.963e-05 8.963e-05 8.963e-05 0.01% FabArrayBase::FB::FB() 56 8.872e-05 8.872e-05 8.872e-05 0.01% MLMG::actualBottomSolve() 82 8.841e-05 8.841e-05 8.841e-05 0.01% Castro::Castro() 1 8.832e-05 8.832e-05 8.832e-05 0.01% MLMG::mgVcycle_down::1 82 8.533e-05 8.533e-05 8.533e-05 0.01% MLMG::mgVcycle_down::2 82 7.933e-05 7.933e-05 7.933e-05 0.01% Castro::expand_state() 10 7.624e-05 7.624e-05 7.624e-05 0.01% AmrLevel::checkPoint() 3 7.552e-05 7.552e-05 7.552e-05 0.01% MLMG::solve() 11 7.462e-05 7.462e-05 7.462e-05 0.01% MLMG::mgVcycle_down::3 82 7.438e-05 7.438e-05 7.438e-05 0.01% Castro::clean_state() 62 7.433e-05 7.433e-05 7.433e-05 0.01% MLMG::mgVcycle_down::4 82 7.326e-05 7.326e-05 7.326e-05 0.01% Castro::initialize_advance() 10 7.252e-05 7.252e-05 7.252e-05 0.01% MLMG::mgVcycle_up::4 82 6.152e-05 6.152e-05 6.152e-05 0.01% Castro::finalize_advance() 10 5.979e-05 5.979e-05 5.979e-05 0.01% Castro::advance() 10 5.782e-05 5.782e-05 5.782e-05 0.01% MLCellLinOp::solutionResidual() 93 5.648e-05 5.648e-05 5.648e-05 0.01% MLMG::oneIter() 82 5.494e-05 5.494e-05 5.494e-05 0.01% MLMG::mgVcycle_up::1 82 5.406e-05 5.406e-05 5.406e-05 0.01% MLMG::mgVcycle_up::0 82 5.332e-05 5.332e-05 5.332e-05 0.01% Castro::initialize_do_advance() 10 5.155e-05 5.155e-05 5.155e-05 0.01% MLMG::mgVcycle_up::3 82 4.926e-05 4.926e-05 4.926e-05 0.01% Castro::swap_state_time_levels() 10 4.796e-05 4.796e-05 4.796e-05 0.01% MLMG::mgVcycle_up::2 82 4.75e-05 4.75e-05 4.75e-05 0.01% Castro::construct_new_source() 50 4.231e-05 4.231e-05 4.231e-05 0.00% Castro::finalize_do_advance() 10 3.762e-05 3.762e-05 3.762e-05 0.00% StateData::define() 4 3.641e-05 3.641e-05 3.641e-05 0.00% Castro::construct_new_gravity() 10 3.619e-05 3.619e-05 3.619e-05 0.00% MLMG::mgVcycle_bottom 82 3.483e-05 3.483e-05 3.483e-05 0.00% Castro::enforce_consistent_e() 1 3.302e-05 3.302e-05 3.302e-05 0.00% MLMG::ResNormInf() 93 2.963e-05 2.963e-05 2.963e-05 0.00% MLMG::computeResidual() 82 2.816e-05 2.816e-05 2.816e-05 0.00% FillPatchSingleLevel 41 2.742e-05 2.742e-05 2.742e-05 0.00% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.00% Amr::writeSmallPlotFile() 1 2.447e-05 2.447e-05 2.447e-05 0.00% MLPoisson::define() 11 2.394e-05 2.394e-05 2.394e-05 0.00% makeSFC 55 2.31e-05 2.31e-05 2.31e-05 0.00% Amr::defBaseLevel() 1 2.144e-05 2.144e-05 2.144e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.115e-05 2.115e-05 2.115e-05 0.00% Amr::FinalizeInit() 1 2.012e-05 2.012e-05 2.012e-05 0.00% Castro::construct_old_source() 50 1.924e-05 1.924e-05 1.924e-05 0.00% Castro::buildMetrics() 1 1.823e-05 1.823e-05 1.823e-05 0.00% Castro::do_new_sources() 10 1.773e-05 1.773e-05 1.773e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.663e-05 1.663e-05 1.663e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.661e-05 1.661e-05 1.661e-05 0.00% Castro::do_old_sources() 10 1.584e-05 1.584e-05 1.584e-05 0.00% MLMG::computeMLResidual() 11 1.558e-05 1.558e-05 1.558e-05 0.00% MLPoisson::prepareForSolve() 11 1.543e-05 1.543e-05 1.543e-05 0.00% DistributionMapping::Distribute() 56 1.482e-05 1.482e-05 1.482e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.401e-05 1.401e-05 1.401e-05 0.00% MLLinOp::define() 11 1.188e-05 1.188e-05 1.188e-05 0.00% Castro::check_for_nan() 20 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::apply_source_to_state() 20 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::construct_old_gravity() 10 9.231e-06 9.231e-06 9.231e-06 0.00% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% Gravity::swapTimeLevels() 10 8.62e-06 8.62e-06 8.62e-06 0.00% Gravity::actual_multilevel_solve() 1 8.103e-06 8.103e-06 8.103e-06 0.00% Castro::computeNewDt() 9 6.985e-06 6.985e-06 6.985e-06 0.00% Castro::post_timestep() 10 6.793e-06 6.793e-06 6.793e-06 0.00% MLMG::getGradSolution() 11 5.755e-06 5.755e-06 5.755e-06 0.00% Amr::InitializeInit() 1 4.818e-06 4.818e-06 4.818e-06 0.00% AmrLevel::checkPointPost() 3 4.774e-06 4.774e-06 4.774e-06 0.00% Castro::retry_advance_ctu() 10 4.361e-06 4.361e-06 4.361e-06 0.00% Gravity::set_mass_offset() 11 4.352e-06 4.352e-06 4.352e-06 0.00% MLMG::MLRhsNormInf() 11 3.686e-06 3.686e-06 3.686e-06 0.00% MLMG::MLResNormInf() 11 3.538e-06 3.538e-06 3.538e-06 0.00% Castro::post_init() 1 3.404e-06 3.404e-06 3.404e-06 0.00% Castro::computeInitialDt() 2 3.185e-06 3.185e-06 3.185e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.822e-06 2.822e-06 2.822e-06 0.00% Amr::init() 1 2.578e-06 2.578e-06 2.578e-06 0.00% Castro::FluxRegCrseInit 10 2.576e-06 2.576e-06 2.576e-06 0.00% AmrLevel::checkPointPre() 3 1.963e-06 1.963e-06 1.963e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.87e-06 1.87e-06 1.87e-06 0.00% Castro::FluxRegFineAdd() 10 1.797e-06 1.797e-06 1.797e-06 0.00% Amr::initialInit() 1 1.137e-06 1.137e-06 1.137e-06 0.00% Castro::post_regrid() 1 8.75e-07 8.75e-07 8.75e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8522 0.8522 0.8522 100.00% Amr::coarseTimeStep() 10 0.6813 0.6813 0.6813 79.94% Amr::timeStep() 10 0.5642 0.5642 0.5642 66.21% Castro::advance() 10 0.5568 0.5568 0.5568 65.34% Castro::subcycle_advance_ctu() 10 0.5452 0.5452 0.5452 63.98% Castro::do_advance_ctu() 10 0.5451 0.5451 0.5451 63.96% Gravity::solve_phi_with_mlmg() 11 0.2783 0.2783 0.2783 32.65% Gravity::actual_solve_with_mlmg() 11 0.2713 0.2713 0.2713 31.84% Castro::construct_new_gravity() 10 0.2545 0.2545 0.2545 29.86% MLMG::solve() 11 0.2512 0.2512 0.2512 29.47% Gravity::solve_for_phi() 10 0.2387 0.2387 0.2387 28.01% MLMG::oneIter() 82 0.2371 0.2371 0.2371 27.82% MLMG::mgVcycle() 82 0.2334 0.2334 0.2334 27.39% VisMF::Write(FabArray) 11 0.2286 0.2286 0.2286 26.82% Castro::construct_ctu_hydro_source() 10 0.2127 0.2127 0.2127 24.95% Amr::checkPoint() 3 0.1702 0.1702 0.1702 19.97% AmrLevel::checkPoint() 3 0.1662 0.1662 0.1662 19.50% StateData::checkPoint() 12 0.1661 0.1661 0.1661 19.49% Amr::init() 1 0.1373 0.1373 0.1373 16.11% MLCellLinOp::smooth() 1640 0.1151 0.1151 0.1151 13.51% MLCellLinOp::applyBC() 4433 0.1079 0.1079 0.1079 12.66% MLMG::mgVcycle_bottom 82 0.07146 0.07146 0.07146 8.39% MLMG::actualBottomSolve() 82 0.07142 0.07142 0.07142 8.38% MLCGSolver::bicgstab 82 0.07075 0.07075 0.07075 8.30% Amr::writePlotFile() 2 0.06549 0.06549 0.06549 7.68% Amr::initialInit() 1 0.04747 0.04747 0.04747 5.57% Castro::clean_state() 62 0.04546 0.04546 0.04546 5.33% FillPatchIterator::Initialize 41 0.04354 0.04354 0.04354 5.11% Amr::FinalizeInit() 1 0.04337 0.04337 0.04337 5.09% FillPatchSingleLevel 41 0.04203 0.04203 0.04203 4.93% Castro::post_init() 1 0.04195 0.04195 0.04195 4.92% Gravity::multilevel_solve_for_new_phi() 1 0.03994 0.03994 0.03994 4.69% Gravity::actual_multilevel_solve() 1 0.03993 0.03993 0.03993 4.68% StateDataPhysBCFunct::() 41 0.03795 0.03795 0.03795 4.45% MLCellLinOp::apply() 1142 0.03558 0.03558 0.03558 4.17% MLMG::mgVcycle_down::0 82 0.03392 0.03392 0.03392 3.98% FabArray::FillBoundary() 4023 0.03256 0.03256 0.03256 3.82% FillBoundary_nowait() 4023 0.03172 0.03172 0.03172 3.72% MLPoisson::Fsmooth() 3280 0.03168 0.03168 0.03168 3.72% MLMG::mgVcycle_up::0 82 0.02541 0.02541 0.02541 2.98% StateData::FillBoundary(geom) 328 0.0238 0.0238 0.0238 2.79% MLCellLinOp::correctionResidual() 492 0.02185 0.02185 0.02185 2.56% Castro::initialize_do_advance() 10 0.02086 0.02086 0.02086 2.45% Castro::computeTemp() 63 0.02003 0.02003 0.02003 2.35% amrex::Dot() 1114 0.01991 0.01991 0.01991 2.34% MLMG:computeResOfCorrection() 410 0.01928 0.01928 0.01928 2.26% Gravity::get_new_grav_vector() 11 0.01747 0.01747 0.01747 2.05% MLPoisson::define() 11 0.01597 0.01597 0.01597 1.87% MLMG::mgVcycle_down::1 82 0.01544 0.01544 0.01544 1.81% Castro::normalize_species() 62 0.01507 0.01507 0.01507 1.77% Castro::construct_old_gravity() 10 0.01481 0.01481 0.01481 1.74% Gravity::get_old_grav_vector() 10 0.0148 0.0148 0.0148 1.74% amrex::Copy() 1029 0.01453 0.01453 0.01453 1.70% MLMG::mgVcycle_down::2 82 0.01442 0.01442 0.01442 1.69% FabArray::ParallelCopy() 861 0.01441 0.01441 0.01441 1.69% FabArray::ParallelCopy_nowait() 861 0.01417 0.01417 0.01417 1.66% MLMG::mgVcycle_down::3 82 0.01401 0.01401 0.01401 1.64% FabArray::norminf() 743 0.01394 0.01394 0.01394 1.64% MLMG::mgVcycle_down::4 82 0.01388 0.01388 0.01388 1.63% FabArray::setVal() 1144 0.01291 0.01291 0.01291 1.52% Castro::do_new_sources() 10 0.01285 0.01285 0.01285 1.51% Castro::expand_state() 10 0.0124 0.0124 0.0124 1.45% MLCGSolver::ParallelAllReduce 1514 0.01194 0.01194 0.01194 1.40% MLMG::addInterpCorrection() 410 0.01172 0.01172 0.01172 1.38% MLMG::mgVcycle_up::4 82 0.0113 0.0113 0.0113 1.33% MLMG::mgVcycle_up::1 82 0.01128 0.01128 0.01128 1.32% amrex::average_down 410 0.01119 0.01119 0.01119 1.31% MLMG::mgVcycle_up::2 82 0.01102 0.01102 0.01102 1.29% Castro::initialize_advance() 10 0.01095 0.01095 0.01095 1.28% MLMG::mgVcycle_up::3 82 0.01081 0.01081 0.01081 1.27% MLCellLinOp::defineAuxData() 11 0.01076 0.01076 0.01076 1.26% Castro::do_old_sources() 10 0.01053 0.01053 0.01053 1.24% MLPoisson::Fapply() 1142 0.01011 0.01011 0.01011 1.19% Castro::enforce_min_density() 62 0.01006 0.01006 0.01006 1.18% FabArray::Saxpy() 813 0.007982 0.007982 0.007982 0.94% FabArray::Xpay() 821 0.007896 0.007896 0.007896 0.93% Castro::post_timestep() 10 0.007253 0.007253 0.007253 0.85% MLCellLinOp::solutionResidual() 93 0.007087 0.007087 0.007087 0.83% Gravity::fill_multipole_BCs() 11 0.006682 0.006682 0.006682 0.78% MLMG::computeResidual() 82 0.006103 0.006103 0.006103 0.72% Castro::reset_internal_energy(MultiFab) 63 0.005592 0.005592 0.005592 0.66% Castro::estTimeStep() 21 0.005355 0.005355 0.005355 0.63% MLCellLinOp::defineBC() 11 0.004715 0.004715 0.004715 0.55% MLMG::prepareForSolve() 11 0.004626 0.004626 0.004626 0.54% BndryData::define() 11 0.004502 0.004502 0.004502 0.53% FabArray::LinComb() 557 0.004391 0.004391 0.004391 0.52% amrex::Add() 164 0.004305 0.004305 0.004305 0.51% Amr::InitializeInit() 1 0.004103 0.004103 0.004103 0.48% Amr::defBaseLevel() 1 0.004098 0.004098 0.004098 0.48% Castro::initData() 1 0.003567 0.003567 0.003567 0.42% Castro::construct_new_source() 50 0.003365 0.003365 0.003365 0.39% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.39% Castro::computeNewDt() 9 0.00294 0.00294 0.00294 0.34% Castro::construct_old_source() 50 0.002875 0.002875 0.002875 0.34% Castro::construct_old_gravity_source() 10 0.002855 0.002855 0.002855 0.34% MLMG::ResNormInf() 93 0.002053 0.002053 0.002053 0.24% Castro::apply_source_to_state() 20 0.00182 0.00182 0.00182 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.19% FabArrayBase::getCPC() 1323 0.001395 0.001395 0.001395 0.16% MLMG::getGradSolution() 11 0.001394 0.001394 0.001394 0.16% MLCellLinOp::compGrad() 11 0.001388 0.001388 0.001388 0.16% Castro::reset_internal_energy(Fab) 504 0.001365 0.001365 0.001365 0.16% MLCellLinOp::setLevelBC() 11 0.001358 0.001358 0.001358 0.16% FabArray::mult() 43 0.001309 0.001309 0.001309 0.15% FabArray::setDomainBndry() 41 0.00129 0.00129 0.00129 0.15% Castro::check_for_nan() 20 0.0012 0.0012 0.0012 0.14% MultiFab::contains_nan() 20 0.001189 0.001189 0.001189 0.14% Castro::post_regrid() 1 0.001171 0.001171 0.001171 0.14% MLPoisson::prepareForSolve() 11 0.001121 0.001121 0.001121 0.13% MLCellLinOp::prepareForSolve() 11 0.001105 0.001105 0.001105 0.13% Castro::enforce_speed_limit() 62 0.001031 0.001031 0.001031 0.12% MLMG::computeMLResidual() 11 0.001028 0.001028 0.001028 0.12% Castro::computeInitialDt() 2 0.0009488 0.0009488 0.0009488 0.11% Gravity::update_max_rhs() 11 0.00081 0.00081 0.00081 0.10% FabArrayBase::getFB() 4023 0.0006849 0.0006849 0.0006849 0.08% FabArrayBase::CPC::define() 454 0.0006703 0.0006703 0.0006703 0.08% Castro::finalize_advance() 10 0.0005726 0.0005726 0.0005726 0.07% Amr::InitAmr() 1 0.0004972 0.0004972 0.0004972 0.06% MLLinOp::define() 11 0.0004725 0.0004725 0.0004725 0.06% MLLinOp::defineGrids() 11 0.0004606 0.0004606 0.0004606 0.05% Castro::Castro() 1 0.0004524 0.0004524 0.0004524 0.05% Gravity::swapTimeLevels() 10 0.0004328 0.0004328 0.0004328 0.05% MLMG::MLResNormInf() 11 0.0002826 0.0002826 0.0002826 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% MLMG::MLRhsNormInf() 11 0.0002174 0.0002174 0.0002174 0.03% Castro::buildMetrics() 1 0.0001762 0.0001762 0.0001762 0.02% Castro::create_source_corrector() 10 0.0001526 0.0001526 0.0001526 0.02% FabArrayBase::FB::FB() 56 8.872e-05 8.872e-05 8.872e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.304e-05 5.304e-05 5.304e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.075e-05 5.075e-05 5.075e-05 0.01% Castro::swap_state_time_levels() 10 4.796e-05 4.796e-05 4.796e-05 0.01% Castro::finalize_do_advance() 10 3.762e-05 3.762e-05 3.762e-05 0.00% makeSFC 55 3.673e-05 3.673e-05 3.673e-05 0.00% StateData::define() 4 3.641e-05 3.641e-05 3.641e-05 0.00% Castro::enforce_consistent_e() 1 3.302e-05 3.302e-05 3.302e-05 0.00% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.00% Amr::writeSmallPlotFile() 1 2.447e-05 2.447e-05 2.447e-05 0.00% DistributionMapping::Distribute() 56 1.482e-05 1.482e-05 1.482e-05 0.00% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% AmrLevel::checkPointPost() 3 4.774e-06 4.774e-06 4.774e-06 0.00% Castro::retry_advance_ctu() 10 4.361e-06 4.361e-06 4.361e-06 0.00% Gravity::set_mass_offset() 11 4.352e-06 4.352e-06 4.352e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.011e-06 4.011e-06 4.011e-06 0.00% Castro::FluxRegCrseInit 10 2.576e-06 2.576e-06 2.576e-06 0.00% AmrLevel::checkPointPre() 3 1.963e-06 1.963e-06 1.963e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.87e-06 1.87e-06 1.87e-06 0.00% Castro::FluxRegFineAdd() 10 1.797e-06 1.797e-06 1.797e-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 96 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 120 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 1111 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2157 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3626 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 212 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1814 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 330 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 2587 B 480 KiB VisMF::Write(FabArray) 656 656 3470 B 320 KiB Castro::normalize_species() 62 62 5758 B 320 KiB amrex::average_down 1067 1067 1376 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1175 B 257 KiB amrex::Dot() 1360 1360 3446 B 160 KiB FabArray::norminf() 907 907 2419 B 160 KiB Castro::do_advance_ctu() 10 10 483 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3544 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 8866 8866 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 56 B 3872 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 373 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 643 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 621 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3544 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 4433 4433 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 57 B 3872 B Gravity::get_new_grav_vector() 3 3 2902 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 302 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-17-g8cae8024915f) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-17-g8cae8024915f) initialized Starting run at 07:52:01 UTC on 2023-04-10. Successfully read inputs file ... Castro git describe: 23.04-6-gc2542242e AMReX git describe: 23.04-17-g8cae80249 Microphysics git describe: 23.04-3-gdc41ef4e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.443494547 Restart time = 0.045965116 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.04702703 [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.04573879 [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.045650137 [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.046104477 [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.060593461 [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.032410462 seconds Ending run at 07:52:01 UTC on 2023-04-10. Run time = 0.324471038 Run time without initialization = 0.277927584 Average number of zones advanced per microsecond: 4.716 Average number of zones advanced per microsecond per rank: 4.716 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3245 ... 0.3245 ... 0.3245 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0704 0.0704 0.0704 21.70% VisMF::Read() 3 0.03968 0.03968 0.03968 12.23% MLCellLinOp::applyBC() 1946 0.03201 0.03201 0.03201 9.86% VisMF::Write(FabArray) 1 0.03086 0.03086 0.03086 9.51% MLPoisson::Fsmooth() 1440 0.01353 0.01353 0.01353 4.17% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 3.97% StateData::FillBoundary(geom) 160 0.01169 0.01169 0.01169 3.60% amrex::Dot() 484 0.008428 0.008428 0.008428 2.60% amrex::Copy() 463 0.006792 0.006792 0.006792 2.09% FabArray::setVal() 537 0.006094 0.006094 0.006094 1.88% FabArray::norminf() 326 0.005979 0.005979 0.005979 1.84% FabArray::ParallelCopy_nowait() 380 0.005877 0.005877 0.005877 1.81% Castro::normalize_species() 30 0.005847 0.005847 0.005847 1.80% Castro::computeTemp() 30 0.005691 0.005691 0.005691 1.75% StateDataPhysBCFunct::() 20 0.005496 0.005496 0.005496 1.69% MLCellLinOp::defineAuxData() 6 0.005197 0.005197 0.005197 1.60% Castro::enforce_min_density() 30 0.004682 0.004682 0.004682 1.44% MLPoisson::Fapply() 500 0.004297 0.004297 0.004297 1.32% FabArray::Saxpy() 355 0.003559 0.003559 0.003559 1.10% Gravity::fill_multipole_BCs() 6 0.003365 0.003365 0.003365 1.04% FabArray::Xpay() 361 0.003364 0.003364 0.003364 1.04% MLMG::addInterpCorrection() 180 0.002886 0.002886 0.002886 0.89% Castro::estTimeStep() 10 0.002721 0.002721 0.002721 0.84% Amr::restart() 1 0.002553 0.002553 0.002553 0.79% Castro::reset_internal_energy(MultiFab) 30 0.00254 0.00254 0.00254 0.78% amrex::average_down 180 0.002515 0.002515 0.002515 0.77% BndryData::define() 6 0.001932 0.001932 0.001932 0.60% FabArray::LinComb() 242 0.001864 0.001864 0.001864 0.57% amrex::Add() 72 0.001839 0.001839 0.001839 0.57% Castro::construct_new_gravity_source() 5 0.001728 0.001728 0.001728 0.53% Amr::writePlotFile() 1 0.001391 0.001391 0.001391 0.43% Castro::construct_old_gravity_source() 5 0.001386 0.001386 0.001386 0.43% Castro::do_advance_ctu() 5 0.001187 0.001187 0.001187 0.37% MLCGSolver::bicgstab 36 0.0009566 0.0009566 0.0009566 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008902 0.0008902 0.0008902 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007846 0.0007846 0.0007846 0.24% MLCellLinOp::setLevelBC() 6 0.0007201 0.0007201 0.0007201 0.22% Castro::reset_internal_energy(Fab) 240 0.0006941 0.0006941 0.0006941 0.21% FabArray::mult() 22 0.0006372 0.0006372 0.0006372 0.20% FabArray::setDomainBndry() 20 0.0006355 0.0006355 0.0006355 0.20% MultiFab::contains_nan() 10 0.0005925 0.0005925 0.0005925 0.18% MLCellLinOp::prepareForSolve() 6 0.0005852 0.0005852 0.0005852 0.18% MLCellLinOp::compGrad() 6 0.000486 0.000486 0.000486 0.15% MLMG::prepareForSolve() 6 0.000481 0.000481 0.000481 0.15% MLCellLinOp::smooth() 720 0.000478 0.000478 0.000478 0.15% Castro::enforce_speed_limit() 30 0.0004734 0.0004734 0.0004734 0.15% FabArrayBase::CPC::define() 244 0.0004415 0.0004415 0.0004415 0.14% Amr::InitAmr() 1 0.0003936 0.0003936 0.0003936 0.12% FabArray::FillBoundary() 1766 0.0003783 0.0003783 0.0003783 0.12% FabArrayBase::getCPC() 632 0.000358 0.000358 0.000358 0.11% Gravity::get_old_grav_vector() 5 0.0003079 0.0003079 0.0003079 0.09% main() 1 0.0002842 0.0002842 0.0002842 0.09% Gravity::get_new_grav_vector() 5 0.0002706 0.0002706 0.0002706 0.08% FabArrayBase::getFB() 1766 0.0002695 0.0002695 0.0002695 0.08% MLLinOp::defineGrids() 6 0.0001993 0.0001993 0.0001993 0.06% MLCellLinOp::apply() 500 0.0001984 0.0001984 0.0001984 0.06% MLMG::mgVcycle() 36 0.0001797 0.0001797 0.0001797 0.06% Amr::coarseTimeStep() 5 0.000159 0.000159 0.000159 0.05% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.04% MLCGSolver::ParallelAllReduce 659 0.0001296 0.0001296 0.0001296 0.04% MLCellLinOp::defineBC() 6 0.0001189 0.0001189 0.0001189 0.04% FillPatchIterator::Initialize 20 0.0001168 0.0001168 0.0001168 0.04% FabArray::ParallelCopy() 380 0.0001073 0.0001073 0.0001073 0.03% MLCellLinOp::correctionResidual() 216 9.371e-05 9.371e-05 9.371e-05 0.03% Castro::subcycle_advance_ctu() 5 8.691e-05 8.691e-05 8.691e-05 0.03% Castro::create_source_corrector() 5 8.502e-05 8.502e-05 8.502e-05 0.03% AmrLevel::restart() 1 8.404e-05 8.404e-05 8.404e-05 0.03% Amr::timeStep() 5 8.074e-05 8.074e-05 8.074e-05 0.02% StateData::restartDoit() 4 6.503e-05 6.503e-05 6.503e-05 0.02% Gravity::update_max_rhs() 6 6.126e-05 6.126e-05 6.126e-05 0.02% FabArrayBase::FB::FB() 26 6.078e-05 6.078e-05 6.078e-05 0.02% Gravity::solve_for_phi() 5 5.268e-05 5.268e-05 5.268e-05 0.02% MLMG:computeResOfCorrection() 180 4.624e-05 4.624e-05 4.624e-05 0.01% Castro::expand_state() 5 4.132e-05 4.132e-05 4.132e-05 0.01% MLMG::mgVcycle_down::0 36 3.953e-05 3.953e-05 3.953e-05 0.01% MLMG::actualBottomSolve() 36 3.798e-05 3.798e-05 3.798e-05 0.01% MLMG::mgVcycle_down::1 36 3.757e-05 3.757e-05 3.757e-05 0.01% Castro::clean_state() 30 3.628e-05 3.628e-05 3.628e-05 0.01% Castro::initialize_advance() 5 3.503e-05 3.503e-05 3.503e-05 0.01% MLMG::solve() 6 3.42e-05 3.42e-05 3.42e-05 0.01% MLMG::mgVcycle_down::4 36 3.337e-05 3.337e-05 3.337e-05 0.01% MLMG::mgVcycle_down::2 36 3.302e-05 3.302e-05 3.302e-05 0.01% Castro::construct_new_source() 25 3.292e-05 3.292e-05 3.292e-05 0.01% MLMG::mgVcycle_down::3 36 3.229e-05 3.229e-05 3.229e-05 0.01% Castro::finalize_advance() 5 2.97e-05 2.97e-05 2.97e-05 0.01% MLMG::mgVcycle_up::4 36 2.862e-05 2.862e-05 2.862e-05 0.01% Castro::initialize_do_advance() 5 2.657e-05 2.657e-05 2.657e-05 0.01% Castro::buildMetrics() 1 2.617e-05 2.617e-05 2.617e-05 0.01% Castro::initMFs() 1 2.586e-05 2.586e-05 2.586e-05 0.01% Amr::writeSmallPlotFile() 1 2.488e-05 2.488e-05 2.488e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% MLMG::oneIter() 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLMG::mgVcycle_up::0 36 2.291e-05 2.291e-05 2.291e-05 0.01% MLMG::mgVcycle_up::3 36 2.214e-05 2.214e-05 2.214e-05 0.01% MLMG::mgVcycle_up::2 36 2.203e-05 2.203e-05 2.203e-05 0.01% MLCellLinOp::solutionResidual() 42 2.121e-05 2.121e-05 2.121e-05 0.01% MLMG::mgVcycle_up::1 36 2.094e-05 2.094e-05 2.094e-05 0.01% Castro::finalize_do_advance() 5 1.999e-05 1.999e-05 1.999e-05 0.01% Castro::post_restart() 1 1.908e-05 1.908e-05 1.908e-05 0.01% MLMG::ResNormInf() 42 1.598e-05 1.598e-05 1.598e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.535e-05 1.535e-05 1.535e-05 0.00% MLPoisson::define() 6 1.467e-05 1.467e-05 1.467e-05 0.00% MLMG::mgVcycle_bottom 36 1.435e-05 1.435e-05 1.435e-05 0.00% FillPatchSingleLevel 20 1.435e-05 1.435e-05 1.435e-05 0.00% Castro::advance() 5 1.393e-05 1.393e-05 1.393e-05 0.00% makeSFC 30 1.313e-05 1.313e-05 1.313e-05 0.00% Castro::construct_new_gravity() 5 1.278e-05 1.278e-05 1.278e-05 0.00% MLMG::computeResidual() 36 1.275e-05 1.275e-05 1.275e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.194e-05 1.194e-05 1.194e-05 0.00% MLPoisson::prepareForSolve() 6 1.037e-05 1.037e-05 1.037e-05 0.00% Castro::construct_old_source() 25 1.027e-05 1.027e-05 1.027e-05 0.00% MLMG::computeMLResidual() 6 9.247e-06 9.247e-06 9.247e-06 0.00% DistributionMapping::Distribute() 31 9.24e-06 9.24e-06 9.24e-06 0.00% Castro::do_new_sources() 5 8.688e-06 8.688e-06 8.688e-06 0.00% Castro::do_old_sources() 5 8.568e-06 8.568e-06 8.568e-06 0.00% Amr::initSubcycle() 1 8.448e-06 8.448e-06 8.448e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.701e-06 7.701e-06 7.701e-06 0.00% Gravity::actual_multilevel_solve() 1 7.596e-06 7.596e-06 7.596e-06 0.00% Castro::check_for_nan() 10 6.137e-06 6.137e-06 6.137e-06 0.00% MLLinOp::define() 6 5.912e-06 5.912e-06 5.912e-06 0.00% Castro::apply_source_to_state() 10 5.771e-06 5.771e-06 5.771e-06 0.00% Castro::construct_old_gravity() 5 5.43e-06 5.43e-06 5.43e-06 0.00% Castro::post_timestep() 5 4.855e-06 4.855e-06 4.855e-06 0.00% Gravity::swapTimeLevels() 5 4.093e-06 4.093e-06 4.093e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.216e-06 3.216e-06 3.216e-06 0.00% Castro::computeNewDt() 5 3.18e-06 3.18e-06 3.18e-06 0.00% MLMG::getGradSolution() 6 2.967e-06 2.967e-06 2.967e-06 0.00% Gravity::set_mass_offset() 6 2.264e-06 2.264e-06 2.264e-06 0.00% MLMG::MLResNormInf() 6 2.073e-06 2.073e-06 2.073e-06 0.00% MLMG::MLRhsNormInf() 6 2.072e-06 2.072e-06 2.072e-06 0.00% Castro::retry_advance_ctu() 5 1.819e-06 1.819e-06 1.819e-06 0.00% Castro::FluxRegCrseInit 5 1.38e-06 1.38e-06 1.38e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.071e-06 1.071e-06 1.071e-06 0.00% Amr::init() 1 9.99e-07 9.99e-07 9.99e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3245 0.3245 0.3245 99.99% Amr::coarseTimeStep() 5 0.2453 0.2453 0.2453 75.58% Amr::timeStep() 5 0.2431 0.2431 0.2431 74.92% Castro::advance() 5 0.2402 0.2402 0.2402 74.01% Castro::subcycle_advance_ctu() 5 0.2344 0.2344 0.2344 72.23% Castro::do_advance_ctu() 5 0.2343 0.2343 0.2343 72.20% Castro::construct_new_gravity() 5 0.1263 0.1263 0.1263 38.93% Gravity::solve_phi_with_mlmg() 6 0.1218 0.1218 0.1218 37.54% Gravity::solve_for_phi() 5 0.1188 0.1188 0.1188 36.60% Gravity::actual_solve_with_mlmg() 6 0.1182 0.1182 0.1182 36.43% MLMG::solve() 6 0.1071 0.1071 0.1071 33.02% MLMG::oneIter() 36 0.1005 0.1005 0.1005 30.96% MLMG::mgVcycle() 36 0.09892 0.09892 0.09892 30.48% Castro::construct_ctu_hydro_source() 5 0.07041 0.07041 0.07041 21.70% MLCellLinOp::smooth() 720 0.04871 0.04871 0.04871 15.01% Amr::init() 1 0.04601 0.04601 0.04601 14.18% Amr::restart() 1 0.04601 0.04601 0.04601 14.18% MLCellLinOp::applyBC() 1946 0.0456 0.0456 0.0456 14.05% AmrLevel::restart() 1 0.03989 0.03989 0.03989 12.29% StateData::restartDoit() 4 0.03981 0.03981 0.03981 12.27% VisMF::Read() 3 0.03968 0.03968 0.03968 12.23% Amr::writePlotFile() 1 0.0325 0.0325 0.0325 10.01% VisMF::Write(FabArray) 1 0.03086 0.03086 0.03086 9.51% MLMG::mgVcycle_bottom 36 0.03041 0.03041 0.03041 9.37% MLMG::actualBottomSolve() 36 0.03039 0.03039 0.03039 9.37% MLCGSolver::bicgstab 36 0.0301 0.0301 0.0301 9.28% FillPatchIterator::Initialize 20 0.02 0.02 0.02 6.16% Castro::clean_state() 30 0.01996 0.01996 0.01996 6.15% FillPatchSingleLevel 20 0.01925 0.01925 0.01925 5.93% StateDataPhysBCFunct::() 20 0.01719 0.01719 0.01719 5.30% MLCellLinOp::apply() 500 0.01513 0.01513 0.01513 4.66% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 4.37% FabArray::FillBoundary() 1766 0.01359 0.01359 0.01359 4.19% MLPoisson::Fsmooth() 1440 0.01353 0.01353 0.01353 4.17% FillBoundary_nowait() 1766 0.01321 0.01321 0.01321 4.07% StateData::FillBoundary(geom) 160 0.01169 0.01169 0.01169 3.60% MLMG::mgVcycle_up::0 36 0.01064 0.01064 0.01064 3.28% Castro::initialize_do_advance() 5 0.01 0.01 0.01 3.08% MLCellLinOp::correctionResidual() 216 0.009192 0.009192 0.009192 2.83% Castro::computeTemp() 30 0.008924 0.008924 0.008924 2.75% MLPoisson::define() 6 0.008791 0.008791 0.008791 2.71% amrex::Dot() 484 0.008428 0.008428 0.008428 2.60% MLMG:computeResOfCorrection() 180 0.008081 0.008081 0.008081 2.49% Gravity::get_new_grav_vector() 5 0.007444 0.007444 0.007444 2.29% Castro::construct_old_gravity() 5 0.007271 0.007271 0.007271 2.24% Gravity::get_old_grav_vector() 5 0.007265 0.007265 0.007265 2.24% amrex::Copy() 463 0.006792 0.006792 0.006792 2.09% Castro::do_new_sources() 5 0.006632 0.006632 0.006632 2.04% MLMG::mgVcycle_down::1 36 0.006563 0.006563 0.006563 2.02% FabArray::ParallelCopy() 380 0.00638 0.00638 0.00638 1.97% FabArray::ParallelCopy_nowait() 380 0.006272 0.006272 0.006272 1.93% MLMG::mgVcycle_down::2 36 0.006121 0.006121 0.006121 1.89% FabArray::setVal() 537 0.006094 0.006094 0.006094 1.88% FabArray::norminf() 326 0.005979 0.005979 0.005979 1.84% MLMG::mgVcycle_down::3 36 0.005961 0.005961 0.005961 1.84% MLCellLinOp::defineAuxData() 6 0.005946 0.005946 0.005946 1.83% MLMG::mgVcycle_down::4 36 0.005914 0.005914 0.005914 1.82% Castro::normalize_species() 30 0.005847 0.005847 0.005847 1.80% Castro::expand_state() 5 0.0058 0.0058 0.0058 1.79% Castro::initialize_advance() 5 0.00549 0.00549 0.00549 1.69% MLCGSolver::ParallelAllReduce 659 0.005097 0.005097 0.005097 1.57% MLMG::addInterpCorrection() 180 0.005049 0.005049 0.005049 1.56% MLMG::mgVcycle_up::4 36 0.00483 0.00483 0.00483 1.49% Castro::do_old_sources() 5 0.004813 0.004813 0.004813 1.48% MLMG::mgVcycle_up::1 36 0.0048 0.0048 0.0048 1.48% MLMG::mgVcycle_up::2 36 0.004711 0.004711 0.004711 1.45% amrex::average_down 180 0.00469 0.00469 0.00469 1.45% Castro::enforce_min_density() 30 0.004682 0.004682 0.004682 1.44% MLMG::mgVcycle_up::3 36 0.004609 0.004609 0.004609 1.42% MLPoisson::Fapply() 500 0.004297 0.004297 0.004297 1.32% FabArray::Saxpy() 355 0.003559 0.003559 0.003559 1.10% Gravity::fill_multipole_BCs() 6 0.003499 0.003499 0.003499 1.08% Castro::post_restart() 1 0.003386 0.003386 0.003386 1.04% FabArray::Xpay() 361 0.003364 0.003364 0.003364 1.04% Gravity::multilevel_solve_for_new_phi() 1 0.003279 0.003279 0.003279 1.01% Gravity::actual_multilevel_solve() 1 0.003264 0.003264 0.003264 1.01% Castro::reset_internal_energy(MultiFab) 30 0.003234 0.003234 0.003234 1.00% MLCellLinOp::solutionResidual() 42 0.003139 0.003139 0.003139 0.97% Castro::post_timestep() 5 0.002856 0.002856 0.002856 0.88% Castro::estTimeStep() 10 0.002721 0.002721 0.002721 0.84% MLMG::computeResidual() 36 0.002607 0.002607 0.002607 0.80% MLCellLinOp::defineBC() 6 0.002596 0.002596 0.002596 0.80% BndryData::define() 6 0.002477 0.002477 0.002477 0.76% MLMG::prepareForSolve() 6 0.002464 0.002464 0.002464 0.76% Castro::computeNewDt() 5 0.001995 0.001995 0.001995 0.61% FabArray::LinComb() 242 0.001864 0.001864 0.001864 0.57% amrex::Add() 72 0.001839 0.001839 0.001839 0.57% Castro::construct_new_source() 25 0.001761 0.001761 0.001761 0.54% Castro::construct_new_gravity_source() 5 0.001728 0.001728 0.001728 0.53% Castro::construct_old_source() 25 0.001396 0.001396 0.001396 0.43% Castro::construct_old_gravity_source() 5 0.001386 0.001386 0.001386 0.43% Castro::apply_source_to_state() 10 0.0009193 0.0009193 0.0009193 0.28% MLMG::ResNormInf() 42 0.0009065 0.0009065 0.0009065 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008902 0.0008902 0.0008902 0.27% FabArrayBase::getCPC() 632 0.0007995 0.0007995 0.0007995 0.25% MLMG::getGradSolution() 6 0.0007589 0.0007589 0.0007589 0.23% MLCellLinOp::compGrad() 6 0.0007559 0.0007559 0.0007559 0.23% MLCellLinOp::setLevelBC() 6 0.0007201 0.0007201 0.0007201 0.22% Castro::reset_internal_energy(Fab) 240 0.0006941 0.0006941 0.0006941 0.21% FabArray::mult() 22 0.0006372 0.0006372 0.0006372 0.20% FabArray::setDomainBndry() 20 0.0006355 0.0006355 0.0006355 0.20% Castro::check_for_nan() 10 0.0005987 0.0005987 0.0005987 0.18% MLPoisson::prepareForSolve() 6 0.0005955 0.0005955 0.0005955 0.18% MultiFab::contains_nan() 10 0.0005925 0.0005925 0.0005925 0.18% MLCellLinOp::prepareForSolve() 6 0.0005852 0.0005852 0.0005852 0.18% MLMG::computeMLResidual() 6 0.0005542 0.0005542 0.0005542 0.17% Castro::enforce_speed_limit() 30 0.0004734 0.0004734 0.0004734 0.15% FabArrayBase::CPC::define() 244 0.0004415 0.0004415 0.0004415 0.14% Gravity::update_max_rhs() 6 0.0004326 0.0004326 0.0004326 0.13% Amr::InitAmr() 1 0.000402 0.000402 0.000402 0.12% FabArrayBase::getFB() 1766 0.0003302 0.0003302 0.0003302 0.10% Castro::finalize_advance() 5 0.0002856 0.0002856 0.0002856 0.09% MLLinOp::define() 6 0.000235 0.000235 0.000235 0.07% MLLinOp::defineGrids() 6 0.0002291 0.0002291 0.0002291 0.07% Gravity::swapTimeLevels() 5 0.0002221 0.0002221 0.0002221 0.07% MLMG::MLResNormInf() 6 0.0001484 0.0001484 0.0001484 0.05% Castro::buildMetrics() 1 0.0001483 0.0001483 0.0001483 0.05% MultiFab::max() 6 0.0001347 0.0001347 0.0001347 0.04% MLMG::MLRhsNormInf() 6 0.0001147 0.0001147 0.0001147 0.04% Castro::create_source_corrector() 5 8.502e-05 8.502e-05 8.502e-05 0.03% FabArrayBase::FB::FB() 26 6.078e-05 6.078e-05 6.078e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.869e-05 2.869e-05 2.869e-05 0.01% Castro::initMFs() 1 2.586e-05 2.586e-05 2.586e-05 0.01% Amr::writeSmallPlotFile() 1 2.488e-05 2.488e-05 2.488e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% makeSFC 30 2.099e-05 2.099e-05 2.099e-05 0.01% Castro::finalize_do_advance() 5 1.999e-05 1.999e-05 1.999e-05 0.01% DistributionMapping::Distribute() 31 9.24e-06 9.24e-06 9.24e-06 0.00% Amr::initSubcycle() 1 8.448e-06 8.448e-06 8.448e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.596e-06 4.596e-06 4.596e-06 0.00% Gravity::set_mass_offset() 6 2.264e-06 2.264e-06 2.264e-06 0.00% Castro::retry_advance_ctu() 5 1.819e-06 1.819e-06 1.819e-06 0.00% Castro::FluxRegCrseInit 5 1.38e-06 1.38e-06 1.38e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.071e-06 1.071e-06 1.071e-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 253 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 101 MiB 692 MiB Castro::initMFs() 48 48 58 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1362 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2798 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 6563 KiB 14 MiB MLMG::prepareForSolve() 361 361 4054 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 231 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 234 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6558 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2569 B 2048 KiB Gravity::solve_for_phi() 40 40 747 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 20 KiB 2048 KiB BndryData::define() 576 576 372 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 239 KiB 671 KiB Castro::estTimeStep() 10 10 3927 B 480 KiB VisMF::Write(FabArray) 112 112 1485 B 320 KiB Castro::normalize_species() 30 30 5848 B 320 KiB amrex::average_down 469 469 1369 B 257 KiB MLMG::addInterpCorrection() 468 468 1332 B 257 KiB amrex::Dot() 592 592 3823 B 160 KiB FabArray::norminf() 398 398 2721 B 160 KiB Castro::do_advance_ctu() 5 5 550 B 160 KiB MultiFab::max() 6 6 63 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 36 B 20 KiB MLPoisson::Fsmooth() 60 60 3943 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 345 B 9648 B MLCellLinOp::applyBC() 3892 3892 256 B 9344 B amrex::Copy() 56 56 5901 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 59 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 134 B 1472 B MLCellLinOp::defineBC() 36 36 419 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1601 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 133 KiB 8192 KiB VisMF::Write(FabArray) 120 120 293 KiB 3584 KiB VisMF::Read() 24 24 239 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3943 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 345 B 9648 B MLCellLinOp::applyBC() 1946 1946 254 B 9328 B amrex::Copy() 56 56 5901 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2578 B 3072 B StateData::FillBoundary(geom) 960 960 60 B 2880 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 571 B 1296 B amrex::average_down 37 37 217 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-17-g8cae8024915f) finalized