Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 20:05:04 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 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.043659913 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024286868 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.064862468 [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.069094299 [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.075708629 [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.074245876 [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.057356915 [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.043592652 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.051095363 [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.069500042 [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.071547532 [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.059393378 [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.062977375 [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.042051239 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024214974 seconds Ending run at 20:05:05 UTC on 2024-04-02. Run time = 0.888683631 Run time without initialization = 0.766332571 Average number of zones advanced per microsecond: 3.421 Average number of zones advanced per microsecond per rank: 3.421 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8887 ... 0.8887 ... 0.8887 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2764 0.2764 0.2764 31.10% VisMF::Write(FabArray) 11 0.1691 0.1691 0.1691 19.02% MLCellLinOp::applyBC() 4351 0.08002 0.08002 0.08002 9.00% MLPoisson::Fsmooth() 3280 0.03286 0.03286 0.03286 3.70% FillBoundary_nowait() 3941 0.03067 0.03067 0.03067 3.45% StateData::FillBoundary(geom) 328 0.02639 0.02639 0.02639 2.97% amrex::Dot() 1114 0.02095 0.02095 0.02095 2.36% Castro::normalize_species() 62 0.01969 0.01969 0.01969 2.22% FabArray::norminf() 1061 0.01936 0.01936 0.01936 2.18% MLCellLinOp::defineAuxData() 11 0.017 0.017 0.017 1.91% Castro::computeTemp() 63 0.01547 0.01547 0.01547 1.74% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.52% FabArray::setVal() 1062 0.01325 0.01325 0.01325 1.49% FabArray::Saxpy() 1370 0.01288 0.01288 0.01288 1.45% StateDataPhysBCFunct::() 41 0.01187 0.01187 0.01187 1.34% amrex::Copy() 472 0.01081 0.01081 0.01081 1.22% Castro::enforce_min_density() 62 0.01041 0.01041 0.01041 1.17% MLPoisson::Fapply() 1060 0.01005 0.01005 0.01005 1.13% Gravity::fill_multipole_BCs() 11 0.009358 0.009358 0.009358 1.05% FabArray::Xpay() 739 0.007674 0.007674 0.007674 0.86% MLMG::addInterpCorrection() 410 0.006908 0.006908 0.006908 0.78% Amr::checkPoint() 3 0.006148 0.006148 0.006148 0.69% amrex::average_down 410 0.00608 0.00608 0.00608 0.68% Castro::estTimeStep() 21 0.006038 0.006038 0.006038 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005273 0.005273 0.005273 0.59% BndryData::define() 11 0.003858 0.003858 0.003858 0.43% amrex::Add() 82 0.003635 0.003635 0.003635 0.41% Castro::construct_new_gravity_source() 10 0.003616 0.003616 0.003616 0.41% Castro::enforce_speed_limit() 62 0.00308 0.00308 0.00308 0.35% Castro::construct_old_gravity_source() 10 0.003009 0.003009 0.003009 0.34% Amr::writePlotFile() 2 0.002165 0.002165 0.002165 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.20% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.18% MLCGSolver::bicgstab 82 0.00162 0.00162 0.00162 0.18% Castro::reset_internal_energy(Fab) 504 0.001579 0.001579 0.001579 0.18% MLCellLinOp::setLevelBC() 11 0.001555 0.001555 0.001555 0.17% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.17% Castro::initData() 1 0.001479 0.001479 0.001479 0.17% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001338 0.001338 0.001338 0.15% MLCellLinOp::prepareForSolve() 11 0.001297 0.001297 0.001297 0.15% MultiFab::contains_nan() 20 0.001249 0.001249 0.001249 0.14% MLCellLinOp::smooth() 1640 0.001135 0.001135 0.001135 0.13% MLCellLinOp::compGrad() 11 0.001054 0.001054 0.001054 0.12% MLMG::prepareForSolve() 11 0.0009634 0.0009634 0.0009634 0.11% FabArrayBase::getCPC() 1323 0.0008103 0.0008103 0.0008103 0.09% FabArray::FillBoundary() 3941 0.0007677 0.0007677 0.0007677 0.09% FabArrayBase::getFB() 3941 0.0006656 0.0006656 0.0006656 0.07% FabArrayBase::CPC::define() 454 0.0006508 0.0006508 0.0006508 0.07% Gravity::get_new_grav_vector() 11 0.0006082 0.0006082 0.0006082 0.07% Amr::InitAmr() 1 0.0005395 0.0005395 0.0005395 0.06% Gravity::get_old_grav_vector() 10 0.0004809 0.0004809 0.0004809 0.05% MLCellLinOp::apply() 1060 0.0004143 0.0004143 0.0004143 0.05% AmrLevel::FillPatch() 41 0.0004142 0.0004142 0.0004142 0.05% MultiFab::max() 11 0.0003353 0.0003353 0.0003353 0.04% Amr::coarseTimeStep() 10 0.0003281 0.0003281 0.0003281 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003128 0.0003128 0.0003128 0.04% main() 1 0.0002982 0.0002982 0.0002982 0.03% FabArray::ParallelCopy() 861 0.0002662 0.0002662 0.0002662 0.03% MLCellLinOp::defineBC() 11 0.0002588 0.0002588 0.0002588 0.03% FillPatchIterator::Initialize 41 0.0002182 0.0002182 0.0002182 0.02% MLMG::mgVcycle() 82 0.0001979 0.0001979 0.0001979 0.02% Castro::subcycle_advance_ctu() 10 0.0001964 0.0001964 0.0001964 0.02% Castro::create_source_corrector() 10 0.0001909 0.0001909 0.0001909 0.02% MLLinOp::defineGrids() 11 0.0001879 0.0001879 0.0001879 0.02% MLCellLinOp::correctionResidual() 410 0.0001642 0.0001642 0.0001642 0.02% Amr::timeStep() 10 0.000162 0.000162 0.000162 0.02% Gravity::update_max_rhs() 11 0.0001262 0.0001262 0.0001262 0.01% MLMG:computeResOfCorrection() 410 0.0001213 0.0001213 0.0001213 0.01% StateData::checkPoint() 12 0.0001129 0.0001129 0.0001129 0.01% Gravity::solve_for_phi() 10 0.000106 0.000106 0.000106 0.01% Castro::advance() 10 9.759e-05 9.759e-05 9.759e-05 0.01% Castro::Castro() 1 8.705e-05 8.705e-05 8.705e-05 0.01% FabArrayBase::FB::FB() 56 8.353e-05 8.353e-05 8.353e-05 0.01% MLMG::actualBottomSolve() 82 8.227e-05 8.227e-05 8.227e-05 0.01% Castro::construct_new_source() 50 8.059e-05 8.059e-05 8.059e-05 0.01% Castro::initialize_advance() 10 7.883e-05 7.883e-05 7.883e-05 0.01% MLMG::mgVcycle_down::0 82 7.801e-05 7.801e-05 7.801e-05 0.01% MLMG::mgVcycle_down::1 82 7.684e-05 7.684e-05 7.684e-05 0.01% MLMG::mgVcycle_down::4 82 7.632e-05 7.632e-05 7.632e-05 0.01% Castro::do_new_sources() 10 7.417e-05 7.417e-05 7.417e-05 0.01% MLMG::mgVcycle_down::2 82 7.416e-05 7.416e-05 7.416e-05 0.01% Castro::clean_state() 62 7.106e-05 7.106e-05 7.106e-05 0.01% Castro::finalize_advance() 10 7.094e-05 7.094e-05 7.094e-05 0.01% MLMG::solve() 11 7.063e-05 7.063e-05 7.063e-05 0.01% MLMG::mgVcycle_down::3 82 6.788e-05 6.788e-05 6.788e-05 0.01% Castro::enforce_consistent_e() 1 6.615e-05 6.615e-05 6.615e-05 0.01% AmrLevel::checkPoint() 3 6.28e-05 6.28e-05 6.28e-05 0.01% Castro::initialize_do_advance() 10 5.821e-05 5.821e-05 5.821e-05 0.01% MLMG::oneIter() 82 5.636e-05 5.636e-05 5.636e-05 0.01% MLMG::mgVcycle_up::4 82 5.011e-05 5.011e-05 5.011e-05 0.01% Castro::finalize_do_advance() 10 4.927e-05 4.927e-05 4.927e-05 0.01% MLMG::mgVcycle_up::0 82 4.883e-05 4.883e-05 4.883e-05 0.01% Castro::do_advance_ctu() 10 4.817e-05 4.817e-05 4.817e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.814e-05 4.814e-05 4.814e-05 0.01% MLMG::mgVcycle_up::3 82 4.648e-05 4.648e-05 4.648e-05 0.01% MLMG::mgVcycle_up::1 82 4.614e-05 4.614e-05 4.614e-05 0.01% MLMG::mgVcycle_up::2 82 4.529e-05 4.529e-05 4.529e-05 0.01% MLCellLinOp::solutionResidual() 93 4.47e-05 4.47e-05 4.47e-05 0.01% Castro::post_timestep() 10 4.189e-05 4.189e-05 4.189e-05 0.00% StateData::define() 4 3.881e-05 3.881e-05 3.881e-05 0.00% FillPatchSingleLevel 41 3.858e-05 3.858e-05 3.858e-05 0.00% Castro::swap_state_time_levels() 10 3.82e-05 3.82e-05 3.82e-05 0.00% Amr::writeSmallPlotFile() 1 3.408e-05 3.408e-05 3.408e-05 0.00% MLMG::mgVcycle_bottom 82 3.228e-05 3.228e-05 3.228e-05 0.00% Amr::defBaseLevel() 1 3.195e-05 3.195e-05 3.195e-05 0.00% MLMG::computeResidual() 82 3.046e-05 3.046e-05 3.046e-05 0.00% MLMG::ResNormInf() 93 2.886e-05 2.886e-05 2.886e-05 0.00% Castro::initMFs() 1 2.731e-05 2.731e-05 2.731e-05 0.00% MLPoisson::define() 11 2.678e-05 2.678e-05 2.678e-05 0.00% Castro::construct_new_gravity() 10 2.58e-05 2.58e-05 2.58e-05 0.00% makeSFC 55 2.512e-05 2.512e-05 2.512e-05 0.00% Castro::buildMetrics() 1 2.487e-05 2.487e-05 2.487e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.232e-05 2.232e-05 2.232e-05 0.00% Castro::construct_old_source() 50 2.063e-05 2.063e-05 2.063e-05 0.00% Castro::do_old_sources() 10 2.057e-05 2.057e-05 2.057e-05 0.00% Amr::FinalizeInit() 1 1.88e-05 1.88e-05 1.88e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.637e-05 1.637e-05 1.637e-05 0.00% DistributionMapping::Distribute() 56 1.512e-05 1.512e-05 1.512e-05 0.00% Gravity::actual_multilevel_solve() 1 1.466e-05 1.466e-05 1.466e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.31e-05 1.31e-05 1.31e-05 0.00% Castro::check_for_nan() 20 1.285e-05 1.285e-05 1.285e-05 0.00% MLLinOp::define() 11 1.23e-05 1.23e-05 1.23e-05 0.00% Castro::apply_source_to_state() 20 1.22e-05 1.22e-05 1.22e-05 0.00% Castro::construct_old_gravity() 10 1.017e-05 1.017e-05 1.017e-05 0.00% Amr::initSubcycle() 1 9.884e-06 9.884e-06 9.884e-06 0.00% Gravity::swapTimeLevels() 10 9.034e-06 9.034e-06 9.034e-06 0.00% MLMG::computeMLResidual() 11 8.69e-06 8.69e-06 8.69e-06 0.00% MLPoisson::prepareForSolve() 11 8.084e-06 8.084e-06 8.084e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.025e-06 8.025e-06 8.025e-06 0.00% Castro::computeNewDt() 9 6.767e-06 6.767e-06 6.767e-06 0.00% Amr::InitializeInit() 1 6.01e-06 6.01e-06 6.01e-06 0.00% MLMG::getGradSolution() 11 5.679e-06 5.679e-06 5.679e-06 0.00% AmrLevel::checkPointPost() 3 5.482e-06 5.482e-06 5.482e-06 0.00% Castro::expand_state() 10 5.384e-06 5.384e-06 5.384e-06 0.00% Castro::retry_advance_ctu() 10 4.33e-06 4.33e-06 4.33e-06 0.00% Castro::post_init() 1 4.309e-06 4.309e-06 4.309e-06 0.00% Gravity::set_mass_offset() 11 3.933e-06 3.933e-06 3.933e-06 0.00% MLMG::MLRhsNormInf() 11 3.914e-06 3.914e-06 3.914e-06 0.00% MLMG::MLResNormInf() 11 3.409e-06 3.409e-06 3.409e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.26e-06 3.26e-06 3.26e-06 0.00% Castro::FluxRegCrseInit 10 3.236e-06 3.236e-06 3.236e-06 0.00% Amr::init() 1 3.003e-06 3.003e-06 3.003e-06 0.00% Castro::computeInitialDt() 2 2.643e-06 2.643e-06 2.643e-06 0.00% Castro::FluxRegFineAdd() 10 2.314e-06 2.314e-06 2.314e-06 0.00% AmrLevel::checkPointPre() 3 2.266e-06 2.266e-06 2.266e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.902e-06 1.902e-06 1.902e-06 0.00% Castro::post_regrid() 1 1.255e-06 1.255e-06 1.255e-06 0.00% Amr::initialInit() 1 1.105e-06 1.105e-06 1.105e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8887 0.8887 0.8887 100.00% Amr::coarseTimeStep() 10 0.7419 0.7419 0.7419 83.47% Amr::timeStep() 10 0.6523 0.6523 0.6523 73.40% Castro::advance() 10 0.6408 0.6408 0.6408 72.11% Castro::subcycle_advance_ctu() 10 0.6263 0.6263 0.6263 70.48% Castro::do_advance_ctu() 10 0.6261 0.6261 0.6261 70.45% Gravity::solve_phi_with_mlmg() 11 0.297 0.297 0.297 33.42% Gravity::actual_solve_with_mlmg() 11 0.2872 0.2872 0.2872 32.32% Castro::construct_ctu_hydro_source() 10 0.2861 0.2861 0.2861 32.19% Castro::construct_new_gravity() 10 0.2692 0.2692 0.2692 30.29% MLMG::solve() 11 0.2587 0.2587 0.2587 29.11% Gravity::solve_for_phi() 10 0.253 0.253 0.253 28.47% MLMG::oneIter() 82 0.2434 0.2434 0.2434 27.39% MLMG::mgVcycle() 82 0.2397 0.2397 0.2397 26.97% VisMF::Write(FabArray) 11 0.1691 0.1691 0.1691 19.02% Amr::checkPoint() 3 0.1295 0.1295 0.1295 14.57% AmrLevel::checkPoint() 3 0.1233 0.1233 0.1233 13.88% StateData::checkPoint() 12 0.1233 0.1233 0.1233 13.87% Amr::init() 1 0.1217 0.1217 0.1217 13.69% MLCellLinOp::smooth() 1640 0.1203 0.1203 0.1203 13.54% MLCellLinOp::applyBC() 4351 0.1122 0.1122 0.1122 12.63% MLMG::mgVcycle_bottom 82 0.07113 0.07113 0.07113 8.00% MLMG::actualBottomSolve() 82 0.07109 0.07109 0.07109 8.00% MLCGSolver::bicgstab 82 0.0703 0.0703 0.0703 7.91% Castro::clean_state() 62 0.05467 0.05467 0.05467 6.15% Amr::initialInit() 1 0.05362 0.05362 0.05362 6.03% Amr::writePlotFile() 2 0.04862 0.04862 0.04862 5.47% Amr::FinalizeInit() 1 0.04861 0.04861 0.04861 5.47% AmrLevel::FillPatch() 41 0.04832 0.04832 0.04832 5.44% Castro::post_init() 1 0.0471 0.0471 0.0471 5.30% Gravity::multilevel_solve_for_new_phi() 1 0.04447 0.04447 0.04447 5.00% Gravity::actual_multilevel_solve() 1 0.04445 0.04445 0.04445 5.00% FillPatchIterator::Initialize 41 0.04403 0.04403 0.04403 4.95% FillPatchIterator::FillFromLevel0() 41 0.04247 0.04247 0.04247 4.78% FillPatchSingleLevel 41 0.04243 0.04243 0.04243 4.77% StateDataPhysBCFunct::() 41 0.03826 0.03826 0.03826 4.31% MLCellLinOp::apply() 1060 0.03582 0.03582 0.03582 4.03% MLMG::mgVcycle_down::0 82 0.03449 0.03449 0.03449 3.88% MLPoisson::Fsmooth() 3280 0.03286 0.03286 0.03286 3.70% FabArray::FillBoundary() 3941 0.03219 0.03219 0.03219 3.62% FillBoundary_nowait() 3941 0.03142 0.03142 0.03142 3.54% StateData::FillBoundary(geom) 328 0.02639 0.02639 0.02639 2.97% MLMG::mgVcycle_up::0 82 0.02612 0.02612 0.02612 2.94% MLPoisson::define() 11 0.02385 0.02385 0.02385 2.68% Castro::computeTemp() 63 0.02233 0.02233 0.02233 2.51% Castro::initialize_do_advance() 10 0.02128 0.02128 0.02128 2.39% amrex::Dot() 1114 0.02095 0.02095 0.02095 2.36% MLMG:computeResOfCorrection() 410 0.02013 0.02013 0.02013 2.26% MLCellLinOp::correctionResidual() 410 0.02001 0.02001 0.02001 2.25% Castro::normalize_species() 62 0.01969 0.01969 0.01969 2.22% FabArray::norminf() 1061 0.01936 0.01936 0.01936 2.18% MLCellLinOp::defineAuxData() 11 0.01844 0.01844 0.01844 2.07% Gravity::get_new_grav_vector() 11 0.01842 0.01842 0.01842 2.07% Castro::do_old_sources() 10 0.01833 0.01833 0.01833 2.06% MLMG::mgVcycle_down::1 82 0.01647 0.01647 0.01647 1.85% MLMG::mgVcycle_down::2 82 0.01533 0.01533 0.01533 1.73% Castro::construct_old_gravity() 10 0.01509 0.01509 0.01509 1.70% Gravity::get_old_grav_vector() 10 0.01508 0.01508 0.01508 1.70% MLMG::mgVcycle_down::3 82 0.01483 0.01483 0.01483 1.67% MLMG::mgVcycle_down::4 82 0.01469 0.01469 0.01469 1.65% FabArray::ParallelCopy() 861 0.01461 0.01461 0.01461 1.64% FabArray::ParallelCopy_nowait() 861 0.01435 0.01435 0.01435 1.61% Castro::initialize_advance() 10 0.01377 0.01377 0.01377 1.55% FabArray::setVal() 1062 0.01325 0.01325 0.01325 1.49% FabArray::Saxpy() 1370 0.01288 0.01288 0.01288 1.45% Castro::do_new_sources() 10 0.01279 0.01279 0.01279 1.44% MLCGSolver::ParallelAllReduce 1832 0.01253 0.01253 0.01253 1.41% MLMG::addInterpCorrection() 410 0.01211 0.01211 0.01211 1.36% Castro::expand_state() 10 0.01204 0.01204 0.01204 1.35% MLMG::mgVcycle_up::1 82 0.01185 0.01185 0.01185 1.33% MLMG::mgVcycle_up::4 82 0.01174 0.01174 0.01174 1.32% MLMG::mgVcycle_up::2 82 0.01154 0.01154 0.01154 1.30% amrex::average_down 410 0.01136 0.01136 0.01136 1.28% Castro::post_timestep() 10 0.01134 0.01134 0.01134 1.28% MLMG::mgVcycle_up::3 82 0.01132 0.01132 0.01132 1.27% amrex::Copy() 472 0.01081 0.01081 0.01081 1.22% Castro::enforce_min_density() 62 0.01041 0.01041 0.01041 1.17% MLPoisson::Fapply() 1060 0.01005 0.01005 0.01005 1.13% Gravity::fill_multipole_BCs() 11 0.009596 0.009596 0.009596 1.08% MLCellLinOp::solutionResidual() 93 0.007707 0.007707 0.007707 0.87% FabArray::Xpay() 739 0.007674 0.007674 0.007674 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006852 0.006852 0.006852 0.77% MLMG::computeResidual() 82 0.006457 0.006457 0.006457 0.73% Castro::estTimeStep() 21 0.006038 0.006038 0.006038 0.68% MLCellLinOp::defineBC() 11 0.005128 0.005128 0.005128 0.58% MLMG::prepareForSolve() 11 0.005083 0.005083 0.005083 0.57% Amr::InitializeInit() 1 0.005005 0.005005 0.005005 0.56% Amr::defBaseLevel() 1 0.004999 0.004999 0.004999 0.56% BndryData::define() 11 0.004869 0.004869 0.004869 0.55% Castro::initData() 1 0.004327 0.004327 0.004327 0.49% Castro::construct_new_source() 50 0.003697 0.003697 0.003697 0.42% amrex::Add() 82 0.003635 0.003635 0.003635 0.41% Castro::construct_new_gravity_source() 10 0.003616 0.003616 0.003616 0.41% Castro::enforce_speed_limit() 62 0.00308 0.00308 0.00308 0.35% Castro::construct_old_source() 50 0.00303 0.00303 0.00303 0.34% Castro::construct_old_gravity_source() 10 0.003009 0.003009 0.003009 0.34% Castro::computeNewDt() 9 0.002677 0.002677 0.002677 0.30% Castro::finalize_do_advance() 10 0.002398 0.002398 0.002398 0.27% MLMG::ResNormInf() 93 0.00214 0.00214 0.00214 0.24% Castro::apply_source_to_state() 20 0.00187 0.00187 0.00187 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.20% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.18% Castro::reset_internal_energy(Fab) 504 0.001579 0.001579 0.001579 0.18% MLMG::getGradSolution() 11 0.001567 0.001567 0.001567 0.18% MLCellLinOp::compGrad() 11 0.001561 0.001561 0.001561 0.18% MLCellLinOp::setLevelBC() 11 0.001555 0.001555 0.001555 0.17% FabArrayBase::getCPC() 1323 0.001461 0.001461 0.001461 0.16% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001338 0.001338 0.001338 0.15% MLPoisson::prepareForSolve() 11 0.001305 0.001305 0.001305 0.15% MLCellLinOp::prepareForSolve() 11 0.001297 0.001297 0.001297 0.15% MLMG::computeMLResidual() 11 0.001289 0.001289 0.001289 0.15% Castro::check_for_nan() 20 0.001262 0.001262 0.001262 0.14% MultiFab::contains_nan() 20 0.001249 0.001249 0.001249 0.14% Castro::post_regrid() 1 0.001225 0.001225 0.001225 0.14% Castro::computeInitialDt() 2 0.001021 0.001021 0.001021 0.11% Gravity::update_max_rhs() 11 0.0009858 0.0009858 0.0009858 0.11% FabArrayBase::getFB() 3941 0.0007491 0.0007491 0.0007491 0.08% FabArrayBase::CPC::define() 454 0.0006508 0.0006508 0.0006508 0.07% Castro::finalize_advance() 10 0.0006269 0.0006269 0.0006269 0.07% Castro::Castro() 1 0.0005889 0.0005889 0.0005889 0.07% Amr::InitAmr() 1 0.0005494 0.0005494 0.0005494 0.06% Gravity::swapTimeLevels() 10 0.0004744 0.0004744 0.0004744 0.05% MultiFab::max() 11 0.0003353 0.0003353 0.0003353 0.04% MLMG::MLResNormInf() 11 0.000325 0.000325 0.000325 0.04% Castro::buildMetrics() 1 0.0003025 0.0003025 0.0003025 0.03% MLLinOp::define() 11 0.0002544 0.0002544 0.0002544 0.03% MLLinOp::defineGrids() 11 0.0002421 0.0002421 0.0002421 0.03% MLMG::MLRhsNormInf() 11 0.0002308 0.0002308 0.0002308 0.03% Castro::create_source_corrector() 10 0.0001909 0.0001909 0.0001909 0.02% FabArrayBase::FB::FB() 56 8.353e-05 8.353e-05 8.353e-05 0.01% Castro::enforce_consistent_e() 1 6.615e-05 6.615e-05 6.615e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.229e-05 5.229e-05 5.229e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.683e-05 4.683e-05 4.683e-05 0.01% makeSFC 55 3.918e-05 3.918e-05 3.918e-05 0.00% StateData::define() 4 3.881e-05 3.881e-05 3.881e-05 0.00% Castro::swap_state_time_levels() 10 3.82e-05 3.82e-05 3.82e-05 0.00% Amr::writeSmallPlotFile() 1 3.408e-05 3.408e-05 3.408e-05 0.00% Castro::initMFs() 1 2.731e-05 2.731e-05 2.731e-05 0.00% DistributionMapping::Distribute() 56 1.512e-05 1.512e-05 1.512e-05 0.00% Amr::initSubcycle() 1 9.884e-06 9.884e-06 9.884e-06 0.00% AmrLevel::checkPointPost() 3 5.482e-06 5.482e-06 5.482e-06 0.00% Castro::retry_advance_ctu() 10 4.33e-06 4.33e-06 4.33e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.312e-06 4.312e-06 4.312e-06 0.00% Gravity::set_mass_offset() 11 3.933e-06 3.933e-06 3.933e-06 0.00% Castro::FluxRegCrseInit 10 3.236e-06 3.236e-06 3.236e-06 0.00% Castro::FluxRegFineAdd() 10 2.314e-06 2.314e-06 2.314e-06 0.00% AmrLevel::checkPointPre() 3 2.266e-06 2.266e-06 2.266e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.902e-06 1.902e-06 1.902e-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 5684 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 1058 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1524 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3580 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 215 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2154 B 2048 KiB Gravity::solve_for_phi() 80 80 582 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3313 B 480 KiB VisMF::Write(FabArray) 656 656 3415 B 320 KiB Castro::normalize_species() 62 62 7212 B 320 KiB amrex::average_down 1067 1067 1614 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1171 B 257 KiB amrex::Dot() 1360 1360 3475 B 160 KiB FabArray::norminf() 1143 1143 3361 B 160 KiB check_for_negative_density() 10 10 295 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3944 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 369 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 586 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 408 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3494 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3944 B 6144 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 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 298 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 (24.04-3-gd78e241d1ad4) finalized Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 20:05:05 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g6930369b2 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.507255966 Restart time = 0.071530814 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.069641821 [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.048131151 [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.068592564 [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.071294164 [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.061532596 [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.068035209 seconds Ending run at 20:05:06 UTC on 2024-04-02. Run time = 0.459807412 Run time without initialization = 0.387657352 Average number of zones advanced per microsecond: 3.381 Average number of zones advanced per microsecond per rank: 3.381 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4598 ... 0.4598 ... 0.4598 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1297 0.1297 0.1297 28.20% VisMF::Read() 3 0.06032 0.06032 0.06032 13.12% Amr::writePlotFile() 1 0.04378 0.04378 0.04378 9.52% MLCellLinOp::applyBC() 1910 0.03526 0.03526 0.03526 7.67% VisMF::Write(FabArray) 1 0.0241 0.0241 0.0241 5.24% MLPoisson::Fsmooth() 1440 0.01443 0.01443 0.01443 3.14% FillBoundary_nowait() 1730 0.01305 0.01305 0.01305 2.84% StateData::FillBoundary(geom) 160 0.01282 0.01282 0.01282 2.79% Castro::normalize_species() 30 0.009707 0.009707 0.009707 2.11% amrex::Dot() 484 0.009014 0.009014 0.009014 1.96% FabArray::norminf() 465 0.008497 0.008497 0.008497 1.85% FabArray::setVal() 501 0.006498 0.006498 0.006498 1.41% Castro::computeTemp() 30 0.006482 0.006482 0.006482 1.41% Castro::enforce_min_density() 30 0.006243 0.006243 0.006243 1.36% FabArray::ParallelCopy_nowait() 380 0.006111 0.006111 0.006111 1.33% FabArray::Saxpy() 597 0.005741 0.005741 0.005741 1.25% amrex::Copy() 221 0.005432 0.005432 0.005432 1.18% MLCellLinOp::defineAuxData() 6 0.005408 0.005408 0.005408 1.18% Gravity::fill_multipole_BCs() 6 0.005183 0.005183 0.005183 1.13% Amr::restart() 1 0.004865 0.004865 0.004865 1.06% StateDataPhysBCFunct::() 20 0.004861 0.004861 0.004861 1.06% MLPoisson::Fapply() 464 0.004392 0.004392 0.004392 0.96% FabArray::Xpay() 325 0.003403 0.003403 0.003403 0.74% MLMG::addInterpCorrection() 180 0.003082 0.003082 0.003082 0.67% amrex::average_down 180 0.002688 0.002688 0.002688 0.58% Castro::estTimeStep() 10 0.002518 0.002518 0.002518 0.55% Castro::reset_internal_energy(MultiFab) 30 0.002196 0.002196 0.002196 0.48% BndryData::define() 6 0.002109 0.002109 0.002109 0.46% Castro::construct_new_gravity_source() 5 0.001913 0.001913 0.001913 0.42% amrex::Add() 36 0.001546 0.001546 0.001546 0.34% Castro::construct_old_gravity_source() 5 0.00153 0.00153 0.00153 0.33% Castro::enforce_speed_limit() 30 0.001079 0.001079 0.001079 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009665 0.0009665 0.0009665 0.21% MLCellLinOp::setLevelBC() 6 0.000877 0.000877 0.000877 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008655 0.0008655 0.0008655 0.19% check_for_negative_density() 5 0.0008288 0.0008288 0.0008288 0.18% Castro::reset_internal_energy(Fab) 240 0.0008048 0.0008048 0.0008048 0.18% MLCellLinOp::prepareForSolve() 6 0.0007591 0.0007591 0.0007591 0.17% MLCGSolver::bicgstab 36 0.0007119 0.0007119 0.0007119 0.15% FabArray::mult() 22 0.0006931 0.0006931 0.0006931 0.15% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.15% MultiFab::contains_nan() 10 0.0006607 0.0006607 0.0006607 0.14% MLCellLinOp::compGrad() 6 0.0005933 0.0005933 0.0005933 0.13% MLMG::prepareForSolve() 6 0.0005607 0.0005607 0.0005607 0.12% MLCellLinOp::smooth() 720 0.0005062 0.0005062 0.0005062 0.11% Amr::InitAmr() 1 0.0004611 0.0004611 0.0004611 0.10% FabArrayBase::CPC::define() 244 0.0004202 0.0004202 0.0004202 0.09% FabArrayBase::getCPC() 632 0.0003748 0.0003748 0.0003748 0.08% FabArray::FillBoundary() 1730 0.0003439 0.0003439 0.0003439 0.07% Gravity::get_old_grav_vector() 5 0.0003411 0.0003411 0.0003411 0.07% Gravity::get_new_grav_vector() 5 0.0003084 0.0003084 0.0003084 0.07% FabArrayBase::getFB() 1730 0.0002879 0.0002879 0.0002879 0.06% main() 1 0.000256 0.000256 0.000256 0.06% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.04% AmrLevel::FillPatch() 20 0.0002031 0.0002031 0.0002031 0.04% MLCellLinOp::apply() 464 0.0001829 0.0001829 0.0001829 0.04% Amr::coarseTimeStep() 5 0.0001594 0.0001594 0.0001594 0.03% MLCellLinOp::defineBC() 6 0.0001544 0.0001544 0.0001544 0.03% MLCGSolver::ParallelAllReduce 798 0.0001383 0.0001383 0.0001383 0.03% Castro::subcycle_advance_ctu() 5 0.0001275 0.0001275 0.0001275 0.03% FillPatchIterator::Initialize 20 0.0001222 0.0001222 0.0001222 0.03% FabArray::ParallelCopy() 380 0.0001194 0.0001194 0.0001194 0.03% Castro::create_source_corrector() 5 0.0001158 0.0001158 0.0001158 0.03% MLLinOp::defineGrids() 6 0.0001073 0.0001073 0.0001073 0.02% MLMG::mgVcycle() 36 8.716e-05 8.716e-05 8.716e-05 0.02% Amr::timeStep() 5 8.553e-05 8.553e-05 8.553e-05 0.02% Castro::do_advance_ctu() 5 8.494e-05 8.494e-05 8.494e-05 0.02% MLCellLinOp::correctionResidual() 180 6.971e-05 6.971e-05 6.971e-05 0.02% Castro::initialize_do_advance() 5 6.918e-05 6.918e-05 6.918e-05 0.02% AmrLevel::restart() 1 6.903e-05 6.903e-05 6.903e-05 0.02% Gravity::update_max_rhs() 6 6.689e-05 6.689e-05 6.689e-05 0.01% Castro::post_timestep() 5 6.451e-05 6.451e-05 6.451e-05 0.01% StateData::restartDoit() 4 6.102e-05 6.102e-05 6.102e-05 0.01% FabArrayBase::FB::FB() 26 5.87e-05 5.87e-05 5.87e-05 0.01% Gravity::solve_for_phi() 5 5.503e-05 5.503e-05 5.503e-05 0.01% MLMG:computeResOfCorrection() 180 5.328e-05 5.328e-05 5.328e-05 0.01% Castro::construct_new_source() 25 4.969e-05 4.969e-05 4.969e-05 0.01% Castro::do_new_sources() 5 4.852e-05 4.852e-05 4.852e-05 0.01% Castro::finalize_do_advance() 5 4.481e-05 4.481e-05 4.481e-05 0.01% MLMG::actualBottomSolve() 36 3.828e-05 3.828e-05 3.828e-05 0.01% Castro::initialize_advance() 5 3.746e-05 3.746e-05 3.746e-05 0.01% MLMG::mgVcycle_down::0 36 3.569e-05 3.569e-05 3.569e-05 0.01% MLMG::solve() 6 3.536e-05 3.536e-05 3.536e-05 0.01% MLMG::mgVcycle_down::1 36 3.49e-05 3.49e-05 3.49e-05 0.01% Castro::advance() 5 3.473e-05 3.473e-05 3.473e-05 0.01% MLMG::mgVcycle_down::2 36 3.227e-05 3.227e-05 3.227e-05 0.01% Castro::finalize_advance() 5 3.186e-05 3.186e-05 3.186e-05 0.01% MLMG::mgVcycle_down::4 36 3.176e-05 3.176e-05 3.176e-05 0.01% Castro::clean_state() 30 3.175e-05 3.175e-05 3.175e-05 0.01% MLMG::mgVcycle_down::3 36 3.069e-05 3.069e-05 3.069e-05 0.01% Castro::buildMetrics() 1 3.031e-05 3.031e-05 3.031e-05 0.01% Amr::writeSmallPlotFile() 1 3.019e-05 3.019e-05 3.019e-05 0.01% MLMG::mgVcycle_up::4 36 2.987e-05 2.987e-05 2.987e-05 0.01% Castro::construct_old_source() 25 2.889e-05 2.889e-05 2.889e-05 0.01% Castro::swap_state_time_levels() 5 2.55e-05 2.55e-05 2.55e-05 0.01% MLMG::oneIter() 36 2.52e-05 2.52e-05 2.52e-05 0.01% Castro::initMFs() 1 2.466e-05 2.466e-05 2.466e-05 0.01% Castro::post_restart() 1 2.307e-05 2.307e-05 2.307e-05 0.01% MLMG::mgVcycle_up::3 36 2.189e-05 2.189e-05 2.189e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.145e-05 2.145e-05 2.145e-05 0.00% MLPoisson::define() 6 2.107e-05 2.107e-05 2.107e-05 0.00% MLMG::mgVcycle_up::0 36 2.107e-05 2.107e-05 2.107e-05 0.00% MLCellLinOp::solutionResidual() 42 2.091e-05 2.091e-05 2.091e-05 0.00% MLMG::mgVcycle_up::2 36 1.997e-05 1.997e-05 1.997e-05 0.00% MLMG::mgVcycle_up::1 36 1.956e-05 1.956e-05 1.956e-05 0.00% Gravity::actual_multilevel_solve() 1 1.796e-05 1.796e-05 1.796e-05 0.00% FillPatchSingleLevel 20 1.699e-05 1.699e-05 1.699e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.615e-05 1.615e-05 1.615e-05 0.00% MLMG::ResNormInf() 42 1.554e-05 1.554e-05 1.554e-05 0.00% MLMG::mgVcycle_bottom 36 1.394e-05 1.394e-05 1.394e-05 0.00% makeSFC 30 1.362e-05 1.362e-05 1.362e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.351e-05 1.351e-05 1.351e-05 0.00% MLMG::computeResidual() 36 1.337e-05 1.337e-05 1.337e-05 0.00% Castro::construct_new_gravity() 5 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::do_old_sources() 5 1.12e-05 1.12e-05 1.12e-05 0.00% Amr::initSubcycle() 1 9.507e-06 9.507e-06 9.507e-06 0.00% DistributionMapping::Distribute() 31 9.09e-06 9.09e-06 9.09e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.468e-06 7.468e-06 7.468e-06 0.00% MLLinOp::define() 6 7e-06 7e-06 7e-06 0.00% Castro::check_for_nan() 10 6.367e-06 6.367e-06 6.367e-06 0.00% Castro::construct_old_gravity() 5 6.126e-06 6.126e-06 6.126e-06 0.00% Castro::apply_source_to_state() 10 5.94e-06 5.94e-06 5.94e-06 0.00% Gravity::swapTimeLevels() 5 4.6e-06 4.6e-06 4.6e-06 0.00% MLMG::computeMLResidual() 6 4.155e-06 4.155e-06 4.155e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.103e-06 4.103e-06 4.103e-06 0.00% MLPoisson::prepareForSolve() 6 3.705e-06 3.705e-06 3.705e-06 0.00% Castro::computeNewDt() 5 3.605e-06 3.605e-06 3.605e-06 0.00% MLMG::getGradSolution() 6 3.172e-06 3.172e-06 3.172e-06 0.00% Castro::expand_state() 5 3.154e-06 3.154e-06 3.154e-06 0.00% MLMG::MLResNormInf() 6 2.293e-06 2.293e-06 2.293e-06 0.00% MLMG::MLRhsNormInf() 6 2.293e-06 2.293e-06 2.293e-06 0.00% Castro::retry_advance_ctu() 5 2.19e-06 2.19e-06 2.19e-06 0.00% Gravity::set_mass_offset() 6 2.144e-06 2.144e-06 2.144e-06 0.00% Castro::FluxRegCrseInit 5 1.778e-06 1.778e-06 1.778e-06 0.00% Castro::FluxRegFineAdd() 5 1.33e-06 1.33e-06 1.33e-06 0.00% Amr::init() 1 1.303e-06 1.303e-06 1.303e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4598 0.4598 0.4598 100.00% Amr::coarseTimeStep() 5 0.3193 0.3193 0.3193 69.45% Amr::timeStep() 5 0.3175 0.3175 0.3175 69.06% Castro::advance() 5 0.3121 0.3121 0.3121 67.88% Castro::subcycle_advance_ctu() 5 0.3046 0.3046 0.3046 66.25% Castro::do_advance_ctu() 5 0.3045 0.3045 0.3045 66.22% Castro::construct_ctu_hydro_source() 5 0.1347 0.1347 0.1347 29.30% Castro::construct_new_gravity() 5 0.1336 0.1336 0.1336 29.05% Gravity::solve_phi_with_mlmg() 6 0.1309 0.1309 0.1309 28.47% Gravity::solve_for_phi() 5 0.1257 0.1257 0.1257 27.34% Gravity::actual_solve_with_mlmg() 6 0.1255 0.1255 0.1255 27.29% MLMG::solve() 6 0.1137 0.1137 0.1137 24.72% MLMG::oneIter() 36 0.106 0.106 0.106 23.06% MLMG::mgVcycle() 36 0.1044 0.1044 0.1044 22.71% Amr::init() 1 0.07158 0.07158 0.07158 15.57% Amr::restart() 1 0.07157 0.07157 0.07157 15.57% Amr::writePlotFile() 1 0.06814 0.06814 0.06814 14.82% AmrLevel::restart() 1 0.06068 0.06068 0.06068 13.20% StateData::restartDoit() 4 0.06061 0.06061 0.06061 13.18% VisMF::Read() 3 0.06032 0.06032 0.06032 13.12% MLCellLinOp::smooth() 720 0.05236 0.05236 0.05236 11.39% MLCellLinOp::applyBC() 1910 0.049 0.049 0.049 10.65% MLMG::mgVcycle_bottom 36 0.03095 0.03095 0.03095 6.73% MLMG::actualBottomSolve() 36 0.03094 0.03094 0.03094 6.73% MLCGSolver::bicgstab 36 0.03058 0.03058 0.03058 6.65% Castro::clean_state() 30 0.02654 0.02654 0.02654 5.77% VisMF::Write(FabArray) 1 0.0241 0.0241 0.0241 5.24% AmrLevel::FillPatch() 20 0.02268 0.02268 0.02268 4.93% FillPatchIterator::Initialize 20 0.02058 0.02058 0.02058 4.48% FillPatchIterator::FillFromLevel0() 20 0.01977 0.01977 0.01977 4.30% FillPatchSingleLevel 20 0.01975 0.01975 0.01975 4.29% StateDataPhysBCFunct::() 20 0.01768 0.01768 0.01768 3.84% MLCellLinOp::apply() 464 0.01585 0.01585 0.01585 3.45% MLMG::mgVcycle_down::0 36 0.01503 0.01503 0.01503 3.27% MLPoisson::Fsmooth() 1440 0.01443 0.01443 0.01443 3.14% FabArray::FillBoundary() 1730 0.01374 0.01374 0.01374 2.99% FillBoundary_nowait() 1730 0.01339 0.01339 0.01339 2.91% StateData::FillBoundary(geom) 160 0.01282 0.01282 0.01282 2.79% MLMG::mgVcycle_up::0 36 0.01126 0.01126 0.01126 2.45% Castro::initialize_do_advance() 5 0.01068 0.01068 0.01068 2.32% Castro::normalize_species() 30 0.009707 0.009707 0.009707 2.11% Castro::do_old_sources() 5 0.009595 0.009595 0.009595 2.09% Castro::computeTemp() 30 0.009482 0.009482 0.009482 2.06% MLPoisson::define() 6 0.009204 0.009204 0.009204 2.00% amrex::Dot() 484 0.009014 0.009014 0.009014 1.96% MLMG:computeResOfCorrection() 180 0.008767 0.008767 0.008767 1.91% MLCellLinOp::correctionResidual() 180 0.008714 0.008714 0.008714 1.89% FabArray::norminf() 465 0.008497 0.008497 0.008497 1.85% Gravity::get_new_grav_vector() 5 0.007759 0.007759 0.007759 1.69% Castro::construct_old_gravity() 5 0.007684 0.007684 0.007684 1.67% Gravity::get_old_grav_vector() 5 0.007678 0.007678 0.007678 1.67% MLMG::mgVcycle_down::1 36 0.007249 0.007249 0.007249 1.58% Castro::initialize_advance() 5 0.007153 0.007153 0.007153 1.56% Castro::do_new_sources() 5 0.006757 0.006757 0.006757 1.47% MLMG::mgVcycle_down::2 36 0.006631 0.006631 0.006631 1.44% FabArray::ParallelCopy() 380 0.006625 0.006625 0.006625 1.44% FabArray::ParallelCopy_nowait() 380 0.006505 0.006505 0.006505 1.41% FabArray::setVal() 501 0.006498 0.006498 0.006498 1.41% MLMG::mgVcycle_down::3 36 0.006465 0.006465 0.006465 1.41% MLMG::mgVcycle_down::4 36 0.006388 0.006388 0.006388 1.39% Castro::enforce_min_density() 30 0.006243 0.006243 0.006243 1.36% MLCellLinOp::defineAuxData() 6 0.006192 0.006192 0.006192 1.35% Castro::expand_state() 5 0.00594 0.00594 0.00594 1.29% Castro::post_restart() 1 0.005831 0.005831 0.005831 1.27% FabArray::Saxpy() 597 0.005741 0.005741 0.005741 1.25% MLCGSolver::ParallelAllReduce 798 0.005482 0.005482 0.005482 1.19% Gravity::multilevel_solve_for_new_phi() 1 0.005464 0.005464 0.005464 1.19% Gravity::actual_multilevel_solve() 1 0.005448 0.005448 0.005448 1.18% amrex::Copy() 221 0.005432 0.005432 0.005432 1.18% MLMG::addInterpCorrection() 180 0.005362 0.005362 0.005362 1.17% Castro::post_timestep() 5 0.005328 0.005328 0.005328 1.16% Gravity::fill_multipole_BCs() 6 0.005308 0.005308 0.005308 1.15% MLMG::mgVcycle_up::4 36 0.005183 0.005183 0.005183 1.13% MLMG::mgVcycle_up::1 36 0.005169 0.005169 0.005169 1.12% MLMG::mgVcycle_up::2 36 0.005057 0.005057 0.005057 1.10% MLMG::mgVcycle_up::3 36 0.004982 0.004982 0.004982 1.08% amrex::average_down 180 0.004979 0.004979 0.004979 1.08% MLPoisson::Fapply() 464 0.004392 0.004392 0.004392 0.96% MLCellLinOp::solutionResidual() 42 0.003626 0.003626 0.003626 0.79% FabArray::Xpay() 325 0.003403 0.003403 0.003403 0.74% Castro::reset_internal_energy(MultiFab) 30 0.003 0.003 0.003 0.65% MLMG::prepareForSolve() 6 0.002867 0.002867 0.002867 0.62% MLCellLinOp::defineBC() 6 0.002846 0.002846 0.002846 0.62% MLMG::computeResidual() 36 0.002825 0.002825 0.002825 0.61% BndryData::define() 6 0.002692 0.002692 0.002692 0.59% Castro::estTimeStep() 10 0.002518 0.002518 0.002518 0.55% Castro::construct_new_source() 25 0.001963 0.001963 0.001963 0.43% Castro::construct_new_gravity_source() 5 0.001913 0.001913 0.001913 0.42% Castro::computeNewDt() 5 0.001635 0.001635 0.001635 0.36% Castro::construct_old_source() 25 0.001559 0.001559 0.001559 0.34% amrex::Add() 36 0.001546 0.001546 0.001546 0.34% Castro::construct_old_gravity_source() 5 0.00153 0.00153 0.00153 0.33% Castro::enforce_speed_limit() 30 0.001079 0.001079 0.001079 0.23% MLMG::ResNormInf() 42 0.0009831 0.0009831 0.0009831 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009665 0.0009665 0.0009665 0.21% Castro::apply_source_to_state() 10 0.0009611 0.0009611 0.0009611 0.21% Castro::finalize_do_advance() 5 0.000931 0.000931 0.000931 0.20% MLMG::getGradSolution() 6 0.0008869 0.0008869 0.0008869 0.19% MLCellLinOp::compGrad() 6 0.0008837 0.0008837 0.0008837 0.19% MLCellLinOp::setLevelBC() 6 0.000877 0.000877 0.000877 0.19% check_for_negative_density() 5 0.0008288 0.0008288 0.0008288 0.18% MLMG::computeMLResidual() 6 0.0008186 0.0008186 0.0008186 0.18% Castro::reset_internal_energy(Fab) 240 0.0008048 0.0008048 0.0008048 0.18% FabArrayBase::getCPC() 632 0.000795 0.000795 0.000795 0.17% MLPoisson::prepareForSolve() 6 0.0007628 0.0007628 0.0007628 0.17% MLCellLinOp::prepareForSolve() 6 0.0007591 0.0007591 0.0007591 0.17% Gravity::update_max_rhs() 6 0.0007232 0.0007232 0.0007232 0.16% FabArray::mult() 22 0.0006931 0.0006931 0.0006931 0.15% FabArray::setDomainBndry() 20 0.0006874 0.0006874 0.0006874 0.15% Castro::check_for_nan() 10 0.0006671 0.0006671 0.0006671 0.15% MultiFab::contains_nan() 10 0.0006607 0.0006607 0.0006607 0.14% Amr::InitAmr() 1 0.0004706 0.0004706 0.0004706 0.10% FabArrayBase::CPC::define() 244 0.0004202 0.0004202 0.0004202 0.09% FabArrayBase::getFB() 1730 0.0003466 0.0003466 0.0003466 0.08% Castro::finalize_advance() 5 0.0002997 0.0002997 0.0002997 0.07% Gravity::swapTimeLevels() 5 0.0002451 0.0002451 0.0002451 0.05% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.04% MLMG::MLResNormInf() 6 0.0001939 0.0001939 0.0001939 0.04% Castro::buildMetrics() 1 0.0001703 0.0001703 0.0001703 0.04% MLLinOp::define() 6 0.0001443 0.0001443 0.0001443 0.03% MLLinOp::defineGrids() 6 0.0001373 0.0001373 0.0001373 0.03% MLMG::MLRhsNormInf() 6 0.0001206 0.0001206 0.0001206 0.03% Castro::create_source_corrector() 5 0.0001158 0.0001158 0.0001158 0.03% FabArrayBase::FB::FB() 26 5.87e-05 5.87e-05 5.87e-05 0.01% Amr::writeSmallPlotFile() 1 3.019e-05 3.019e-05 3.019e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.891e-05 2.891e-05 2.891e-05 0.01% Castro::swap_state_time_levels() 5 2.55e-05 2.55e-05 2.55e-05 0.01% Castro::initMFs() 1 2.466e-05 2.466e-05 2.466e-05 0.01% makeSFC 30 2.144e-05 2.144e-05 2.144e-05 0.00% Amr::initSubcycle() 1 9.507e-06 9.507e-06 9.507e-06 0.00% DistributionMapping::Distribute() 31 9.09e-06 9.09e-06 9.09e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.374e-06 5.374e-06 5.374e-06 0.00% Castro::retry_advance_ctu() 5 2.19e-06 2.19e-06 2.19e-06 0.00% Gravity::set_mass_offset() 6 2.144e-06 2.144e-06 2.144e-06 0.00% Castro::FluxRegCrseInit 5 1.778e-06 1.778e-06 1.778e-06 0.00% Castro::FluxRegFineAdd() 5 1.33e-06 1.33e-06 1.33e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 982 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1552 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6486 KiB 14 MiB MLMG::prepareForSolve() 361 361 3034 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 173 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6474 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3122 B 2048 KiB Gravity::solve_for_phi() 40 40 558 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 280 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 179 KiB 671 KiB Castro::estTimeStep() 10 10 2591 B 480 KiB VisMF::Write(FabArray) 112 112 1201 B 320 KiB Castro::normalize_species() 30 30 6873 B 320 KiB amrex::average_down 469 469 1316 B 257 KiB MLMG::addInterpCorrection() 468 468 1002 B 257 KiB amrex::Dot() 592 592 2887 B 160 KiB FabArray::norminf() 501 501 2843 B 160 KiB check_for_negative_density() 5 5 288 B 160 KiB MultiFab::max() 6 6 69 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 244 B 9648 B MLCellLinOp::applyBC() 3820 3820 191 B 9344 B amrex::Copy() 56 56 5799 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 314 B 1248 B MLCGSolver::bicgstab 180 180 80 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1077 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 145 KiB 3584 KiB VisMF::Read() 24 24 199 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 244 B 9648 B MLCellLinOp::applyBC() 1910 1910 189 B 9328 B amrex::Copy() 56 56 5799 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2550 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2688 B MLMG::prepareForSolve() 7 7 780 B 1648 B amrex::average_down 37 37 469 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 21 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 (24.04-3-gd78e241d1ad4) finalized