Initializing AMReX (24.01-3-g656bb64515bd)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-3-g656bb64515bd) initialized Starting run at 10:25:28 UTC on 2024-01-10. Successfully read inputs file ... Castro git describe: 24.01-5-g92138399c AMReX git describe: 24.01-3-g656bb6451 Microphysics git describe: 24.01-9-ga4d7ab4d 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.045683095 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02527627 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.066721034 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050702614 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.078404452 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.072353695 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.062037271 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045516157 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.060084982 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074796012 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.079474218 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.061207355 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062961152 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.044348625 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025586272 seconds Ending run at 10:25:29 UTC on 2024-01-10. Run time = 0.911019957 Run time without initialization = 0.78486843 Average number of zones advanced per microsecond: 3.340 Average number of zones advanced per microsecond per rank: 3.340 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.911 ... 0.911 ... 0.911 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2823 0.2823 0.2823 30.98% VisMF::Write(FabArray) 11 0.1779 0.1779 0.1779 19.52% MLCellLinOp::applyBC() 4351 0.08036 0.08036 0.08036 8.82% MLPoisson::Fsmooth() 3280 0.03411 0.03411 0.03411 3.74% FillBoundary_nowait() 3941 0.03016 0.03016 0.03016 3.31% StateData::FillBoundary(geom) 328 0.02648 0.02648 0.02648 2.91% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.38% FabArray::Saxpy() 1370 0.02014 0.02014 0.02014 2.21% FabArray::norminf() 1061 0.02011 0.02011 0.02011 2.21% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.19% Castro::computeTemp() 63 0.01625 0.01625 0.01625 1.78% FabArray::ParallelCopy_nowait() 861 0.01358 0.01358 0.01358 1.49% FabArray::setVal() 1062 0.01322 0.01322 0.01322 1.45% Castro::enforce_min_density() 62 0.01168 0.01168 0.01168 1.28% StateDataPhysBCFunct::() 41 0.01135 0.01135 0.01135 1.25% amrex::Copy() 472 0.01079 0.01079 0.01079 1.18% MLCellLinOp::defineAuxData() 11 0.01043 0.01043 0.01043 1.15% MLPoisson::Fapply() 1060 0.0103 0.0103 0.0103 1.13% Gravity::fill_multipole_BCs() 11 0.009137 0.009137 0.009137 1.00% FabArray::Xpay() 739 0.007849 0.007849 0.007849 0.86% MLMG::addInterpCorrection() 410 0.007035 0.007035 0.007035 0.77% Castro::estTimeStep() 21 0.00641 0.00641 0.00641 0.70% amrex::average_down 410 0.006276 0.006276 0.006276 0.69% Amr::checkPoint() 3 0.00597 0.00597 0.00597 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005151 0.005151 0.005151 0.57% Castro::enforce_speed_limit() 62 0.004607 0.004607 0.004607 0.51% BndryData::define() 11 0.003906 0.003906 0.003906 0.43% amrex::Add() 82 0.003575 0.003575 0.003575 0.39% Castro::construct_new_gravity_source() 10 0.003302 0.003302 0.003302 0.36% Castro::construct_old_gravity_source() 10 0.002818 0.002818 0.002818 0.31% Amr::writePlotFile() 2 0.002088 0.002088 0.002088 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001769 0.001769 0.001769 0.19% MLCGSolver::bicgstab 82 0.001758 0.001758 0.001758 0.19% Gravity::actual_solve_with_mlmg() 11 0.001616 0.001616 0.001616 0.18% MLCellLinOp::setLevelBC() 11 0.001603 0.001603 0.001603 0.18% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% Castro::initData() 1 0.001481 0.001481 0.001481 0.16% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLCellLinOp::prepareForSolve() 11 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.15% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.14% MLCellLinOp::smooth() 1640 0.001144 0.001144 0.001144 0.13% MLCellLinOp::compGrad() 11 0.001083 0.001083 0.001083 0.12% MLMG::prepareForSolve() 11 0.0009877 0.0009877 0.0009877 0.11% FabArray::FillBoundary() 3941 0.0008953 0.0008953 0.0008953 0.10% FabArrayBase::getCPC() 1323 0.0008121 0.0008121 0.0008121 0.09% FabArrayBase::CPC::define() 454 0.0006981 0.0006981 0.0006981 0.08% Gravity::get_new_grav_vector() 11 0.0006033 0.0006033 0.0006033 0.07% FabArrayBase::getFB() 3941 0.0006016 0.0006016 0.0006016 0.07% Amr::InitAmr() 1 0.0005898 0.0005898 0.0005898 0.06% Gravity::get_old_grav_vector() 10 0.0004821 0.0004821 0.0004821 0.05% MLCellLinOp::apply() 1060 0.000423 0.000423 0.000423 0.05% AmrLevel::FillPatch() 41 0.0004122 0.0004122 0.0004122 0.05% Amr::coarseTimeStep() 10 0.0003604 0.0003604 0.0003604 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003599 0.0003599 0.0003599 0.04% MultiFab::max() 11 0.0003314 0.0003314 0.0003314 0.04% main() 1 0.0002988 0.0002988 0.0002988 0.03% MLCellLinOp::defineBC() 11 0.0002865 0.0002865 0.0002865 0.03% FabArray::ParallelCopy() 861 0.0002458 0.0002458 0.0002458 0.03% MLMG::mgVcycle() 82 0.0002199 0.0002199 0.0002199 0.02% FillPatchIterator::Initialize 41 0.0002151 0.0002151 0.0002151 0.02% Castro::subcycle_advance_ctu() 10 0.0002146 0.0002146 0.0002146 0.02% MLCellLinOp::correctionResidual() 410 0.0001739 0.0001739 0.0001739 0.02% MLLinOp::defineGrids() 11 0.0001702 0.0001702 0.0001702 0.02% Amr::timeStep() 10 0.0001639 0.0001639 0.0001639 0.02% Castro::create_source_corrector() 10 0.0001604 0.0001604 0.0001604 0.02% Gravity::update_max_rhs() 11 0.0001346 0.0001346 0.0001346 0.01% StateData::checkPoint() 12 0.0001343 0.0001343 0.0001343 0.01% MLMG:computeResOfCorrection() 410 0.0001177 0.0001177 0.0001177 0.01% Castro::advance() 10 0.0001151 0.0001151 0.0001151 0.01% Gravity::solve_for_phi() 10 0.0001113 0.0001113 0.0001113 0.01% Castro::Castro() 1 9.861e-05 9.861e-05 9.861e-05 0.01% Castro::do_new_sources() 10 9.551e-05 9.551e-05 9.551e-05 0.01% MLMG::actualBottomSolve() 82 9.457e-05 9.457e-05 9.457e-05 0.01% MLMG::mgVcycle_down::0 82 9.135e-05 9.135e-05 9.135e-05 0.01% FabArrayBase::FB::FB() 56 8.924e-05 8.924e-05 8.924e-05 0.01% MLMG::mgVcycle_down::1 82 8.2e-05 8.2e-05 8.2e-05 0.01% MLMG::mgVcycle_down::2 82 8.1e-05 8.1e-05 8.1e-05 0.01% Castro::initialize_advance() 10 7.927e-05 7.927e-05 7.927e-05 0.01% AmrLevel::checkPoint() 3 7.866e-05 7.866e-05 7.866e-05 0.01% MLMG::mgVcycle_down::4 82 7.521e-05 7.521e-05 7.521e-05 0.01% MLMG::mgVcycle_down::3 82 7.379e-05 7.379e-05 7.379e-05 0.01% Castro::finalize_advance() 10 7.252e-05 7.252e-05 7.252e-05 0.01% MLMG::solve() 11 7.162e-05 7.162e-05 7.162e-05 0.01% Castro::clean_state() 62 7.155e-05 7.155e-05 7.155e-05 0.01% Castro::enforce_consistent_e() 1 6.881e-05 6.881e-05 6.881e-05 0.01% MLMG::mgVcycle_up::4 82 6.326e-05 6.326e-05 6.326e-05 0.01% Castro::initialize_do_advance() 10 6.032e-05 6.032e-05 6.032e-05 0.01% MLMG::oneIter() 82 5.513e-05 5.513e-05 5.513e-05 0.01% MLCellLinOp::solutionResidual() 93 4.999e-05 4.999e-05 4.999e-05 0.01% MLMG::mgVcycle_up::0 82 4.895e-05 4.895e-05 4.895e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.84e-05 4.84e-05 4.84e-05 0.01% MLMG::mgVcycle_up::3 82 4.824e-05 4.824e-05 4.824e-05 0.01% Castro::finalize_do_advance() 10 4.768e-05 4.768e-05 4.768e-05 0.01% MLMG::mgVcycle_up::1 82 4.716e-05 4.716e-05 4.716e-05 0.01% Castro::construct_new_source() 50 4.656e-05 4.656e-05 4.656e-05 0.01% Castro::do_advance_ctu() 10 4.612e-05 4.612e-05 4.612e-05 0.01% MLMG::mgVcycle_up::2 82 4.544e-05 4.544e-05 4.544e-05 0.00% StateData::define() 4 3.966e-05 3.966e-05 3.966e-05 0.00% MLMG::ResNormInf() 93 3.546e-05 3.546e-05 3.546e-05 0.00% Castro::swap_state_time_levels() 10 3.541e-05 3.541e-05 3.541e-05 0.00% FillPatchSingleLevel 41 3.412e-05 3.412e-05 3.412e-05 0.00% MLMG::mgVcycle_bottom 82 3.349e-05 3.349e-05 3.349e-05 0.00% MLMG::computeResidual() 82 3.304e-05 3.304e-05 3.304e-05 0.00% Castro::initMFs() 1 3.292e-05 3.292e-05 3.292e-05 0.00% Amr::writeSmallPlotFile() 1 3.058e-05 3.058e-05 3.058e-05 0.00% Castro::buildMetrics() 1 2.96e-05 2.96e-05 2.96e-05 0.00% Castro::construct_new_gravity() 10 2.757e-05 2.757e-05 2.757e-05 0.00% makeSFC 55 2.561e-05 2.561e-05 2.561e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.205e-05 2.205e-05 2.205e-05 0.00% Amr::defBaseLevel() 1 2.166e-05 2.166e-05 2.166e-05 0.00% MLPoisson::define() 11 2.142e-05 2.142e-05 2.142e-05 0.00% Castro::do_old_sources() 10 2.132e-05 2.132e-05 2.132e-05 0.00% Amr::FinalizeInit() 1 1.976e-05 1.976e-05 1.976e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.958e-05 1.958e-05 1.958e-05 0.00% Castro::construct_old_source() 50 1.856e-05 1.856e-05 1.856e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.787e-05 1.787e-05 1.787e-05 0.00% DistributionMapping::Distribute() 56 1.632e-05 1.632e-05 1.632e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.407e-05 1.407e-05 1.407e-05 0.00% MLMG::computeMLResidual() 11 1.352e-05 1.352e-05 1.352e-05 0.00% Gravity::actual_multilevel_solve() 1 1.313e-05 1.313e-05 1.313e-05 0.00% MLPoisson::prepareForSolve() 11 1.3e-05 1.3e-05 1.3e-05 0.00% Castro::check_for_nan() 20 1.282e-05 1.282e-05 1.282e-05 0.00% Castro::apply_source_to_state() 20 1.203e-05 1.203e-05 1.203e-05 0.00% Castro::construct_old_gravity() 10 1.176e-05 1.176e-05 1.176e-05 0.00% MLLinOp::define() 11 1.124e-05 1.124e-05 1.124e-05 0.00% Castro::post_init() 1 1.064e-05 1.064e-05 1.064e-05 0.00% Gravity::swapTimeLevels() 10 9.64e-06 9.64e-06 9.64e-06 0.00% Amr::initSubcycle() 1 9.573e-06 9.573e-06 9.573e-06 0.00% Castro::post_timestep() 10 7.88e-06 7.88e-06 7.88e-06 0.00% Castro::computeNewDt() 9 7.109e-06 7.109e-06 7.109e-06 0.00% MLMG::getGradSolution() 11 6.121e-06 6.121e-06 6.121e-06 0.00% AmrLevel::checkPointPost() 3 5.979e-06 5.979e-06 5.979e-06 0.00% Castro::expand_state() 10 5.928e-06 5.928e-06 5.928e-06 0.00% Amr::InitializeInit() 1 4.705e-06 4.705e-06 4.705e-06 0.00% MLMG::MLRhsNormInf() 11 4.304e-06 4.304e-06 4.304e-06 0.00% Castro::retry_advance_ctu() 10 4.064e-06 4.064e-06 4.064e-06 0.00% Gravity::set_mass_offset() 11 4.059e-06 4.059e-06 4.059e-06 0.00% MLMG::MLResNormInf() 11 3.606e-06 3.606e-06 3.606e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.989e-06 2.989e-06 2.989e-06 0.00% Castro::computeInitialDt() 2 2.946e-06 2.946e-06 2.946e-06 0.00% Castro::FluxRegCrseInit 10 2.88e-06 2.88e-06 2.88e-06 0.00% Amr::init() 1 2.63e-06 2.63e-06 2.63e-06 0.00% AmrLevel::checkPointPre() 3 2.277e-06 2.277e-06 2.277e-06 0.00% Castro::FluxRegFineAdd() 10 2.183e-06 2.183e-06 2.183e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.041e-06 2.041e-06 2.041e-06 0.00% Castro::post_regrid() 1 1.31e-06 1.31e-06 1.31e-06 0.00% Amr::initialInit() 1 1.118e-06 1.118e-06 1.118e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.911 0.911 0.911 100.00% Amr::coarseTimeStep() 10 0.759 0.759 0.759 83.32% Amr::timeStep() 10 0.6651 0.6651 0.6651 73.00% Castro::advance() 10 0.6545 0.6545 0.6545 71.85% Castro::subcycle_advance_ctu() 10 0.6392 0.6392 0.6392 70.16% Castro::do_advance_ctu() 10 0.639 0.639 0.639 70.14% Gravity::solve_phi_with_mlmg() 11 0.3017 0.3017 0.3017 33.11% Castro::construct_ctu_hydro_source() 10 0.2933 0.2933 0.2933 32.19% Gravity::actual_solve_with_mlmg() 11 0.2921 0.2921 0.2921 32.06% Castro::construct_new_gravity() 10 0.2726 0.2726 0.2726 29.92% MLMG::solve() 11 0.2699 0.2699 0.2699 29.63% Gravity::solve_for_phi() 10 0.2568 0.2568 0.2568 28.18% MLMG::oneIter() 82 0.2545 0.2545 0.2545 27.94% MLMG::mgVcycle() 82 0.2509 0.2509 0.2509 27.54% VisMF::Write(FabArray) 11 0.1779 0.1779 0.1779 19.52% Amr::checkPoint() 3 0.1357 0.1357 0.1357 14.89% AmrLevel::checkPoint() 3 0.1297 0.1297 0.1297 14.24% StateData::checkPoint() 12 0.1296 0.1296 0.1296 14.23% Amr::init() 1 0.1254 0.1254 0.1254 13.77% MLCellLinOp::smooth() 1640 0.1214 0.1214 0.1214 13.32% MLCellLinOp::applyBC() 4351 0.1121 0.1121 0.1121 12.30% MLMG::mgVcycle_bottom 82 0.08059 0.08059 0.08059 8.85% MLMG::actualBottomSolve() 82 0.08056 0.08056 0.08056 8.84% MLCGSolver::bicgstab 82 0.07981 0.07981 0.07981 8.76% Castro::clean_state() 62 0.05845 0.05845 0.05845 6.42% Amr::initialInit() 1 0.05436 0.05436 0.05436 5.97% Amr::writePlotFile() 2 0.05098 0.05098 0.05098 5.60% Amr::FinalizeInit() 1 0.04927 0.04927 0.04927 5.41% AmrLevel::FillPatch() 41 0.04779 0.04779 0.04779 5.25% Castro::post_init() 1 0.04771 0.04771 0.04771 5.24% Gravity::multilevel_solve_for_new_phi() 1 0.04536 0.04536 0.04536 4.98% Gravity::actual_multilevel_solve() 1 0.04534 0.04534 0.04534 4.98% FillPatchIterator::Initialize 41 0.04353 0.04353 0.04353 4.78% FillPatchIterator::FillFromLevel0() 41 0.04196 0.04196 0.04196 4.61% FillPatchSingleLevel 41 0.04191 0.04191 0.04191 4.60% StateDataPhysBCFunct::() 41 0.03783 0.03783 0.03783 4.15% MLCellLinOp::apply() 1060 0.03622 0.03622 0.03622 3.98% MLMG::mgVcycle_down::0 82 0.03423 0.03423 0.03423 3.76% MLPoisson::Fsmooth() 3280 0.03411 0.03411 0.03411 3.74% FabArray::FillBoundary() 3941 0.03174 0.03174 0.03174 3.48% FillBoundary_nowait() 3941 0.03085 0.03085 0.03085 3.39% StateData::FillBoundary(geom) 328 0.02648 0.02648 0.02648 2.91% MLMG::mgVcycle_up::0 82 0.02585 0.02585 0.02585 2.84% Castro::computeTemp() 63 0.02301 0.02301 0.02301 2.53% Castro::initialize_do_advance() 10 0.02234 0.02234 0.02234 2.45% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.38% MLMG:computeResOfCorrection() 410 0.02034 0.02034 0.02034 2.23% MLCellLinOp::correctionResidual() 410 0.02022 0.02022 0.02022 2.22% FabArray::Saxpy() 1370 0.02014 0.02014 0.02014 2.21% FabArray::norminf() 1061 0.02011 0.02011 0.02011 2.21% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.19% Castro::do_old_sources() 10 0.01843 0.01843 0.01843 2.02% Gravity::get_new_grav_vector() 11 0.01777 0.01777 0.01777 1.95% MLPoisson::define() 11 0.01738 0.01738 0.01738 1.91% MLMG::mgVcycle_down::1 82 0.01676 0.01676 0.01676 1.84% MLMG::mgVcycle_down::2 82 0.01554 0.01554 0.01554 1.71% Castro::construct_old_gravity() 10 0.01529 0.01529 0.01529 1.68% Gravity::get_old_grav_vector() 10 0.01528 0.01528 0.01528 1.68% MLMG::mgVcycle_down::3 82 0.01511 0.01511 0.01511 1.66% MLMG::mgVcycle_down::4 82 0.01502 0.01502 0.01502 1.65% FabArray::ParallelCopy() 861 0.01465 0.01465 0.01465 1.61% Castro::initialize_advance() 10 0.0146 0.0146 0.0146 1.60% FabArray::ParallelCopy_nowait() 861 0.0144 0.0144 0.0144 1.58% Castro::do_new_sources() 10 0.01352 0.01352 0.01352 1.48% FabArray::setVal() 1062 0.01322 0.01322 0.01322 1.45% MLCGSolver::ParallelAllReduce 1832 0.01306 0.01306 0.01306 1.43% MLMG::addInterpCorrection() 410 0.01234 0.01234 0.01234 1.35% Castro::expand_state() 10 0.01217 0.01217 0.01217 1.34% MLMG::mgVcycle_up::1 82 0.01208 0.01208 0.01208 1.33% MLMG::mgVcycle_up::4 82 0.01205 0.01205 0.01205 1.32% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.31% MLMG::mgVcycle_up::2 82 0.01186 0.01186 0.01186 1.30% Castro::enforce_min_density() 62 0.01168 0.01168 0.01168 1.28% MLMG::mgVcycle_up::3 82 0.0116 0.0116 0.0116 1.27% amrex::average_down 410 0.01157 0.01157 0.01157 1.27% amrex::Copy() 472 0.01079 0.01079 0.01079 1.18% Castro::post_timestep() 10 0.01038 0.01038 0.01038 1.14% MLPoisson::Fapply() 1060 0.0103 0.0103 0.0103 1.13% Gravity::fill_multipole_BCs() 11 0.009365 0.009365 0.009365 1.03% FabArray::Xpay() 739 0.007849 0.007849 0.007849 0.86% MLCellLinOp::solutionResidual() 93 0.007656 0.007656 0.007656 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006753 0.006753 0.006753 0.74% Castro::estTimeStep() 21 0.00641 0.00641 0.00641 0.70% MLMG::computeResidual() 82 0.006365 0.006365 0.006365 0.70% MLCellLinOp::defineBC() 11 0.005215 0.005215 0.005215 0.57% MLMG::prepareForSolve() 11 0.005202 0.005202 0.005202 0.57% Amr::InitializeInit() 1 0.005082 0.005082 0.005082 0.56% Amr::defBaseLevel() 1 0.005077 0.005077 0.005077 0.56% BndryData::define() 11 0.004928 0.004928 0.004928 0.54% Castro::enforce_speed_limit() 62 0.004607 0.004607 0.004607 0.51% Castro::initData() 1 0.0044 0.0044 0.0044 0.48% amrex::Add() 82 0.003575 0.003575 0.003575 0.39% Castro::construct_new_source() 50 0.003349 0.003349 0.003349 0.37% Castro::construct_new_gravity_source() 10 0.003302 0.003302 0.003302 0.36% Castro::construct_old_source() 50 0.002837 0.002837 0.002837 0.31% Castro::computeNewDt() 9 0.002832 0.002832 0.002832 0.31% Castro::construct_old_gravity_source() 10 0.002818 0.002818 0.002818 0.31% Castro::finalize_do_advance() 10 0.002522 0.002522 0.002522 0.28% MLMG::ResNormInf() 93 0.00218 0.00218 0.00218 0.24% Castro::apply_source_to_state() 20 0.001874 0.001874 0.001874 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001769 0.001769 0.001769 0.19% MLCellLinOp::setLevelBC() 11 0.001603 0.001603 0.001603 0.18% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% MLMG::getGradSolution() 11 0.001581 0.001581 0.001581 0.17% MLCellLinOp::compGrad() 11 0.001575 0.001575 0.001575 0.17% FabArrayBase::getCPC() 1323 0.00151 0.00151 0.00151 0.17% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLPoisson::prepareForSolve() 11 0.001375 0.001375 0.001375 0.15% MLCellLinOp::prepareForSolve() 11 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.15% MLMG::computeMLResidual() 11 0.001338 0.001338 0.001338 0.15% Castro::check_for_nan() 20 0.001273 0.001273 0.001273 0.14% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.14% Castro::post_regrid() 1 0.001235 0.001235 0.001235 0.14% Castro::computeInitialDt() 2 0.001113 0.001113 0.001113 0.12% Gravity::update_max_rhs() 11 0.0009997 0.0009997 0.0009997 0.11% FabArrayBase::CPC::define() 454 0.0006981 0.0006981 0.0006981 0.08% FabArrayBase::getFB() 3941 0.0006908 0.0006908 0.0006908 0.08% Castro::finalize_advance() 10 0.0006099 0.0006099 0.0006099 0.07% Amr::InitAmr() 1 0.0005994 0.0005994 0.0005994 0.07% Castro::Castro() 1 0.0005917 0.0005917 0.0005917 0.06% Gravity::swapTimeLevels() 10 0.000445 0.000445 0.000445 0.05% MultiFab::max() 11 0.0003314 0.0003314 0.0003314 0.04% MLMG::MLResNormInf() 11 0.0003311 0.0003311 0.0003311 0.04% Castro::buildMetrics() 1 0.0002879 0.0002879 0.0002879 0.03% MLLinOp::define() 11 0.0002382 0.0002382 0.0002382 0.03% MLLinOp::defineGrids() 11 0.0002269 0.0002269 0.0002269 0.02% MLMG::MLRhsNormInf() 11 0.0002213 0.0002213 0.0002213 0.02% Castro::create_source_corrector() 10 0.0001604 0.0001604 0.0001604 0.02% FabArrayBase::FB::FB() 56 8.924e-05 8.924e-05 8.924e-05 0.01% Castro::enforce_consistent_e() 1 6.881e-05 6.881e-05 6.881e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.924e-05 5.924e-05 5.924e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.468e-05 5.468e-05 5.468e-05 0.01% makeSFC 55 4.061e-05 4.061e-05 4.061e-05 0.00% StateData::define() 4 3.966e-05 3.966e-05 3.966e-05 0.00% Castro::swap_state_time_levels() 10 3.541e-05 3.541e-05 3.541e-05 0.00% Castro::initMFs() 1 3.292e-05 3.292e-05 3.292e-05 0.00% Amr::writeSmallPlotFile() 1 3.058e-05 3.058e-05 3.058e-05 0.00% DistributionMapping::Distribute() 56 1.632e-05 1.632e-05 1.632e-05 0.00% Amr::initSubcycle() 1 9.573e-06 9.573e-06 9.573e-06 0.00% AmrLevel::checkPointPost() 3 5.979e-06 5.979e-06 5.979e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.314e-06 4.314e-06 4.314e-06 0.00% Castro::retry_advance_ctu() 10 4.064e-06 4.064e-06 4.064e-06 0.00% Gravity::set_mass_offset() 11 4.059e-06 4.059e-06 4.059e-06 0.00% Castro::FluxRegCrseInit 10 2.88e-06 2.88e-06 2.88e-06 0.00% AmrLevel::checkPointPre() 3 2.277e-06 2.277e-06 2.277e-06 0.00% Castro::FluxRegFineAdd() 10 2.183e-06 2.183e-06 2.183e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.041e-06 2.041e-06 2.041e-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 87 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1027 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1562 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3643 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2116 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 333 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 3433 B 480 KiB VisMF::Write(FabArray) 656 656 3413 B 320 KiB Castro::normalize_species() 62 62 7145 B 320 KiB amrex::average_down 1067 1067 1254 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1146 B 257 KiB amrex::Dot() 1360 1360 3521 B 160 KiB FabArray::norminf() 1143 1143 3407 B 160 KiB check_for_negative_density() 10 10 312 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3558 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 375 B 1248 B MLCGSolver::bicgstab 410 410 105 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 587 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 426 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3558 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 4351 4351 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 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 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 28 B 400 B FabArray::norminf() 1143 1143 11 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): 2189 [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 (24.01-3-g656bb64515bd) finalized Initializing AMReX (24.01-3-g656bb64515bd)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-3-g656bb64515bd) initialized Starting run at 10:25:30 UTC on 2024-01-10. Successfully read inputs file ... Castro git describe: 24.01-5-g92138399c AMReX git describe: 24.01-3-g656bb6451 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.501915292 Restart time = 0.073009171 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.07114351 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.070409804 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.079595171 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.067030382 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.075153957 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029150252 seconds Ending run at 10:25:31 UTC on 2024-01-10. Run time = 0.466640515 Run time without initialization = 0.392951953 Average number of zones advanced per microsecond: 3.336 Average number of zones advanced per microsecond per rank: 3.336 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4667 ... 0.4667 ... 0.4667 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1619 0.1619 0.1619 34.69% VisMF::Read() 3 0.06134 0.06134 0.06134 13.14% MLCellLinOp::applyBC() 1910 0.03596 0.03596 0.03596 7.70% VisMF::Write(FabArray) 1 0.0265 0.0265 0.0265 5.68% FabArray::norminf() 465 0.01592 0.01592 0.01592 3.41% MLPoisson::Fsmooth() 1440 0.01508 0.01508 0.01508 3.23% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 2.83% FillBoundary_nowait() 1730 0.01302 0.01302 0.01302 2.79% amrex::Dot() 484 0.009451 0.009451 0.009451 2.03% Castro::normalize_species() 30 0.009198 0.009198 0.009198 1.97% Castro::computeTemp() 30 0.007322 0.007322 0.007322 1.57% FabArray::setVal() 501 0.00655 0.00655 0.00655 1.40% FabArray::ParallelCopy_nowait() 380 0.006268 0.006268 0.006268 1.34% Castro::enforce_min_density() 30 0.005965 0.005965 0.005965 1.28% FabArray::Saxpy() 597 0.005912 0.005912 0.005912 1.27% MLCellLinOp::defineAuxData() 6 0.005829 0.005829 0.005829 1.25% Gravity::fill_multipole_BCs() 6 0.005528 0.005528 0.005528 1.18% amrex::Copy() 221 0.005462 0.005462 0.005462 1.17% Amr::restart() 1 0.004898 0.004898 0.004898 1.05% StateDataPhysBCFunct::() 20 0.004801 0.004801 0.004801 1.03% MLPoisson::Fapply() 464 0.004558 0.004558 0.004558 0.98% FabArray::Xpay() 325 0.003478 0.003478 0.003478 0.75% MLMG::addInterpCorrection() 180 0.003254 0.003254 0.003254 0.70% Castro::estTimeStep() 10 0.002984 0.002984 0.002984 0.64% amrex::average_down 180 0.002835 0.002835 0.002835 0.61% Amr::writePlotFile() 1 0.002495 0.002495 0.002495 0.53% BndryData::define() 6 0.002185 0.002185 0.002185 0.47% Castro::reset_internal_energy(MultiFab) 30 0.002044 0.002044 0.002044 0.44% Castro::enforce_speed_limit() 30 0.001781 0.001781 0.001781 0.38% Castro::construct_new_gravity_source() 5 0.001702 0.001702 0.001702 0.36% amrex::Add() 36 0.001536 0.001536 0.001536 0.33% Castro::construct_old_gravity_source() 5 0.001382 0.001382 0.001382 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009832 0.0009832 0.0009832 0.21% check_for_negative_density() 5 0.0009376 0.0009376 0.0009376 0.20% Gravity::actual_solve_with_mlmg() 6 0.0009154 0.0009154 0.0009154 0.20% MLCellLinOp::setLevelBC() 6 0.0008865 0.0008865 0.0008865 0.19% MLCGSolver::bicgstab 36 0.0007836 0.0007836 0.0007836 0.17% Castro::reset_internal_energy(Fab) 240 0.000778 0.000778 0.000778 0.17% MLCellLinOp::prepareForSolve() 6 0.0007713 0.0007713 0.0007713 0.17% FabArray::mult() 22 0.0006892 0.0006892 0.0006892 0.15% FabArray::setDomainBndry() 20 0.0006863 0.0006863 0.0006863 0.15% MultiFab::contains_nan() 10 0.0006572 0.0006572 0.0006572 0.14% MLCellLinOp::compGrad() 6 0.0006243 0.0006243 0.0006243 0.13% MLMG::prepareForSolve() 6 0.000573 0.000573 0.000573 0.12% MLCellLinOp::smooth() 720 0.0005183 0.0005183 0.0005183 0.11% Amr::InitAmr() 1 0.0004789 0.0004789 0.0004789 0.10% FabArrayBase::CPC::define() 244 0.000424 0.000424 0.000424 0.09% FabArrayBase::getCPC() 632 0.0003987 0.0003987 0.0003987 0.09% FabArray::FillBoundary() 1730 0.000387 0.000387 0.000387 0.08% Gravity::get_old_grav_vector() 5 0.0003221 0.0003221 0.0003221 0.07% main() 1 0.0002922 0.0002922 0.0002922 0.06% FabArrayBase::getFB() 1730 0.0002733 0.0002733 0.0002733 0.06% Gravity::get_new_grav_vector() 5 0.0002718 0.0002718 0.0002718 0.06% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% AmrLevel::FillPatch() 20 0.0002033 0.0002033 0.0002033 0.04% MLCellLinOp::apply() 464 0.0001865 0.0001865 0.0001865 0.04% MLCGSolver::ParallelAllReduce 798 0.0001846 0.0001846 0.0001846 0.04% Amr::coarseTimeStep() 5 0.000184 0.000184 0.000184 0.04% MLCellLinOp::defineBC() 6 0.0001639 0.0001639 0.0001639 0.04% FabArray::ParallelCopy() 380 0.0001121 0.0001121 0.0001121 0.02% FillPatchIterator::Initialize 20 0.0001085 0.0001085 0.0001085 0.02% Castro::construct_new_source() 25 0.0001082 0.0001082 0.0001082 0.02% Castro::subcycle_advance_ctu() 5 0.000102 0.000102 0.000102 0.02% MLLinOp::defineGrids() 6 9.972e-05 9.972e-05 9.972e-05 0.02% MLMG::mgVcycle() 36 9.625e-05 9.625e-05 9.625e-05 0.02% Amr::timeStep() 5 9.04e-05 9.04e-05 9.04e-05 0.02% Castro::create_source_corrector() 5 8.758e-05 8.758e-05 8.758e-05 0.02% AmrLevel::restart() 1 8.069e-05 8.069e-05 8.069e-05 0.02% MLCellLinOp::correctionResidual() 180 7.735e-05 7.735e-05 7.735e-05 0.02% StateData::restartDoit() 4 6.865e-05 6.865e-05 6.865e-05 0.01% Castro::initialize_do_advance() 5 6.791e-05 6.791e-05 6.791e-05 0.01% Gravity::update_max_rhs() 6 6.73e-05 6.73e-05 6.73e-05 0.01% FabArrayBase::FB::FB() 26 6.184e-05 6.184e-05 6.184e-05 0.01% Castro::initialize_advance() 5 6.01e-05 6.01e-05 6.01e-05 0.01% Castro::advance() 5 5.841e-05 5.841e-05 5.841e-05 0.01% Gravity::solve_for_phi() 5 5.731e-05 5.731e-05 5.731e-05 0.01% MLMG:computeResOfCorrection() 180 5.702e-05 5.702e-05 5.702e-05 0.01% MLMG::mgVcycle_down::0 36 4.652e-05 4.652e-05 4.652e-05 0.01% Castro::finalize_do_advance() 5 4.456e-05 4.456e-05 4.456e-05 0.01% Castro::do_advance_ctu() 5 4.362e-05 4.362e-05 4.362e-05 0.01% MLMG::actualBottomSolve() 36 4.272e-05 4.272e-05 4.272e-05 0.01% MLMG::mgVcycle_down::1 36 3.909e-05 3.909e-05 3.909e-05 0.01% MLMG::mgVcycle_down::2 36 3.688e-05 3.688e-05 3.688e-05 0.01% MLMG::solve() 6 3.589e-05 3.589e-05 3.589e-05 0.01% Amr::writeSmallPlotFile() 1 3.53e-05 3.53e-05 3.53e-05 0.01% MLMG::mgVcycle_down::4 36 3.505e-05 3.505e-05 3.505e-05 0.01% Castro::finalize_advance() 5 3.451e-05 3.451e-05 3.451e-05 0.01% MLMG::mgVcycle_down::3 36 3.404e-05 3.404e-05 3.404e-05 0.01% MLMG::mgVcycle_up::4 36 3.33e-05 3.33e-05 3.33e-05 0.01% Castro::clean_state() 30 3.157e-05 3.157e-05 3.157e-05 0.01% Castro::do_new_sources() 5 3.091e-05 3.091e-05 3.091e-05 0.01% Castro::post_restart() 1 3.044e-05 3.044e-05 3.044e-05 0.01% Castro::buildMetrics() 1 2.929e-05 2.929e-05 2.929e-05 0.01% Castro::construct_old_source() 25 2.867e-05 2.867e-05 2.867e-05 0.01% MLMG::oneIter() 36 2.515e-05 2.515e-05 2.515e-05 0.01% Castro::swap_state_time_levels() 5 2.51e-05 2.51e-05 2.51e-05 0.01% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.01% MLMG::mgVcycle_up::3 36 2.333e-05 2.333e-05 2.333e-05 0.01% MLMG::mgVcycle_up::0 36 2.332e-05 2.332e-05 2.332e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.301e-05 2.301e-05 2.301e-05 0.00% Castro::do_old_sources() 5 2.255e-05 2.255e-05 2.255e-05 0.00% MLCellLinOp::solutionResidual() 42 2.251e-05 2.251e-05 2.251e-05 0.00% MLMG::mgVcycle_up::2 36 2.063e-05 2.063e-05 2.063e-05 0.00% MLMG::mgVcycle_up::1 36 2.006e-05 2.006e-05 2.006e-05 0.00% MLMG::ResNormInf() 42 1.9e-05 1.9e-05 1.9e-05 0.00% Castro::construct_new_gravity() 5 1.662e-05 1.662e-05 1.662e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.659e-05 1.659e-05 1.659e-05 0.00% MLMG::mgVcycle_bottom 36 1.612e-05 1.612e-05 1.612e-05 0.00% FillPatchSingleLevel 20 1.537e-05 1.537e-05 1.537e-05 0.00% makeSFC 30 1.51e-05 1.51e-05 1.51e-05 0.00% MLPoisson::define() 6 1.508e-05 1.508e-05 1.508e-05 0.00% MLMG::computeResidual() 36 1.471e-05 1.471e-05 1.471e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.351e-05 1.351e-05 1.351e-05 0.00% DistributionMapping::Distribute() 31 1.047e-05 1.047e-05 1.047e-05 0.00% MLMG::computeMLResidual() 6 9.429e-06 9.429e-06 9.429e-06 0.00% Amr::initSubcycle() 1 9.216e-06 9.216e-06 9.216e-06 0.00% MLPoisson::prepareForSolve() 6 9.093e-06 9.093e-06 9.093e-06 0.00% Gravity::actual_multilevel_solve() 1 8.211e-06 8.211e-06 8.211e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.488e-06 7.488e-06 7.488e-06 0.00% MLLinOp::define() 6 6.586e-06 6.586e-06 6.586e-06 0.00% Castro::construct_old_gravity() 5 6.259e-06 6.259e-06 6.259e-06 0.00% Castro::apply_source_to_state() 10 6.11e-06 6.11e-06 6.11e-06 0.00% Castro::check_for_nan() 10 5.81e-06 5.81e-06 5.81e-06 0.00% Castro::post_timestep() 5 4.628e-06 4.628e-06 4.628e-06 0.00% Gravity::swapTimeLevels() 5 4.16e-06 4.16e-06 4.16e-06 0.00% MLMG::getGradSolution() 6 3.539e-06 3.539e-06 3.539e-06 0.00% Castro::computeNewDt() 5 3.378e-06 3.378e-06 3.378e-06 0.00% Castro::expand_state() 5 3.333e-06 3.333e-06 3.333e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.24e-06 3.24e-06 3.24e-06 0.00% MLMG::MLResNormInf() 6 2.45e-06 2.45e-06 2.45e-06 0.00% MLMG::MLRhsNormInf() 6 2.38e-06 2.38e-06 2.38e-06 0.00% Gravity::set_mass_offset() 6 2.048e-06 2.048e-06 2.048e-06 0.00% Castro::retry_advance_ctu() 5 2.031e-06 2.031e-06 2.031e-06 0.00% Castro::FluxRegCrseInit 5 1.581e-06 1.581e-06 1.581e-06 0.00% Amr::init() 1 1.246e-06 1.246e-06 1.246e-06 0.00% Castro::FluxRegFineAdd() 5 1.186e-06 1.186e-06 1.186e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.096e-06 1.096e-06 1.096e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4667 0.4667 0.4667 99.99% Amr::coarseTimeStep() 5 0.3635 0.3635 0.3635 77.89% Amr::timeStep() 5 0.3616 0.3616 0.3616 77.48% Castro::advance() 5 0.3557 0.3557 0.3557 76.21% Castro::subcycle_advance_ctu() 5 0.348 0.348 0.348 74.57% Castro::do_advance_ctu() 5 0.3479 0.3479 0.3479 74.55% Castro::construct_ctu_hydro_source() 5 0.1673 0.1673 0.1673 35.85% Castro::construct_new_gravity() 5 0.1448 0.1448 0.1448 31.02% Gravity::solve_phi_with_mlmg() 6 0.1424 0.1424 0.1424 30.51% Gravity::solve_for_phi() 5 0.1367 0.1367 0.1367 29.29% Gravity::actual_solve_with_mlmg() 6 0.1366 0.1366 0.1366 29.27% MLMG::solve() 6 0.1242 0.1242 0.1242 26.61% MLMG::oneIter() 36 0.1165 0.1165 0.1165 24.96% MLMG::mgVcycle() 36 0.1149 0.1149 0.1149 24.62% Amr::init() 1 0.07308 0.07308 0.07308 15.66% Amr::restart() 1 0.07308 0.07308 0.07308 15.66% AmrLevel::restart() 1 0.0617 0.0617 0.0617 13.22% StateData::restartDoit() 4 0.06162 0.06162 0.06162 13.20% VisMF::Read() 3 0.06134 0.06134 0.06134 13.14% MLCellLinOp::smooth() 720 0.05349 0.05349 0.05349 11.46% MLCellLinOp::applyBC() 1910 0.0497 0.0497 0.0497 10.65% MLMG::mgVcycle_bottom 36 0.0395 0.0395 0.0395 8.46% MLMG::actualBottomSolve() 36 0.03948 0.03948 0.03948 8.46% MLCGSolver::bicgstab 36 0.03915 0.03915 0.03915 8.39% Amr::writePlotFile() 1 0.02925 0.02925 0.02925 6.27% Castro::clean_state() 30 0.02712 0.02712 0.02712 5.81% VisMF::Write(FabArray) 1 0.0265 0.0265 0.0265 5.68% AmrLevel::FillPatch() 20 0.02297 0.02297 0.02297 4.92% FillPatchIterator::Initialize 20 0.02088 0.02088 0.02088 4.47% FillPatchIterator::FillFromLevel0() 20 0.02008 0.02008 0.02008 4.30% FillPatchSingleLevel 20 0.02006 0.02006 0.02006 4.30% StateDataPhysBCFunct::() 20 0.018 0.018 0.018 3.86% MLCellLinOp::apply() 464 0.01627 0.01627 0.01627 3.49% FabArray::norminf() 465 0.01592 0.01592 0.01592 3.41% MLPoisson::Fsmooth() 1440 0.01508 0.01508 0.01508 3.23% MLMG::mgVcycle_down::0 36 0.01505 0.01505 0.01505 3.22% FabArray::FillBoundary() 1730 0.01374 0.01374 0.01374 2.94% FillBoundary_nowait() 1730 0.01335 0.01335 0.01335 2.86% StateData::FillBoundary(geom) 160 0.01319 0.01319 0.01319 2.83% MLMG::mgVcycle_up::0 36 0.01139 0.01139 0.01139 2.44% Castro::initialize_do_advance() 5 0.01082 0.01082 0.01082 2.32% Castro::computeTemp() 30 0.01014 0.01014 0.01014 2.17% MLPoisson::define() 6 0.009723 0.009723 0.009723 2.08% amrex::Dot() 484 0.009451 0.009451 0.009451 2.03% Castro::do_old_sources() 5 0.009242 0.009242 0.009242 1.98% Castro::normalize_species() 30 0.009198 0.009198 0.009198 1.97% MLMG:computeResOfCorrection() 180 0.008973 0.008973 0.008973 1.92% MLCellLinOp::correctionResidual() 180 0.008916 0.008916 0.008916 1.91% Gravity::get_new_grav_vector() 5 0.00796 0.00796 0.00796 1.71% Castro::construct_old_gravity() 5 0.007757 0.007757 0.007757 1.66% Gravity::get_old_grav_vector() 5 0.007751 0.007751 0.007751 1.66% MLMG::mgVcycle_down::1 36 0.00751 0.00751 0.00751 1.61% Castro::initialize_advance() 5 0.007282 0.007282 0.007282 1.56% MLMG::mgVcycle_down::2 36 0.006875 0.006875 0.006875 1.47% FabArray::ParallelCopy() 380 0.006794 0.006794 0.006794 1.46% MLMG::mgVcycle_down::3 36 0.006701 0.006701 0.006701 1.44% FabArray::ParallelCopy_nowait() 380 0.006682 0.006682 0.006682 1.43% MLMG::mgVcycle_down::4 36 0.006644 0.006644 0.006644 1.42% MLCellLinOp::defineAuxData() 6 0.006622 0.006622 0.006622 1.42% FabArray::setVal() 501 0.00655 0.00655 0.00655 1.40% Castro::post_restart() 1 0.006297 0.006297 0.006297 1.35% Castro::do_new_sources() 5 0.006231 0.006231 0.006231 1.34% Castro::enforce_min_density() 30 0.005965 0.005965 0.005965 1.28% Castro::expand_state() 5 0.00592 0.00592 0.00592 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005913 0.005913 0.005913 1.27% FabArray::Saxpy() 597 0.005912 0.005912 0.005912 1.27% Gravity::actual_multilevel_solve() 1 0.005896 0.005896 0.005896 1.26% Castro::post_timestep() 5 0.005802 0.005802 0.005802 1.24% MLCGSolver::ParallelAllReduce 798 0.005782 0.005782 0.005782 1.24% Gravity::fill_multipole_BCs() 6 0.005653 0.005653 0.005653 1.21% MLMG::addInterpCorrection() 180 0.005627 0.005627 0.005627 1.21% amrex::Copy() 221 0.005462 0.005462 0.005462 1.17% MLMG::mgVcycle_up::4 36 0.005381 0.005381 0.005381 1.15% MLMG::mgVcycle_up::1 36 0.005373 0.005373 0.005373 1.15% MLMG::mgVcycle_up::2 36 0.005234 0.005234 0.005234 1.12% amrex::average_down 180 0.005207 0.005207 0.005207 1.12% MLMG::mgVcycle_up::3 36 0.00516 0.00516 0.00516 1.11% MLPoisson::Fapply() 464 0.004558 0.004558 0.004558 0.98% MLCellLinOp::solutionResidual() 42 0.003597 0.003597 0.003597 0.77% FabArray::Xpay() 325 0.003478 0.003478 0.003478 0.75% Castro::estTimeStep() 10 0.002984 0.002984 0.002984 0.64% MLCellLinOp::defineBC() 6 0.002947 0.002947 0.002947 0.63% MLMG::prepareForSolve() 6 0.002929 0.002929 0.002929 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002822 0.002822 0.002822 0.60% MLMG::computeResidual() 36 0.002818 0.002818 0.002818 0.60% BndryData::define() 6 0.002783 0.002783 0.002783 0.60% Castro::construct_new_source() 25 0.001811 0.001811 0.001811 0.39% Castro::enforce_speed_limit() 30 0.001781 0.001781 0.001781 0.38% Castro::computeNewDt() 5 0.001764 0.001764 0.001764 0.38% Castro::construct_new_gravity_source() 5 0.001702 0.001702 0.001702 0.36% amrex::Add() 36 0.001536 0.001536 0.001536 0.33% Castro::construct_old_source() 25 0.00141 0.00141 0.00141 0.30% Castro::construct_old_gravity_source() 5 0.001382 0.001382 0.001382 0.30% Castro::finalize_do_advance() 5 0.001268 0.001268 0.001268 0.27% MLMG::ResNormInf() 42 0.0009878 0.0009878 0.0009878 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009832 0.0009832 0.0009832 0.21% Castro::apply_source_to_state() 10 0.000963 0.000963 0.000963 0.21% check_for_negative_density() 5 0.0009376 0.0009376 0.0009376 0.20% MLMG::getGradSolution() 6 0.0009146 0.0009146 0.0009146 0.20% MLCellLinOp::compGrad() 6 0.000911 0.000911 0.000911 0.20% MLCellLinOp::setLevelBC() 6 0.0008865 0.0008865 0.0008865 0.19% FabArrayBase::getCPC() 632 0.0008226 0.0008226 0.0008226 0.18% MLMG::computeMLResidual() 6 0.0008026 0.0008026 0.0008026 0.17% MLPoisson::prepareForSolve() 6 0.0007804 0.0007804 0.0007804 0.17% Castro::reset_internal_energy(Fab) 240 0.000778 0.000778 0.000778 0.17% MLCellLinOp::prepareForSolve() 6 0.0007713 0.0007713 0.0007713 0.17% Gravity::update_max_rhs() 6 0.0007338 0.0007338 0.0007338 0.16% FabArray::mult() 22 0.0006892 0.0006892 0.0006892 0.15% FabArray::setDomainBndry() 20 0.0006863 0.0006863 0.0006863 0.15% Castro::check_for_nan() 10 0.000663 0.000663 0.000663 0.14% MultiFab::contains_nan() 10 0.0006572 0.0006572 0.0006572 0.14% Amr::InitAmr() 1 0.0004882 0.0004882 0.0004882 0.10% FabArrayBase::CPC::define() 244 0.000424 0.000424 0.000424 0.09% FabArrayBase::getFB() 1730 0.0003351 0.0003351 0.0003351 0.07% Castro::finalize_advance() 5 0.0003075 0.0003075 0.0003075 0.07% Gravity::swapTimeLevels() 5 0.0002344 0.0002344 0.0002344 0.05% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% MLMG::MLResNormInf() 6 0.0001899 0.0001899 0.0001899 0.04% Castro::buildMetrics() 1 0.0001531 0.0001531 0.0001531 0.03% MLLinOp::define() 6 0.0001391 0.0001391 0.0001391 0.03% MLLinOp::defineGrids() 6 0.0001325 0.0001325 0.0001325 0.03% MLMG::MLRhsNormInf() 6 0.0001197 0.0001197 0.0001197 0.03% Castro::create_source_corrector() 5 8.758e-05 8.758e-05 8.758e-05 0.02% FabArrayBase::FB::FB() 26 6.184e-05 6.184e-05 6.184e-05 0.01% Amr::writeSmallPlotFile() 1 3.53e-05 3.53e-05 3.53e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.167e-05 3.167e-05 3.167e-05 0.01% Castro::swap_state_time_levels() 5 2.51e-05 2.51e-05 2.51e-05 0.01% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.01% makeSFC 30 2.418e-05 2.418e-05 2.418e-05 0.01% DistributionMapping::Distribute() 31 1.047e-05 1.047e-05 1.047e-05 0.00% Amr::initSubcycle() 1 9.216e-06 9.216e-06 9.216e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.632e-06 4.632e-06 4.632e-06 0.00% Gravity::set_mass_offset() 6 2.048e-06 2.048e-06 2.048e-06 0.00% Castro::retry_advance_ctu() 5 2.031e-06 2.031e-06 2.031e-06 0.00% Castro::FluxRegCrseInit 5 1.581e-06 1.581e-06 1.581e-06 0.00% Castro::FluxRegFineAdd() 5 1.186e-06 1.186e-06 1.186e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.096e-06 1.096e-06 1.096e-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 182 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 972 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1674 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6484 KiB 14 MiB MLMG::prepareForSolve() 361 361 3266 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 172 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6471 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3124 B 2048 KiB Gravity::solve_for_phi() 40 40 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3030 B 480 KiB VisMF::Write(FabArray) 112 112 2198 B 320 KiB Castro::normalize_species() 30 30 6414 B 320 KiB amrex::average_down 469 469 1088 B 257 KiB MLMG::addInterpCorrection() 468 468 1012 B 257 KiB amrex::Dot() 592 592 2982 B 160 KiB FabArray::norminf() 501 501 5398 B 160 KiB check_for_negative_density() 5 5 322 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3171 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 241 B 9648 B MLCellLinOp::applyBC() 3820 3820 189 B 9344 B amrex::Copy() 56 56 5617 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 338 B 1248 B MLCGSolver::bicgstab 180 180 101 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1130 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 148 KiB 3584 KiB VisMF::Read() 24 24 196 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3171 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 241 B 9648 B MLCellLinOp::applyBC() 1910 1910 188 B 9328 B amrex::Copy() 56 56 5617 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2548 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 35 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 501 B 1296 B amrex::average_down 37 37 205 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 501 501 10 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): 2189 [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 (24.01-3-g656bb64515bd) finalized