Initializing AMReX (v2024-48-g47347f785f5c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-48-g47347f785f5c) initialized Starting run at 09:12:30 UTC on 2024-04-01. Successfully read inputs file ... Castro git describe: 24.03-38-gcd731a3af AMReX git describe: v2024-48-g47347f785 Microphysics git describe: 24.03-23-g3112c13a 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.04364119 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024182765 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.072898549 [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.048986608 [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.072475296 [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.083500866 [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.060500737 [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.043416268 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.053992633 [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.072993249 [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.075767408 [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.063826857 [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.063758205 [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.041923232 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024105592 seconds Ending run at 09:12:31 UTC on 2024-04-01. Run time = 0.901314437 Run time without initialization = 0.77880274 Average number of zones advanced per microsecond: 3.366 Average number of zones advanced per microsecond per rank: 3.366 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9013 ... 0.9013 ... 0.9013 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2877 0.2877 0.2877 31.92% VisMF::Write(FabArray) 11 0.1687 0.1687 0.1687 18.71% MLCellLinOp::applyBC() 4351 0.08032 0.08032 0.08032 8.91% MLPoisson::Fsmooth() 3280 0.03305 0.03305 0.03305 3.67% FillBoundary_nowait() 3941 0.03126 0.03126 0.03126 3.47% StateData::FillBoundary(geom) 328 0.02689 0.02689 0.02689 2.98% amrex::Dot() 1114 0.02088 0.02088 0.02088 2.32% FabArray::setVal() 1062 0.0199 0.0199 0.0199 2.21% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.17% Castro::normalize_species() 62 0.01857 0.01857 0.01857 2.06% Castro::computeTemp() 63 0.01402 0.01402 0.01402 1.56% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.51% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.43% StateDataPhysBCFunct::() 41 0.01252 0.01252 0.01252 1.39% Castro::enforce_min_density() 62 0.01087 0.01087 0.01087 1.21% amrex::Copy() 472 0.01084 0.01084 0.01084 1.20% MLCellLinOp::defineAuxData() 11 0.0101 0.0101 0.0101 1.12% MLPoisson::Fapply() 1060 0.0101 0.0101 0.0101 1.12% Gravity::fill_multipole_BCs() 11 0.009331 0.009331 0.009331 1.04% FabArray::Xpay() 739 0.007756 0.007756 0.007756 0.86% MLMG::addInterpCorrection() 410 0.006997 0.006997 0.006997 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006245 0.006245 0.006245 0.69% amrex::average_down 410 0.006175 0.006175 0.006175 0.69% Amr::checkPoint() 3 0.006004 0.006004 0.006004 0.67% Castro::estTimeStep() 21 0.005849 0.005849 0.005849 0.65% Castro::enforce_speed_limit() 62 0.00411 0.00411 0.00411 0.46% BndryData::define() 11 0.003904 0.003904 0.003904 0.43% amrex::Add() 82 0.00366 0.00366 0.00366 0.41% Castro::construct_new_gravity_source() 10 0.003564 0.003564 0.003564 0.40% Castro::construct_old_gravity_source() 10 0.002929 0.002929 0.002929 0.32% Amr::writePlotFile() 2 0.002122 0.002122 0.002122 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001741 0.001741 0.001741 0.19% Castro::reset_internal_energy(Fab) 504 0.001655 0.001655 0.001655 0.18% MLCGSolver::bicgstab 82 0.001619 0.001619 0.001619 0.18% check_for_negative_density() 10 0.001576 0.001576 0.001576 0.17% Gravity::actual_solve_with_mlmg() 11 0.001556 0.001556 0.001556 0.17% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% Castro::initData() 1 0.001482 0.001482 0.001482 0.16% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLCellLinOp::prepareForSolve() 11 0.001276 0.001276 0.001276 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLCellLinOp::compGrad() 11 0.001069 0.001069 0.001069 0.12% MLCellLinOp::smooth() 1640 0.001057 0.001057 0.001057 0.12% MLMG::prepareForSolve() 11 0.0009475 0.0009475 0.0009475 0.11% FabArray::FillBoundary() 3941 0.0007831 0.0007831 0.0007831 0.09% FabArrayBase::getCPC() 1323 0.0007812 0.0007812 0.0007812 0.09% FabArrayBase::getFB() 3941 0.000748 0.000748 0.000748 0.08% FabArrayBase::CPC::define() 454 0.0006803 0.0006803 0.0006803 0.08% Gravity::get_new_grav_vector() 11 0.0006141 0.0006141 0.0006141 0.07% Amr::InitAmr() 1 0.0005354 0.0005354 0.0005354 0.06% Gravity::get_old_grav_vector() 10 0.0004827 0.0004827 0.0004827 0.05% AmrLevel::FillPatch() 41 0.0004217 0.0004217 0.0004217 0.05% MLCellLinOp::apply() 1060 0.0003977 0.0003977 0.0003977 0.04% Amr::coarseTimeStep() 10 0.0003639 0.0003639 0.0003639 0.04% MultiFab::max() 11 0.0003315 0.0003315 0.0003315 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003192 0.0003192 0.0003192 0.04% main() 1 0.0002734 0.0002734 0.0002734 0.03% MLCellLinOp::defineBC() 11 0.0002584 0.0002584 0.0002584 0.03% FabArray::ParallelCopy() 861 0.0002381 0.0002381 0.0002381 0.03% FillPatchIterator::Initialize 41 0.0002183 0.0002183 0.0002183 0.02% MLMG::mgVcycle() 82 0.0002022 0.0002022 0.0002022 0.02% Castro::subcycle_advance_ctu() 10 0.0001833 0.0001833 0.0001833 0.02% MLCellLinOp::correctionResidual() 410 0.0001832 0.0001832 0.0001832 0.02% MLLinOp::defineGrids() 11 0.0001733 0.0001733 0.0001733 0.02% Amr::timeStep() 10 0.0001562 0.0001562 0.0001562 0.02% Castro::create_source_corrector() 10 0.0001459 0.0001459 0.0001459 0.02% Gravity::update_max_rhs() 11 0.0001291 0.0001291 0.0001291 0.01% MLMG:computeResOfCorrection() 410 0.0001167 0.0001167 0.0001167 0.01% Gravity::solve_for_phi() 10 0.0001142 0.0001142 0.0001142 0.01% StateData::checkPoint() 12 0.0001141 0.0001141 0.0001141 0.01% MLMG::mgVcycle_down::0 82 9.334e-05 9.334e-05 9.334e-05 0.01% MLMG::actualBottomSolve() 82 8.839e-05 8.839e-05 8.839e-05 0.01% Castro::Castro() 1 8.688e-05 8.688e-05 8.688e-05 0.01% FabArrayBase::FB::FB() 56 8.544e-05 8.544e-05 8.544e-05 0.01% Castro::initialize_advance() 10 8.083e-05 8.083e-05 8.083e-05 0.01% Castro::clean_state() 62 7.533e-05 7.533e-05 7.533e-05 0.01% MLMG::mgVcycle_down::2 82 7.178e-05 7.178e-05 7.178e-05 0.01% MLMG::mgVcycle_down::1 82 7.104e-05 7.104e-05 7.104e-05 0.01% MLMG::solve() 11 7.039e-05 7.039e-05 7.039e-05 0.01% MLMG::mgVcycle_down::4 82 6.975e-05 6.975e-05 6.975e-05 0.01% Castro::enforce_consistent_e() 1 6.826e-05 6.826e-05 6.826e-05 0.01% Castro::post_timestep() 10 6.824e-05 6.824e-05 6.824e-05 0.01% Castro::advance() 10 6.787e-05 6.787e-05 6.787e-05 0.01% MLMG::mgVcycle_down::3 82 6.486e-05 6.486e-05 6.486e-05 0.01% Castro::finalize_advance() 10 6.384e-05 6.384e-05 6.384e-05 0.01% AmrLevel::checkPoint() 3 6.182e-05 6.182e-05 6.182e-05 0.01% Castro::initialize_do_advance() 10 6.093e-05 6.093e-05 6.093e-05 0.01% MLMG::mgVcycle_up::4 82 5.593e-05 5.593e-05 5.593e-05 0.01% MLCellLinOp::solutionResidual() 93 5.377e-05 5.377e-05 5.377e-05 0.01% MLMG::mgVcycle_up::0 82 5.183e-05 5.183e-05 5.183e-05 0.01% MLMG::oneIter() 82 5.041e-05 5.041e-05 5.041e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.002e-05 5.002e-05 5.002e-05 0.01% MLMG::mgVcycle_up::3 82 4.901e-05 4.901e-05 4.901e-05 0.01% Castro::construct_new_source() 50 4.859e-05 4.859e-05 4.859e-05 0.01% Castro::do_new_sources() 10 4.816e-05 4.816e-05 4.816e-05 0.01% MLMG::mgVcycle_up::1 82 4.753e-05 4.753e-05 4.753e-05 0.01% MLMG::mgVcycle_up::2 82 4.63e-05 4.63e-05 4.63e-05 0.01% Castro::do_advance_ctu() 10 4.523e-05 4.523e-05 4.523e-05 0.01% Castro::finalize_do_advance() 10 4.424e-05 4.424e-05 4.424e-05 0.00% StateData::define() 4 4.206e-05 4.206e-05 4.206e-05 0.00% Castro::swap_state_time_levels() 10 3.825e-05 3.825e-05 3.825e-05 0.00% FillPatchSingleLevel 41 3.589e-05 3.589e-05 3.589e-05 0.00% Amr::defBaseLevel() 1 3.438e-05 3.438e-05 3.438e-05 0.00% MLMG::ResNormInf() 93 3.363e-05 3.363e-05 3.363e-05 0.00% Amr::writeSmallPlotFile() 1 3.141e-05 3.141e-05 3.141e-05 0.00% MLMG::computeResidual() 82 3.096e-05 3.096e-05 3.096e-05 0.00% MLMG::mgVcycle_bottom 82 3.026e-05 3.026e-05 3.026e-05 0.00% Castro::initMFs() 1 2.909e-05 2.909e-05 2.909e-05 0.00% Castro::buildMetrics() 1 2.489e-05 2.489e-05 2.489e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.485e-05 2.485e-05 2.485e-05 0.00% makeSFC 55 2.432e-05 2.432e-05 2.432e-05 0.00% Castro::construct_new_gravity() 10 2.299e-05 2.299e-05 2.299e-05 0.00% Castro::do_old_sources() 10 2.262e-05 2.262e-05 2.262e-05 0.00% MLPoisson::define() 11 1.927e-05 1.927e-05 1.927e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::construct_old_source() 50 1.859e-05 1.859e-05 1.859e-05 0.00% Amr::FinalizeInit() 1 1.773e-05 1.773e-05 1.773e-05 0.00% DistributionMapping::Distribute() 56 1.493e-05 1.493e-05 1.493e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.488e-05 1.488e-05 1.488e-05 0.00% MLPoisson::prepareForSolve() 11 1.396e-05 1.396e-05 1.396e-05 0.00% Castro::apply_source_to_state() 20 1.351e-05 1.351e-05 1.351e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.277e-05 1.277e-05 1.277e-05 0.00% MLLinOp::define() 11 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::check_for_nan() 20 1.167e-05 1.167e-05 1.167e-05 0.00% Amr::initSubcycle() 1 1.024e-05 1.024e-05 1.024e-05 0.00% Castro::construct_old_gravity() 10 9.886e-06 9.886e-06 9.886e-06 0.00% Castro::post_init() 1 9.145e-06 9.145e-06 9.145e-06 0.00% Gravity::swapTimeLevels() 10 8.774e-06 8.774e-06 8.774e-06 0.00% MLMG::computeMLResidual() 11 8.165e-06 8.165e-06 8.165e-06 0.00% Gravity::actual_multilevel_solve() 1 7.815e-06 7.815e-06 7.815e-06 0.00% Castro::computeNewDt() 9 7.136e-06 7.136e-06 7.136e-06 0.00% MLMG::getGradSolution() 11 6.415e-06 6.415e-06 6.415e-06 0.00% Castro::expand_state() 10 6.108e-06 6.108e-06 6.108e-06 0.00% AmrLevel::checkPointPost() 3 5.501e-06 5.501e-06 5.501e-06 0.00% Amr::InitializeInit() 1 4.261e-06 4.261e-06 4.261e-06 0.00% Gravity::set_mass_offset() 11 4.148e-06 4.148e-06 4.148e-06 0.00% MLMG::MLRhsNormInf() 11 4.112e-06 4.112e-06 4.112e-06 0.00% Castro::retry_advance_ctu() 10 4.015e-06 4.015e-06 4.015e-06 0.00% MLMG::MLResNormInf() 11 3.951e-06 3.951e-06 3.951e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.154e-06 3.154e-06 3.154e-06 0.00% Castro::computeInitialDt() 2 3.124e-06 3.124e-06 3.124e-06 0.00% Castro::FluxRegCrseInit 10 2.945e-06 2.945e-06 2.945e-06 0.00% Amr::init() 1 2.783e-06 2.783e-06 2.783e-06 0.00% Castro::FluxRegFineAdd() 10 2.428e-06 2.428e-06 2.428e-06 0.00% AmrLevel::checkPointPre() 3 2.358e-06 2.358e-06 2.358e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.963e-06 1.963e-06 1.963e-06 0.00% Castro::post_regrid() 1 1.289e-06 1.289e-06 1.289e-06 0.00% Amr::initialInit() 1 1.141e-06 1.141e-06 1.141e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9013 0.9013 0.9013 100.00% Amr::coarseTimeStep() 10 0.7545 0.7545 0.7545 83.70% Amr::timeStep() 10 0.6653 0.6653 0.6653 73.81% Castro::advance() 10 0.6541 0.6541 0.6541 72.57% Castro::subcycle_advance_ctu() 10 0.6413 0.6413 0.6413 71.15% Castro::do_advance_ctu() 10 0.6411 0.6411 0.6411 71.13% Gravity::solve_phi_with_mlmg() 11 0.2983 0.2983 0.2983 33.10% Castro::construct_ctu_hydro_source() 10 0.2977 0.2977 0.2977 33.03% Gravity::actual_solve_with_mlmg() 11 0.2885 0.2885 0.2885 32.01% Castro::construct_new_gravity() 10 0.271 0.271 0.271 30.07% MLMG::solve() 11 0.2669 0.2669 0.2669 29.62% Gravity::solve_for_phi() 10 0.2544 0.2544 0.2544 28.22% MLMG::oneIter() 82 0.2518 0.2518 0.2518 27.93% MLMG::mgVcycle() 82 0.248 0.248 0.248 27.52% VisMF::Write(FabArray) 11 0.1687 0.1687 0.1687 18.71% Amr::checkPoint() 3 0.1291 0.1291 0.1291 14.32% AmrLevel::checkPoint() 3 0.1231 0.1231 0.1231 13.66% StateData::checkPoint() 12 0.123 0.123 0.123 13.65% Amr::init() 1 0.1219 0.1219 0.1219 13.52% MLCellLinOp::smooth() 1640 0.1213 0.1213 0.1213 13.46% MLCellLinOp::applyBC() 4351 0.1132 0.1132 0.1132 12.56% MLMG::mgVcycle_bottom 82 0.07137 0.07137 0.07137 7.92% MLMG::actualBottomSolve() 82 0.07134 0.07134 0.07134 7.92% MLCGSolver::bicgstab 82 0.07054 0.07054 0.07054 7.83% Castro::clean_state() 62 0.05456 0.05456 0.05456 6.05% Amr::initialInit() 1 0.05392 0.05392 0.05392 5.98% AmrLevel::FillPatch() 41 0.04943 0.04943 0.04943 5.48% Amr::FinalizeInit() 1 0.04876 0.04876 0.04876 5.41% Amr::writePlotFile() 2 0.0484 0.0484 0.0484 5.37% Castro::post_init() 1 0.04727 0.04727 0.04727 5.24% FillPatchIterator::Initialize 41 0.04513 0.04513 0.04513 5.01% Gravity::multilevel_solve_for_new_phi() 1 0.04439 0.04439 0.04439 4.92% Gravity::actual_multilevel_solve() 1 0.04437 0.04437 0.04437 4.92% FillPatchIterator::FillFromLevel0() 41 0.04356 0.04356 0.04356 4.83% FillPatchSingleLevel 41 0.04351 0.04351 0.04351 4.83% MLMG::mgVcycle_down::0 82 0.04159 0.04159 0.04159 4.61% StateDataPhysBCFunct::() 41 0.03941 0.03941 0.03941 4.37% MLCellLinOp::apply() 1060 0.036 0.036 0.036 3.99% MLPoisson::Fsmooth() 3280 0.03305 0.03305 0.03305 3.67% FabArray::FillBoundary() 3941 0.03288 0.03288 0.03288 3.65% FillBoundary_nowait() 3941 0.03209 0.03209 0.03209 3.56% StateData::FillBoundary(geom) 328 0.02689 0.02689 0.02689 2.98% MLMG::mgVcycle_up::0 82 0.02636 0.02636 0.02636 2.92% Castro::initialize_do_advance() 10 0.0221 0.0221 0.0221 2.45% Castro::computeTemp() 63 0.02192 0.02192 0.02192 2.43% amrex::Dot() 1114 0.02088 0.02088 0.02088 2.32% MLMG:computeResOfCorrection() 410 0.02035 0.02035 0.02035 2.26% MLCellLinOp::correctionResidual() 410 0.02024 0.02024 0.02024 2.25% FabArray::setVal() 1062 0.0199 0.0199 0.0199 2.21% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.17% Gravity::get_new_grav_vector() 11 0.01907 0.01907 0.01907 2.12% Castro::do_old_sources() 10 0.01885 0.01885 0.01885 2.09% Castro::normalize_species() 62 0.01857 0.01857 0.01857 2.06% MLPoisson::define() 11 0.01692 0.01692 0.01692 1.88% MLMG::mgVcycle_down::1 82 0.01649 0.01649 0.01649 1.83% Castro::construct_old_gravity() 10 0.01555 0.01555 0.01555 1.72% Gravity::get_old_grav_vector() 10 0.01554 0.01554 0.01554 1.72% MLMG::mgVcycle_down::2 82 0.01537 0.01537 0.01537 1.71% MLMG::mgVcycle_down::3 82 0.01495 0.01495 0.01495 1.66% MLMG::mgVcycle_down::4 82 0.01482 0.01482 0.01482 1.64% FabArray::ParallelCopy() 861 0.01462 0.01462 0.01462 1.62% FabArray::ParallelCopy_nowait() 861 0.01438 0.01438 0.01438 1.60% FabArray::Saxpy() 1370 0.01287 0.01287 0.01287 1.43% Castro::do_new_sources() 10 0.01273 0.01273 0.01273 1.41% MLCGSolver::ParallelAllReduce 1832 0.01256 0.01256 0.01256 1.39% MLMG::addInterpCorrection() 410 0.01224 0.01224 0.01224 1.36% Castro::initialize_advance() 10 0.01213 0.01213 0.01213 1.35% Castro::expand_state() 10 0.01202 0.01202 0.01202 1.33% MLMG::mgVcycle_up::1 82 0.01195 0.01195 0.01195 1.33% MLMG::mgVcycle_up::4 82 0.01186 0.01186 0.01186 1.32% MLMG::mgVcycle_up::2 82 0.01165 0.01165 0.01165 1.29% MLCellLinOp::defineAuxData() 11 0.0115 0.0115 0.0115 1.28% amrex::average_down 410 0.01148 0.01148 0.01148 1.27% MLMG::mgVcycle_up::3 82 0.01143 0.01143 0.01143 1.27% Castro::post_timestep() 10 0.01102 0.01102 0.01102 1.22% Castro::enforce_min_density() 62 0.01087 0.01087 0.01087 1.21% amrex::Copy() 472 0.01084 0.01084 0.01084 1.20% MLPoisson::Fapply() 1060 0.0101 0.0101 0.0101 1.12% Gravity::fill_multipole_BCs() 11 0.009567 0.009567 0.009567 1.06% Castro::reset_internal_energy(MultiFab) 63 0.0079 0.0079 0.0079 0.88% FabArray::Xpay() 739 0.007756 0.007756 0.007756 0.86% MLCellLinOp::solutionResidual() 93 0.007643 0.007643 0.007643 0.85% MLMG::computeResidual() 82 0.006418 0.006418 0.006418 0.71% Castro::estTimeStep() 21 0.005849 0.005849 0.005849 0.65% Amr::InitializeInit() 1 0.005164 0.005164 0.005164 0.57% Amr::defBaseLevel() 1 0.00516 0.00516 0.00516 0.57% MLCellLinOp::defineBC() 11 0.005158 0.005158 0.005158 0.57% MLMG::prepareForSolve() 11 0.005048 0.005048 0.005048 0.56% BndryData::define() 11 0.004899 0.004899 0.004899 0.54% Castro::initData() 1 0.004523 0.004523 0.004523 0.50% Castro::enforce_speed_limit() 62 0.00411 0.00411 0.00411 0.46% amrex::Add() 82 0.00366 0.00366 0.00366 0.41% Castro::construct_new_source() 50 0.003612 0.003612 0.003612 0.40% Castro::construct_new_gravity_source() 10 0.003564 0.003564 0.003564 0.40% Castro::construct_old_source() 50 0.002948 0.002948 0.002948 0.33% Castro::construct_old_gravity_source() 10 0.002929 0.002929 0.002929 0.32% Castro::computeNewDt() 9 0.002675 0.002675 0.002675 0.30% Castro::finalize_do_advance() 10 0.002265 0.002265 0.002265 0.25% MLMG::ResNormInf() 93 0.002156 0.002156 0.002156 0.24% Castro::apply_source_to_state() 20 0.001865 0.001865 0.001865 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001741 0.001741 0.001741 0.19% Castro::reset_internal_energy(Fab) 504 0.001655 0.001655 0.001655 0.18% check_for_negative_density() 10 0.001576 0.001576 0.001576 0.17% MLMG::getGradSolution() 11 0.001575 0.001575 0.001575 0.17% MLCellLinOp::compGrad() 11 0.001568 0.001568 0.001568 0.17% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% FabArrayBase::getCPC() 1323 0.001462 0.001462 0.001462 0.16% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLPoisson::prepareForSolve() 11 0.00129 0.00129 0.00129 0.14% Castro::check_for_nan() 20 0.00128 0.00128 0.00128 0.14% MLCellLinOp::prepareForSolve() 11 0.001276 0.001276 0.001276 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLMG::computeMLResidual() 11 0.001264 0.001264 0.001264 0.14% Castro::post_regrid() 1 0.001197 0.001197 0.001197 0.13% Gravity::update_max_rhs() 11 0.0009934 0.0009934 0.0009934 0.11% Castro::computeInitialDt() 2 0.0009633 0.0009633 0.0009633 0.11% FabArrayBase::getFB() 3941 0.0008334 0.0008334 0.0008334 0.09% FabArrayBase::CPC::define() 454 0.0006803 0.0006803 0.0006803 0.08% Castro::finalize_advance() 10 0.0006094 0.0006094 0.0006094 0.07% Amr::InitAmr() 1 0.0005456 0.0005456 0.0005456 0.06% Castro::Castro() 1 0.0005431 0.0005431 0.0005431 0.06% Gravity::swapTimeLevels() 10 0.0004786 0.0004786 0.0004786 0.05% MultiFab::max() 11 0.0003315 0.0003315 0.0003315 0.04% MLMG::MLResNormInf() 11 0.0003207 0.0003207 0.0003207 0.04% Castro::buildMetrics() 1 0.0002568 0.0002568 0.0002568 0.03% MLLinOp::define() 11 0.0002408 0.0002408 0.0002408 0.03% MLMG::MLRhsNormInf() 11 0.0002284 0.0002284 0.0002284 0.03% MLLinOp::defineGrids() 11 0.0002282 0.0002282 0.0002282 0.03% Castro::create_source_corrector() 10 0.0001459 0.0001459 0.0001459 0.02% FabArrayBase::FB::FB() 56 8.544e-05 8.544e-05 8.544e-05 0.01% Castro::enforce_consistent_e() 1 6.826e-05 6.826e-05 6.826e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.484e-05 5.484e-05 5.484e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.298e-05 5.298e-05 5.298e-05 0.01% StateData::define() 4 4.206e-05 4.206e-05 4.206e-05 0.00% Castro::swap_state_time_levels() 10 3.825e-05 3.825e-05 3.825e-05 0.00% makeSFC 55 3.81e-05 3.81e-05 3.81e-05 0.00% Amr::writeSmallPlotFile() 1 3.141e-05 3.141e-05 3.141e-05 0.00% Castro::initMFs() 1 2.909e-05 2.909e-05 2.909e-05 0.00% DistributionMapping::Distribute() 56 1.493e-05 1.493e-05 1.493e-05 0.00% Amr::initSubcycle() 1 1.024e-05 1.024e-05 1.024e-05 0.00% AmrLevel::checkPointPost() 3 5.501e-06 5.501e-06 5.501e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.302e-06 4.302e-06 4.302e-06 0.00% Gravity::set_mass_offset() 11 4.148e-06 4.148e-06 4.148e-06 0.00% Castro::retry_advance_ctu() 10 4.015e-06 4.015e-06 4.015e-06 0.00% Castro::FluxRegCrseInit 10 2.945e-06 2.945e-06 2.945e-06 0.00% Castro::FluxRegFineAdd() 10 2.428e-06 2.428e-06 2.428e-06 0.00% AmrLevel::checkPointPre() 3 2.358e-06 2.358e-06 2.358e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.963e-06 1.963e-06 1.963e-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 5424 KiB 9037 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 1056 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1497 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3644 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 219 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 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 2136 B 2048 KiB Gravity::solve_for_phi() 80 80 577 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3164 B 480 KiB VisMF::Write(FabArray) 656 656 3361 B 320 KiB Castro::normalize_species() 62 62 6706 B 320 KiB amrex::average_down 1067 1067 1607 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1166 B 257 KiB amrex::Dot() 1360 1360 3426 B 160 KiB FabArray::norminf() 1143 1143 3346 B 160 KiB check_for_negative_density() 10 10 280 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3559 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 8702 8702 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3941 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3776 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 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 554 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 403 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3559 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3941 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3776 B Gravity::get_new_grav_vector() 3 3 2892 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-48-g47347f785f5c) finalized Initializing AMReX (v2024-48-g47347f785f5c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-48-g47347f785f5c) initialized Starting run at 09:12:32 UTC on 2024-04-01. Successfully read inputs file ... Castro git describe: 24.03-38-gcd731a3af AMReX git describe: v2024-48-g47347f785 Microphysics git describe: 24.03-23-g3112c13a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504372382 Restart time = 0.072492863 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.069461796 [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.047981095 [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.072004752 [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.074244917 [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.066870212 [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.0269025 seconds Ending run at 09:12:32 UTC on 2024-04-01. Run time = 0.430996714 Run time without initialization = 0.357868848 Average number of zones advanced per microsecond: 3.663 Average number of zones advanced per microsecond per rank: 3.663 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.431 ... 0.431 ... 0.431 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1367 0.1367 0.1367 31.70% VisMF::Read() 3 0.06121 0.06121 0.06121 14.20% MLCellLinOp::applyBC() 1910 0.03532 0.03532 0.03532 8.19% VisMF::Write(FabArray) 1 0.02423 0.02423 0.02423 5.62% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.36% FillBoundary_nowait() 1730 0.01313 0.01313 0.01313 3.05% StateData::FillBoundary(geom) 160 0.01286 0.01286 0.01286 2.98% Castro::normalize_species() 30 0.01089 0.01089 0.01089 2.53% amrex::Dot() 484 0.00903 0.00903 0.00903 2.09% FabArray::norminf() 465 0.008501 0.008501 0.008501 1.97% Castro::computeTemp() 30 0.007238 0.007238 0.007238 1.68% Castro::enforce_min_density() 30 0.00698 0.00698 0.00698 1.62% FabArray::setVal() 501 0.006504 0.006504 0.006504 1.51% FabArray::ParallelCopy_nowait() 380 0.006135 0.006135 0.006135 1.42% StateDataPhysBCFunct::() 20 0.005808 0.005808 0.005808 1.35% FabArray::Saxpy() 597 0.005746 0.005746 0.005746 1.33% MLCellLinOp::defineAuxData() 6 0.005502 0.005502 0.005502 1.28% amrex::Copy() 221 0.005421 0.005421 0.005421 1.26% Gravity::fill_multipole_BCs() 6 0.005257 0.005257 0.005257 1.22% Amr::restart() 1 0.004891 0.004891 0.004891 1.13% MLPoisson::Fapply() 464 0.004407 0.004407 0.004407 1.02% FabArray::Xpay() 325 0.003441 0.003441 0.003441 0.80% MLMG::addInterpCorrection() 180 0.003103 0.003103 0.003103 0.72% Castro::estTimeStep() 10 0.003002 0.003002 0.003002 0.70% amrex::average_down 180 0.002715 0.002715 0.002715 0.63% Amr::writePlotFile() 1 0.002506 0.002506 0.002506 0.58% BndryData::define() 6 0.002144 0.002144 0.002144 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002017 0.002017 0.002017 0.47% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.44% amrex::Add() 36 0.001543 0.001543 0.001543 0.36% Castro::construct_old_gravity_source() 5 0.001526 0.001526 0.001526 0.35% Castro::enforce_speed_limit() 30 0.001166 0.001166 0.001166 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000958 0.000958 0.000958 0.22% MLCellLinOp::setLevelBC() 6 0.000859 0.000859 0.000859 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008581 0.0008581 0.0008581 0.20% check_for_negative_density() 5 0.0008366 0.0008366 0.0008366 0.19% Castro::reset_internal_energy(Fab) 240 0.0007952 0.0007952 0.0007952 0.18% MLCellLinOp::prepareForSolve() 6 0.0007399 0.0007399 0.0007399 0.17% MLCGSolver::bicgstab 36 0.000726 0.000726 0.000726 0.17% FabArray::mult() 22 0.0006955 0.0006955 0.0006955 0.16% FabArray::setDomainBndry() 20 0.0006916 0.0006916 0.0006916 0.16% MultiFab::contains_nan() 10 0.0006587 0.0006587 0.0006587 0.15% MLCellLinOp::compGrad() 6 0.0006016 0.0006016 0.0006016 0.14% MLMG::prepareForSolve() 6 0.0005682 0.0005682 0.0005682 0.13% Amr::InitAmr() 1 0.0004567 0.0004567 0.0004567 0.11% MLCellLinOp::smooth() 720 0.0004367 0.0004367 0.0004367 0.10% FabArrayBase::CPC::define() 244 0.0004225 0.0004225 0.0004225 0.10% FabArrayBase::getCPC() 632 0.0003814 0.0003814 0.0003814 0.09% FabArray::FillBoundary() 1730 0.0003699 0.0003699 0.0003699 0.09% Gravity::get_old_grav_vector() 5 0.0003365 0.0003365 0.0003365 0.08% FabArrayBase::getFB() 1730 0.0002813 0.0002813 0.0002813 0.07% Gravity::get_new_grav_vector() 5 0.0002628 0.0002628 0.0002628 0.06% main() 1 0.0002615 0.0002615 0.0002615 0.06% MultiFab::max() 6 0.0002118 0.0002118 0.0002118 0.05% AmrLevel::FillPatch() 20 0.0002047 0.0002047 0.0002047 0.05% MLCellLinOp::apply() 464 0.0001725 0.0001725 0.0001725 0.04% Amr::coarseTimeStep() 5 0.0001564 0.0001564 0.0001564 0.04% MLCellLinOp::defineBC() 6 0.0001405 0.0001405 0.0001405 0.03% MLCGSolver::ParallelAllReduce 798 0.0001337 0.0001337 0.0001337 0.03% FabArray::ParallelCopy() 380 0.0001156 0.0001156 0.0001156 0.03% Castro::create_source_corrector() 5 0.0001117 0.0001117 0.0001117 0.03% FillPatchIterator::Initialize 20 0.0001073 0.0001073 0.0001073 0.02% MLLinOp::defineGrids() 6 9.775e-05 9.775e-05 9.775e-05 0.02% MLMG::mgVcycle() 36 9.681e-05 9.681e-05 9.681e-05 0.02% Castro::initialize_do_advance() 5 9.385e-05 9.385e-05 9.385e-05 0.02% Castro::subcycle_advance_ctu() 5 9.327e-05 9.327e-05 9.327e-05 0.02% Amr::timeStep() 5 9.087e-05 9.087e-05 9.087e-05 0.02% MLCellLinOp::correctionResidual() 180 8.318e-05 8.318e-05 8.318e-05 0.02% Castro::do_advance_ctu() 5 8.234e-05 8.234e-05 8.234e-05 0.02% Castro::advance() 5 7.823e-05 7.823e-05 7.823e-05 0.02% AmrLevel::restart() 1 7.061e-05 7.061e-05 7.061e-05 0.02% StateData::restartDoit() 4 6.941e-05 6.941e-05 6.941e-05 0.02% Castro::post_timestep() 5 6.67e-05 6.67e-05 6.67e-05 0.02% Gravity::update_max_rhs() 6 6.592e-05 6.592e-05 6.592e-05 0.02% FabArrayBase::FB::FB() 26 5.793e-05 5.793e-05 5.793e-05 0.01% MLMG:computeResOfCorrection() 180 5.448e-05 5.448e-05 5.448e-05 0.01% Gravity::solve_for_phi() 5 5.298e-05 5.298e-05 5.298e-05 0.01% Castro::construct_old_source() 25 5.078e-05 5.078e-05 5.078e-05 0.01% Castro::finalize_do_advance() 5 4.386e-05 4.386e-05 4.386e-05 0.01% MLMG::actualBottomSolve() 36 3.931e-05 3.931e-05 3.931e-05 0.01% Castro::initialize_advance() 5 3.76e-05 3.76e-05 3.76e-05 0.01% MLMG::mgVcycle_down::0 36 3.736e-05 3.736e-05 3.736e-05 0.01% MLMG::solve() 6 3.724e-05 3.724e-05 3.724e-05 0.01% Castro::clean_state() 30 3.278e-05 3.278e-05 3.278e-05 0.01% MLMG::mgVcycle_down::1 36 3.268e-05 3.268e-05 3.268e-05 0.01% Castro::post_restart() 1 3.086e-05 3.086e-05 3.086e-05 0.01% Castro::finalize_advance() 5 2.999e-05 2.999e-05 2.999e-05 0.01% MLMG::mgVcycle_down::2 36 2.985e-05 2.985e-05 2.985e-05 0.01% MLMG::mgVcycle_up::0 36 2.974e-05 2.974e-05 2.974e-05 0.01% MLMG::mgVcycle_down::4 36 2.894e-05 2.894e-05 2.894e-05 0.01% Castro::buildMetrics() 1 2.864e-05 2.864e-05 2.864e-05 0.01% MLMG::mgVcycle_down::3 36 2.847e-05 2.847e-05 2.847e-05 0.01% Amr::writeSmallPlotFile() 1 2.803e-05 2.803e-05 2.803e-05 0.01% Castro::construct_new_source() 25 2.753e-05 2.753e-05 2.753e-05 0.01% MLMG::mgVcycle_up::4 36 2.72e-05 2.72e-05 2.72e-05 0.01% Castro::swap_state_time_levels() 5 2.516e-05 2.516e-05 2.516e-05 0.01% Castro::initMFs() 1 2.47e-05 2.47e-05 2.47e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.44e-05 2.44e-05 2.44e-05 0.01% MLCellLinOp::solutionResidual() 42 2.268e-05 2.268e-05 2.268e-05 0.01% MLMG::mgVcycle_up::3 36 2.205e-05 2.205e-05 2.205e-05 0.01% MLMG::oneIter() 36 2.141e-05 2.141e-05 2.141e-05 0.00% MLMG::mgVcycle_up::2 36 2.069e-05 2.069e-05 2.069e-05 0.00% MLMG::mgVcycle_up::1 36 1.957e-05 1.957e-05 1.957e-05 0.00% MLMG::ResNormInf() 42 1.739e-05 1.739e-05 1.739e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.694e-05 1.694e-05 1.694e-05 0.00% FillPatchSingleLevel 20 1.601e-05 1.601e-05 1.601e-05 0.00% makeSFC 30 1.427e-05 1.427e-05 1.427e-05 0.00% MLMG::mgVcycle_bottom 36 1.404e-05 1.404e-05 1.404e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.4e-05 1.4e-05 1.4e-05 0.00% MLPoisson::define() 6 1.352e-05 1.352e-05 1.352e-05 0.00% Castro::construct_new_gravity() 5 1.337e-05 1.337e-05 1.337e-05 0.00% MLMG::computeResidual() 36 1.337e-05 1.337e-05 1.337e-05 0.00% Castro::do_old_sources() 5 1.214e-05 1.214e-05 1.214e-05 0.00% Castro::do_new_sources() 5 1.136e-05 1.136e-05 1.136e-05 0.00% MLPoisson::prepareForSolve() 6 1.037e-05 1.037e-05 1.037e-05 0.00% Amr::initSubcycle() 1 9.987e-06 9.987e-06 9.987e-06 0.00% Gravity::actual_multilevel_solve() 1 8.644e-06 8.644e-06 8.644e-06 0.00% DistributionMapping::Distribute() 31 8.626e-06 8.626e-06 8.626e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.015e-06 8.015e-06 8.015e-06 0.00% MLLinOp::define() 6 7.436e-06 7.436e-06 7.436e-06 0.00% Castro::check_for_nan() 10 6.402e-06 6.402e-06 6.402e-06 0.00% Castro::apply_source_to_state() 10 6.184e-06 6.184e-06 6.184e-06 0.00% Castro::construct_old_gravity() 5 5.565e-06 5.565e-06 5.565e-06 0.00% MLMG::computeMLResidual() 6 4.44e-06 4.44e-06 4.44e-06 0.00% Castro::computeNewDt() 5 4.195e-06 4.195e-06 4.195e-06 0.00% Gravity::swapTimeLevels() 5 4.172e-06 4.172e-06 4.172e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.491e-06 3.491e-06 3.491e-06 0.00% MLMG::getGradSolution() 6 3.162e-06 3.162e-06 3.162e-06 0.00% Castro::expand_state() 5 2.764e-06 2.764e-06 2.764e-06 0.00% MLMG::MLResNormInf() 6 2.338e-06 2.338e-06 2.338e-06 0.00% Gravity::set_mass_offset() 6 2.27e-06 2.27e-06 2.27e-06 0.00% MLMG::MLRhsNormInf() 6 2.097e-06 2.097e-06 2.097e-06 0.00% Castro::retry_advance_ctu() 5 1.913e-06 1.913e-06 1.913e-06 0.00% Castro::FluxRegCrseInit 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegFineAdd() 5 1.331e-06 1.331e-06 1.331e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.55e-07 9.55e-07 9.55e-07 0.00% Amr::init() 1 8.54e-07 8.54e-07 8.54e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.431 0.431 0.431 100.00% Amr::coarseTimeStep() 5 0.3307 0.3307 0.3307 76.73% Amr::timeStep() 5 0.3285 0.3285 0.3285 76.21% Castro::advance() 5 0.3234 0.3234 0.3234 75.04% Castro::subcycle_advance_ctu() 5 0.3155 0.3155 0.3155 73.19% Castro::do_advance_ctu() 5 0.3154 0.3154 0.3154 73.16% Castro::construct_ctu_hydro_source() 5 0.1417 0.1417 0.1417 32.87% Castro::construct_new_gravity() 5 0.1348 0.1348 0.1348 31.28% Gravity::solve_phi_with_mlmg() 6 0.1314 0.1314 0.1314 30.49% Gravity::solve_for_phi() 5 0.1261 0.1261 0.1261 29.26% Gravity::actual_solve_with_mlmg() 6 0.1259 0.1259 0.1259 29.21% MLMG::solve() 6 0.114 0.114 0.114 26.45% MLMG::oneIter() 36 0.1064 0.1064 0.1064 24.68% MLMG::mgVcycle() 36 0.1048 0.1048 0.1048 24.31% Amr::init() 1 0.07255 0.07255 0.07255 16.83% Amr::restart() 1 0.07255 0.07255 0.07255 16.83% AmrLevel::restart() 1 0.06158 0.06158 0.06158 14.29% StateData::restartDoit() 4 0.06151 0.06151 0.06151 14.27% VisMF::Read() 3 0.06121 0.06121 0.06121 14.20% MLCellLinOp::smooth() 720 0.0525 0.0525 0.0525 12.18% MLCellLinOp::applyBC() 1910 0.04916 0.04916 0.04916 11.40% MLMG::mgVcycle_bottom 36 0.03099 0.03099 0.03099 7.19% MLMG::actualBottomSolve() 36 0.03097 0.03097 0.03097 7.19% MLCGSolver::bicgstab 36 0.03061 0.03061 0.03061 7.10% Castro::clean_state() 30 0.02912 0.02912 0.02912 6.76% Amr::writePlotFile() 1 0.02699 0.02699 0.02699 6.26% VisMF::Write(FabArray) 1 0.02423 0.02423 0.02423 5.62% AmrLevel::FillPatch() 20 0.02367 0.02367 0.02367 5.49% FillPatchIterator::Initialize 20 0.02156 0.02156 0.02156 5.00% FillPatchIterator::FillFromLevel0() 20 0.02076 0.02076 0.02076 4.82% FillPatchSingleLevel 20 0.02073 0.02073 0.02073 4.81% StateDataPhysBCFunct::() 20 0.01867 0.01867 0.01867 4.33% MLCellLinOp::apply() 464 0.01587 0.01587 0.01587 3.68% MLMG::mgVcycle_down::0 36 0.01506 0.01506 0.01506 3.49% MLPoisson::Fsmooth() 1440 0.01448 0.01448 0.01448 3.36% FabArray::FillBoundary() 1730 0.01384 0.01384 0.01384 3.21% FillBoundary_nowait() 1730 0.01347 0.01347 0.01347 3.12% StateData::FillBoundary(geom) 160 0.01286 0.01286 0.01286 2.98% Castro::initialize_do_advance() 5 0.01152 0.01152 0.01152 2.67% MLMG::mgVcycle_up::0 36 0.01128 0.01128 0.01128 2.62% Castro::normalize_species() 30 0.01089 0.01089 0.01089 2.53% Castro::computeTemp() 30 0.01005 0.01005 0.01005 2.33% Castro::do_old_sources() 5 0.009869 0.009869 0.009869 2.29% MLPoisson::define() 6 0.009292 0.009292 0.009292 2.16% amrex::Dot() 484 0.00903 0.00903 0.00903 2.09% MLMG:computeResOfCorrection() 180 0.008849 0.008849 0.008849 2.05% MLCellLinOp::correctionResidual() 180 0.008795 0.008795 0.008795 2.04% Gravity::get_new_grav_vector() 5 0.008563 0.008563 0.008563 1.99% FabArray::norminf() 465 0.008501 0.008501 0.008501 1.97% Castro::do_new_sources() 5 0.008066 0.008066 0.008066 1.87% Castro::construct_old_gravity() 5 0.007902 0.007902 0.007902 1.83% Gravity::get_old_grav_vector() 5 0.007896 0.007896 0.007896 1.83% Castro::initialize_advance() 5 0.007608 0.007608 0.007608 1.77% MLMG::mgVcycle_down::1 36 0.007264 0.007264 0.007264 1.69% Castro::enforce_min_density() 30 0.00698 0.00698 0.00698 1.62% MLMG::mgVcycle_down::2 36 0.006685 0.006685 0.006685 1.55% FabArray::ParallelCopy() 380 0.006656 0.006656 0.006656 1.54% FabArray::ParallelCopy_nowait() 380 0.00654 0.00654 0.00654 1.52% MLMG::mgVcycle_down::3 36 0.00651 0.00651 0.00651 1.51% FabArray::setVal() 501 0.006504 0.006504 0.006504 1.51% MLMG::mgVcycle_down::4 36 0.006451 0.006451 0.006451 1.50% MLCellLinOp::defineAuxData() 6 0.006279 0.006279 0.006279 1.46% Castro::expand_state() 5 0.00597 0.00597 0.00597 1.39% Castro::post_restart() 1 0.005897 0.005897 0.005897 1.37% FabArray::Saxpy() 597 0.005746 0.005746 0.005746 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005521 0.005521 0.005521 1.28% Gravity::actual_multilevel_solve() 1 0.005505 0.005505 0.005505 1.28% MLCGSolver::ParallelAllReduce 798 0.005475 0.005475 0.005475 1.27% amrex::Copy() 221 0.005421 0.005421 0.005421 1.26% MLMG::addInterpCorrection() 180 0.005397 0.005397 0.005397 1.25% Gravity::fill_multipole_BCs() 6 0.005377 0.005377 0.005377 1.25% MLMG::mgVcycle_up::4 36 0.005197 0.005197 0.005197 1.21% MLMG::mgVcycle_up::1 36 0.005193 0.005193 0.005193 1.20% MLMG::mgVcycle_up::2 36 0.005101 0.005101 0.005101 1.18% amrex::average_down 180 0.005032 0.005032 0.005032 1.17% MLMG::mgVcycle_up::3 36 0.004981 0.004981 0.004981 1.16% Castro::post_timestep() 5 0.00494 0.00494 0.00494 1.15% MLPoisson::Fapply() 464 0.004407 0.004407 0.004407 1.02% MLCellLinOp::solutionResidual() 42 0.003617 0.003617 0.003617 0.84% FabArray::Xpay() 325 0.003441 0.003441 0.003441 0.80% Castro::estTimeStep() 10 0.003002 0.003002 0.003002 0.70% MLCellLinOp::defineBC() 6 0.002864 0.002864 0.002864 0.66% MLMG::prepareForSolve() 6 0.002861 0.002861 0.002861 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002812 0.002812 0.002812 0.65% MLMG::computeResidual() 36 0.00281 0.00281 0.00281 0.65% BndryData::define() 6 0.002724 0.002724 0.002724 0.63% Castro::computeNewDt() 5 0.002084 0.002084 0.002084 0.48% Castro::construct_new_source() 25 0.001923 0.001923 0.001923 0.45% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.44% Castro::construct_old_source() 25 0.001577 0.001577 0.001577 0.37% amrex::Add() 36 0.001543 0.001543 0.001543 0.36% Castro::construct_old_gravity_source() 5 0.001526 0.001526 0.001526 0.35% Castro::enforce_speed_limit() 30 0.001166 0.001166 0.001166 0.27% MLMG::ResNormInf() 42 0.0009888 0.0009888 0.0009888 0.23% Castro::finalize_do_advance() 5 0.0009661 0.0009661 0.0009661 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000958 0.000958 0.000958 0.22% Castro::apply_source_to_state() 10 0.0009572 0.0009572 0.0009572 0.22% MLMG::getGradSolution() 6 0.0008876 0.0008876 0.0008876 0.21% MLCellLinOp::compGrad() 6 0.0008845 0.0008845 0.0008845 0.21% MLCellLinOp::setLevelBC() 6 0.000859 0.000859 0.000859 0.20% check_for_negative_density() 5 0.0008366 0.0008366 0.0008366 0.19% MLMG::computeMLResidual() 6 0.0008247 0.0008247 0.0008247 0.19% FabArrayBase::getCPC() 632 0.0008038 0.0008038 0.0008038 0.19% Castro::reset_internal_energy(Fab) 240 0.0007952 0.0007952 0.0007952 0.18% MLPoisson::prepareForSolve() 6 0.0007502 0.0007502 0.0007502 0.17% MLCellLinOp::prepareForSolve() 6 0.0007399 0.0007399 0.0007399 0.17% Gravity::update_max_rhs() 6 0.0007265 0.0007265 0.0007265 0.17% FabArray::mult() 22 0.0006955 0.0006955 0.0006955 0.16% FabArray::setDomainBndry() 20 0.0006916 0.0006916 0.0006916 0.16% Castro::check_for_nan() 10 0.0006651 0.0006651 0.0006651 0.15% MultiFab::contains_nan() 10 0.0006587 0.0006587 0.0006587 0.15% Amr::InitAmr() 1 0.0004667 0.0004667 0.0004667 0.11% FabArrayBase::CPC::define() 244 0.0004225 0.0004225 0.0004225 0.10% FabArrayBase::getFB() 1730 0.0003393 0.0003393 0.0003393 0.08% Castro::finalize_advance() 5 0.0003022 0.0003022 0.0003022 0.07% Gravity::swapTimeLevels() 5 0.0002478 0.0002478 0.0002478 0.06% MultiFab::max() 6 0.0002118 0.0002118 0.0002118 0.05% MLMG::MLResNormInf() 6 0.0001925 0.0001925 0.0001925 0.04% Castro::buildMetrics() 1 0.0001544 0.0001544 0.0001544 0.04% MLLinOp::define() 6 0.0001357 0.0001357 0.0001357 0.03% MLLinOp::defineGrids() 6 0.0001283 0.0001283 0.0001283 0.03% MLMG::MLRhsNormInf() 6 0.0001209 0.0001209 0.0001209 0.03% Castro::create_source_corrector() 5 0.0001117 0.0001117 0.0001117 0.03% FabArrayBase::FB::FB() 26 5.793e-05 5.793e-05 5.793e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.958e-05 2.958e-05 2.958e-05 0.01% Amr::writeSmallPlotFile() 1 2.803e-05 2.803e-05 2.803e-05 0.01% Castro::swap_state_time_levels() 5 2.516e-05 2.516e-05 2.516e-05 0.01% Castro::initMFs() 1 2.47e-05 2.47e-05 2.47e-05 0.01% makeSFC 30 2.156e-05 2.156e-05 2.156e-05 0.01% Amr::initSubcycle() 1 9.987e-06 9.987e-06 9.987e-06 0.00% DistributionMapping::Distribute() 31 8.626e-06 8.626e-06 8.626e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.831e-06 4.831e-06 4.831e-06 0.00% Gravity::set_mass_offset() 6 2.27e-06 2.27e-06 2.27e-06 0.00% Castro::retry_advance_ctu() 5 1.913e-06 1.913e-06 1.913e-06 0.00% Castro::FluxRegCrseInit 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegFineAdd() 5 1.331e-06 1.331e-06 1.331e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.55e-07 9.55e-07 9.55e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1069 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1662 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 6397 KiB 14 MiB MLMG::prepareForSolve() 361 361 3246 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 203 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6384 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3349 B 2048 KiB Gravity::solve_for_phi() 40 40 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3230 B 480 KiB VisMF::Write(FabArray) 112 112 1260 B 320 KiB Castro::normalize_species() 30 30 8233 B 320 KiB amrex::average_down 469 469 1371 B 257 KiB MLMG::addInterpCorrection() 468 468 1070 B 257 KiB amrex::Dot() 592 592 3095 B 160 KiB FabArray::norminf() 501 501 3046 B 160 KiB check_for_negative_density() 5 5 310 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3144 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3820 3820 205 B 9344 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 5184 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 336 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1182 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 155 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3144 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1910 1910 204 B 9328 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 48 B 5184 B Gravity::get_old_grav_vector() 3 3 2508 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 790 B 1648 B amrex::average_down 37 37 458 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-48-g47347f785f5c) finalized