Initializing AMReX (23.12-5-gefd77ffab39c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-5-gefd77ffab39c) initialized Starting run at 09:03:50 UTC on 2023-12-04. Successfully read inputs file ... Castro git describe: 23.11-12-g4f728c49f AMReX git describe: 23.12-5-gefd77ffab Microphysics git describe: 23.12 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.049336703 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02762397 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.051170522 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050716526 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.070621315 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.081993888 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.06614913 [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.048433312 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.059061074 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.069312789 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.070477385 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.068155669 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.066630907 [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.047393145 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027424259 seconds Ending run at 09:03:51 UTC on 2023-12-04. Run time = 0.90984077 Run time without initialization = 0.778244488 Average number of zones advanced per microsecond: 3.368 Average number of zones advanced per microsecond per rank: 3.368 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9099 ... 0.9099 ... 0.9099 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2876 0.2876 0.2876 31.60% VisMF::Write(FabArray) 11 0.1915 0.1915 0.1915 21.05% MLCellLinOp::applyBC() 4433 0.07833 0.07833 0.07833 8.61% MLPoisson::Fsmooth() 3280 0.03236 0.03236 0.03236 3.56% FillBoundary_nowait() 4023 0.03165 0.03165 0.03165 3.48% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.98% amrex::Dot() 1114 0.02026 0.02026 0.02026 2.23% FabArray::norminf() 1061 0.01894 0.01894 0.01894 2.08% Castro::normalize_species() 62 0.01831 0.01831 0.01831 2.01% Castro::computeTemp() 63 0.01426 0.01426 0.01426 1.57% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.45% FabArray::ParallelCopy_nowait() 861 0.0132 0.0132 0.0132 1.45% FabArray::Saxpy() 1370 0.01242 0.01242 0.01242 1.36% Castro::enforce_min_density() 62 0.01121 0.01121 0.01121 1.23% StateDataPhysBCFunct::() 41 0.01095 0.01095 0.01095 1.20% amrex::Copy() 472 0.01061 0.01061 0.01061 1.17% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.14% MLCellLinOp::defineAuxData() 11 0.009998 0.009998 0.009998 1.10% Gravity::fill_multipole_BCs() 11 0.009199 0.009199 0.009199 1.01% FabArray::Xpay() 821 0.008168 0.008168 0.008168 0.90% MLMG::addInterpCorrection() 410 0.006868 0.006868 0.006868 0.75% amrex::average_down 410 0.006054 0.006054 0.006054 0.67% Amr::checkPoint() 3 0.005949 0.005949 0.005949 0.65% Castro::estTimeStep() 21 0.005766 0.005766 0.005766 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005037 0.005037 0.005037 0.55% amrex::Add() 164 0.004384 0.004384 0.004384 0.48% BndryData::define() 11 0.003643 0.003643 0.003643 0.40% Castro::construct_new_gravity_source() 10 0.003186 0.003186 0.003186 0.35% Castro::construct_old_gravity_source() 10 0.002909 0.002909 0.002909 0.32% Castro::enforce_speed_limit() 62 0.002502 0.002502 0.002502 0.27% Amr::writePlotFile() 2 0.002234 0.002234 0.002234 0.25% check_for_negative_density() 10 0.001953 0.001953 0.001953 0.21% MLCGSolver::bicgstab 82 0.001809 0.001809 0.001809 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00173 0.00173 0.00173 0.19% Gravity::actual_solve_with_mlmg() 11 0.001588 0.001588 0.001588 0.17% Castro::reset_internal_energy(Fab) 504 0.001533 0.001533 0.001533 0.17% MLCellLinOp::setLevelBC() 11 0.001485 0.001485 0.001485 0.16% Castro::initData() 1 0.001414 0.001414 0.001414 0.16% FabArray::mult() 43 0.001343 0.001343 0.001343 0.15% FabArray::setDomainBndry() 41 0.001332 0.001332 0.001332 0.15% MLCellLinOp::prepareForSolve() 11 0.001275 0.001275 0.001275 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLCellLinOp::smooth() 1640 0.001127 0.001127 0.001127 0.12% MLCellLinOp::compGrad() 11 0.001049 0.001049 0.001049 0.12% MLMG::prepareForSolve() 11 0.0009506 0.0009506 0.0009506 0.10% FabArray::FillBoundary() 4023 0.0008694 0.0008694 0.0008694 0.10% FabArrayBase::getCPC() 1323 0.000775 0.000775 0.000775 0.09% FabArrayBase::getFB() 4023 0.0006828 0.0006828 0.0006828 0.08% FabArrayBase::CPC::define() 454 0.0006724 0.0006724 0.0006724 0.07% Gravity::get_new_grav_vector() 11 0.0005946 0.0005946 0.0005946 0.07% Amr::InitAmr() 1 0.0004842 0.0004842 0.0004842 0.05% Gravity::get_old_grav_vector() 10 0.0004738 0.0004738 0.0004738 0.05% MLCellLinOp::apply() 1142 0.0004696 0.0004696 0.0004696 0.05% AmrLevel::FillPatch() 41 0.0003831 0.0003831 0.0003831 0.04% Amr::coarseTimeStep() 10 0.0003819 0.0003819 0.0003819 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003497 0.0003497 0.0003497 0.04% MultiFab::max() 11 0.0003239 0.0003239 0.0003239 0.04% main() 1 0.0003123 0.0003123 0.0003123 0.03% MLCellLinOp::defineBC() 11 0.0002592 0.0002592 0.0002592 0.03% FabArray::ParallelCopy() 861 0.0002353 0.0002353 0.0002353 0.03% Castro::subcycle_advance_ctu() 10 0.0002208 0.0002208 0.0002208 0.02% FillPatchIterator::Initialize 41 0.00022 0.00022 0.00022 0.02% MLCellLinOp::correctionResidual() 492 0.0002097 0.0002097 0.0002097 0.02% MLMG::mgVcycle() 82 0.0002015 0.0002015 0.0002015 0.02% Amr::timeStep() 10 0.0001638 0.0001638 0.0001638 0.02% Castro::create_source_corrector() 10 0.0001623 0.0001623 0.0001623 0.02% Gravity::solve_for_phi() 10 0.0001572 0.0001572 0.0001572 0.02% MLLinOp::defineGrids() 11 0.0001569 0.0001569 0.0001569 0.02% StateData::checkPoint() 12 0.000145 0.000145 0.000145 0.02% Gravity::update_max_rhs() 11 0.0001295 0.0001295 0.0001295 0.01% MLMG:computeResOfCorrection() 410 0.0001105 0.0001105 0.0001105 0.01% Castro::advance() 10 0.0001104 0.0001104 0.0001104 0.01% MLMG::mgVcycle_down::0 82 9.891e-05 9.891e-05 9.891e-05 0.01% FabArrayBase::FB::FB() 56 9.46e-05 9.46e-05 9.46e-05 0.01% MLMG::actualBottomSolve() 82 9.287e-05 9.287e-05 9.287e-05 0.01% Castro::Castro() 1 8.693e-05 8.693e-05 8.693e-05 0.01% MLMG::mgVcycle_down::1 82 8.688e-05 8.688e-05 8.688e-05 0.01% Castro::enforce_consistent_e() 1 8.537e-05 8.537e-05 8.537e-05 0.01% Castro::initialize_advance() 10 8.39e-05 8.39e-05 8.39e-05 0.01% MLMG::mgVcycle_down::2 82 8.314e-05 8.314e-05 8.314e-05 0.01% MLMG::mgVcycle_down::4 82 8.123e-05 8.123e-05 8.123e-05 0.01% AmrLevel::checkPoint() 3 8.121e-05 8.121e-05 8.121e-05 0.01% Castro::clean_state() 62 7.998e-05 7.998e-05 7.998e-05 0.01% MLMG::mgVcycle_down::3 82 7.668e-05 7.668e-05 7.668e-05 0.01% MLMG::solve() 11 7.415e-05 7.415e-05 7.415e-05 0.01% Castro::construct_new_source() 50 7.058e-05 7.058e-05 7.058e-05 0.01% MLMG::mgVcycle_up::4 82 6.861e-05 6.861e-05 6.861e-05 0.01% Castro::finalize_advance() 10 6.69e-05 6.69e-05 6.69e-05 0.01% Castro::initialize_do_advance() 10 6.477e-05 6.477e-05 6.477e-05 0.01% MLMG::mgVcycle_up::0 82 5.951e-05 5.951e-05 5.951e-05 0.01% MLMG::mgVcycle_up::3 82 5.76e-05 5.76e-05 5.76e-05 0.01% MLMG::oneIter() 82 5.562e-05 5.562e-05 5.562e-05 0.01% MLMG::mgVcycle_up::1 82 5.485e-05 5.485e-05 5.485e-05 0.01% MLMG::mgVcycle_up::2 82 5.425e-05 5.425e-05 5.425e-05 0.01% MLCellLinOp::solutionResidual() 93 5.374e-05 5.374e-05 5.374e-05 0.01% StateData::define() 4 5.316e-05 5.316e-05 5.316e-05 0.01% Castro::do_advance_ctu() 10 5.086e-05 5.086e-05 5.086e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.738e-05 4.738e-05 4.738e-05 0.01% Castro::finalize_do_advance() 10 4.314e-05 4.314e-05 4.314e-05 0.00% Castro::swap_state_time_levels() 10 3.972e-05 3.972e-05 3.972e-05 0.00% MLMG::ResNormInf() 93 3.713e-05 3.713e-05 3.713e-05 0.00% MLMG::mgVcycle_bottom 82 3.57e-05 3.57e-05 3.57e-05 0.00% MLMG::computeResidual() 82 3.328e-05 3.328e-05 3.328e-05 0.00% Amr::writeSmallPlotFile() 1 3.272e-05 3.272e-05 3.272e-05 0.00% FillPatchSingleLevel 41 3.145e-05 3.145e-05 3.145e-05 0.00% Castro::initMFs() 1 2.973e-05 2.973e-05 2.973e-05 0.00% Castro::construct_new_gravity() 10 2.71e-05 2.71e-05 2.71e-05 0.00% makeSFC 55 2.615e-05 2.615e-05 2.615e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.575e-05 2.575e-05 2.575e-05 0.00% Amr::defBaseLevel() 1 2.34e-05 2.34e-05 2.34e-05 0.00% MLPoisson::define() 11 2.243e-05 2.243e-05 2.243e-05 0.00% Castro::do_old_sources() 10 2.171e-05 2.171e-05 2.171e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.136e-05 2.136e-05 2.136e-05 0.00% Amr::FinalizeInit() 1 2.111e-05 2.111e-05 2.111e-05 0.00% Castro::buildMetrics() 1 2.062e-05 2.062e-05 2.062e-05 0.00% Castro::construct_old_source() 50 1.991e-05 1.991e-05 1.991e-05 0.00% Castro::do_new_sources() 10 1.912e-05 1.912e-05 1.912e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.849e-05 1.849e-05 1.849e-05 0.00% DistributionMapping::Distribute() 56 1.593e-05 1.593e-05 1.593e-05 0.00% MLPoisson::prepareForSolve() 11 1.498e-05 1.498e-05 1.498e-05 0.00% MLLinOp::define() 11 1.437e-05 1.437e-05 1.437e-05 0.00% MLMG::computeMLResidual() 11 1.402e-05 1.402e-05 1.402e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.39e-05 1.39e-05 1.39e-05 0.00% Castro::check_for_nan() 20 1.325e-05 1.325e-05 1.325e-05 0.00% Castro::post_init() 1 1.158e-05 1.158e-05 1.158e-05 0.00% Castro::apply_source_to_state() 20 1.133e-05 1.133e-05 1.133e-05 0.00% Castro::construct_old_gravity() 10 1.106e-05 1.106e-05 1.106e-05 0.00% Amr::initSubcycle() 1 9.227e-06 9.227e-06 9.227e-06 0.00% Gravity::swapTimeLevels() 10 8.904e-06 8.904e-06 8.904e-06 0.00% Castro::post_timestep() 10 8.819e-06 8.819e-06 8.819e-06 0.00% Gravity::actual_multilevel_solve() 1 7.629e-06 7.629e-06 7.629e-06 0.00% Castro::computeNewDt() 9 7.208e-06 7.208e-06 7.208e-06 0.00% MLMG::getGradSolution() 11 6.517e-06 6.517e-06 6.517e-06 0.00% AmrLevel::checkPointPost() 3 6.276e-06 6.276e-06 6.276e-06 0.00% Castro::expand_state() 10 5.937e-06 5.937e-06 5.937e-06 0.00% Castro::retry_advance_ctu() 10 5.085e-06 5.085e-06 5.085e-06 0.00% Gravity::set_mass_offset() 11 4.981e-06 4.981e-06 4.981e-06 0.00% Amr::InitializeInit() 1 4.842e-06 4.842e-06 4.842e-06 0.00% MLMG::MLRhsNormInf() 11 4.069e-06 4.069e-06 4.069e-06 0.00% MLMG::MLResNormInf() 11 3.709e-06 3.709e-06 3.709e-06 0.00% Castro::computeInitialDt() 2 2.933e-06 2.933e-06 2.933e-06 0.00% Castro::FluxRegCrseInit 10 2.906e-06 2.906e-06 2.906e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.819e-06 2.819e-06 2.819e-06 0.00% Amr::init() 1 2.599e-06 2.599e-06 2.599e-06 0.00% Castro::FluxRegFineAdd() 10 2.296e-06 2.296e-06 2.296e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.169e-06 2.169e-06 2.169e-06 0.00% AmrLevel::checkPointPre() 3 1.968e-06 1.968e-06 1.968e-06 0.00% Castro::post_regrid() 1 1.411e-06 1.411e-06 1.411e-06 0.00% Amr::initialInit() 1 9.48e-07 9.48e-07 9.48e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9099 0.9099 0.9099 100.00% Amr::coarseTimeStep() 10 0.7506 0.7506 0.7506 82.49% Amr::timeStep() 10 0.6509 0.6509 0.6509 71.54% Castro::advance() 10 0.6419 0.6419 0.6419 70.54% Castro::subcycle_advance_ctu() 10 0.6285 0.6285 0.6285 69.08% Castro::do_advance_ctu() 10 0.6283 0.6283 0.6283 69.05% Castro::construct_ctu_hydro_source() 10 0.2973 0.2973 0.2973 32.67% Gravity::solve_phi_with_mlmg() 11 0.2886 0.2886 0.2886 31.71% Gravity::actual_solve_with_mlmg() 11 0.2789 0.2789 0.2789 30.65% Castro::construct_new_gravity() 10 0.2599 0.2599 0.2599 28.57% MLMG::solve() 11 0.2578 0.2578 0.2578 28.33% Gravity::solve_for_phi() 10 0.2441 0.2441 0.2441 26.82% MLMG::oneIter() 82 0.2429 0.2429 0.2429 26.70% MLMG::mgVcycle() 82 0.2393 0.2393 0.2393 26.30% VisMF::Write(FabArray) 11 0.1915 0.1915 0.1915 21.05% Amr::checkPoint() 3 0.1453 0.1453 0.1453 15.97% AmrLevel::checkPoint() 3 0.1393 0.1393 0.1393 15.31% StateData::checkPoint() 12 0.1393 0.1393 0.1393 15.30% Amr::init() 1 0.131 0.131 0.131 14.39% MLCellLinOp::smooth() 1640 0.1186 0.1186 0.1186 13.03% MLCellLinOp::applyBC() 4433 0.1116 0.1116 0.1116 12.27% MLMG::mgVcycle_bottom 82 0.0732 0.0732 0.0732 8.04% MLMG::actualBottomSolve() 82 0.07316 0.07316 0.07316 8.04% MLCGSolver::bicgstab 82 0.07245 0.07245 0.07245 7.96% Amr::writePlotFile() 2 0.05516 0.05516 0.05516 6.06% Amr::initialInit() 1 0.0539 0.0539 0.0539 5.92% Castro::clean_state() 62 0.05203 0.05203 0.05203 5.72% Amr::FinalizeInit() 1 0.04901 0.04901 0.04901 5.39% AmrLevel::FillPatch() 41 0.04786 0.04786 0.04786 5.26% Castro::post_init() 1 0.04755 0.04755 0.04755 5.23% Gravity::multilevel_solve_for_new_phi() 1 0.04499 0.04499 0.04499 4.94% Gravity::actual_multilevel_solve() 1 0.04497 0.04497 0.04497 4.94% FillPatchIterator::Initialize 41 0.04365 0.04365 0.04365 4.80% FillPatchIterator::FillFromLevel0() 41 0.0421 0.0421 0.0421 4.63% FillPatchSingleLevel 41 0.04205 0.04205 0.04205 4.62% StateDataPhysBCFunct::() 41 0.03802 0.03802 0.03802 4.18% MLCellLinOp::apply() 1142 0.03684 0.03684 0.03684 4.05% MLMG::mgVcycle_down::0 82 0.03439 0.03439 0.03439 3.78% FabArray::FillBoundary() 4023 0.0333 0.0333 0.0333 3.66% FillBoundary_nowait() 4023 0.03243 0.03243 0.03243 3.56% MLPoisson::Fsmooth() 3280 0.03236 0.03236 0.03236 3.56% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.98% MLMG::mgVcycle_up::0 82 0.02607 0.02607 0.02607 2.86% MLCellLinOp::correctionResidual() 492 0.0225 0.0225 0.0225 2.47% Castro::initialize_do_advance() 10 0.02173 0.02173 0.02173 2.39% Castro::computeTemp() 63 0.02083 0.02083 0.02083 2.29% amrex::Dot() 1114 0.02026 0.02026 0.02026 2.23% MLMG:computeResOfCorrection() 410 0.01979 0.01979 0.01979 2.17% FabArray::norminf() 1061 0.01894 0.01894 0.01894 2.08% Castro::do_old_sources() 10 0.01866 0.01866 0.01866 2.05% Castro::normalize_species() 62 0.01831 0.01831 0.01831 2.01% Gravity::get_new_grav_vector() 11 0.01798 0.01798 0.01798 1.98% MLPoisson::define() 11 0.01653 0.01653 0.01653 1.82% MLMG::mgVcycle_down::1 82 0.01603 0.01603 0.01603 1.76% Castro::construct_old_gravity() 10 0.0152 0.0152 0.0152 1.67% Gravity::get_old_grav_vector() 10 0.01519 0.01519 0.01519 1.67% MLMG::mgVcycle_down::2 82 0.01484 0.01484 0.01484 1.63% MLMG::mgVcycle_down::3 82 0.0145 0.0145 0.0145 1.59% MLMG::mgVcycle_down::4 82 0.01437 0.01437 0.01437 1.58% FabArray::ParallelCopy() 861 0.01423 0.01423 0.01423 1.56% FabArray::ParallelCopy_nowait() 861 0.01399 0.01399 0.01399 1.54% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.45% Castro::initialize_advance() 10 0.01263 0.01263 0.01263 1.39% FabArray::Saxpy() 1370 0.01242 0.01242 0.01242 1.36% Castro::do_new_sources() 10 0.01233 0.01233 0.01233 1.36% MLCGSolver::ParallelAllReduce 1832 0.01222 0.01222 0.01222 1.34% Castro::expand_state() 10 0.01198 0.01198 0.01198 1.32% MLMG::addInterpCorrection() 410 0.01196 0.01196 0.01196 1.31% MLMG::mgVcycle_up::1 82 0.01161 0.01161 0.01161 1.28% MLMG::mgVcycle_up::4 82 0.01155 0.01155 0.01155 1.27% MLCellLinOp::defineAuxData() 11 0.01139 0.01139 0.01139 1.25% MLMG::mgVcycle_up::2 82 0.01137 0.01137 0.01137 1.25% Castro::enforce_min_density() 62 0.01121 0.01121 0.01121 1.23% amrex::average_down 410 0.0112 0.0112 0.0112 1.23% MLMG::mgVcycle_up::3 82 0.01113 0.01113 0.01113 1.22% amrex::Copy() 472 0.01061 0.01061 0.01061 1.17% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.14% Gravity::fill_multipole_BCs() 11 0.009434 0.009434 0.009434 1.04% Castro::post_timestep() 10 0.008893 0.008893 0.008893 0.98% FabArray::Xpay() 821 0.008168 0.008168 0.008168 0.90% MLCellLinOp::solutionResidual() 93 0.007464 0.007464 0.007464 0.82% Castro::reset_internal_energy(MultiFab) 63 0.00657 0.00657 0.00657 0.72% MLMG::computeResidual() 82 0.006192 0.006192 0.006192 0.68% Castro::estTimeStep() 21 0.005766 0.005766 0.005766 0.63% MLMG::prepareForSolve() 11 0.004925 0.004925 0.004925 0.54% MLCellLinOp::defineBC() 11 0.004891 0.004891 0.004891 0.54% Amr::InitializeInit() 1 0.004889 0.004889 0.004889 0.54% Amr::defBaseLevel() 1 0.004884 0.004884 0.004884 0.54% BndryData::define() 11 0.004632 0.004632 0.004632 0.51% amrex::Add() 164 0.004384 0.004384 0.004384 0.48% Castro::initData() 1 0.004226 0.004226 0.004226 0.46% Castro::construct_new_source() 50 0.003257 0.003257 0.003257 0.36% Castro::construct_new_gravity_source() 10 0.003186 0.003186 0.003186 0.35% Castro::construct_old_source() 50 0.002929 0.002929 0.002929 0.32% Castro::construct_old_gravity_source() 10 0.002909 0.002909 0.002909 0.32% Castro::computeNewDt() 9 0.002527 0.002527 0.002527 0.28% Castro::enforce_speed_limit() 62 0.002502 0.002502 0.002502 0.27% Castro::finalize_do_advance() 10 0.002181 0.002181 0.002181 0.24% MLMG::ResNormInf() 93 0.002135 0.002135 0.002135 0.23% check_for_negative_density() 10 0.001953 0.001953 0.001953 0.21% Castro::apply_source_to_state() 20 0.001855 0.001855 0.001855 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00173 0.00173 0.00173 0.19% MLMG::getGradSolution() 11 0.001541 0.001541 0.001541 0.17% MLCellLinOp::compGrad() 11 0.001535 0.001535 0.001535 0.17% Castro::reset_internal_energy(Fab) 504 0.001533 0.001533 0.001533 0.17% MLCellLinOp::setLevelBC() 11 0.001485 0.001485 0.001485 0.16% FabArrayBase::getCPC() 1323 0.001447 0.001447 0.001447 0.16% FabArray::mult() 43 0.001343 0.001343 0.001343 0.15% FabArray::setDomainBndry() 41 0.001332 0.001332 0.001332 0.15% MLMG::computeMLResidual() 11 0.001319 0.001319 0.001319 0.14% MLPoisson::prepareForSolve() 11 0.00129 0.00129 0.00129 0.14% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.14% MLCellLinOp::prepareForSolve() 11 0.001275 0.001275 0.001275 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% Castro::post_regrid() 1 0.001146 0.001146 0.001146 0.13% Castro::computeInitialDt() 2 0.001112 0.001112 0.001112 0.12% Gravity::update_max_rhs() 11 0.0009649 0.0009649 0.0009649 0.11% FabArrayBase::getFB() 4023 0.0007774 0.0007774 0.0007774 0.09% FabArrayBase::CPC::define() 454 0.0006724 0.0006724 0.0006724 0.07% Castro::finalize_advance() 10 0.0005936 0.0005936 0.0005936 0.07% Castro::Castro() 1 0.0005562 0.0005562 0.0005562 0.06% Amr::InitAmr() 1 0.0004935 0.0004935 0.0004935 0.05% Gravity::swapTimeLevels() 10 0.0004369 0.0004369 0.0004369 0.05% MLMG::MLResNormInf() 11 0.0003302 0.0003302 0.0003302 0.04% MultiFab::max() 11 0.0003239 0.0003239 0.0003239 0.04% Castro::buildMetrics() 1 0.0002753 0.0002753 0.0002753 0.03% MLLinOp::define() 11 0.0002283 0.0002283 0.0002283 0.03% MLMG::MLRhsNormInf() 11 0.0002179 0.0002179 0.0002179 0.02% MLLinOp::defineGrids() 11 0.0002139 0.0002139 0.0002139 0.02% Castro::create_source_corrector() 10 0.0001623 0.0001623 0.0001623 0.02% FabArrayBase::FB::FB() 56 9.46e-05 9.46e-05 9.46e-05 0.01% Castro::enforce_consistent_e() 1 8.537e-05 8.537e-05 8.537e-05 0.01% AmrLevel::AmrLevel(dm) 1 7.452e-05 7.452e-05 7.452e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.486e-05 5.486e-05 5.486e-05 0.01% StateData::define() 4 5.316e-05 5.316e-05 5.316e-05 0.01% makeSFC 55 4.096e-05 4.096e-05 4.096e-05 0.00% Castro::swap_state_time_levels() 10 3.972e-05 3.972e-05 3.972e-05 0.00% Amr::writeSmallPlotFile() 1 3.272e-05 3.272e-05 3.272e-05 0.00% Castro::initMFs() 1 2.973e-05 2.973e-05 2.973e-05 0.00% DistributionMapping::Distribute() 56 1.593e-05 1.593e-05 1.593e-05 0.00% Amr::initSubcycle() 1 9.227e-06 9.227e-06 9.227e-06 0.00% AmrLevel::checkPointPost() 3 6.276e-06 6.276e-06 6.276e-06 0.00% Castro::retry_advance_ctu() 10 5.085e-06 5.085e-06 5.085e-06 0.00% Gravity::set_mass_offset() 11 4.981e-06 4.981e-06 4.981e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.942e-06 3.942e-06 3.942e-06 0.00% Castro::FluxRegCrseInit 10 2.906e-06 2.906e-06 2.906e-06 0.00% Castro::FluxRegFineAdd() 10 2.296e-06 2.296e-06 2.296e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.169e-06 2.169e-06 2.169e-06 0.00% AmrLevel::checkPointPre() 3 1.968e-06 1.968e-06 1.968e-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 94 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 151 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1024 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1697 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3485 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2044 B 2048 KiB Gravity::solve_for_phi() 80 80 548 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3088 B 480 KiB VisMF::Write(FabArray) 656 656 3289 B 320 KiB Castro::normalize_species() 62 62 6549 B 320 KiB amrex::average_down 1067 1067 1227 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1120 B 257 KiB amrex::Dot() 1360 1360 3278 B 160 KiB FabArray::norminf() 1143 1143 3210 B 160 KiB check_for_negative_density() 10 10 298 B 160 KiB Castro::initData() 1 1 55 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3403 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8866 8866 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 101 B 1280 B MLCellLinOp::defineBC() 66 66 359 B 1248 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 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 472 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3403 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B Gravity::get_new_grav_vector() 3 3 2892 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 290 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): 12056 Free GPU global memory (MB): 2528 [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.12-5-gefd77ffab39c) finalized Initializing AMReX (23.12-5-gefd77ffab39c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-5-gefd77ffab39c) initialized Starting run at 09:03:52 UTC on 2023-12-04. Successfully read inputs file ... Castro git describe: 23.11-12-g4f728c49f AMReX git describe: 23.12-5-gefd77ffab Microphysics git describe: 23.12 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500690428 Restart time = 0.108753254 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.055265352 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.049624085 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.075993777 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.078059543 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.054163344 [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.035760522 seconds Ending run at 09:03:52 UTC on 2023-12-04. Run time = 0.458711622 Run time without initialization = 0.349356274 Average number of zones advanced per microsecond: 3.752 Average number of zones advanced per microsecond per rank: 3.752 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4587 ... 0.4587 ... 0.4587 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1270 0.1270 0.1270 27.68% VisMF::Read() 3 0.0601 0.0601 0.0601 13.10% Amr::restart() 1 0.04192 0.04192 0.04192 9.14% VisMF::Write(FabArray) 1 0.03415 0.03415 0.03415 7.44% MLCellLinOp::applyBC() 1946 0.03375 0.03375 0.03375 7.36% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.05% FillBoundary_nowait() 1766 0.01332 0.01332 0.01332 2.90% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.81% Castro::normalize_species() 30 0.009002 0.009002 0.009002 1.96% amrex::Dot() 484 0.008709 0.008709 0.008709 1.90% FabArray::norminf() 465 0.008536 0.008536 0.008536 1.86% FabArray::setVal() 537 0.006426 0.006426 0.006426 1.40% FabArray::ParallelCopy_nowait() 380 0.005956 0.005956 0.005956 1.30% Castro::computeTemp() 30 0.005807 0.005807 0.005807 1.27% MLCellLinOp::defineAuxData() 6 0.0055 0.0055 0.0055 1.20% FabArray::Saxpy() 597 0.005481 0.005481 0.005481 1.19% Gravity::fill_multipole_BCs() 6 0.005432 0.005432 0.005432 1.18% amrex::Copy() 221 0.005262 0.005262 0.005262 1.15% Castro::enforce_min_density() 30 0.004808 0.004808 0.004808 1.05% StateDataPhysBCFunct::() 20 0.004805 0.004805 0.004805 1.05% MLPoisson::Fapply() 500 0.004493 0.004493 0.004493 0.98% Castro::estTimeStep() 10 0.003853 0.003853 0.003853 0.84% FabArray::Xpay() 361 0.003537 0.003537 0.003537 0.77% MLMG::addInterpCorrection() 180 0.003006 0.003006 0.003006 0.66% amrex::average_down 180 0.002634 0.002634 0.002634 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002234 0.002234 0.002234 0.49% BndryData::define() 6 0.001966 0.001966 0.001966 0.43% amrex::Add() 72 0.001878 0.001878 0.001878 0.41% Castro::construct_new_gravity_source() 5 0.001667 0.001667 0.001667 0.36% Castro::construct_old_gravity_source() 5 0.00148 0.00148 0.00148 0.32% Amr::writePlotFile() 1 0.001442 0.001442 0.001442 0.31% Castro::enforce_speed_limit() 30 0.001187 0.001187 0.001187 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009274 0.0009274 0.0009274 0.20% check_for_negative_density() 5 0.0009078 0.0009078 0.0009078 0.20% Castro::reset_internal_energy(Fab) 240 0.0008505 0.0008505 0.0008505 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008495 0.0008495 0.0008495 0.19% MLCellLinOp::setLevelBC() 6 0.0008224 0.0008224 0.0008224 0.18% MLCGSolver::bicgstab 36 0.0008126 0.0008126 0.0008126 0.18% MLCellLinOp::prepareForSolve() 6 0.0007104 0.0007104 0.0007104 0.15% FabArray::mult() 22 0.0006856 0.0006856 0.0006856 0.15% Castro::subcycle_advance_ctu() 5 0.000671 0.000671 0.000671 0.15% FabArray::setDomainBndry() 20 0.0006703 0.0006703 0.0006703 0.15% MultiFab::contains_nan() 10 0.0006487 0.0006487 0.0006487 0.14% MLCellLinOp::compGrad() 6 0.0005793 0.0005793 0.0005793 0.13% MLMG::prepareForSolve() 6 0.0005436 0.0005436 0.0005436 0.12% MLCellLinOp::smooth() 720 0.0004964 0.0004964 0.0004964 0.11% FabArrayBase::CPC::define() 244 0.0004157 0.0004157 0.0004157 0.09% Amr::InitAmr() 1 0.0004069 0.0004069 0.0004069 0.09% FabArray::FillBoundary() 1766 0.0003783 0.0003783 0.0003783 0.08% FabArrayBase::getCPC() 632 0.0003654 0.0003654 0.0003654 0.08% main() 1 0.0003593 0.0003593 0.0003593 0.08% Gravity::get_old_grav_vector() 5 0.0002942 0.0002942 0.0002942 0.06% FabArrayBase::getFB() 1766 0.0002776 0.0002776 0.0002776 0.06% Gravity::get_new_grav_vector() 5 0.0002356 0.0002356 0.0002356 0.05% MLCellLinOp::apply() 500 0.000203 0.000203 0.000203 0.04% MultiFab::max() 6 0.0002013 0.0002013 0.0002013 0.04% AmrLevel::FillPatch() 20 0.00019 0.00019 0.00019 0.04% Amr::coarseTimeStep() 5 0.0001651 0.0001651 0.0001651 0.04% MLCGSolver::ParallelAllReduce 798 0.0001573 0.0001573 0.0001573 0.03% MLCellLinOp::defineBC() 6 0.0001514 0.0001514 0.0001514 0.03% Castro::construct_new_source() 25 0.0001426 0.0001426 0.0001426 0.03% FillPatchIterator::Initialize 20 0.0001087 0.0001087 0.0001087 0.02% FabArray::ParallelCopy() 380 0.0001077 0.0001077 0.0001077 0.02% MLCellLinOp::correctionResidual() 216 9.364e-05 9.364e-05 9.364e-05 0.02% Castro::advance() 5 8.992e-05 8.992e-05 8.992e-05 0.02% MLLinOp::defineGrids() 6 8.794e-05 8.794e-05 8.794e-05 0.02% Amr::timeStep() 5 8.673e-05 8.673e-05 8.673e-05 0.02% MLMG::mgVcycle() 36 8.611e-05 8.611e-05 8.611e-05 0.02% Castro::do_new_sources() 5 8.43e-05 8.43e-05 8.43e-05 0.02% Castro::finalize_do_advance() 5 8.283e-05 8.283e-05 8.283e-05 0.02% AmrLevel::restart() 1 7.89e-05 7.89e-05 7.89e-05 0.02% Castro::create_source_corrector() 5 7.665e-05 7.665e-05 7.665e-05 0.02% StateData::restartDoit() 4 6.855e-05 6.855e-05 6.855e-05 0.01% Gravity::update_max_rhs() 6 6.737e-05 6.737e-05 6.737e-05 0.01% Gravity::solve_for_phi() 5 6.453e-05 6.453e-05 6.453e-05 0.01% FabArrayBase::FB::FB() 26 5.788e-05 5.788e-05 5.788e-05 0.01% MLMG:computeResOfCorrection() 180 5.204e-05 5.204e-05 5.204e-05 0.01% Castro::initialize_do_advance() 5 4.926e-05 4.926e-05 4.926e-05 0.01% MLMG::mgVcycle_down::0 36 4.79e-05 4.79e-05 4.79e-05 0.01% MLMG::actualBottomSolve() 36 4.268e-05 4.268e-05 4.268e-05 0.01% MLMG::mgVcycle_down::1 36 3.915e-05 3.915e-05 3.915e-05 0.01% Castro::initialize_advance() 5 3.718e-05 3.718e-05 3.718e-05 0.01% MLMG::mgVcycle_down::2 36 3.629e-05 3.629e-05 3.629e-05 0.01% MLMG::solve() 6 3.621e-05 3.621e-05 3.621e-05 0.01% Amr::writeSmallPlotFile() 1 3.521e-05 3.521e-05 3.521e-05 0.01% Castro::clean_state() 30 3.467e-05 3.467e-05 3.467e-05 0.01% MLMG::mgVcycle_down::4 36 3.445e-05 3.445e-05 3.445e-05 0.01% Castro::construct_old_source() 25 3.29e-05 3.29e-05 3.29e-05 0.01% MLMG::mgVcycle_down::3 36 3.288e-05 3.288e-05 3.288e-05 0.01% Castro::post_timestep() 5 3.257e-05 3.257e-05 3.257e-05 0.01% Castro::do_old_sources() 5 3.215e-05 3.215e-05 3.215e-05 0.01% Castro::post_restart() 1 3.114e-05 3.114e-05 3.114e-05 0.01% MLMG::mgVcycle_up::4 36 3.033e-05 3.033e-05 3.033e-05 0.01% Castro::finalize_advance() 5 3.01e-05 3.01e-05 3.01e-05 0.01% Castro::buildMetrics() 1 3.001e-05 3.001e-05 3.001e-05 0.01% Castro::swap_state_time_levels() 5 2.586e-05 2.586e-05 2.586e-05 0.01% Castro::do_advance_ctu() 5 2.447e-05 2.447e-05 2.447e-05 0.01% MLMG::oneIter() 36 2.417e-05 2.417e-05 2.417e-05 0.01% MLMG::mgVcycle_up::0 36 2.353e-05 2.353e-05 2.353e-05 0.01% MLMG::mgVcycle_up::3 36 2.332e-05 2.332e-05 2.332e-05 0.01% MLCellLinOp::solutionResidual() 42 2.33e-05 2.33e-05 2.33e-05 0.01% Castro::initMFs() 1 2.303e-05 2.303e-05 2.303e-05 0.01% MLMG::mgVcycle_up::2 36 2.256e-05 2.256e-05 2.256e-05 0.00% MLMG::mgVcycle_up::1 36 2.183e-05 2.183e-05 2.183e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.179e-05 2.179e-05 2.179e-05 0.00% MLMG::ResNormInf() 42 1.824e-05 1.824e-05 1.824e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.793e-05 1.793e-05 1.793e-05 0.00% MLMG::mgVcycle_bottom 36 1.569e-05 1.569e-05 1.569e-05 0.00% FillPatchSingleLevel 20 1.556e-05 1.556e-05 1.556e-05 0.00% MLPoisson::define() 6 1.549e-05 1.549e-05 1.549e-05 0.00% makeSFC 30 1.466e-05 1.466e-05 1.466e-05 0.00% MLMG::computeResidual() 36 1.405e-05 1.405e-05 1.405e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.328e-05 1.328e-05 1.328e-05 0.00% Castro::construct_new_gravity() 5 1.289e-05 1.289e-05 1.289e-05 0.00% Amr::initSubcycle() 1 1.174e-05 1.174e-05 1.174e-05 0.00% MLPoisson::prepareForSolve() 6 1.053e-05 1.053e-05 1.053e-05 0.00% DistributionMapping::Distribute() 31 9.932e-06 9.932e-06 9.932e-06 0.00% MLMG::computeMLResidual() 6 9.908e-06 9.908e-06 9.908e-06 0.00% Gravity::actual_multilevel_solve() 1 8.424e-06 8.424e-06 8.424e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.598e-06 7.598e-06 7.598e-06 0.00% Castro::check_for_nan() 10 7.57e-06 7.57e-06 7.57e-06 0.00% Castro::construct_old_gravity() 5 6.481e-06 6.481e-06 6.481e-06 0.00% Castro::apply_source_to_state() 10 6.049e-06 6.049e-06 6.049e-06 0.00% MLLinOp::define() 6 5.792e-06 5.792e-06 5.792e-06 0.00% Gravity::swapTimeLevels() 5 4.078e-06 4.078e-06 4.078e-06 0.00% MLMG::getGradSolution() 6 3.119e-06 3.119e-06 3.119e-06 0.00% Castro::computeNewDt() 5 3.07e-06 3.07e-06 3.07e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.88e-06 2.88e-06 2.88e-06 0.00% Castro::expand_state() 5 2.84e-06 2.84e-06 2.84e-06 0.00% MLMG::MLResNormInf() 6 2.44e-06 2.44e-06 2.44e-06 0.00% Gravity::set_mass_offset() 6 2.075e-06 2.075e-06 2.075e-06 0.00% MLMG::MLRhsNormInf() 6 2.072e-06 2.072e-06 2.072e-06 0.00% Castro::retry_advance_ctu() 5 2.012e-06 2.012e-06 2.012e-06 0.00% Castro::FluxRegCrseInit 5 1.569e-06 1.569e-06 1.569e-06 0.00% Castro::FluxRegFineAdd() 5 1.412e-06 1.412e-06 1.412e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.229e-06 1.229e-06 1.229e-06 0.00% Amr::init() 1 1.045e-06 1.045e-06 1.045e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4587 0.4587 0.4587 100.00% Amr::coarseTimeStep() 5 0.3133 0.3133 0.3133 68.29% Amr::timeStep() 5 0.3109 0.3109 0.3109 67.77% Castro::advance() 5 0.3067 0.3067 0.3067 66.86% Castro::subcycle_advance_ctu() 5 0.2993 0.2993 0.2993 65.25% Castro::do_advance_ctu() 5 0.2987 0.2987 0.2987 65.11% Castro::construct_ctu_hydro_source() 5 0.1318 0.1318 0.1318 28.73% Castro::construct_new_gravity() 5 0.1313 0.1313 0.1313 28.63% Gravity::solve_phi_with_mlmg() 6 0.1291 0.1291 0.1291 28.15% Gravity::solve_for_phi() 5 0.1235 0.1235 0.1235 26.92% Gravity::actual_solve_with_mlmg() 6 0.1235 0.1235 0.1235 26.91% MLMG::solve() 6 0.1119 0.1119 0.1119 24.38% Amr::init() 1 0.1088 0.1088 0.1088 23.72% Amr::restart() 1 0.1088 0.1088 0.1088 23.72% MLMG::oneIter() 36 0.1046 0.1046 0.1046 22.79% MLMG::mgVcycle() 36 0.103 0.103 0.103 22.46% AmrLevel::restart() 1 0.06046 0.06046 0.06046 13.18% StateData::restartDoit() 4 0.06038 0.06038 0.06038 13.16% VisMF::Read() 3 0.0601 0.0601 0.0601 13.10% MLCellLinOp::smooth() 720 0.05074 0.05074 0.05074 11.06% MLCellLinOp::applyBC() 1946 0.04779 0.04779 0.04779 10.42% Amr::writePlotFile() 1 0.03585 0.03585 0.03585 7.81% VisMF::Write(FabArray) 1 0.03415 0.03415 0.03415 7.44% MLMG::mgVcycle_bottom 36 0.03181 0.03181 0.03181 6.93% MLMG::actualBottomSolve() 36 0.0318 0.0318 0.0318 6.93% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 6.86% Castro::clean_state() 30 0.02392 0.02392 0.02392 5.21% AmrLevel::FillPatch() 20 0.02262 0.02262 0.02262 4.93% FillPatchIterator::Initialize 20 0.02054 0.02054 0.02054 4.48% FillPatchIterator::FillFromLevel0() 20 0.01976 0.01976 0.01976 4.31% FillPatchSingleLevel 20 0.01974 0.01974 0.01974 4.30% StateDataPhysBCFunct::() 20 0.01769 0.01769 0.01769 3.86% MLCellLinOp::apply() 500 0.01593 0.01593 0.01593 3.47% MLMG::mgVcycle_down::0 36 0.01472 0.01472 0.01472 3.21% FabArray::FillBoundary() 1766 0.01403 0.01403 0.01403 3.06% MLPoisson::Fsmooth() 1440 0.01397 0.01397 0.01397 3.05% FillBoundary_nowait() 1766 0.01365 0.01365 0.01365 2.98% StateData::FillBoundary(geom) 160 0.01288 0.01288 0.01288 2.81% MLMG::mgVcycle_up::0 36 0.01114 0.01114 0.01114 2.43% Castro::initialize_do_advance() 5 0.01045 0.01045 0.01045 2.28% MLCellLinOp::correctionResidual() 216 0.009604 0.009604 0.009604 2.09% MLPoisson::define() 6 0.009074 0.009074 0.009074 1.98% Castro::normalize_species() 30 0.009002 0.009002 0.009002 1.96% Castro::computeTemp() 30 0.008891 0.008891 0.008891 1.94% Castro::do_old_sources() 5 0.00875 0.00875 0.00875 1.91% amrex::Dot() 484 0.008709 0.008709 0.008709 1.90% FabArray::norminf() 465 0.008536 0.008536 0.008536 1.86% MLMG:computeResOfCorrection() 180 0.008441 0.008441 0.008441 1.84% Gravity::get_new_grav_vector() 5 0.007699 0.007699 0.007699 1.68% Castro::construct_old_gravity() 5 0.007528 0.007528 0.007528 1.64% Gravity::get_old_grav_vector() 5 0.007522 0.007522 0.007522 1.64% MLMG::mgVcycle_down::1 36 0.00699 0.00699 0.00699 1.52% Castro::initialize_advance() 5 0.006972 0.006972 0.006972 1.52% Castro::do_new_sources() 5 0.006587 0.006587 0.006587 1.44% FabArray::ParallelCopy() 380 0.006458 0.006458 0.006458 1.41% FabArray::setVal() 537 0.006426 0.006426 0.006426 1.40% MLMG::mgVcycle_down::2 36 0.006356 0.006356 0.006356 1.39% FabArray::ParallelCopy_nowait() 380 0.00635 0.00635 0.00635 1.38% MLCellLinOp::defineAuxData() 6 0.006261 0.006261 0.006261 1.36% Castro::post_restart() 1 0.00624 0.00624 0.00624 1.36% MLMG::mgVcycle_down::3 36 0.006198 0.006198 0.006198 1.35% MLMG::mgVcycle_down::4 36 0.006144 0.006144 0.006144 1.34% Castro::expand_state() 5 0.006038 0.006038 0.006038 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005856 0.005856 0.005856 1.28% Gravity::actual_multilevel_solve() 1 0.005839 0.005839 0.005839 1.27% Gravity::fill_multipole_BCs() 6 0.005552 0.005552 0.005552 1.21% FabArray::Saxpy() 597 0.005481 0.005481 0.005481 1.19% MLCGSolver::ParallelAllReduce 798 0.005312 0.005312 0.005312 1.16% amrex::Copy() 221 0.005262 0.005262 0.005262 1.15% MLMG::addInterpCorrection() 180 0.0052 0.0052 0.0052 1.13% MLMG::mgVcycle_up::1 36 0.004998 0.004998 0.004998 1.09% MLMG::mgVcycle_up::4 36 0.004955 0.004955 0.004955 1.08% MLMG::mgVcycle_up::2 36 0.004866 0.004866 0.004866 1.06% amrex::average_down 180 0.004861 0.004861 0.004861 1.06% Castro::enforce_min_density() 30 0.004808 0.004808 0.004808 1.05% MLMG::mgVcycle_up::3 36 0.004763 0.004763 0.004763 1.04% MLPoisson::Fapply() 500 0.004493 0.004493 0.004493 0.98% Castro::post_timestep() 5 0.004091 0.004091 0.004091 0.89% Castro::estTimeStep() 10 0.003853 0.003853 0.003853 0.84% FabArray::Xpay() 361 0.003537 0.003537 0.003537 0.77% MLCellLinOp::solutionResidual() 42 0.003422 0.003422 0.003422 0.75% Castro::reset_internal_energy(MultiFab) 30 0.003084 0.003084 0.003084 0.67% MLMG::prepareForSolve() 6 0.00273 0.00273 0.00273 0.60% MLMG::computeResidual() 36 0.002679 0.002679 0.002679 0.58% MLCellLinOp::defineBC() 6 0.002672 0.002672 0.002672 0.58% BndryData::define() 6 0.002521 0.002521 0.002521 0.55% Castro::computeNewDt() 5 0.002223 0.002223 0.002223 0.48% amrex::Add() 72 0.001878 0.001878 0.001878 0.41% Castro::construct_new_source() 25 0.00181 0.00181 0.00181 0.39% Castro::finalize_do_advance() 5 0.001716 0.001716 0.001716 0.37% Castro::construct_new_gravity_source() 5 0.001667 0.001667 0.001667 0.36% Castro::construct_old_source() 25 0.001513 0.001513 0.001513 0.33% Castro::construct_old_gravity_source() 5 0.00148 0.00148 0.00148 0.32% Castro::enforce_speed_limit() 30 0.001187 0.001187 0.001187 0.26% MLMG::ResNormInf() 42 0.000964 0.000964 0.000964 0.21% Castro::apply_source_to_state() 10 0.0009591 0.0009591 0.0009591 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009274 0.0009274 0.0009274 0.20% check_for_negative_density() 5 0.0009078 0.0009078 0.0009078 0.20% MLMG::getGradSolution() 6 0.0008565 0.0008565 0.0008565 0.19% MLCellLinOp::compGrad() 6 0.0008534 0.0008534 0.0008534 0.19% Castro::reset_internal_energy(Fab) 240 0.0008505 0.0008505 0.0008505 0.19% MLCellLinOp::setLevelBC() 6 0.0008224 0.0008224 0.0008224 0.18% FabArrayBase::getCPC() 632 0.0007811 0.0007811 0.0007811 0.17% MLMG::computeMLResidual() 6 0.0007676 0.0007676 0.0007676 0.17% MLPoisson::prepareForSolve() 6 0.0007209 0.0007209 0.0007209 0.16% Gravity::update_max_rhs() 6 0.0007161 0.0007161 0.0007161 0.16% MLCellLinOp::prepareForSolve() 6 0.0007104 0.0007104 0.0007104 0.15% FabArray::mult() 22 0.0006856 0.0006856 0.0006856 0.15% FabArray::setDomainBndry() 20 0.0006703 0.0006703 0.0006703 0.15% Castro::check_for_nan() 10 0.0006563 0.0006563 0.0006563 0.14% MultiFab::contains_nan() 10 0.0006487 0.0006487 0.0006487 0.14% Amr::InitAmr() 1 0.0004186 0.0004186 0.0004186 0.09% FabArrayBase::CPC::define() 244 0.0004157 0.0004157 0.0004157 0.09% FabArrayBase::getFB() 1766 0.0003355 0.0003355 0.0003355 0.07% Castro::finalize_advance() 5 0.0002892 0.0002892 0.0002892 0.06% Gravity::swapTimeLevels() 5 0.0002239 0.0002239 0.0002239 0.05% MultiFab::max() 6 0.0002013 0.0002013 0.0002013 0.04% MLMG::MLResNormInf() 6 0.0001864 0.0001864 0.0001864 0.04% Castro::buildMetrics() 1 0.0001515 0.0001515 0.0001515 0.03% MLLinOp::define() 6 0.0001258 0.0001258 0.0001258 0.03% MLLinOp::defineGrids() 6 0.00012 0.00012 0.00012 0.03% MLMG::MLRhsNormInf() 6 0.0001175 0.0001175 0.0001175 0.03% Castro::create_source_corrector() 5 7.665e-05 7.665e-05 7.665e-05 0.02% FabArrayBase::FB::FB() 26 5.788e-05 5.788e-05 5.788e-05 0.01% Amr::writeSmallPlotFile() 1 3.521e-05 3.521e-05 3.521e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.08e-05 3.08e-05 3.08e-05 0.01% Castro::swap_state_time_levels() 5 2.586e-05 2.586e-05 2.586e-05 0.01% makeSFC 30 2.32e-05 2.32e-05 2.32e-05 0.01% Castro::initMFs() 1 2.303e-05 2.303e-05 2.303e-05 0.01% Amr::initSubcycle() 1 1.174e-05 1.174e-05 1.174e-05 0.00% DistributionMapping::Distribute() 31 9.932e-06 9.932e-06 9.932e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.268e-06 4.268e-06 4.268e-06 0.00% Gravity::set_mass_offset() 6 2.075e-06 2.075e-06 2.075e-06 0.00% Castro::retry_advance_ctu() 5 2.012e-06 2.012e-06 2.012e-06 0.00% Castro::FluxRegCrseInit 5 1.569e-06 1.569e-06 1.569e-06 0.00% Castro::FluxRegFineAdd() 5 1.412e-06 1.412e-06 1.412e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.229e-06 1.229e-06 1.229e-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 180 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 123 MiB 692 MiB Castro::initMFs() 48 48 52 MiB 68 MiB Castro::swap_state_time_levels() 32 32 42 MiB 55 MiB StateData::restartDoit() 32 32 48 MiB 55 MiB FillPatchIterator::Initialize 160 160 987 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2190 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 5875 KiB 14 MiB MLMG::prepareForSolve() 361 361 2993 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 170 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5862 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3092 B 2048 KiB Gravity::solve_for_phi() 40 40 550 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 275 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 4018 B 480 KiB VisMF::Write(FabArray) 112 112 2255 B 320 KiB Castro::normalize_species() 30 30 6386 B 320 KiB amrex::average_down 469 469 1036 B 257 KiB MLMG::addInterpCorrection() 468 468 975 B 257 KiB amrex::Dot() 592 592 2792 B 160 KiB FabArray::norminf() 501 501 2872 B 160 KiB check_for_negative_density() 5 5 308 B 160 KiB MultiFab::max() 6 6 68 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2902 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3892 3892 187 B 9344 B amrex::Copy() 56 56 5159 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 87 B 1280 B MLCellLinOp::defineBC() 36 36 310 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1087 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 78 KiB 8192 KiB VisMF::Write(FabArray) 120 120 213 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2902 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 1946 1946 186 B 9328 B amrex::Copy() 56 56 5159 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2296 B 3072 B StateData::FillBoundary(geom) 960 960 37 B 3024 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 457 B 1296 B amrex::average_down 37 37 192 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 501 501 8 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): 12056 Free GPU global memory (MB): 2528 [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.12-5-gefd77ffab39c) finalized