Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-40-gee492f47704a) initialized Starting run at 07:39:23 UTC on 2023-04-28. Successfully read inputs file ... Castro git describe: 23.04-17-gf9272dfba AMReX git describe: 23.04-40-gee492f477 Microphysics git describe: 23.04-6-gfc4258c6 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.058126809 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033238705 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.044882763 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049200415 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.046427363 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.058008853 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.061672131 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.057841911 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.0729748 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.05998487 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.064121041 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.056933587 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.064828003 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.057969942 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032950978 seconds Ending run at 07:39:24 UTC on 2023-04-28. Run time = 0.867908851 Run time without initialization = 0.728479508 Average number of zones advanced per microsecond: 3.599 Average number of zones advanced per microsecond per rank: 3.599 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8679 ... 0.8679 ... 0.8679 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2339 0.2339 0.2339 26.95% Castro::construct_ctu_hydro_source() 10 0.224 0.224 0.224 25.81% MLCellLinOp::applyBC() 4433 0.07576 0.07576 0.07576 8.73% FillBoundary_nowait() 4023 0.03194 0.03194 0.03194 3.68% MLPoisson::Fsmooth() 3280 0.03163 0.03163 0.03163 3.64% StateData::FillBoundary(geom) 328 0.02436 0.02436 0.02436 2.81% amrex::Dot() 1114 0.01987 0.01987 0.01987 2.29% amrex::Copy() 1029 0.01455 0.01455 0.01455 1.68% FabArray::norminf() 743 0.01399 0.01399 0.01399 1.61% Castro::computeTemp() 63 0.01384 0.01384 0.01384 1.59% Castro::normalize_species() 62 0.01374 0.01374 0.01374 1.58% FabArray::ParallelCopy_nowait() 861 0.01304 0.01304 0.01304 1.50% Castro::enforce_min_density() 62 0.01284 0.01284 0.01284 1.48% FabArray::setVal() 1144 0.01276 0.01276 0.01276 1.47% StateDataPhysBCFunct::() 41 0.01157 0.01157 0.01157 1.33% MLPoisson::Fapply() 1142 0.01009 0.01009 0.01009 1.16% MLCellLinOp::defineAuxData() 11 0.009615 0.009615 0.009615 1.11% FabArray::Saxpy() 813 0.00801 0.00801 0.00801 0.92% FabArray::Xpay() 821 0.007835 0.007835 0.007835 0.90% MLMG::addInterpCorrection() 410 0.006471 0.006471 0.006471 0.75% Gravity::fill_multipole_BCs() 11 0.006248 0.006248 0.006248 0.72% amrex::average_down 410 0.00581 0.00581 0.00581 0.67% Castro::estTimeStep() 21 0.005314 0.005314 0.005314 0.61% FabArray::LinComb() 557 0.004376 0.004376 0.004376 0.50% amrex::Add() 164 0.004355 0.004355 0.004355 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004152 0.004152 0.004152 0.48% Amr::checkPoint() 3 0.003625 0.003625 0.003625 0.42% BndryData::define() 11 0.003528 0.003528 0.003528 0.41% Castro::construct_new_gravity_source() 10 0.003186 0.003186 0.003186 0.37% Castro::do_advance_ctu() 10 0.003119 0.003119 0.003119 0.36% Castro::construct_old_gravity_source() 10 0.002495 0.002495 0.002495 0.29% MLCGSolver::bicgstab 82 0.002201 0.002201 0.002201 0.25% Amr::writePlotFile() 2 0.00214 0.00214 0.00214 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001708 0.001708 0.001708 0.20% Castro::reset_internal_energy(Fab) 504 0.001538 0.001538 0.001538 0.18% Gravity::actual_solve_with_mlmg() 11 0.00147 0.00147 0.00147 0.17% MLCellLinOp::setLevelBC() 11 0.001376 0.001376 0.001376 0.16% FabArray::mult() 43 0.001333 0.001333 0.001333 0.15% FabArray::setDomainBndry() 41 0.001281 0.001281 0.001281 0.15% MultiFab::contains_nan() 20 0.001217 0.001217 0.001217 0.14% Castro::enforce_speed_limit() 62 0.001192 0.001192 0.001192 0.14% Castro::initData() 1 0.001182 0.001182 0.001182 0.14% MLCellLinOp::smooth() 1640 0.001114 0.001114 0.001114 0.13% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.13% MLCellLinOp::compGrad() 11 0.0008953 0.0008953 0.0008953 0.10% MLMG::prepareForSolve() 11 0.0008638 0.0008638 0.0008638 0.10% FabArray::FillBoundary() 4023 0.0008111 0.0008111 0.0008111 0.09% FabArrayBase::getCPC() 1323 0.0007371 0.0007371 0.0007371 0.08% FabArrayBase::CPC::define() 454 0.0006728 0.0006728 0.0006728 0.08% Gravity::get_new_grav_vector() 11 0.0006312 0.0006312 0.0006312 0.07% FabArrayBase::getFB() 4023 0.0005768 0.0005768 0.0005768 0.07% Gravity::get_old_grav_vector() 10 0.0005599 0.0005599 0.0005599 0.06% MLCellLinOp::apply() 1142 0.0004804 0.0004804 0.0004804 0.06% Amr::InitAmr() 1 0.0004606 0.0004606 0.0004606 0.05% Amr::coarseTimeStep() 10 0.000394 0.000394 0.000394 0.05% MLLinOp::defineGrids() 11 0.0003924 0.0003924 0.0003924 0.05% MLMG::mgVcycle() 82 0.0003778 0.0003778 0.0003778 0.04% main() 1 0.0002997 0.0002997 0.0002997 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002945 0.0002945 0.0002945 0.03% MultiFab::max() 11 0.0002743 0.0002743 0.0002743 0.03% MLCellLinOp::correctionResidual() 492 0.0002346 0.0002346 0.0002346 0.03% FabArray::ParallelCopy() 861 0.0002333 0.0002333 0.0002333 0.03% FillPatchIterator::Initialize 41 0.0002296 0.0002296 0.0002296 0.03% MLCellLinOp::defineBC() 11 0.0002123 0.0002123 0.0002123 0.02% Castro::create_source_corrector() 10 0.0001798 0.0001798 0.0001798 0.02% Amr::timeStep() 10 0.0001728 0.0001728 0.0001728 0.02% Castro::subcycle_advance_ctu() 10 0.0001423 0.0001423 0.0001423 0.02% StateData::checkPoint() 12 0.0001411 0.0001411 0.0001411 0.02% Gravity::update_max_rhs() 11 0.0001251 0.0001251 0.0001251 0.01% MLMG:computeResOfCorrection() 410 0.0001155 0.0001155 0.0001155 0.01% Castro::Castro() 1 0.0001089 0.0001089 0.0001089 0.01% Gravity::solve_for_phi() 10 0.0001075 0.0001075 0.0001075 0.01% Castro::construct_new_source() 50 9.435e-05 9.435e-05 9.435e-05 0.01% MLMG::actualBottomSolve() 82 8.881e-05 8.881e-05 8.881e-05 0.01% FabArrayBase::FB::FB() 56 8.689e-05 8.689e-05 8.689e-05 0.01% MLMG::mgVcycle_down::0 82 8.664e-05 8.664e-05 8.664e-05 0.01% MLMG::mgVcycle_down::1 82 8.304e-05 8.304e-05 8.304e-05 0.01% MLMG::mgVcycle_down::2 82 8.281e-05 8.281e-05 8.281e-05 0.01% Castro::expand_state() 10 8.263e-05 8.263e-05 8.263e-05 0.01% AmrLevel::checkPoint() 3 8.116e-05 8.116e-05 8.116e-05 0.01% MLMG::mgVcycle_down::3 82 7.9e-05 7.9e-05 7.9e-05 0.01% MLMG::mgVcycle_down::4 82 7.884e-05 7.884e-05 7.884e-05 0.01% Castro::clean_state() 62 7.611e-05 7.611e-05 7.611e-05 0.01% Castro::initialize_advance() 10 7.238e-05 7.238e-05 7.238e-05 0.01% MLMG::solve() 11 6.93e-05 6.93e-05 6.93e-05 0.01% MLMG::mgVcycle_up::4 82 6.363e-05 6.363e-05 6.363e-05 0.01% Castro::finalize_advance() 10 6.234e-05 6.234e-05 6.234e-05 0.01% Castro::advance() 10 6.081e-05 6.081e-05 6.081e-05 0.01% MLMG::oneIter() 82 5.649e-05 5.649e-05 5.649e-05 0.01% Castro::initialize_do_advance() 10 5.397e-05 5.397e-05 5.397e-05 0.01% MLMG::mgVcycle_up::3 82 5.361e-05 5.361e-05 5.361e-05 0.01% MLMG::mgVcycle_up::1 82 5.29e-05 5.29e-05 5.29e-05 0.01% MLMG::mgVcycle_up::2 82 5.153e-05 5.153e-05 5.153e-05 0.01% MLCellLinOp::solutionResidual() 93 5.013e-05 5.013e-05 5.013e-05 0.01% MLMG::mgVcycle_up::0 82 5.002e-05 5.002e-05 5.002e-05 0.01% Castro::swap_state_time_levels() 10 3.83e-05 3.83e-05 3.83e-05 0.00% Castro::finalize_do_advance() 10 3.804e-05 3.804e-05 3.804e-05 0.00% StateData::define() 4 3.427e-05 3.427e-05 3.427e-05 0.00% MLMG::ResNormInf() 93 3.397e-05 3.397e-05 3.397e-05 0.00% MLMG::mgVcycle_bottom 82 3.193e-05 3.193e-05 3.193e-05 0.00% Castro::enforce_consistent_e() 1 3.116e-05 3.116e-05 3.116e-05 0.00% FillPatchSingleLevel 41 3.113e-05 3.113e-05 3.113e-05 0.00% MLMG::computeResidual() 82 2.934e-05 2.934e-05 2.934e-05 0.00% makeSFC 55 2.55e-05 2.55e-05 2.55e-05 0.00% Amr::writeSmallPlotFile() 1 2.47e-05 2.47e-05 2.47e-05 0.00% Amr::defBaseLevel() 1 2.391e-05 2.391e-05 2.391e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.386e-05 2.386e-05 2.386e-05 0.00% Castro::construct_new_gravity() 10 2.34e-05 2.34e-05 2.34e-05 0.00% MLPoisson::define() 11 2.33e-05 2.33e-05 2.33e-05 0.00% Castro::initMFs() 1 2.314e-05 2.314e-05 2.314e-05 0.00% Amr::FinalizeInit() 1 2.203e-05 2.203e-05 2.203e-05 0.00% Castro::construct_old_source() 50 1.903e-05 1.903e-05 1.903e-05 0.00% Castro::buildMetrics() 1 1.785e-05 1.785e-05 1.785e-05 0.00% DistributionMapping::Distribute() 56 1.732e-05 1.732e-05 1.732e-05 0.00% Castro::do_new_sources() 10 1.723e-05 1.723e-05 1.723e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.704e-05 1.704e-05 1.704e-05 0.00% MLLinOp::define() 11 1.562e-05 1.562e-05 1.562e-05 0.00% Castro::do_old_sources() 10 1.505e-05 1.505e-05 1.505e-05 0.00% MLPoisson::prepareForSolve() 11 1.448e-05 1.448e-05 1.448e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.446e-05 1.446e-05 1.446e-05 0.00% MLMG::computeMLResidual() 11 1.395e-05 1.395e-05 1.395e-05 0.00% Castro::check_for_nan() 20 1.131e-05 1.131e-05 1.131e-05 0.00% Castro::apply_source_to_state() 20 1.105e-05 1.105e-05 1.105e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.032e-05 1.032e-05 1.032e-05 0.00% Castro::construct_old_gravity() 10 1.017e-05 1.017e-05 1.017e-05 0.00% Gravity::swapTimeLevels() 10 9.307e-06 9.307e-06 9.307e-06 0.00% Castro::post_timestep() 10 8.841e-06 8.841e-06 8.841e-06 0.00% Gravity::actual_multilevel_solve() 1 8.634e-06 8.634e-06 8.634e-06 0.00% Amr::initSubcycle() 1 8.557e-06 8.557e-06 8.557e-06 0.00% Castro::computeNewDt() 9 6.269e-06 6.269e-06 6.269e-06 0.00% MLMG::getGradSolution() 11 6.235e-06 6.235e-06 6.235e-06 0.00% Gravity::set_mass_offset() 11 5.108e-06 5.108e-06 5.108e-06 0.00% AmrLevel::checkPointPost() 3 4.968e-06 4.968e-06 4.968e-06 0.00% Amr::InitializeInit() 1 4.963e-06 4.963e-06 4.963e-06 0.00% Castro::post_init() 1 4.327e-06 4.327e-06 4.327e-06 0.00% Amr::init() 1 4.07e-06 4.07e-06 4.07e-06 0.00% MLMG::MLRhsNormInf() 11 3.961e-06 3.961e-06 3.961e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.565e-06 3.565e-06 3.565e-06 0.00% Castro::retry_advance_ctu() 10 3.522e-06 3.522e-06 3.522e-06 0.00% MLMG::MLResNormInf() 11 3.47e-06 3.47e-06 3.47e-06 0.00% Castro::computeInitialDt() 2 3.177e-06 3.177e-06 3.177e-06 0.00% Castro::FluxRegCrseInit 10 3.143e-06 3.143e-06 3.143e-06 0.00% Castro::FluxRegFineAdd() 10 2.855e-06 2.855e-06 2.855e-06 0.00% AmrLevel::checkPointPre() 3 2.21e-06 2.21e-06 2.21e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.098e-06 2.098e-06 2.098e-06 0.00% Castro::post_regrid() 1 1.734e-06 1.734e-06 1.734e-06 0.00% Amr::initialInit() 1 1.182e-06 1.182e-06 1.182e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8679 0.8679 0.8679 100.00% Amr::coarseTimeStep() 10 0.6953 0.6953 0.6953 80.11% Amr::timeStep() 10 0.5758 0.5758 0.5758 66.35% Castro::advance() 10 0.5683 0.5683 0.5683 65.48% Castro::subcycle_advance_ctu() 10 0.5561 0.5561 0.5561 64.07% Castro::do_advance_ctu() 10 0.556 0.556 0.556 64.06% Gravity::solve_phi_with_mlmg() 11 0.2788 0.2788 0.2788 32.12% Gravity::actual_solve_with_mlmg() 11 0.2721 0.2721 0.2721 31.35% Castro::construct_new_gravity() 10 0.2545 0.2545 0.2545 29.32% MLMG::solve() 11 0.2517 0.2517 0.2517 29.00% Gravity::solve_for_phi() 10 0.2394 0.2394 0.2394 27.58% MLMG::oneIter() 82 0.2376 0.2376 0.2376 27.38% MLMG::mgVcycle() 82 0.2339 0.2339 0.2339 26.95% VisMF::Write(FabArray) 11 0.2339 0.2339 0.2339 26.95% Castro::construct_ctu_hydro_source() 10 0.224 0.224 0.224 25.81% Amr::checkPoint() 3 0.1741 0.1741 0.1741 20.05% AmrLevel::checkPoint() 3 0.1704 0.1704 0.1704 19.64% StateData::checkPoint() 12 0.1703 0.1703 0.1703 19.63% Amr::init() 1 0.1388 0.1388 0.1388 15.99% MLCellLinOp::smooth() 1640 0.1163 0.1163 0.1163 13.40% MLCellLinOp::applyBC() 4433 0.1092 0.1092 0.1092 12.58% MLMG::mgVcycle_bottom 82 0.0715 0.0715 0.0715 8.24% MLMG::actualBottomSolve() 82 0.07146 0.07146 0.07146 8.23% MLCGSolver::bicgstab 82 0.07079 0.07079 0.07079 8.16% Amr::writePlotFile() 2 0.06633 0.06633 0.06633 7.64% Amr::initialInit() 1 0.04732 0.04732 0.04732 5.45% Castro::clean_state() 62 0.0467 0.0467 0.0467 5.38% Amr::FinalizeInit() 1 0.04344 0.04344 0.04344 5.00% Castro::post_init() 1 0.0421 0.0421 0.0421 4.85% FillPatchIterator::Initialize 41 0.04154 0.04154 0.04154 4.79% FillPatchSingleLevel 41 0.04003 0.04003 0.04003 4.61% Gravity::multilevel_solve_for_new_phi() 1 0.03979 0.03979 0.03979 4.58% Gravity::actual_multilevel_solve() 1 0.03977 0.03977 0.03977 4.58% StateDataPhysBCFunct::() 41 0.03593 0.03593 0.03593 4.14% MLCellLinOp::apply() 1142 0.03575 0.03575 0.03575 4.12% MLMG::mgVcycle_down::0 82 0.03407 0.03407 0.03407 3.93% FabArray::FillBoundary() 4023 0.03341 0.03341 0.03341 3.85% FillBoundary_nowait() 4023 0.0326 0.0326 0.0326 3.76% MLPoisson::Fsmooth() 3280 0.03163 0.03163 0.03163 3.64% MLMG::mgVcycle_up::0 82 0.02577 0.02577 0.02577 2.97% StateData::FillBoundary(geom) 328 0.02436 0.02436 0.02436 2.81% MLCellLinOp::correctionResidual() 492 0.02194 0.02194 0.02194 2.53% amrex::Dot() 1114 0.01987 0.01987 0.01987 2.29% Castro::computeTemp() 63 0.01953 0.01953 0.01953 2.25% MLMG:computeResOfCorrection() 410 0.01936 0.01936 0.01936 2.23% Castro::initialize_do_advance() 10 0.01932 0.01932 0.01932 2.23% Gravity::get_new_grav_vector() 11 0.01713 0.01713 0.01713 1.97% MLPoisson::define() 11 0.01615 0.01615 0.01615 1.86% MLMG::mgVcycle_down::1 82 0.01546 0.01546 0.01546 1.78% Castro::construct_old_gravity() 10 0.01485 0.01485 0.01485 1.71% Gravity::get_old_grav_vector() 10 0.01484 0.01484 0.01484 1.71% amrex::Copy() 1029 0.01455 0.01455 0.01455 1.68% MLMG::mgVcycle_down::2 82 0.01447 0.01447 0.01447 1.67% MLMG::mgVcycle_down::3 82 0.01411 0.01411 0.01411 1.63% FabArray::ParallelCopy() 861 0.01409 0.01409 0.01409 1.62% FabArray::norminf() 743 0.01399 0.01399 0.01399 1.61% MLMG::mgVcycle_down::4 82 0.01392 0.01392 0.01392 1.60% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.60% Castro::normalize_species() 62 0.01374 0.01374 0.01374 1.58% Castro::enforce_min_density() 62 0.01284 0.01284 0.01284 1.48% FabArray::setVal() 1144 0.01276 0.01276 0.01276 1.47% MLCGSolver::ParallelAllReduce 1514 0.01192 0.01192 0.01192 1.37% Castro::do_new_sources() 10 0.0119 0.0119 0.0119 1.37% Castro::initialize_advance() 10 0.01152 0.01152 0.01152 1.33% MLMG::addInterpCorrection() 410 0.01145 0.01145 0.01145 1.32% Castro::do_old_sources() 10 0.01137 0.01137 0.01137 1.31% MLMG::mgVcycle_up::1 82 0.0113 0.0113 0.0113 1.30% MLMG::mgVcycle_up::4 82 0.01116 0.01116 0.01116 1.29% MLMG::mgVcycle_up::2 82 0.01103 0.01103 0.01103 1.27% MLCellLinOp::defineAuxData() 11 0.01096 0.01096 0.01096 1.26% Castro::expand_state() 10 0.01092 0.01092 0.01092 1.26% amrex::average_down 410 0.01086 0.01086 0.01086 1.25% MLMG::mgVcycle_up::3 82 0.01076 0.01076 0.01076 1.24% MLPoisson::Fapply() 1142 0.01009 0.01009 0.01009 1.16% FabArray::Saxpy() 813 0.00801 0.00801 0.00801 0.92% FabArray::Xpay() 821 0.007835 0.007835 0.007835 0.90% Castro::post_timestep() 10 0.007374 0.007374 0.007374 0.85% MLCellLinOp::solutionResidual() 93 0.007099 0.007099 0.007099 0.82% Gravity::fill_multipole_BCs() 11 0.006496 0.006496 0.006496 0.75% MLMG::computeResidual() 82 0.006121 0.006121 0.006121 0.71% Castro::reset_internal_energy(MultiFab) 63 0.00569 0.00569 0.00569 0.66% Castro::estTimeStep() 21 0.005314 0.005314 0.005314 0.61% MLCellLinOp::defineBC() 11 0.004696 0.004696 0.004696 0.54% MLMG::prepareForSolve() 11 0.004539 0.004539 0.004539 0.52% BndryData::define() 11 0.004483 0.004483 0.004483 0.52% FabArray::LinComb() 557 0.004376 0.004376 0.004376 0.50% amrex::Add() 164 0.004355 0.004355 0.004355 0.50% Amr::InitializeInit() 1 0.003883 0.003883 0.003883 0.45% Amr::defBaseLevel() 1 0.003878 0.003878 0.003878 0.45% Castro::initData() 1 0.003352 0.003352 0.003352 0.39% Castro::construct_new_source() 50 0.00328 0.00328 0.00328 0.38% Castro::construct_new_gravity_source() 10 0.003186 0.003186 0.003186 0.37% Castro::construct_old_source() 50 0.002514 0.002514 0.002514 0.29% Castro::construct_old_gravity_source() 10 0.002495 0.002495 0.002495 0.29% Castro::computeNewDt() 9 0.002465 0.002465 0.002465 0.28% MLMG::ResNormInf() 93 0.002091 0.002091 0.002091 0.24% Castro::apply_source_to_state() 20 0.00182 0.00182 0.00182 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001708 0.001708 0.001708 0.20% Castro::reset_internal_energy(Fab) 504 0.001538 0.001538 0.001538 0.18% FabArrayBase::getCPC() 1323 0.00141 0.00141 0.00141 0.16% MLCellLinOp::setLevelBC() 11 0.001376 0.001376 0.001376 0.16% MLMG::getGradSolution() 11 0.001371 0.001371 0.001371 0.16% MLCellLinOp::compGrad() 11 0.001365 0.001365 0.001365 0.16% FabArray::mult() 43 0.001333 0.001333 0.001333 0.15% FabArray::setDomainBndry() 41 0.001281 0.001281 0.001281 0.15% Castro::check_for_nan() 20 0.001228 0.001228 0.001228 0.14% MultiFab::contains_nan() 20 0.001217 0.001217 0.001217 0.14% Castro::enforce_speed_limit() 62 0.001192 0.001192 0.001192 0.14% Castro::post_regrid() 1 0.001112 0.001112 0.001112 0.13% MLPoisson::prepareForSolve() 11 0.00111 0.00111 0.00111 0.13% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.13% MLMG::computeMLResidual() 11 0.001021 0.001021 0.001021 0.12% Castro::computeInitialDt() 2 0.0009168 0.0009168 0.0009168 0.11% Gravity::update_max_rhs() 11 0.0008653 0.0008653 0.0008653 0.10% FabArrayBase::CPC::define() 454 0.0006728 0.0006728 0.0006728 0.08% FabArrayBase::getFB() 4023 0.0006637 0.0006637 0.0006637 0.08% Castro::finalize_advance() 10 0.0005819 0.0005819 0.0005819 0.07% Amr::InitAmr() 1 0.0004692 0.0004692 0.0004692 0.05% MLLinOp::define() 11 0.0004658 0.0004658 0.0004658 0.05% Castro::Castro() 1 0.0004517 0.0004517 0.0004517 0.05% MLLinOp::defineGrids() 11 0.0004502 0.0004502 0.0004502 0.05% Gravity::swapTimeLevels() 10 0.0004302 0.0004302 0.0004302 0.05% MLMG::MLResNormInf() 11 0.0002858 0.0002858 0.0002858 0.03% MultiFab::max() 11 0.0002743 0.0002743 0.0002743 0.03% MLMG::MLRhsNormInf() 11 0.000224 0.000224 0.000224 0.03% Castro::create_source_corrector() 10 0.0001798 0.0001798 0.0001798 0.02% Castro::buildMetrics() 1 0.0001596 0.0001596 0.0001596 0.02% FabArrayBase::FB::FB() 56 8.689e-05 8.689e-05 8.689e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.562e-05 5.562e-05 5.562e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.459e-05 4.459e-05 4.459e-05 0.01% makeSFC 55 4.117e-05 4.117e-05 4.117e-05 0.00% Castro::swap_state_time_levels() 10 3.83e-05 3.83e-05 3.83e-05 0.00% Castro::finalize_do_advance() 10 3.804e-05 3.804e-05 3.804e-05 0.00% StateData::define() 4 3.427e-05 3.427e-05 3.427e-05 0.00% Castro::enforce_consistent_e() 1 3.116e-05 3.116e-05 3.116e-05 0.00% Amr::writeSmallPlotFile() 1 2.47e-05 2.47e-05 2.47e-05 0.00% Castro::initMFs() 1 2.314e-05 2.314e-05 2.314e-05 0.00% DistributionMapping::Distribute() 56 1.732e-05 1.732e-05 1.732e-05 0.00% Amr::initSubcycle() 1 8.557e-06 8.557e-06 8.557e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.216e-06 5.216e-06 5.216e-06 0.00% Gravity::set_mass_offset() 11 5.108e-06 5.108e-06 5.108e-06 0.00% AmrLevel::checkPointPost() 3 4.968e-06 4.968e-06 4.968e-06 0.00% Castro::retry_advance_ctu() 10 3.522e-06 3.522e-06 3.522e-06 0.00% Castro::FluxRegCrseInit 10 3.143e-06 3.143e-06 3.143e-06 0.00% Castro::FluxRegFineAdd() 10 2.855e-06 2.855e-06 2.855e-06 0.00% AmrLevel::checkPointPre() 3 2.21e-06 2.21e-06 2.21e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.098e-06 2.098e-06 2.098e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 124 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1014 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2154 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3568 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1910 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2549 B 480 KiB VisMF::Write(FabArray) 656 656 3400 B 320 KiB Castro::normalize_species() 62 62 5152 B 320 KiB amrex::average_down 1067 1067 1255 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1139 B 257 KiB amrex::Dot() 1360 1360 3379 B 160 KiB FabArray::norminf() 907 907 2387 B 160 KiB Castro::do_advance_ctu() 10 10 538 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3489 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 8866 8866 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3857 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2848 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 118 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 675 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 617 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3489 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 4433 4433 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3857 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2848 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-40-gee492f47704a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-40-gee492f47704a) initialized Starting run at 07:39:24 UTC on 2023-04-28. Successfully read inputs file ... Castro git describe: 23.04-17-gf9272dfba AMReX git describe: 23.04-40-gee492f477 Microphysics git describe: 23.04-6-gfc4258c6 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.457471285 Restart time = 0.046390122 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048313982 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.046287552 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.046504839 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.046133585 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.05982643 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03223671 seconds Ending run at 07:39:25 UTC on 2023-04-28. Run time = 0.326695253 Run time without initialization = 0.279712216 Average number of zones advanced per microsecond: 4.686 Average number of zones advanced per microsecond per rank: 4.686 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3267 ... 0.3267 ... 0.3267 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0718 0.0718 0.0718 21.98% VisMF::Read() 3 0.04003 0.04003 0.04003 12.25% MLCellLinOp::applyBC() 1946 0.03284 0.03284 0.03284 10.05% VisMF::Write(FabArray) 1 0.03082 0.03082 0.03082 9.43% MLPoisson::Fsmooth() 1440 0.0136 0.0136 0.0136 4.16% FillBoundary_nowait() 1766 0.01269 0.01269 0.01269 3.88% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 3.61% amrex::Dot() 484 0.008455 0.008455 0.008455 2.59% amrex::Copy() 463 0.006793 0.006793 0.006793 2.08% FabArray::setVal() 537 0.006096 0.006096 0.006096 1.87% FabArray::norminf() 326 0.006049 0.006049 0.006049 1.85% FabArray::ParallelCopy_nowait() 380 0.005898 0.005898 0.005898 1.81% Castro::normalize_species() 30 0.005821 0.005821 0.005821 1.78% StateDataPhysBCFunct::() 20 0.005397 0.005397 0.005397 1.65% MLCellLinOp::defineAuxData() 6 0.005183 0.005183 0.005183 1.59% Castro::computeTemp() 30 0.005166 0.005166 0.005166 1.58% Castro::enforce_min_density() 30 0.004532 0.004532 0.004532 1.39% MLPoisson::Fapply() 500 0.004301 0.004301 0.004301 1.32% Castro::estTimeStep() 10 0.003587 0.003587 0.003587 1.10% FabArray::Saxpy() 355 0.003552 0.003552 0.003552 1.09% FabArray::Xpay() 361 0.003384 0.003384 0.003384 1.04% Gravity::fill_multipole_BCs() 6 0.00327 0.00327 0.00327 1.00% MLMG::addInterpCorrection() 180 0.002826 0.002826 0.002826 0.86% Amr::restart() 1 0.002675 0.002675 0.002675 0.82% amrex::average_down 180 0.002508 0.002508 0.002508 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002279 0.002279 0.002279 0.70% BndryData::define() 6 0.001923 0.001923 0.001923 0.59% FabArray::LinComb() 242 0.001863 0.001863 0.001863 0.57% amrex::Add() 72 0.001832 0.001832 0.001832 0.56% Castro::construct_new_gravity_source() 5 0.001683 0.001683 0.001683 0.52% Castro::construct_old_gravity_source() 5 0.00134 0.00134 0.00134 0.41% Amr::writePlotFile() 1 0.001258 0.001258 0.001258 0.39% Castro::do_advance_ctu() 5 0.001218 0.001218 0.001218 0.37% MLCGSolver::bicgstab 36 0.0009418 0.0009418 0.0009418 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009104 0.0009104 0.0009104 0.28% Gravity::actual_solve_with_mlmg() 6 0.0007807 0.0007807 0.0007807 0.24% MLCellLinOp::setLevelBC() 6 0.0007277 0.0007277 0.0007277 0.22% Castro::reset_internal_energy(Fab) 240 0.000695 0.000695 0.000695 0.21% Castro::enforce_speed_limit() 30 0.0006645 0.0006645 0.0006645 0.20% FabArray::mult() 22 0.0006444 0.0006444 0.0006444 0.20% FabArray::setDomainBndry() 20 0.0006369 0.0006369 0.0006369 0.19% MLCellLinOp::prepareForSolve() 6 0.0006061 0.0006061 0.0006061 0.19% MultiFab::contains_nan() 10 0.0005936 0.0005936 0.0005936 0.18% MLCellLinOp::compGrad() 6 0.0004786 0.0004786 0.0004786 0.15% MLMG::prepareForSolve() 6 0.0004686 0.0004686 0.0004686 0.14% MLCellLinOp::smooth() 720 0.0004308 0.0004308 0.0004308 0.13% FabArrayBase::CPC::define() 244 0.0004204 0.0004204 0.0004204 0.13% Amr::InitAmr() 1 0.0003997 0.0003997 0.0003997 0.12% FabArray::FillBoundary() 1766 0.0003451 0.0003451 0.0003451 0.11% FabArrayBase::getCPC() 632 0.0003439 0.0003439 0.0003439 0.11% Gravity::get_old_grav_vector() 5 0.0003114 0.0003114 0.0003114 0.10% Gravity::get_new_grav_vector() 5 0.0002726 0.0002726 0.0002726 0.08% main() 1 0.0002701 0.0002701 0.0002701 0.08% FabArrayBase::getFB() 1766 0.000244 0.000244 0.000244 0.07% MLCellLinOp::apply() 500 0.0001869 0.0001869 0.0001869 0.06% MLLinOp::defineGrids() 6 0.0001823 0.0001823 0.0001823 0.06% Amr::coarseTimeStep() 5 0.0001624 0.0001624 0.0001624 0.05% MLMG::mgVcycle() 36 0.0001577 0.0001577 0.0001577 0.05% MultiFab::max() 6 0.0001353 0.0001353 0.0001353 0.04% MLCGSolver::ParallelAllReduce 659 0.000124 0.000124 0.000124 0.04% FillPatchIterator::Initialize 20 0.0001189 0.0001189 0.0001189 0.04% MLCellLinOp::defineBC() 6 0.0001164 0.0001164 0.0001164 0.04% FabArray::ParallelCopy() 380 0.0001053 0.0001053 0.0001053 0.03% MLCellLinOp::correctionResidual() 216 9.603e-05 9.603e-05 9.603e-05 0.03% Castro::subcycle_advance_ctu() 5 9.541e-05 9.541e-05 9.541e-05 0.03% Amr::timeStep() 5 8.818e-05 8.818e-05 8.818e-05 0.03% Gravity::update_max_rhs() 6 7.839e-05 7.839e-05 7.839e-05 0.02% AmrLevel::restart() 1 7.521e-05 7.521e-05 7.521e-05 0.02% Castro::create_source_corrector() 5 7.451e-05 7.451e-05 7.451e-05 0.02% StateData::restartDoit() 4 6.617e-05 6.617e-05 6.617e-05 0.02% FabArrayBase::FB::FB() 26 6.317e-05 6.317e-05 6.317e-05 0.02% Gravity::solve_for_phi() 5 5.792e-05 5.792e-05 5.792e-05 0.02% Castro::expand_state() 5 5.095e-05 5.095e-05 5.095e-05 0.02% MLMG:computeResOfCorrection() 180 4.993e-05 4.993e-05 4.993e-05 0.02% MLMG::actualBottomSolve() 36 3.867e-05 3.867e-05 3.867e-05 0.01% MLMG::mgVcycle_down::0 36 3.787e-05 3.787e-05 3.787e-05 0.01% Castro::clean_state() 30 3.616e-05 3.616e-05 3.616e-05 0.01% MLMG::mgVcycle_down::1 36 3.386e-05 3.386e-05 3.386e-05 0.01% Castro::initialize_advance() 5 3.371e-05 3.371e-05 3.371e-05 0.01% MLMG::solve() 6 3.355e-05 3.355e-05 3.355e-05 0.01% MLMG::mgVcycle_down::2 36 3.249e-05 3.249e-05 3.249e-05 0.01% MLMG::mgVcycle_down::4 36 3.235e-05 3.235e-05 3.235e-05 0.01% MLMG::mgVcycle_down::3 36 3.157e-05 3.157e-05 3.157e-05 0.01% Castro::finalize_advance() 5 2.854e-05 2.854e-05 2.854e-05 0.01% Castro::initMFs() 1 2.837e-05 2.837e-05 2.837e-05 0.01% MLMG::mgVcycle_up::4 36 2.826e-05 2.826e-05 2.826e-05 0.01% Castro::initialize_do_advance() 5 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::buildMetrics() 1 2.725e-05 2.725e-05 2.725e-05 0.01% Amr::writeSmallPlotFile() 1 2.652e-05 2.652e-05 2.652e-05 0.01% MLMG::oneIter() 36 2.386e-05 2.386e-05 2.386e-05 0.01% Castro::swap_state_time_levels() 5 2.364e-05 2.364e-05 2.364e-05 0.01% MLMG::mgVcycle_up::2 36 2.151e-05 2.151e-05 2.151e-05 0.01% MLMG::mgVcycle_up::3 36 2.15e-05 2.15e-05 2.15e-05 0.01% MLMG::mgVcycle_up::0 36 2.135e-05 2.135e-05 2.135e-05 0.01% MLCellLinOp::solutionResidual() 42 2.083e-05 2.083e-05 2.083e-05 0.01% Castro::post_restart() 1 2.034e-05 2.034e-05 2.034e-05 0.01% MLMG::mgVcycle_up::1 36 2.032e-05 2.032e-05 2.032e-05 0.01% Castro::finalize_do_advance() 5 1.924e-05 1.924e-05 1.924e-05 0.01% Gravity::solve_phi_with_mlmg() 6 1.798e-05 1.798e-05 1.798e-05 0.01% MLMG::ResNormInf() 42 1.747e-05 1.747e-05 1.747e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.581e-05 1.581e-05 1.581e-05 0.00% FillPatchSingleLevel 20 1.499e-05 1.499e-05 1.499e-05 0.00% Castro::advance() 5 1.456e-05 1.456e-05 1.456e-05 0.00% MLPoisson::define() 6 1.409e-05 1.409e-05 1.409e-05 0.00% makeSFC 30 1.347e-05 1.347e-05 1.347e-05 0.00% MLMG::mgVcycle_bottom 36 1.339e-05 1.339e-05 1.339e-05 0.00% MLMG::computeResidual() 36 1.301e-05 1.301e-05 1.301e-05 0.00% Castro::construct_new_gravity() 5 1.195e-05 1.195e-05 1.195e-05 0.00% Castro::construct_old_source() 25 1.003e-05 1.003e-05 1.003e-05 0.00% Castro::construct_new_source() 25 9.855e-06 9.855e-06 9.855e-06 0.00% Amr::initSubcycle() 1 9.435e-06 9.435e-06 9.435e-06 0.00% MLMG::computeMLResidual() 6 9.432e-06 9.432e-06 9.432e-06 0.00% MLPoisson::prepareForSolve() 6 9.382e-06 9.382e-06 9.382e-06 0.00% DistributionMapping::Distribute() 31 9.335e-06 9.335e-06 9.335e-06 0.00% Castro::do_new_sources() 5 8.432e-06 8.432e-06 8.432e-06 0.00% Castro::do_old_sources() 5 8.207e-06 8.207e-06 8.207e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.476e-06 7.476e-06 7.476e-06 0.00% Gravity::actual_multilevel_solve() 1 7.364e-06 7.364e-06 7.364e-06 0.00% MLLinOp::define() 6 5.799e-06 5.799e-06 5.799e-06 0.00% Castro::check_for_nan() 10 5.677e-06 5.677e-06 5.677e-06 0.00% Castro::apply_source_to_state() 10 5.403e-06 5.403e-06 5.403e-06 0.00% Castro::construct_old_gravity() 5 4.914e-06 4.914e-06 4.914e-06 0.00% Castro::post_timestep() 5 4.25e-06 4.25e-06 4.25e-06 0.00% Gravity::swapTimeLevels() 5 3.743e-06 3.743e-06 3.743e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.592e-06 3.592e-06 3.592e-06 0.00% Castro::computeNewDt() 5 3.409e-06 3.409e-06 3.409e-06 0.00% MLMG::getGradSolution() 6 3.381e-06 3.381e-06 3.381e-06 0.00% Gravity::set_mass_offset() 6 2.438e-06 2.438e-06 2.438e-06 0.00% MLMG::MLRhsNormInf() 6 2.302e-06 2.302e-06 2.302e-06 0.00% MLMG::MLResNormInf() 6 2.148e-06 2.148e-06 2.148e-06 0.00% Castro::retry_advance_ctu() 5 1.776e-06 1.776e-06 1.776e-06 0.00% Castro::FluxRegCrseInit 5 1.597e-06 1.597e-06 1.597e-06 0.00% Castro::FluxRegFineAdd() 5 1.077e-06 1.077e-06 1.077e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.076e-06 1.076e-06 1.076e-06 0.00% Amr::init() 1 1.007e-06 1.007e-06 1.007e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3267 0.3267 0.3267 99.99% Amr::coarseTimeStep() 5 0.2472 0.2472 0.2472 75.67% Amr::timeStep() 5 0.2442 0.2442 0.2442 74.75% Castro::advance() 5 0.2412 0.2412 0.2412 73.82% Castro::subcycle_advance_ctu() 5 0.2351 0.2351 0.2351 71.96% Castro::do_advance_ctu() 5 0.235 0.235 0.235 71.93% Castro::construct_new_gravity() 5 0.1269 0.1269 0.1269 38.85% Gravity::solve_phi_with_mlmg() 6 0.1223 0.1223 0.1223 37.43% Gravity::solve_for_phi() 5 0.1193 0.1193 0.1193 36.51% Gravity::actual_solve_with_mlmg() 6 0.1188 0.1188 0.1188 36.36% MLMG::solve() 6 0.1078 0.1078 0.1078 32.99% MLMG::oneIter() 36 0.101 0.101 0.101 30.93% MLMG::mgVcycle() 36 0.0995 0.0995 0.0995 30.45% Castro::construct_ctu_hydro_source() 5 0.0718 0.0718 0.0718 21.98% MLCellLinOp::smooth() 720 0.04911 0.04911 0.04911 15.03% Amr::init() 1 0.04645 0.04645 0.04645 14.22% Amr::restart() 1 0.04645 0.04645 0.04645 14.22% MLCellLinOp::applyBC() 1946 0.04618 0.04618 0.04618 14.13% AmrLevel::restart() 1 0.04024 0.04024 0.04024 12.31% StateData::restartDoit() 4 0.04016 0.04016 0.04016 12.29% VisMF::Read() 3 0.04003 0.04003 0.04003 12.25% Amr::writePlotFile() 1 0.03233 0.03233 0.03233 9.89% VisMF::Write(FabArray) 1 0.03082 0.03082 0.03082 9.43% MLMG::mgVcycle_bottom 36 0.0306 0.0306 0.0306 9.37% MLMG::actualBottomSolve() 36 0.03059 0.03059 0.03059 9.36% MLCGSolver::bicgstab 36 0.03029 0.03029 0.03029 9.27% FillPatchIterator::Initialize 20 0.02001 0.02001 0.02001 6.13% FillPatchSingleLevel 20 0.01926 0.01926 0.01926 5.89% Castro::clean_state() 30 0.01919 0.01919 0.01919 5.87% StateDataPhysBCFunct::() 20 0.0172 0.0172 0.0172 5.27% MLCellLinOp::apply() 500 0.01533 0.01533 0.01533 4.69% MLMG::mgVcycle_down::0 36 0.01412 0.01412 0.01412 4.32% MLPoisson::Fsmooth() 1440 0.0136 0.0136 0.0136 4.16% FabArray::FillBoundary() 1766 0.01334 0.01334 0.01334 4.08% FillBoundary_nowait() 1766 0.01299 0.01299 0.01299 3.98% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 3.61% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 3.27% Castro::initialize_do_advance() 5 0.009317 0.009317 0.009317 2.85% MLCellLinOp::correctionResidual() 216 0.009283 0.009283 0.009283 2.84% MLPoisson::define() 6 0.008748 0.008748 0.008748 2.68% amrex::Dot() 484 0.008455 0.008455 0.008455 2.59% MLMG:computeResOfCorrection() 180 0.008164 0.008164 0.008164 2.50% Castro::computeTemp() 30 0.00814 0.00814 0.00814 2.49% Gravity::get_new_grav_vector() 5 0.00753 0.00753 0.00753 2.30% Castro::construct_old_gravity() 5 0.007281 0.007281 0.007281 2.23% Gravity::get_old_grav_vector() 5 0.007276 0.007276 0.007276 2.23% amrex::Copy() 463 0.006793 0.006793 0.006793 2.08% MLMG::mgVcycle_down::1 36 0.006643 0.006643 0.006643 2.03% FabArray::ParallelCopy() 380 0.006385 0.006385 0.006385 1.95% FabArray::ParallelCopy_nowait() 380 0.006279 0.006279 0.006279 1.92% MLMG::mgVcycle_down::2 36 0.006204 0.006204 0.006204 1.90% FabArray::setVal() 537 0.006096 0.006096 0.006096 1.87% MLMG::mgVcycle_down::3 36 0.006073 0.006073 0.006073 1.86% FabArray::norminf() 326 0.006049 0.006049 0.006049 1.85% Castro::do_new_sources() 5 0.006013 0.006013 0.006013 1.84% MLMG::mgVcycle_down::4 36 0.005989 0.005989 0.005989 1.83% MLCellLinOp::defineAuxData() 6 0.005926 0.005926 0.005926 1.81% Castro::normalize_species() 30 0.005821 0.005821 0.005821 1.78% Castro::initialize_advance() 5 0.005777 0.005777 0.005777 1.77% Castro::expand_state() 5 0.005601 0.005601 0.005601 1.71% MLCGSolver::ParallelAllReduce 659 0.0051 0.0051 0.0051 1.56% MLMG::addInterpCorrection() 180 0.004983 0.004983 0.004983 1.53% MLMG::mgVcycle_up::1 36 0.004841 0.004841 0.004841 1.48% MLMG::mgVcycle_up::4 36 0.004814 0.004814 0.004814 1.47% MLMG::mgVcycle_up::2 36 0.004742 0.004742 0.004742 1.45% amrex::average_down 180 0.004695 0.004695 0.004695 1.44% Castro::do_old_sources() 5 0.004675 0.004675 0.004675 1.43% MLMG::mgVcycle_up::3 36 0.00464 0.00464 0.00464 1.42% Castro::enforce_min_density() 30 0.004532 0.004532 0.004532 1.39% MLPoisson::Fapply() 500 0.004301 0.004301 0.004301 1.32% Castro::estTimeStep() 10 0.003587 0.003587 0.003587 1.10% FabArray::Saxpy() 355 0.003552 0.003552 0.003552 1.09% Gravity::fill_multipole_BCs() 6 0.003394 0.003394 0.003394 1.04% FabArray::Xpay() 361 0.003384 0.003384 0.003384 1.04% Castro::post_restart() 1 0.003356 0.003356 0.003356 1.03% Gravity::multilevel_solve_for_new_phi() 1 0.003247 0.003247 0.003247 0.99% Gravity::actual_multilevel_solve() 1 0.003231 0.003231 0.003231 0.99% MLCellLinOp::solutionResidual() 42 0.003184 0.003184 0.003184 0.97% Castro::reset_internal_energy(MultiFab) 30 0.002974 0.002974 0.002974 0.91% Castro::post_timestep() 5 0.002947 0.002947 0.002947 0.90% Castro::computeNewDt() 5 0.00284 0.00284 0.00284 0.87% MLMG::computeResidual() 36 0.002625 0.002625 0.002625 0.80% MLCellLinOp::defineBC() 6 0.002589 0.002589 0.002589 0.79% BndryData::define() 6 0.002473 0.002473 0.002473 0.76% MLMG::prepareForSolve() 6 0.002471 0.002471 0.002471 0.76% FabArray::LinComb() 242 0.001863 0.001863 0.001863 0.57% amrex::Add() 72 0.001832 0.001832 0.001832 0.56% Castro::construct_new_source() 25 0.001693 0.001693 0.001693 0.52% Castro::construct_new_gravity_source() 5 0.001683 0.001683 0.001683 0.52% Castro::construct_old_source() 25 0.00135 0.00135 0.00135 0.41% Castro::construct_old_gravity_source() 5 0.00134 0.00134 0.00134 0.41% MLMG::ResNormInf() 42 0.0009172 0.0009172 0.0009172 0.28% Castro::apply_source_to_state() 10 0.0009171 0.0009171 0.0009171 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009104 0.0009104 0.0009104 0.28% FabArrayBase::getCPC() 632 0.0007644 0.0007644 0.0007644 0.23% MLMG::getGradSolution() 6 0.0007415 0.0007415 0.0007415 0.23% MLCellLinOp::compGrad() 6 0.0007382 0.0007382 0.0007382 0.23% MLCellLinOp::setLevelBC() 6 0.0007277 0.0007277 0.0007277 0.22% Castro::reset_internal_energy(Fab) 240 0.000695 0.000695 0.000695 0.21% Castro::enforce_speed_limit() 30 0.0006645 0.0006645 0.0006645 0.20% FabArray::mult() 22 0.0006444 0.0006444 0.0006444 0.20% FabArray::setDomainBndry() 20 0.0006369 0.0006369 0.0006369 0.19% MLPoisson::prepareForSolve() 6 0.0006155 0.0006155 0.0006155 0.19% MLCellLinOp::prepareForSolve() 6 0.0006061 0.0006061 0.0006061 0.19% Castro::check_for_nan() 10 0.0005993 0.0005993 0.0005993 0.18% MultiFab::contains_nan() 10 0.0005936 0.0005936 0.0005936 0.18% MLMG::computeMLResidual() 6 0.0005812 0.0005812 0.0005812 0.18% Gravity::update_max_rhs() 6 0.0004568 0.0004568 0.0004568 0.14% FabArrayBase::CPC::define() 244 0.0004204 0.0004204 0.0004204 0.13% Amr::InitAmr() 1 0.0004092 0.0004092 0.0004092 0.13% FabArrayBase::getFB() 1766 0.0003072 0.0003072 0.0003072 0.09% Castro::finalize_advance() 5 0.0002822 0.0002822 0.0002822 0.09% Gravity::swapTimeLevels() 5 0.00022 0.00022 0.00022 0.07% MLLinOp::define() 6 0.0002181 0.0002181 0.0002181 0.07% MLLinOp::defineGrids() 6 0.0002123 0.0002123 0.0002123 0.06% Castro::buildMetrics() 1 0.0001539 0.0001539 0.0001539 0.05% MLMG::MLResNormInf() 6 0.0001497 0.0001497 0.0001497 0.05% MultiFab::max() 6 0.0001353 0.0001353 0.0001353 0.04% MLMG::MLRhsNormInf() 6 0.0001165 0.0001165 0.0001165 0.04% Castro::create_source_corrector() 5 7.451e-05 7.451e-05 7.451e-05 0.02% FabArrayBase::FB::FB() 26 6.317e-05 6.317e-05 6.317e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.895e-05 2.895e-05 2.895e-05 0.01% Castro::initMFs() 1 2.837e-05 2.837e-05 2.837e-05 0.01% Amr::writeSmallPlotFile() 1 2.652e-05 2.652e-05 2.652e-05 0.01% Castro::swap_state_time_levels() 5 2.364e-05 2.364e-05 2.364e-05 0.01% makeSFC 30 2.147e-05 2.147e-05 2.147e-05 0.01% Castro::finalize_do_advance() 5 1.924e-05 1.924e-05 1.924e-05 0.01% Amr::initSubcycle() 1 9.435e-06 9.435e-06 9.435e-06 0.00% DistributionMapping::Distribute() 31 9.335e-06 9.335e-06 9.335e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.927e-06 4.927e-06 4.927e-06 0.00% Gravity::set_mass_offset() 6 2.438e-06 2.438e-06 2.438e-06 0.00% Castro::retry_advance_ctu() 5 1.776e-06 1.776e-06 1.776e-06 0.00% Castro::FluxRegCrseInit 5 1.597e-06 1.597e-06 1.597e-06 0.00% Castro::FluxRegFineAdd() 5 1.077e-06 1.077e-06 1.077e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.076e-06 1.076e-06 1.076e-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 251 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 100 MiB 692 MiB Castro::initMFs() 48 48 58 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1340 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2776 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 6560 KiB 14 MiB MLMG::prepareForSolve() 361 361 4050 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 230 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 235 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6555 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2599 B 2048 KiB Gravity::solve_for_phi() 40 40 746 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 20 KiB 2048 KiB BndryData::define() 576 576 372 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 239 KiB 671 KiB Castro::estTimeStep() 10 10 2866 B 480 KiB VisMF::Write(FabArray) 112 112 1500 B 320 KiB Castro::normalize_species() 30 30 5782 B 320 KiB amrex::average_down 469 469 1356 B 257 KiB MLMG::addInterpCorrection() 468 468 1312 B 257 KiB amrex::Dot() 592 592 3810 B 160 KiB FabArray::norminf() 398 398 2736 B 160 KiB Castro::do_advance_ctu() 5 5 558 B 160 KiB MultiFab::max() 6 6 63 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 36 B 20 KiB MLPoisson::Fsmooth() 60 60 3938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 337 B 9648 B MLCellLinOp::applyBC() 3892 3892 259 B 9344 B amrex::Copy() 56 56 5885 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 57 B 2944 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 134 B 1472 B MLCellLinOp::defineBC() 36 36 418 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1603 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 134 KiB 8192 KiB VisMF::Write(FabArray) 120 120 288 KiB 3584 KiB VisMF::Read() 24 24 237 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 337 B 9648 B MLCellLinOp::applyBC() 1946 1946 257 B 9328 B amrex::Copy() 56 56 5885 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2579 B 3072 B StateData::FillBoundary(geom) 960 960 58 B 2944 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 570 B 1296 B amrex::average_down 37 37 216 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-40-gee492f47704a) finalized