Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-3-g1ffc6e427e3a) initialized Starting run at 10:06:24 UTC on 2023-03-07. Successfully read inputs file ... Castro git describe: 23.03-1-g11cc0c2de AMReX git describe: 23.03-3-g1ffc6e427 Microphysics git describe: 23.03-8-g9b7b620f 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.058414612 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033816484 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047239449 [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.0496736 [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.049818806 [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.059115358 [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.076085653 [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.057992992 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.055905619 [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.062238695 [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.060493727 [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.058788115 [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.062175366 [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.057865613 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034393288 seconds Ending run at 10:06:25 UTC on 2023-03-07. Run time = 0.873470162 Run time without initialization = 0.732458565 Average number of zones advanced per microsecond: 3.579 Average number of zones advanced per microsecond per rank: 3.579 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8735 ... 0.8735 ... 0.8735 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2356 0.2356 0.2356 26.97% Castro::construct_ctu_hydro_source() 10 0.2187 0.2187 0.2187 25.03% MLCellLinOp::applyBC() 4433 0.07731 0.07731 0.07731 8.85% MLPoisson::Fsmooth() 3280 0.03243 0.03243 0.03243 3.71% FillBoundary_nowait() 4023 0.03178 0.03178 0.03178 3.64% StateData::FillBoundary(geom) 328 0.02495 0.02495 0.02495 2.86% amrex::Dot() 1114 0.02076 0.02076 0.02076 2.38% amrex::Copy() 1029 0.0149 0.0149 0.0149 1.71% FabArray::norminf() 743 0.01447 0.01447 0.01447 1.66% Castro::computeTemp() 63 0.01433 0.01433 0.01433 1.64% Castro::normalize_species() 62 0.01407 0.01407 0.01407 1.61% FabArray::ParallelCopy_nowait() 861 0.01345 0.01345 0.01345 1.54% FabArray::setVal() 1144 0.01317 0.01317 0.01317 1.51% StateDataPhysBCFunct::() 41 0.01309 0.01309 0.01309 1.50% MLPoisson::Fapply() 1142 0.01042 0.01042 0.01042 1.19% Castro::enforce_min_density() 62 0.01014 0.01014 0.01014 1.16% MLCellLinOp::defineAuxData() 11 0.01007 0.01007 0.01007 1.15% FabArray::Saxpy() 813 0.008207 0.008207 0.008207 0.94% FabArray::Xpay() 821 0.008119 0.008119 0.008119 0.93% MLMG::addInterpCorrection() 410 0.006904 0.006904 0.006904 0.79% Gravity::fill_multipole_BCs() 11 0.006585 0.006585 0.006585 0.75% amrex::average_down 410 0.006021 0.006021 0.006021 0.69% FabArray::LinComb() 557 0.004537 0.004537 0.004537 0.52% Castro::estTimeStep() 21 0.004517 0.004517 0.004517 0.52% amrex::Add() 164 0.004376 0.004376 0.004376 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004126 0.004126 0.004126 0.47% Amr::checkPoint() 3 0.003988 0.003988 0.003988 0.46% BndryData::define() 11 0.003791 0.003791 0.003791 0.43% Castro::do_advance_ctu() 10 0.003386 0.003386 0.003386 0.39% Castro::construct_new_gravity_source() 10 0.003299 0.003299 0.003299 0.38% Castro::construct_old_gravity_source() 10 0.002633 0.002633 0.002633 0.30% Amr::writePlotFile() 2 0.002412 0.002412 0.002412 0.28% Castro::reset_internal_energy(Fab) 504 0.002291 0.002291 0.002291 0.26% MLCGSolver::bicgstab 82 0.002227 0.002227 0.002227 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001715 0.001715 0.001715 0.20% Gravity::actual_solve_with_mlmg() 11 0.001498 0.001498 0.001498 0.17% MLCellLinOp::setLevelBC() 11 0.001399 0.001399 0.001399 0.16% Castro::enforce_speed_limit() 62 0.001387 0.001387 0.001387 0.16% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% MultiFab::contains_nan() 20 0.00122 0.00122 0.00122 0.14% Castro::initData() 1 0.001209 0.001209 0.001209 0.14% MLCellLinOp::smooth() 1640 0.001137 0.001137 0.001137 0.13% MLCellLinOp::prepareForSolve() 11 0.001125 0.001125 0.001125 0.13% MLCellLinOp::compGrad() 11 0.0009051 0.0009051 0.0009051 0.10% FabArray::FillBoundary() 4023 0.0008808 0.0008808 0.0008808 0.10% MLMG::prepareForSolve() 11 0.0008757 0.0008757 0.0008757 0.10% FabArrayBase::getCPC() 1323 0.000746 0.000746 0.000746 0.09% FabArrayBase::CPC::define() 454 0.0006818 0.0006818 0.0006818 0.08% Gravity::get_new_grav_vector() 11 0.0006313 0.0006313 0.0006313 0.07% FabArrayBase::getFB() 4023 0.0005924 0.0005924 0.0005924 0.07% Gravity::get_old_grav_vector() 10 0.0005431 0.0005431 0.0005431 0.06% Amr::InitAmr() 1 0.0005374 0.0005374 0.0005374 0.06% MLCellLinOp::apply() 1142 0.0004854 0.0004854 0.0004854 0.06% MLMG::mgVcycle() 82 0.0003973 0.0003973 0.0003973 0.05% Amr::coarseTimeStep() 10 0.0003687 0.0003687 0.0003687 0.04% MLLinOp::defineGrids() 11 0.0003423 0.0003423 0.0003423 0.04% main() 1 0.0003156 0.0003156 0.0003156 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003133 0.0003133 0.0003133 0.04% FabArray::ParallelCopy() 861 0.0002654 0.0002654 0.0002654 0.03% MultiFab::max() 11 0.0002613 0.0002613 0.0002613 0.03% MLCellLinOp::defineBC() 11 0.0002316 0.0002316 0.0002316 0.03% FillPatchIterator::Initialize 41 0.0002294 0.0002294 0.0002294 0.03% MLCellLinOp::correctionResidual() 492 0.0002193 0.0002193 0.0002193 0.03% Amr::timeStep() 10 0.0001559 0.0001559 0.0001559 0.02% Castro::finalize_advance() 10 0.0001492 0.0001492 0.0001492 0.02% Castro::subcycle_advance_ctu() 10 0.0001429 0.0001429 0.0001429 0.02% StateData::checkPoint() 12 0.0001306 0.0001306 0.0001306 0.01% Gravity::solve_for_phi() 10 0.0001194 0.0001194 0.0001194 0.01% Gravity::update_max_rhs() 11 0.0001181 0.0001181 0.0001181 0.01% MLMG:computeResOfCorrection() 410 0.0001126 0.0001126 0.0001126 0.01% MLMG::mgVcycle_down::0 82 9.398e-05 9.398e-05 9.398e-05 0.01% MLMG::actualBottomSolve() 82 8.909e-05 8.909e-05 8.909e-05 0.01% FabArrayBase::FB::FB() 56 8.78e-05 8.78e-05 8.78e-05 0.01% Castro::Castro() 1 8.638e-05 8.638e-05 8.638e-05 0.01% MLMG::mgVcycle_down::1 82 8.482e-05 8.482e-05 8.482e-05 0.01% Castro::expand_state() 10 8.235e-05 8.235e-05 8.235e-05 0.01% Castro::initialize_advance() 10 8.056e-05 8.056e-05 8.056e-05 0.01% MLMG::mgVcycle_down::2 82 7.838e-05 7.838e-05 7.838e-05 0.01% Castro::clean_state() 62 7.759e-05 7.759e-05 7.759e-05 0.01% MLMG::mgVcycle_down::4 82 7.559e-05 7.559e-05 7.559e-05 0.01% MLMG::solve() 11 7.453e-05 7.453e-05 7.453e-05 0.01% AmrLevel::checkPoint() 3 7.355e-05 7.355e-05 7.355e-05 0.01% MLMG::mgVcycle_down::3 82 7.343e-05 7.343e-05 7.343e-05 0.01% Castro::advance() 10 6.251e-05 6.251e-05 6.251e-05 0.01% MLMG::mgVcycle_up::4 82 6.178e-05 6.178e-05 6.178e-05 0.01% MLMG::mgVcycle_up::0 82 5.44e-05 5.44e-05 5.44e-05 0.01% Castro::initialize_do_advance() 10 5.27e-05 5.27e-05 5.27e-05 0.01% MLMG::mgVcycle_up::1 82 5.116e-05 5.116e-05 5.116e-05 0.01% MLMG::mgVcycle_up::2 82 5.058e-05 5.058e-05 5.058e-05 0.01% MLMG::mgVcycle_up::3 82 5.024e-05 5.024e-05 5.024e-05 0.01% MLMG::oneIter() 82 4.983e-05 4.983e-05 4.983e-05 0.01% MLCellLinOp::solutionResidual() 93 4.885e-05 4.885e-05 4.885e-05 0.01% Castro::finalize_do_advance() 10 3.845e-05 3.845e-05 3.845e-05 0.00% Castro::swap_state_time_levels() 10 3.673e-05 3.673e-05 3.673e-05 0.00% Castro::construct_new_source() 50 3.649e-05 3.649e-05 3.649e-05 0.00% Castro::enforce_consistent_e() 1 3.579e-05 3.579e-05 3.579e-05 0.00% StateData::define() 4 3.524e-05 3.524e-05 3.524e-05 0.00% FillPatchSingleLevel 41 3.18e-05 3.18e-05 3.18e-05 0.00% MLMG::mgVcycle_bottom 82 3.154e-05 3.154e-05 3.154e-05 0.00% MLMG::ResNormInf() 93 3.137e-05 3.137e-05 3.137e-05 0.00% MLMG::computeResidual() 82 3.037e-05 3.037e-05 3.037e-05 0.00% MLPoisson::define() 11 2.708e-05 2.708e-05 2.708e-05 0.00% Castro::construct_new_gravity() 10 2.581e-05 2.581e-05 2.581e-05 0.00% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.00% makeSFC 55 2.501e-05 2.501e-05 2.501e-05 0.00% Castro::initMFs() 1 2.335e-05 2.335e-05 2.335e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.142e-05 2.142e-05 2.142e-05 0.00% Castro::construct_old_source() 50 1.98e-05 1.98e-05 1.98e-05 0.00% Amr::FinalizeInit() 1 1.94e-05 1.94e-05 1.94e-05 0.00% Castro::buildMetrics() 1 1.884e-05 1.884e-05 1.884e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.833e-05 1.833e-05 1.833e-05 0.00% Castro::do_new_sources() 10 1.741e-05 1.741e-05 1.741e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.683e-05 1.683e-05 1.683e-05 0.00% MLLinOp::define() 11 1.63e-05 1.63e-05 1.63e-05 0.00% Castro::do_old_sources() 10 1.584e-05 1.584e-05 1.584e-05 0.00% DistributionMapping::Distribute() 56 1.544e-05 1.544e-05 1.544e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.391e-05 1.391e-05 1.391e-05 0.00% Amr::defBaseLevel() 1 1.353e-05 1.353e-05 1.353e-05 0.00% Castro::check_for_nan() 20 1.104e-05 1.104e-05 1.104e-05 0.00% Castro::construct_old_gravity() 10 1.028e-05 1.028e-05 1.028e-05 0.00% Gravity::swapTimeLevels() 10 1.013e-05 1.013e-05 1.013e-05 0.00% Castro::post_init() 1 1.002e-05 1.002e-05 1.002e-05 0.00% Castro::apply_source_to_state() 20 9.734e-06 9.734e-06 9.734e-06 0.00% Amr::initSubcycle() 1 9.169e-06 9.169e-06 9.169e-06 0.00% Castro::post_timestep() 10 8.8e-06 8.8e-06 8.8e-06 0.00% Gravity::actual_multilevel_solve() 1 8.509e-06 8.509e-06 8.509e-06 0.00% MLPoisson::prepareForSolve() 11 8.307e-06 8.307e-06 8.307e-06 0.00% Castro::computeNewDt() 9 7.496e-06 7.496e-06 7.496e-06 0.00% MLMG::computeMLResidual() 11 7.434e-06 7.434e-06 7.434e-06 0.00% MLMG::getGradSolution() 11 5.979e-06 5.979e-06 5.979e-06 0.00% Amr::InitializeInit() 1 5.687e-06 5.687e-06 5.687e-06 0.00% Gravity::set_mass_offset() 11 5.194e-06 5.194e-06 5.194e-06 0.00% AmrLevel::checkPointPost() 3 4.628e-06 4.628e-06 4.628e-06 0.00% Castro::create_source_corrector() 10 4.209e-06 4.209e-06 4.209e-06 0.00% Castro::retry_advance_ctu() 10 3.819e-06 3.819e-06 3.819e-06 0.00% MLMG::MLRhsNormInf() 11 3.68e-06 3.68e-06 3.68e-06 0.00% MLMG::MLResNormInf() 11 3.526e-06 3.526e-06 3.526e-06 0.00% Castro::FluxRegCrseInit 10 2.975e-06 2.975e-06 2.975e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.636e-06 2.636e-06 2.636e-06 0.00% Castro::computeInitialDt() 2 2.453e-06 2.453e-06 2.453e-06 0.00% Castro::FluxRegFineAdd() 10 2.182e-06 2.182e-06 2.182e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.096e-06 2.096e-06 2.096e-06 0.00% Amr::init() 1 2.091e-06 2.091e-06 2.091e-06 0.00% AmrLevel::checkPointPre() 3 1.853e-06 1.853e-06 1.853e-06 0.00% Amr::initialInit() 1 1.01e-06 1.01e-06 1.01e-06 0.00% Castro::post_regrid() 1 8.3e-07 8.3e-07 8.3e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8735 0.8735 0.8735 100.00% Amr::coarseTimeStep() 10 0.6978 0.6978 0.6978 79.89% Amr::timeStep() 10 0.5788 0.5788 0.5788 66.26% Castro::advance() 10 0.5714 0.5714 0.5714 65.42% Castro::subcycle_advance_ctu() 10 0.5594 0.5594 0.5594 64.04% Castro::do_advance_ctu() 10 0.5592 0.5592 0.5592 64.02% Gravity::solve_phi_with_mlmg() 11 0.2864 0.2864 0.2864 32.78% Gravity::actual_solve_with_mlmg() 11 0.2793 0.2793 0.2793 31.98% Castro::construct_new_gravity() 10 0.262 0.262 0.262 30.00% MLMG::solve() 11 0.2582 0.2582 0.2582 29.56% Gravity::solve_for_phi() 10 0.246 0.246 0.246 28.16% MLMG::oneIter() 82 0.2439 0.2439 0.2439 27.92% MLMG::mgVcycle() 82 0.2402 0.2402 0.2402 27.50% VisMF::Write(FabArray) 11 0.2356 0.2356 0.2356 26.97% Castro::construct_ctu_hydro_source() 10 0.2187 0.2187 0.2187 25.03% Amr::checkPoint() 3 0.1744 0.1744 0.1744 19.97% AmrLevel::checkPoint() 3 0.1704 0.1704 0.1704 19.51% StateData::checkPoint() 12 0.1703 0.1703 0.1703 19.50% Amr::init() 1 0.1403 0.1403 0.1403 16.06% MLCellLinOp::smooth() 1640 0.118 0.118 0.118 13.50% MLCellLinOp::applyBC() 4433 0.1107 0.1107 0.1107 12.67% MLMG::mgVcycle_bottom 82 0.07419 0.07419 0.07419 8.49% MLMG::actualBottomSolve() 82 0.07416 0.07416 0.07416 8.49% MLCGSolver::bicgstab 82 0.07346 0.07346 0.07346 8.41% Amr::writePlotFile() 2 0.06835 0.06835 0.06835 7.82% Amr::initialInit() 1 0.04795 0.04795 0.04795 5.49% Castro::clean_state() 62 0.04564 0.04564 0.04564 5.22% Amr::FinalizeInit() 1 0.04394 0.04394 0.04394 5.03% FillPatchIterator::Initialize 41 0.04368 0.04368 0.04368 5.00% Castro::post_init() 1 0.04262 0.04262 0.04262 4.88% FillPatchSingleLevel 41 0.04213 0.04213 0.04213 4.82% Gravity::multilevel_solve_for_new_phi() 1 0.04084 0.04084 0.04084 4.67% Gravity::actual_multilevel_solve() 1 0.04082 0.04082 0.04082 4.67% StateDataPhysBCFunct::() 41 0.03804 0.03804 0.03804 4.36% MLCellLinOp::apply() 1142 0.03669 0.03669 0.03669 4.20% MLMG::mgVcycle_down::0 82 0.03445 0.03445 0.03445 3.94% FabArray::FillBoundary() 4023 0.03334 0.03334 0.03334 3.82% FillBoundary_nowait() 4023 0.03246 0.03246 0.03246 3.72% MLPoisson::Fsmooth() 3280 0.03243 0.03243 0.03243 3.71% MLMG::mgVcycle_up::0 82 0.02614 0.02614 0.02614 2.99% StateData::FillBoundary(geom) 328 0.02495 0.02495 0.02495 2.86% MLCellLinOp::correctionResidual() 492 0.0226 0.0226 0.0226 2.59% amrex::Dot() 1114 0.02076 0.02076 0.02076 2.38% Castro::computeTemp() 63 0.02075 0.02075 0.02075 2.38% MLMG:computeResOfCorrection() 410 0.01993 0.01993 0.01993 2.28% Castro::initialize_do_advance() 10 0.01972 0.01972 0.01972 2.26% Gravity::get_new_grav_vector() 11 0.01753 0.01753 0.01753 2.01% MLPoisson::define() 11 0.01686 0.01686 0.01686 1.93% MLMG::mgVcycle_down::1 82 0.01588 0.01588 0.01588 1.82% Castro::construct_old_gravity() 10 0.01544 0.01544 0.01544 1.77% Gravity::get_old_grav_vector() 10 0.01543 0.01543 0.01543 1.77% amrex::Copy() 1029 0.0149 0.0149 0.0149 1.71% MLMG::mgVcycle_down::2 82 0.0148 0.0148 0.0148 1.69% FabArray::ParallelCopy() 861 0.01453 0.01453 0.01453 1.66% FabArray::norminf() 743 0.01447 0.01447 0.01447 1.66% MLMG::mgVcycle_down::3 82 0.01444 0.01444 0.01444 1.65% MLMG::mgVcycle_down::4 82 0.01426 0.01426 0.01426 1.63% FabArray::ParallelCopy_nowait() 861 0.01426 0.01426 0.01426 1.63% Castro::normalize_species() 62 0.01407 0.01407 0.01407 1.61% FabArray::setVal() 1144 0.01317 0.01317 0.01317 1.51% MLCGSolver::ParallelAllReduce 1514 0.01248 0.01248 0.01248 1.43% MLMG::addInterpCorrection() 410 0.01217 0.01217 0.01217 1.39% Castro::expand_state() 10 0.0119 0.0119 0.0119 1.36% Castro::do_new_sources() 10 0.01189 0.01189 0.01189 1.36% Castro::do_old_sources() 10 0.01166 0.01166 0.01166 1.33% MLMG::mgVcycle_up::1 82 0.01161 0.01161 0.01161 1.33% MLMG::mgVcycle_up::4 82 0.01159 0.01159 0.01159 1.33% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.31% MLMG::mgVcycle_up::2 82 0.01134 0.01134 0.01134 1.30% Castro::initialize_advance() 10 0.01132 0.01132 0.01132 1.30% amrex::average_down 410 0.01123 0.01123 0.01123 1.29% MLMG::mgVcycle_up::3 82 0.0111 0.0111 0.0111 1.27% MLPoisson::Fapply() 1142 0.01042 0.01042 0.01042 1.19% Castro::enforce_min_density() 62 0.01014 0.01014 0.01014 1.16% FabArray::Saxpy() 813 0.008207 0.008207 0.008207 0.94% FabArray::Xpay() 821 0.008119 0.008119 0.008119 0.93% Castro::post_timestep() 10 0.007209 0.007209 0.007209 0.83% MLCellLinOp::solutionResidual() 93 0.007198 0.007198 0.007198 0.82% Gravity::fill_multipole_BCs() 11 0.006827 0.006827 0.006827 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006417 0.006417 0.006417 0.73% MLMG::computeResidual() 82 0.006222 0.006222 0.006222 0.71% MLCellLinOp::defineBC() 11 0.004984 0.004984 0.004984 0.57% BndryData::define() 11 0.004753 0.004753 0.004753 0.54% MLMG::prepareForSolve() 11 0.004666 0.004666 0.004666 0.53% FabArray::LinComb() 557 0.004537 0.004537 0.004537 0.52% Castro::estTimeStep() 21 0.004517 0.004517 0.004517 0.52% amrex::Add() 164 0.004376 0.004376 0.004376 0.50% Amr::InitializeInit() 1 0.004009 0.004009 0.004009 0.46% Amr::defBaseLevel() 1 0.004003 0.004003 0.004003 0.46% Castro::initData() 1 0.003499 0.003499 0.003499 0.40% Castro::construct_new_source() 50 0.003335 0.003335 0.003335 0.38% Castro::construct_new_gravity_source() 10 0.003299 0.003299 0.003299 0.38% Castro::construct_old_source() 50 0.002653 0.002653 0.002653 0.30% Castro::construct_old_gravity_source() 10 0.002633 0.002633 0.002633 0.30% Castro::reset_internal_energy(Fab) 504 0.002291 0.002291 0.002291 0.26% MLMG::ResNormInf() 93 0.002101 0.002101 0.002101 0.24% Castro::computeNewDt() 9 0.001956 0.001956 0.001956 0.22% Castro::apply_source_to_state() 20 0.001826 0.001826 0.001826 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001715 0.001715 0.001715 0.20% FabArrayBase::getCPC() 1323 0.001428 0.001428 0.001428 0.16% MLCellLinOp::setLevelBC() 11 0.001399 0.001399 0.001399 0.16% Castro::enforce_speed_limit() 62 0.001387 0.001387 0.001387 0.16% MLMG::getGradSolution() 11 0.001385 0.001385 0.001385 0.16% MLCellLinOp::compGrad() 11 0.001379 0.001379 0.001379 0.16% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% Castro::check_for_nan() 20 0.001231 0.001231 0.001231 0.14% MultiFab::contains_nan() 20 0.00122 0.00122 0.00122 0.14% Castro::post_regrid() 1 0.00114 0.00114 0.00114 0.13% MLPoisson::prepareForSolve() 11 0.001133 0.001133 0.001133 0.13% MLCellLinOp::prepareForSolve() 11 0.001125 0.001125 0.001125 0.13% MLMG::computeMLResidual() 11 0.001014 0.001014 0.001014 0.12% Castro::computeInitialDt() 2 0.0009196 0.0009196 0.0009196 0.11% Gravity::update_max_rhs() 11 0.0008231 0.0008231 0.0008231 0.09% FabArrayBase::CPC::define() 454 0.0006818 0.0006818 0.0006818 0.08% FabArrayBase::getFB() 4023 0.0006802 0.0006802 0.0006802 0.08% Castro::finalize_advance() 10 0.0006725 0.0006725 0.0006725 0.08% Amr::InitAmr() 1 0.0005466 0.0005466 0.0005466 0.06% Gravity::swapTimeLevels() 10 0.0004434 0.0004434 0.0004434 0.05% Castro::Castro() 1 0.0004347 0.0004347 0.0004347 0.05% MLLinOp::define() 11 0.0004134 0.0004134 0.0004134 0.05% MLLinOp::defineGrids() 11 0.0003971 0.0003971 0.0003971 0.05% MLMG::MLResNormInf() 11 0.0002861 0.0002861 0.0002861 0.03% MultiFab::max() 11 0.0002613 0.0002613 0.0002613 0.03% MLMG::MLRhsNormInf() 11 0.000221 0.000221 0.000221 0.03% Castro::buildMetrics() 1 0.0001608 0.0001608 0.0001608 0.02% FabArrayBase::FB::FB() 56 8.78e-05 8.78e-05 8.78e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.27e-05 5.27e-05 5.27e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.207e-05 5.207e-05 5.207e-05 0.01% makeSFC 55 3.879e-05 3.879e-05 3.879e-05 0.00% Castro::finalize_do_advance() 10 3.845e-05 3.845e-05 3.845e-05 0.00% Castro::swap_state_time_levels() 10 3.673e-05 3.673e-05 3.673e-05 0.00% Castro::enforce_consistent_e() 1 3.579e-05 3.579e-05 3.579e-05 0.00% StateData::define() 4 3.524e-05 3.524e-05 3.524e-05 0.00% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.00% Castro::initMFs() 1 2.335e-05 2.335e-05 2.335e-05 0.00% DistributionMapping::Distribute() 56 1.544e-05 1.544e-05 1.544e-05 0.00% Amr::initSubcycle() 1 9.169e-06 9.169e-06 9.169e-06 0.00% Gravity::set_mass_offset() 11 5.194e-06 5.194e-06 5.194e-06 0.00% AmrLevel::checkPointPost() 3 4.628e-06 4.628e-06 4.628e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.291e-06 4.291e-06 4.291e-06 0.00% Castro::create_source_corrector() 10 4.209e-06 4.209e-06 4.209e-06 0.00% Castro::retry_advance_ctu() 10 3.819e-06 3.819e-06 3.819e-06 0.00% Castro::FluxRegCrseInit 10 2.975e-06 2.975e-06 2.975e-06 0.00% Castro::FluxRegFineAdd() 10 2.182e-06 2.182e-06 2.182e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.096e-06 2.096e-06 2.096e-06 0.00% AmrLevel::checkPointPre() 3 1.853e-06 1.853e-06 1.853e-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 100 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 114 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 1070 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2198 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3636 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1809 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2499 B 480 KiB VisMF::Write(FabArray) 656 656 3450 B 320 KiB Castro::normalize_species() 62 62 5244 B 320 KiB amrex::average_down 1067 1067 1283 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1204 B 257 KiB amrex::Dot() 1360 1360 3495 B 160 KiB FabArray::norminf() 907 907 2449 B 160 KiB Castro::do_advance_ctu() 10 10 598 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 8866 8866 230 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3863 B 6144 B StateData::FillBoundary(geom) 1992 1992 51 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 581 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 633 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 4433 4433 228 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3863 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B StateData::FillBoundary(geom) 1992 1992 51 B 2880 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.03-3-g1ffc6e427e3a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-3-g1ffc6e427e3a) initialized Starting run at 10:06:25 UTC on 2023-03-07. Successfully read inputs file ... Castro git describe: 23.03-1-g11cc0c2de AMReX git describe: 23.03-3-g1ffc6e427 Microphysics git describe: 23.03-8-g9b7b620f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.48097827 Restart time = 0.079804142 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050041309 [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.047205009 [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.047848564 [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.058524074 [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.061558148 [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.145143326 seconds Ending run at 10:06:26 UTC on 2023-03-07. Run time = 0.491144714 Run time without initialization = 0.410758306 Average number of zones advanced per microsecond: 3.191 Average number of zones advanced per microsecond per rank: 3.191 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4912 ... 0.4912 ... 0.4912 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Amr::writePlotFile() 1 0.1114 0.1114 0.1114 22.67% Castro::construct_ctu_hydro_source() 5 0.0857 0.0857 0.0857 17.45% VisMF::Read() 3 0.04123 0.04123 0.04123 8.39% Amr::restart() 1 0.0347 0.0347 0.0347 7.07% VisMF::Write(FabArray) 1 0.03359 0.03359 0.03359 6.84% MLCellLinOp::applyBC() 1946 0.03322 0.03322 0.03322 6.76% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 2.85% FillBoundary_nowait() 1766 0.01267 0.01267 0.01267 2.58% StateData::FillBoundary(geom) 160 0.01237 0.01237 0.01237 2.52% amrex::Dot() 484 0.008852 0.008852 0.008852 1.80% amrex::Copy() 463 0.006999 0.006999 0.006999 1.42% FabArray::setVal() 537 0.006247 0.006247 0.006247 1.27% FabArray::norminf() 326 0.006246 0.006246 0.006246 1.27% StateDataPhysBCFunct::() 20 0.006233 0.006233 0.006233 1.27% Castro::computeTemp() 30 0.006158 0.006158 0.006158 1.25% FabArray::ParallelCopy_nowait() 380 0.006043 0.006043 0.006043 1.23% Castro::normalize_species() 30 0.005781 0.005781 0.005781 1.18% MLCellLinOp::defineAuxData() 6 0.005382 0.005382 0.005382 1.10% MLPoisson::Fapply() 500 0.004475 0.004475 0.004475 0.91% FabArray::Saxpy() 355 0.00366 0.00366 0.00366 0.75% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.72% Castro::enforce_min_density() 30 0.003346 0.003346 0.003346 0.68% Gravity::fill_multipole_BCs() 6 0.003162 0.003162 0.003162 0.64% MLMG::addInterpCorrection() 180 0.002994 0.002994 0.002994 0.61% Castro::estTimeStep() 10 0.002757 0.002757 0.002757 0.56% amrex::average_down 180 0.002581 0.002581 0.002581 0.53% BndryData::define() 6 0.002053 0.002053 0.002053 0.42% FabArray::LinComb() 242 0.001933 0.001933 0.001933 0.39% Castro::reset_internal_energy(MultiFab) 30 0.001888 0.001888 0.001888 0.38% amrex::Add() 72 0.00185 0.00185 0.00185 0.38% Castro::construct_new_gravity_source() 5 0.001632 0.001632 0.001632 0.33% Castro::do_advance_ctu() 5 0.00142 0.00142 0.00142 0.29% Castro::construct_old_gravity_source() 5 0.001326 0.001326 0.001326 0.27% MLCGSolver::bicgstab 36 0.0009749 0.0009749 0.0009749 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009126 0.0009126 0.0009126 0.19% Gravity::actual_solve_with_mlmg() 6 0.0007846 0.0007846 0.0007846 0.16% Castro::reset_internal_energy(Fab) 240 0.000778 0.000778 0.000778 0.16% MLCellLinOp::setLevelBC() 6 0.0007506 0.0007506 0.0007506 0.15% Castro::subcycle_advance_ctu() 5 0.0007407 0.0007407 0.0007407 0.15% FabArray::mult() 22 0.0006517 0.0006517 0.0006517 0.13% FabArray::setDomainBndry() 20 0.0006411 0.0006411 0.0006411 0.13% MLCellLinOp::prepareForSolve() 6 0.000606 0.000606 0.000606 0.12% MultiFab::contains_nan() 10 0.0005934 0.0005934 0.0005934 0.12% Castro::advance() 5 0.0005718 0.0005718 0.0005718 0.12% MLCellLinOp::smooth() 720 0.0004962 0.0004962 0.0004962 0.10% MLCellLinOp::compGrad() 6 0.0004924 0.0004924 0.0004924 0.10% Castro::enforce_speed_limit() 30 0.0004775 0.0004775 0.0004775 0.10% MLMG::prepareForSolve() 6 0.0004729 0.0004729 0.0004729 0.10% Amr::InitAmr() 1 0.0004037 0.0004037 0.0004037 0.08% FabArrayBase::CPC::define() 244 0.0004006 0.0004006 0.0004006 0.08% FabArray::FillBoundary() 1766 0.0003862 0.0003862 0.0003862 0.08% FabArrayBase::getCPC() 632 0.0003492 0.0003492 0.0003492 0.07% Gravity::get_old_grav_vector() 5 0.0002964 0.0002964 0.0002964 0.06% main() 1 0.0002913 0.0002913 0.0002913 0.06% Gravity::get_new_grav_vector() 5 0.0002783 0.0002783 0.0002783 0.06% FabArrayBase::getFB() 1766 0.000253 0.000253 0.000253 0.05% MLCellLinOp::apply() 500 0.0002075 0.0002075 0.0002075 0.04% MLMG::mgVcycle() 36 0.0001746 0.0001746 0.0001746 0.04% Amr::coarseTimeStep() 5 0.0001566 0.0001566 0.0001566 0.03% AmrLevel::restart() 1 0.000147 0.000147 0.000147 0.03% MLCGSolver::ParallelAllReduce 659 0.0001422 0.0001422 0.0001422 0.03% MultiFab::max() 6 0.000137 0.000137 0.000137 0.03% FillPatchIterator::Initialize 20 0.0001342 0.0001342 0.0001342 0.03% MLLinOp::defineGrids() 6 0.00013 0.00013 0.00013 0.03% FabArray::ParallelCopy() 380 0.0001143 0.0001143 0.0001143 0.02% MLCellLinOp::defineBC() 6 0.0001091 0.0001091 0.0001091 0.02% Castro::finalize_advance() 5 9.519e-05 9.519e-05 9.519e-05 0.02% MLCellLinOp::correctionResidual() 216 9.452e-05 9.452e-05 9.452e-05 0.02% Amr::timeStep() 5 9.153e-05 9.153e-05 9.153e-05 0.02% StateData::restartDoit() 4 9.102e-05 9.102e-05 9.102e-05 0.02% Gravity::solve_for_phi() 5 6.516e-05 6.516e-05 6.516e-05 0.01% Gravity::update_max_rhs() 6 5.961e-05 5.961e-05 5.961e-05 0.01% FabArrayBase::FB::FB() 26 5.854e-05 5.854e-05 5.854e-05 0.01% MLMG::mgVcycle_down::1 36 5.32e-05 5.32e-05 5.32e-05 0.01% Amr::writeSmallPlotFile() 1 4.932e-05 4.932e-05 4.932e-05 0.01% MLMG:computeResOfCorrection() 180 4.871e-05 4.871e-05 4.871e-05 0.01% MLMG::actualBottomSolve() 36 4.199e-05 4.199e-05 4.199e-05 0.01% Castro::expand_state() 5 4.192e-05 4.192e-05 4.192e-05 0.01% Castro::create_source_corrector() 5 4.121e-05 4.121e-05 4.121e-05 0.01% Castro::clean_state() 30 4.013e-05 4.013e-05 4.013e-05 0.01% MLMG::mgVcycle_down::0 36 3.887e-05 3.887e-05 3.887e-05 0.01% MLMG::solve() 6 3.444e-05 3.444e-05 3.444e-05 0.01% Castro::initialize_advance() 5 3.431e-05 3.431e-05 3.431e-05 0.01% Castro::construct_new_source() 25 3.266e-05 3.266e-05 3.266e-05 0.01% MLMG::mgVcycle_down::2 36 3.242e-05 3.242e-05 3.242e-05 0.01% MLMG::mgVcycle_down::4 36 3.225e-05 3.225e-05 3.225e-05 0.01% MLMG::mgVcycle_down::3 36 3.147e-05 3.147e-05 3.147e-05 0.01% MLMG::mgVcycle_up::4 36 2.93e-05 2.93e-05 2.93e-05 0.01% Castro::initialize_do_advance() 5 2.684e-05 2.684e-05 2.684e-05 0.01% MLMG::mgVcycle_up::3 36 2.638e-05 2.638e-05 2.638e-05 0.01% Castro::buildMetrics() 1 2.557e-05 2.557e-05 2.557e-05 0.01% Castro::post_restart() 1 2.534e-05 2.534e-05 2.534e-05 0.01% Castro::initMFs() 1 2.412e-05 2.412e-05 2.412e-05 0.00% MLMG::mgVcycle_up::0 36 2.387e-05 2.387e-05 2.387e-05 0.00% Castro::swap_state_time_levels() 5 2.37e-05 2.37e-05 2.37e-05 0.00% MLMG::oneIter() 36 2.257e-05 2.257e-05 2.257e-05 0.00% MLCellLinOp::solutionResidual() 42 2.212e-05 2.212e-05 2.212e-05 0.00% MLMG::mgVcycle_up::2 36 2.204e-05 2.204e-05 2.204e-05 0.00% MLMG::mgVcycle_up::1 36 2.111e-05 2.111e-05 2.111e-05 0.00% Castro::finalize_do_advance() 5 1.972e-05 1.972e-05 1.972e-05 0.00% MLPoisson::define() 6 1.923e-05 1.923e-05 1.923e-05 0.00% MLMG::ResNormInf() 42 1.704e-05 1.704e-05 1.704e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.551e-05 1.551e-05 1.551e-05 0.00% MLMG::mgVcycle_bottom 36 1.431e-05 1.431e-05 1.431e-05 0.00% MLMG::computeResidual() 36 1.375e-05 1.375e-05 1.375e-05 0.00% makeSFC 30 1.37e-05 1.37e-05 1.37e-05 0.00% FillPatchSingleLevel 20 1.331e-05 1.331e-05 1.331e-05 0.00% Castro::construct_new_gravity() 5 1.225e-05 1.225e-05 1.225e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.159e-05 1.159e-05 1.159e-05 0.00% MLLinOp::define() 6 1.121e-05 1.121e-05 1.121e-05 0.00% DistributionMapping::Distribute() 31 1.109e-05 1.109e-05 1.109e-05 0.00% Castro::construct_old_source() 25 1.048e-05 1.048e-05 1.048e-05 0.00% Castro::do_new_sources() 5 8.927e-06 8.927e-06 8.927e-06 0.00% Amr::initSubcycle() 1 8.474e-06 8.474e-06 8.474e-06 0.00% Gravity::actual_multilevel_solve() 1 8.129e-06 8.129e-06 8.129e-06 0.00% Castro::do_old_sources() 5 7.968e-06 7.968e-06 7.968e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.575e-06 7.575e-06 7.575e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.374e-06 6.374e-06 6.374e-06 0.00% Castro::check_for_nan() 10 6.107e-06 6.107e-06 6.107e-06 0.00% Castro::apply_source_to_state() 10 5.554e-06 5.554e-06 5.554e-06 0.00% Castro::construct_old_gravity() 5 5.546e-06 5.546e-06 5.546e-06 0.00% Castro::post_timestep() 5 5.201e-06 5.201e-06 5.201e-06 0.00% MLPoisson::prepareForSolve() 6 4.467e-06 4.467e-06 4.467e-06 0.00% Gravity::swapTimeLevels() 5 4.087e-06 4.087e-06 4.087e-06 0.00% MLMG::computeMLResidual() 6 3.512e-06 3.512e-06 3.512e-06 0.00% Castro::computeNewDt() 5 3.328e-06 3.328e-06 3.328e-06 0.00% AmrLevel::AmrLevel() 1 3.188e-06 3.188e-06 3.188e-06 0.00% MLMG::getGradSolution() 6 3.054e-06 3.054e-06 3.054e-06 0.00% Castro::retry_advance_ctu() 5 2.439e-06 2.439e-06 2.439e-06 0.00% Castro::FluxRegCrseInit 5 2.308e-06 2.308e-06 2.308e-06 0.00% MLMG::MLResNormInf() 6 2.176e-06 2.176e-06 2.176e-06 0.00% Gravity::set_mass_offset() 6 2.163e-06 2.163e-06 2.163e-06 0.00% MLMG::MLRhsNormInf() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegFineAdd() 5 1.458e-06 1.458e-06 1.458e-06 0.00% Amr::init() 1 1.072e-06 1.072e-06 1.072e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4912 0.4912 0.4912 100.00% Amr::coarseTimeStep() 5 0.2653 0.2653 0.2653 54.02% Amr::timeStep() 5 0.2632 0.2632 0.2632 53.58% Castro::advance() 5 0.2601 0.2601 0.2601 52.96% Castro::subcycle_advance_ctu() 5 0.2541 0.2541 0.2541 51.74% Castro::do_advance_ctu() 5 0.2534 0.2534 0.2534 51.59% Amr::writePlotFile() 1 0.1452 0.1452 0.1452 29.57% Castro::construct_new_gravity() 5 0.1302 0.1302 0.1302 26.51% Gravity::solve_phi_with_mlmg() 6 0.1253 0.1253 0.1253 25.50% Gravity::solve_for_phi() 5 0.1222 0.1222 0.1222 24.88% Gravity::actual_solve_with_mlmg() 6 0.1219 0.1219 0.1219 24.81% MLMG::solve() 6 0.1106 0.1106 0.1106 22.51% MLMG::oneIter() 36 0.1037 0.1037 0.1037 21.12% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 20.80% Castro::construct_ctu_hydro_source() 5 0.0857 0.0857 0.0857 17.45% Amr::init() 1 0.07985 0.07985 0.07985 16.26% Amr::restart() 1 0.07985 0.07985 0.07985 16.26% MLCellLinOp::smooth() 720 0.04986 0.04986 0.04986 10.15% MLCellLinOp::applyBC() 1946 0.04659 0.04659 0.04659 9.49% AmrLevel::restart() 1 0.04153 0.04153 0.04153 8.45% StateData::restartDoit() 4 0.04137 0.04137 0.04137 8.42% VisMF::Read() 3 0.04123 0.04123 0.04123 8.39% VisMF::Write(FabArray) 1 0.03359 0.03359 0.03359 6.84% MLMG::mgVcycle_bottom 36 0.03183 0.03183 0.03183 6.48% MLMG::actualBottomSolve() 36 0.03181 0.03181 0.03181 6.48% MLCGSolver::bicgstab 36 0.03151 0.03151 0.03151 6.41% FillPatchIterator::Initialize 20 0.02139 0.02139 0.02139 4.36% FillPatchSingleLevel 20 0.02062 0.02062 0.02062 4.20% StateDataPhysBCFunct::() 20 0.01861 0.01861 0.01861 3.79% Castro::clean_state() 30 0.01847 0.01847 0.01847 3.76% MLCellLinOp::apply() 500 0.01567 0.01567 0.01567 3.19% MLMG::mgVcycle_down::0 36 0.01424 0.01424 0.01424 2.90% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 2.85% FabArray::FillBoundary() 1766 0.01337 0.01337 0.01337 2.72% FillBoundary_nowait() 1766 0.01298 0.01298 0.01298 2.64% StateData::FillBoundary(geom) 160 0.01237 0.01237 0.01237 2.52% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 2.20% Castro::initialize_do_advance() 5 0.009776 0.009776 0.009776 1.99% MLCellLinOp::correctionResidual() 216 0.009507 0.009507 0.009507 1.94% MLPoisson::define() 6 0.009024 0.009024 0.009024 1.84% amrex::Dot() 484 0.008852 0.008852 0.008852 1.80% Castro::computeTemp() 30 0.008824 0.008824 0.008824 1.80% MLMG:computeResOfCorrection() 180 0.008354 0.008354 0.008354 1.70% Castro::construct_old_gravity() 5 0.007916 0.007916 0.007916 1.61% Gravity::get_old_grav_vector() 5 0.00791 0.00791 0.00791 1.61% Gravity::get_new_grav_vector() 5 0.007903 0.007903 0.007903 1.61% amrex::Copy() 463 0.006999 0.006999 0.006999 1.42% MLMG::mgVcycle_down::1 36 0.00682 0.00682 0.00682 1.39% FabArray::ParallelCopy() 380 0.00653 0.00653 0.00653 1.33% FabArray::ParallelCopy_nowait() 380 0.006416 0.006416 0.006416 1.31% Castro::do_new_sources() 5 0.006399 0.006399 0.006399 1.30% MLMG::mgVcycle_down::2 36 0.006325 0.006325 0.006325 1.29% FabArray::setVal() 537 0.006247 0.006247 0.006247 1.27% FabArray::norminf() 326 0.006246 0.006246 0.006246 1.27% MLMG::mgVcycle_down::3 36 0.006178 0.006178 0.006178 1.26% MLMG::mgVcycle_down::4 36 0.006148 0.006148 0.006148 1.25% MLCellLinOp::defineAuxData() 6 0.006124 0.006124 0.006124 1.25% Castro::expand_state() 5 0.006077 0.006077 0.006077 1.24% Castro::normalize_species() 30 0.005781 0.005781 0.005781 1.18% MLCGSolver::ParallelAllReduce 659 0.005349 0.005349 0.005349 1.09% MLMG::addInterpCorrection() 180 0.005283 0.005283 0.005283 1.08% Castro::initialize_advance() 5 0.00502 0.00502 0.00502 1.02% MLMG::mgVcycle_up::4 36 0.005009 0.005009 0.005009 1.02% MLMG::mgVcycle_up::1 36 0.005001 0.005001 0.005001 1.02% MLMG::mgVcycle_up::2 36 0.004886 0.004886 0.004886 0.99% amrex::average_down 180 0.004824 0.004824 0.004824 0.98% MLMG::mgVcycle_up::3 36 0.004782 0.004782 0.004782 0.97% MLPoisson::Fapply() 500 0.004475 0.004475 0.004475 0.91% Castro::do_old_sources() 5 0.004148 0.004148 0.004148 0.84% FabArray::Saxpy() 355 0.00366 0.00366 0.00366 0.75% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.72% Castro::post_restart() 1 0.00344 0.00344 0.00344 0.70% Castro::enforce_min_density() 30 0.003346 0.003346 0.003346 0.68% Gravity::multilevel_solve_for_new_phi() 1 0.003319 0.003319 0.003319 0.68% Gravity::actual_multilevel_solve() 1 0.003303 0.003303 0.003303 0.67% Gravity::fill_multipole_BCs() 6 0.003285 0.003285 0.003285 0.67% MLCellLinOp::solutionResidual() 42 0.003219 0.003219 0.003219 0.66% Castro::post_timestep() 5 0.002989 0.002989 0.002989 0.61% Castro::estTimeStep() 10 0.002757 0.002757 0.002757 0.56% MLCellLinOp::defineBC() 6 0.002711 0.002711 0.002711 0.55% MLMG::computeResidual() 36 0.00267 0.00267 0.00267 0.54% Castro::reset_internal_energy(MultiFab) 30 0.002666 0.002666 0.002666 0.54% BndryData::define() 6 0.002602 0.002602 0.002602 0.53% MLMG::prepareForSolve() 6 0.002514 0.002514 0.002514 0.51% Castro::computeNewDt() 5 0.001985 0.001985 0.001985 0.40% FabArray::LinComb() 242 0.001933 0.001933 0.001933 0.39% amrex::Add() 72 0.00185 0.00185 0.00185 0.38% Castro::construct_new_source() 25 0.001665 0.001665 0.001665 0.34% Castro::construct_new_gravity_source() 5 0.001632 0.001632 0.001632 0.33% Castro::construct_old_source() 25 0.001337 0.001337 0.001337 0.27% Castro::construct_old_gravity_source() 5 0.001326 0.001326 0.001326 0.27% Castro::apply_source_to_state() 10 0.0009217 0.0009217 0.0009217 0.19% MLMG::ResNormInf() 42 0.0009198 0.0009198 0.0009198 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009126 0.0009126 0.0009126 0.19% Castro::reset_internal_energy(Fab) 240 0.000778 0.000778 0.000778 0.16% MLMG::getGradSolution() 6 0.0007594 0.0007594 0.0007594 0.15% MLCellLinOp::compGrad() 6 0.0007563 0.0007563 0.0007563 0.15% MLCellLinOp::setLevelBC() 6 0.0007506 0.0007506 0.0007506 0.15% FabArrayBase::getCPC() 632 0.0007498 0.0007498 0.0007498 0.15% FabArray::mult() 22 0.0006517 0.0006517 0.0006517 0.13% FabArray::setDomainBndry() 20 0.0006411 0.0006411 0.0006411 0.13% MLPoisson::prepareForSolve() 6 0.0006105 0.0006105 0.0006105 0.12% MLCellLinOp::prepareForSolve() 6 0.000606 0.000606 0.000606 0.12% Castro::check_for_nan() 10 0.0005996 0.0005996 0.0005996 0.12% MultiFab::contains_nan() 10 0.0005934 0.0005934 0.0005934 0.12% MLMG::computeMLResidual() 6 0.0005655 0.0005655 0.0005655 0.12% Castro::enforce_speed_limit() 30 0.0004775 0.0004775 0.0004775 0.10% Gravity::update_max_rhs() 6 0.0004468 0.0004468 0.0004468 0.09% Amr::InitAmr() 1 0.0004121 0.0004121 0.0004121 0.08% FabArrayBase::CPC::define() 244 0.0004006 0.0004006 0.0004006 0.08% Castro::finalize_advance() 5 0.000377 0.000377 0.000377 0.08% FabArrayBase::getFB() 1766 0.0003115 0.0003115 0.0003115 0.06% Gravity::swapTimeLevels() 5 0.0002272 0.0002272 0.0002272 0.05% MLLinOp::define() 6 0.000171 0.000171 0.000171 0.03% MLLinOp::defineGrids() 6 0.0001598 0.0001598 0.0001598 0.03% MLMG::MLResNormInf() 6 0.0001509 0.0001509 0.0001509 0.03% Castro::buildMetrics() 1 0.0001482 0.0001482 0.0001482 0.03% MultiFab::max() 6 0.000137 0.000137 0.000137 0.03% MLMG::MLRhsNormInf() 6 0.0001161 0.0001161 0.0001161 0.02% FabArrayBase::FB::FB() 26 5.854e-05 5.854e-05 5.854e-05 0.01% Amr::writeSmallPlotFile() 1 4.932e-05 4.932e-05 4.932e-05 0.01% Castro::create_source_corrector() 5 4.121e-05 4.121e-05 4.121e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.876e-05 2.876e-05 2.876e-05 0.01% Castro::initMFs() 1 2.412e-05 2.412e-05 2.412e-05 0.00% Castro::swap_state_time_levels() 5 2.37e-05 2.37e-05 2.37e-05 0.00% makeSFC 30 2.119e-05 2.119e-05 2.119e-05 0.00% Castro::finalize_do_advance() 5 1.972e-05 1.972e-05 1.972e-05 0.00% DistributionMapping::Distribute() 31 1.109e-05 1.109e-05 1.109e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 9.973e-06 9.973e-06 9.973e-06 0.00% Amr::initSubcycle() 1 8.474e-06 8.474e-06 8.474e-06 0.00% AmrLevel::AmrLevel() 1 3.188e-06 3.188e-06 3.188e-06 0.00% Castro::retry_advance_ctu() 5 2.439e-06 2.439e-06 2.439e-06 0.00% Castro::FluxRegCrseInit 5 2.308e-06 2.308e-06 2.308e-06 0.00% Gravity::set_mass_offset() 6 2.163e-06 2.163e-06 2.163e-06 0.00% Castro::FluxRegFineAdd() 5 1.458e-06 1.458e-06 1.458e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 177 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 76 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB Castro::initialize_do_advance() 40 40 20 MiB 39 MiB FillPatchIterator::Initialize 160 160 947 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2011 KiB 28 MiB Castro::initialize_advance() 40 40 12 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6388 KiB 14 MiB MLMG::prepareForSolve() 361 361 2765 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 167 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6384 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9 KiB 2053 KiB Gravity::update_max_rhs() 48 48 1764 B 2048 KiB Gravity::solve_for_phi() 40 40 508 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 13 KiB 2048 KiB BndryData::define() 576 576 254 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 163 KiB 671 KiB Castro::estTimeStep() 10 10 2670 B 480 KiB VisMF::Write(FabArray) 112 112 1031 B 320 KiB Castro::normalize_species() 30 30 3821 B 320 KiB amrex::average_down 469 469 997 B 257 KiB MLMG::addInterpCorrection() 468 468 929 B 257 KiB amrex::Dot() 592 592 2657 B 160 KiB FabArray::norminf() 398 398 1876 B 160 KiB Castro::do_advance_ctu() 5 5 447 B 160 KiB MultiFab::max() 6 6 42 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 24 B 20 KiB MLPoisson::Fsmooth() 60 60 2690 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 3892 3892 175 B 9344 B amrex::Copy() 56 56 5399 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 93 B 1472 B MLCellLinOp::defineBC() 36 36 285 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1010 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 120 120 211 KiB 3584 KiB VisMF::Read() 24 24 156 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2690 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 1946 1946 173 B 9328 B amrex::Copy() 56 56 5399 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B Gravity::get_old_grav_vector() 3 3 2531 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 2976 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 458 B 1296 B amrex::average_down 37 37 215 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 19 B 400 B FabArray::norminf() 398 398 13 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.03-3-g1ffc6e427e3a) finalized