Initializing AMReX (24.04-14-g6c6247554f27)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-14-g6c6247554f27) initialized Starting run at 09:30:11 UTC on 2024-04-11. Successfully read inputs file ... Castro git describe: 24.04-13-g88d497647 AMReX git describe: 24.04-14-g6c6247554 Microphysics git describe: 24.04-7-gd4312a6c 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.044790036 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024487877 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.067401835 [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.06910822 [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.074287785 [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.066078866 [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.067339239 [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.044145876 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.049643909 [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.072182344 [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.076702394 [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.06780899 [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.069000423 [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.09433806 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024407902 seconds Ending run at 09:30:12 UTC on 2024-04-11. Run time = 0.96794744 Run time without initialization = 0.843155046 Average number of zones advanced per microsecond: 3.109 Average number of zones advanced per microsecond per rank: 3.109 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.968 ... 0.968 ... 0.968 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2912 0.2912 0.2912 30.08% VisMF::Write(FabArray) 11 0.1731 0.1731 0.1731 17.88% MLCellLinOp::applyBC() 4351 0.08263 0.08263 0.08263 8.54% Amr::checkPoint() 3 0.05644 0.05644 0.05644 5.83% MLPoisson::Fsmooth() 3280 0.03425 0.03425 0.03425 3.54% FillBoundary_nowait() 3941 0.03067 0.03067 0.03067 3.17% StateData::FillBoundary(geom) 328 0.02664 0.02664 0.02664 2.75% Castro::normalize_species() 62 0.02212 0.02212 0.02212 2.29% amrex::Dot() 1114 0.02206 0.02206 0.02206 2.28% FabArray::norminf() 1061 0.0204 0.0204 0.0204 2.11% Castro::computeTemp() 63 0.01665 0.01665 0.01665 1.72% FabArray::ParallelCopy_nowait() 861 0.01389 0.01389 0.01389 1.44% FabArray::setVal() 1062 0.01374 0.01374 0.01374 1.42% FabArray::Saxpy() 1370 0.01353 0.01353 0.01353 1.40% StateDataPhysBCFunct::() 41 0.01286 0.01286 0.01286 1.33% Castro::enforce_min_density() 62 0.01214 0.01214 0.01214 1.25% amrex::Copy() 472 0.01106 0.01106 0.01106 1.14% MLPoisson::Fapply() 1060 0.01063 0.01063 0.01063 1.10% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.08% Gravity::fill_multipole_BCs() 11 0.009574 0.009574 0.009574 0.99% FabArray::Xpay() 739 0.008004 0.008004 0.008004 0.83% MLMG::addInterpCorrection() 410 0.007133 0.007133 0.007133 0.74% amrex::average_down 410 0.006325 0.006325 0.006325 0.65% Castro::estTimeStep() 21 0.006219 0.006219 0.006219 0.64% Castro::reset_internal_energy(MultiFab) 63 0.004961 0.004961 0.004961 0.51% BndryData::define() 11 0.004088 0.004088 0.004088 0.42% amrex::Add() 82 0.003632 0.003632 0.003632 0.38% Castro::construct_new_gravity_source() 10 0.003544 0.003544 0.003544 0.37% Castro::construct_old_gravity_source() 10 0.002907 0.002907 0.002907 0.30% Castro::enforce_speed_limit() 62 0.002886 0.002886 0.002886 0.30% Amr::writePlotFile() 2 0.002184 0.002184 0.002184 0.23% check_for_negative_density() 10 0.001893 0.001893 0.001893 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001816 0.001816 0.001816 0.19% Castro::reset_internal_energy(Fab) 504 0.001803 0.001803 0.001803 0.19% MLCellLinOp::setLevelBC() 11 0.001619 0.001619 0.001619 0.17% MLCGSolver::bicgstab 82 0.001611 0.001611 0.001611 0.17% Gravity::actual_solve_with_mlmg() 11 0.00158 0.00158 0.00158 0.16% Castro::initData() 1 0.001527 0.001527 0.001527 0.16% FabArray::setDomainBndry() 41 0.001393 0.001393 0.001393 0.14% FabArray::mult() 43 0.001382 0.001382 0.001382 0.14% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.14% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% MLCellLinOp::smooth() 1640 0.001136 0.001136 0.001136 0.12% MLCellLinOp::compGrad() 11 0.001066 0.001066 0.001066 0.11% MLMG::prepareForSolve() 11 0.0009603 0.0009603 0.0009603 0.10% FabArray::FillBoundary() 3941 0.0008366 0.0008366 0.0008366 0.09% FabArrayBase::getCPC() 1323 0.0007751 0.0007751 0.0007751 0.08% FabArrayBase::CPC::define() 454 0.0006723 0.0006723 0.0006723 0.07% Gravity::get_new_grav_vector() 11 0.0006236 0.0006236 0.0006236 0.06% FabArrayBase::getFB() 3941 0.0006185 0.0006185 0.0006185 0.06% Amr::InitAmr() 1 0.0005588 0.0005588 0.0005588 0.06% Gravity::get_old_grav_vector() 10 0.0004787 0.0004787 0.0004787 0.05% MLCellLinOp::apply() 1060 0.0004513 0.0004513 0.0004513 0.05% AmrLevel::FillPatch() 41 0.0004128 0.0004128 0.0004128 0.04% Amr::coarseTimeStep() 10 0.0003763 0.0003763 0.0003763 0.04% MultiFab::max() 11 0.0003328 0.0003328 0.0003328 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003052 0.0003052 0.0003052 0.03% main() 1 0.000284 0.000284 0.000284 0.03% MLCellLinOp::defineBC() 11 0.0002631 0.0002631 0.0002631 0.03% FabArray::ParallelCopy() 861 0.0002515 0.0002515 0.0002515 0.03% FillPatchIterator::Initialize 41 0.0002153 0.0002153 0.0002153 0.02% MLMG::mgVcycle() 82 0.0001972 0.0001972 0.0001972 0.02% Castro::create_source_corrector() 10 0.0001934 0.0001934 0.0001934 0.02% Castro::subcycle_advance_ctu() 10 0.0001854 0.0001854 0.0001854 0.02% MLLinOp::defineGrids() 11 0.00018 0.00018 0.00018 0.02% MLCellLinOp::correctionResidual() 410 0.0001723 0.0001723 0.0001723 0.02% Amr::timeStep() 10 0.0001496 0.0001496 0.0001496 0.02% StateData::checkPoint() 12 0.000119 0.000119 0.000119 0.01% Gravity::update_max_rhs() 11 0.0001176 0.0001176 0.0001176 0.01% Gravity::solve_for_phi() 10 0.000117 0.000117 0.000117 0.01% MLMG:computeResOfCorrection() 410 0.0001123 0.0001123 0.0001123 0.01% Castro::construct_new_source() 50 0.0001107 0.0001107 0.0001107 0.01% FabArrayBase::FB::FB() 56 9.45e-05 9.45e-05 9.45e-05 0.01% Castro::Castro() 1 8.804e-05 8.804e-05 8.804e-05 0.01% MLMG::actualBottomSolve() 82 8.38e-05 8.38e-05 8.38e-05 0.01% MLMG::mgVcycle_down::0 82 8.254e-05 8.254e-05 8.254e-05 0.01% Castro::initialize_advance() 10 8.108e-05 8.108e-05 8.108e-05 0.01% Castro::clean_state() 62 7.927e-05 7.927e-05 7.927e-05 0.01% MLMG::mgVcycle_down::1 82 7.443e-05 7.443e-05 7.443e-05 0.01% MLMG::solve() 11 7.381e-05 7.381e-05 7.381e-05 0.01% MLMG::mgVcycle_down::2 82 7.287e-05 7.287e-05 7.287e-05 0.01% Castro::advance() 10 7.173e-05 7.173e-05 7.173e-05 0.01% Castro::post_timestep() 10 7.127e-05 7.127e-05 7.127e-05 0.01% MLMG::mgVcycle_down::4 82 7.06e-05 7.06e-05 7.06e-05 0.01% Castro::enforce_consistent_e() 1 6.924e-05 6.924e-05 6.924e-05 0.01% MLMG::mgVcycle_down::3 82 6.81e-05 6.81e-05 6.81e-05 0.01% AmrLevel::checkPoint() 3 6.273e-05 6.273e-05 6.273e-05 0.01% Castro::finalize_advance() 10 6.264e-05 6.264e-05 6.264e-05 0.01% Castro::do_advance_ctu() 10 5.934e-05 5.934e-05 5.934e-05 0.01% MLMG::mgVcycle_up::4 82 5.75e-05 5.75e-05 5.75e-05 0.01% MLMG::oneIter() 82 5.671e-05 5.671e-05 5.671e-05 0.01% Castro::initialize_do_advance() 10 5.526e-05 5.526e-05 5.526e-05 0.01% MLMG::mgVcycle_up::3 82 4.784e-05 4.784e-05 4.784e-05 0.00% MLMG::mgVcycle_up::1 82 4.736e-05 4.736e-05 4.736e-05 0.00% MLCellLinOp::solutionResidual() 93 4.673e-05 4.673e-05 4.673e-05 0.00% MLMG::mgVcycle_up::2 82 4.669e-05 4.669e-05 4.669e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.667e-05 4.667e-05 4.667e-05 0.00% MLMG::mgVcycle_up::0 82 4.522e-05 4.522e-05 4.522e-05 0.00% Castro::finalize_do_advance() 10 4.447e-05 4.447e-05 4.447e-05 0.00% StateData::define() 4 4.182e-05 4.182e-05 4.182e-05 0.00% Castro::swap_state_time_levels() 10 3.721e-05 3.721e-05 3.721e-05 0.00% FillPatchSingleLevel 41 3.636e-05 3.636e-05 3.636e-05 0.00% Amr::writeSmallPlotFile() 1 3.453e-05 3.453e-05 3.453e-05 0.00% MLMG::mgVcycle_bottom 82 3.418e-05 3.418e-05 3.418e-05 0.00% MLMG::computeResidual() 82 3.356e-05 3.356e-05 3.356e-05 0.00% Castro::initMFs() 1 3.137e-05 3.137e-05 3.137e-05 0.00% Amr::defBaseLevel() 1 3.111e-05 3.111e-05 3.111e-05 0.00% MLMG::ResNormInf() 93 3.01e-05 3.01e-05 3.01e-05 0.00% Castro::do_old_sources() 10 2.871e-05 2.871e-05 2.871e-05 0.00% makeSFC 55 2.693e-05 2.693e-05 2.693e-05 0.00% Castro::construct_new_gravity() 10 2.686e-05 2.686e-05 2.686e-05 0.00% MLPoisson::define() 11 2.539e-05 2.539e-05 2.539e-05 0.00% Castro::buildMetrics() 1 2.491e-05 2.491e-05 2.491e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.292e-05 2.292e-05 2.292e-05 0.00% Castro::construct_old_source() 50 2.114e-05 2.114e-05 2.114e-05 0.00% Amr::FinalizeInit() 1 1.947e-05 1.947e-05 1.947e-05 0.00% Castro::do_new_sources() 10 1.88e-05 1.88e-05 1.88e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.73e-05 1.73e-05 1.73e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.642e-05 1.642e-05 1.642e-05 0.00% DistributionMapping::Distribute() 56 1.633e-05 1.633e-05 1.633e-05 0.00% MLLinOp::define() 11 1.551e-05 1.551e-05 1.551e-05 0.00% Gravity::actual_multilevel_solve() 1 1.423e-05 1.423e-05 1.423e-05 0.00% MLMG::computeMLResidual() 11 1.215e-05 1.215e-05 1.215e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.206e-05 1.206e-05 1.206e-05 0.00% Castro::apply_source_to_state() 20 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::check_for_nan() 20 1.078e-05 1.078e-05 1.078e-05 0.00% Castro::construct_old_gravity() 10 1.046e-05 1.046e-05 1.046e-05 0.00% Amr::initSubcycle() 1 9.793e-06 9.793e-06 9.793e-06 0.00% Gravity::swapTimeLevels() 10 8.131e-06 8.131e-06 8.131e-06 0.00% MLPoisson::prepareForSolve() 11 7.372e-06 7.372e-06 7.372e-06 0.00% Castro::computeNewDt() 9 6.376e-06 6.376e-06 6.376e-06 0.00% Castro::expand_state() 10 5.916e-06 5.916e-06 5.916e-06 0.00% MLMG::getGradSolution() 11 5.896e-06 5.896e-06 5.896e-06 0.00% Amr::InitializeInit() 1 5.684e-06 5.684e-06 5.684e-06 0.00% Gravity::set_mass_offset() 11 5.469e-06 5.469e-06 5.469e-06 0.00% AmrLevel::checkPointPost() 3 4.836e-06 4.836e-06 4.836e-06 0.00% Castro::retry_advance_ctu() 10 4.225e-06 4.225e-06 4.225e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.022e-06 4.022e-06 4.022e-06 0.00% Castro::post_init() 1 4e-06 4e-06 4e-06 0.00% MLMG::MLRhsNormInf() 11 3.861e-06 3.861e-06 3.861e-06 0.00% MLMG::MLResNormInf() 11 3.491e-06 3.491e-06 3.491e-06 0.00% Amr::init() 1 3.043e-06 3.043e-06 3.043e-06 0.00% Castro::FluxRegCrseInit 10 2.92e-06 2.92e-06 2.92e-06 0.00% AmrLevel::checkPointPre() 3 2.844e-06 2.844e-06 2.844e-06 0.00% Castro::computeInitialDt() 2 2.589e-06 2.589e-06 2.589e-06 0.00% Castro::FluxRegFineAdd() 10 2.248e-06 2.248e-06 2.248e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.807e-06 1.807e-06 1.807e-06 0.00% Castro::post_regrid() 1 1.393e-06 1.393e-06 1.393e-06 0.00% Amr::initialInit() 1 1.075e-06 1.075e-06 1.075e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.968 0.968 0.968 100.00% Amr::coarseTimeStep() 10 0.8185 0.8185 0.8185 84.56% Amr::timeStep() 10 0.6761 0.6761 0.6761 69.85% Castro::advance() 10 0.6642 0.6642 0.6642 68.62% Castro::subcycle_advance_ctu() 10 0.6503 0.6503 0.6503 67.18% Castro::do_advance_ctu() 10 0.6501 0.6501 0.6501 67.16% Castro::construct_ctu_hydro_source() 10 0.3023 0.3023 0.3023 31.23% Gravity::solve_phi_with_mlmg() 11 0.3003 0.3003 0.3003 31.02% Gravity::actual_solve_with_mlmg() 11 0.2902 0.2902 0.2902 29.98% Castro::construct_new_gravity() 10 0.271 0.271 0.271 28.00% MLMG::solve() 11 0.2678 0.2678 0.2678 27.67% Gravity::solve_for_phi() 10 0.2547 0.2547 0.2547 26.31% MLMG::oneIter() 82 0.2521 0.2521 0.2521 26.05% MLMG::mgVcycle() 82 0.2484 0.2484 0.2484 25.67% Amr::checkPoint() 3 0.1834 0.1834 0.1834 18.95% VisMF::Write(FabArray) 11 0.1731 0.1731 0.1731 17.88% AmrLevel::checkPoint() 3 0.127 0.127 0.127 13.12% StateData::checkPoint() 12 0.1269 0.1269 0.1269 13.11% Amr::init() 1 0.1241 0.1241 0.1241 12.82% MLCellLinOp::smooth() 1640 0.1236 0.1236 0.1236 12.77% MLCellLinOp::applyBC() 4351 0.1148 0.1148 0.1148 11.86% MLMG::mgVcycle_bottom 82 0.07489 0.07489 0.07489 7.74% MLMG::actualBottomSolve() 82 0.07485 0.07485 0.07485 7.73% MLCGSolver::bicgstab 82 0.07402 0.07402 0.07402 7.65% Castro::clean_state() 62 0.05981 0.05981 0.05981 6.18% Amr::initialInit() 1 0.0547 0.0547 0.0547 5.65% Amr::FinalizeInit() 1 0.04991 0.04991 0.04991 5.16% AmrLevel::FillPatch() 41 0.04961 0.04961 0.04961 5.12% Amr::writePlotFile() 2 0.04905 0.04905 0.04905 5.07% Castro::post_init() 1 0.04838 0.04838 0.04838 5.00% Gravity::multilevel_solve_for_new_phi() 1 0.04601 0.04601 0.04601 4.75% Gravity::actual_multilevel_solve() 1 0.04599 0.04599 0.04599 4.75% FillPatchIterator::Initialize 41 0.04529 0.04529 0.04529 4.68% FillPatchIterator::FillFromLevel0() 41 0.04368 0.04368 0.04368 4.51% FillPatchSingleLevel 41 0.04364 0.04364 0.04364 4.51% StateDataPhysBCFunct::() 41 0.0395 0.0395 0.0395 4.08% MLCellLinOp::apply() 1060 0.03716 0.03716 0.03716 3.84% MLMG::mgVcycle_down::0 82 0.03488 0.03488 0.03488 3.60% MLPoisson::Fsmooth() 3280 0.03425 0.03425 0.03425 3.54% FabArray::FillBoundary() 3941 0.03222 0.03222 0.03222 3.33% FillBoundary_nowait() 3941 0.03138 0.03138 0.03138 3.24% StateData::FillBoundary(geom) 328 0.02664 0.02664 0.02664 2.75% MLMG::mgVcycle_up::0 82 0.02637 0.02637 0.02637 2.72% Castro::computeTemp() 63 0.02341 0.02341 0.02341 2.42% Castro::initialize_do_advance() 10 0.02257 0.02257 0.02257 2.33% Castro::normalize_species() 62 0.02212 0.02212 0.02212 2.29% amrex::Dot() 1114 0.02206 0.02206 0.02206 2.28% Castro::do_old_sources() 10 0.02109 0.02109 0.02109 2.18% MLMG:computeResOfCorrection() 410 0.02081 0.02081 0.02081 2.15% MLCellLinOp::correctionResidual() 410 0.02069 0.02069 0.02069 2.14% FabArray::norminf() 1061 0.0204 0.0204 0.0204 2.11% Gravity::get_new_grav_vector() 11 0.01824 0.01824 0.01824 1.88% MLPoisson::define() 11 0.01759 0.01759 0.01759 1.82% MLMG::mgVcycle_down::1 82 0.01702 0.01702 0.01702 1.76% MLMG::mgVcycle_down::2 82 0.01584 0.01584 0.01584 1.64% Castro::construct_old_gravity() 10 0.01558 0.01558 0.01558 1.61% Gravity::get_old_grav_vector() 10 0.01557 0.01557 0.01557 1.61% MLMG::mgVcycle_down::3 82 0.01547 0.01547 0.01547 1.60% MLMG::mgVcycle_down::4 82 0.01537 0.01537 0.01537 1.59% FabArray::ParallelCopy() 861 0.01494 0.01494 0.01494 1.54% FabArray::ParallelCopy_nowait() 861 0.01468 0.01468 0.01468 1.52% Castro::do_new_sources() 10 0.01399 0.01399 0.01399 1.45% FabArray::setVal() 1062 0.01374 0.01374 0.01374 1.42% FabArray::Saxpy() 1370 0.01353 0.01353 0.01353 1.40% Castro::initialize_advance() 10 0.01321 0.01321 0.01321 1.36% MLCGSolver::ParallelAllReduce 1832 0.0132 0.0132 0.0132 1.36% MLMG::addInterpCorrection() 410 0.0125 0.0125 0.0125 1.29% Castro::expand_state() 10 0.0125 0.0125 0.0125 1.29% MLMG::mgVcycle_up::1 82 0.01229 0.01229 0.01229 1.27% MLMG::mgVcycle_up::4 82 0.01224 0.01224 0.01224 1.26% Castro::enforce_min_density() 62 0.01214 0.01214 0.01214 1.25% MLMG::mgVcycle_up::2 82 0.01204 0.01204 0.01204 1.24% MLCellLinOp::defineAuxData() 11 0.01191 0.01191 0.01191 1.23% MLMG::mgVcycle_up::3 82 0.01183 0.01183 0.01183 1.22% amrex::average_down 410 0.01178 0.01178 0.01178 1.22% Castro::post_timestep() 10 0.01175 0.01175 0.01175 1.21% amrex::Copy() 472 0.01106 0.01106 0.01106 1.14% MLPoisson::Fapply() 1060 0.01063 0.01063 0.01063 1.10% Gravity::fill_multipole_BCs() 11 0.009812 0.009812 0.009812 1.01% FabArray::Xpay() 739 0.008004 0.008004 0.008004 0.83% MLCellLinOp::solutionResidual() 93 0.007912 0.007912 0.007912 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006764 0.006764 0.006764 0.70% MLMG::computeResidual() 82 0.006627 0.006627 0.006627 0.68% Castro::estTimeStep() 21 0.006219 0.006219 0.006219 0.64% MLCellLinOp::defineBC() 11 0.005399 0.005399 0.005399 0.56% MLMG::prepareForSolve() 11 0.00526 0.00526 0.00526 0.54% BndryData::define() 11 0.005136 0.005136 0.005136 0.53% Amr::InitializeInit() 1 0.004788 0.004788 0.004788 0.49% Amr::defBaseLevel() 1 0.004782 0.004782 0.004782 0.49% Castro::initData() 1 0.004102 0.004102 0.004102 0.42% Castro::construct_new_source() 50 0.003655 0.003655 0.003655 0.38% amrex::Add() 82 0.003632 0.003632 0.003632 0.38% Castro::construct_new_gravity_source() 10 0.003544 0.003544 0.003544 0.37% Castro::construct_old_source() 50 0.002928 0.002928 0.002928 0.30% Castro::construct_old_gravity_source() 10 0.002907 0.002907 0.002907 0.30% Castro::enforce_speed_limit() 62 0.002886 0.002886 0.002886 0.30% Castro::computeNewDt() 9 0.002615 0.002615 0.002615 0.27% Castro::finalize_do_advance() 10 0.002571 0.002571 0.002571 0.27% MLMG::ResNormInf() 93 0.002187 0.002187 0.002187 0.23% check_for_negative_density() 10 0.001893 0.001893 0.001893 0.20% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001816 0.001816 0.001816 0.19% Castro::reset_internal_energy(Fab) 504 0.001803 0.001803 0.001803 0.19% MLCellLinOp::setLevelBC() 11 0.001619 0.001619 0.001619 0.17% MLMG::getGradSolution() 11 0.001591 0.001591 0.001591 0.16% MLCellLinOp::compGrad() 11 0.001585 0.001585 0.001585 0.16% FabArrayBase::getCPC() 1323 0.001447 0.001447 0.001447 0.15% FabArray::setDomainBndry() 41 0.001393 0.001393 0.001393 0.14% FabArray::mult() 43 0.001382 0.001382 0.001382 0.14% MLPoisson::prepareForSolve() 11 0.001348 0.001348 0.001348 0.14% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.14% MLMG::computeMLResidual() 11 0.001331 0.001331 0.001331 0.14% Castro::check_for_nan() 20 0.001286 0.001286 0.001286 0.13% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% Castro::post_regrid() 1 0.001221 0.001221 0.001221 0.13% Castro::computeInitialDt() 2 0.001087 0.001087 0.001087 0.11% Gravity::update_max_rhs() 11 0.0009816 0.0009816 0.0009816 0.10% FabArrayBase::getFB() 3941 0.000713 0.000713 0.000713 0.07% FabArrayBase::CPC::define() 454 0.0006723 0.0006723 0.0006723 0.07% Castro::finalize_advance() 10 0.0006138 0.0006138 0.0006138 0.06% Castro::Castro() 1 0.0005896 0.0005896 0.0005896 0.06% Amr::InitAmr() 1 0.0005686 0.0005686 0.0005686 0.06% Gravity::swapTimeLevels() 10 0.0004821 0.0004821 0.0004821 0.05% MultiFab::max() 11 0.0003328 0.0003328 0.0003328 0.03% MLMG::MLResNormInf() 11 0.000332 0.000332 0.000332 0.03% Castro::buildMetrics() 1 0.0002935 0.0002935 0.0002935 0.03% MLLinOp::define() 11 0.0002559 0.0002559 0.0002559 0.03% MLLinOp::defineGrids() 11 0.0002404 0.0002404 0.0002404 0.02% MLMG::MLRhsNormInf() 11 0.0002308 0.0002308 0.0002308 0.02% Castro::create_source_corrector() 10 0.0001934 0.0001934 0.0001934 0.02% FabArrayBase::FB::FB() 56 9.45e-05 9.45e-05 9.45e-05 0.01% Castro::enforce_consistent_e() 1 6.924e-05 6.924e-05 6.924e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.855e-05 5.855e-05 5.855e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.388e-05 5.388e-05 5.388e-05 0.01% makeSFC 55 4.213e-05 4.213e-05 4.213e-05 0.00% StateData::define() 4 4.182e-05 4.182e-05 4.182e-05 0.00% Castro::swap_state_time_levels() 10 3.721e-05 3.721e-05 3.721e-05 0.00% Amr::writeSmallPlotFile() 1 3.453e-05 3.453e-05 3.453e-05 0.00% Castro::initMFs() 1 3.137e-05 3.137e-05 3.137e-05 0.00% DistributionMapping::Distribute() 56 1.633e-05 1.633e-05 1.633e-05 0.00% Amr::initSubcycle() 1 9.793e-06 9.793e-06 9.793e-06 0.00% Gravity::set_mass_offset() 11 5.469e-06 5.469e-06 5.469e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.143e-06 5.143e-06 5.143e-06 0.00% AmrLevel::checkPointPost() 3 4.836e-06 4.836e-06 4.836e-06 0.00% Castro::retry_advance_ctu() 10 4.225e-06 4.225e-06 4.225e-06 0.00% Castro::FluxRegCrseInit 10 2.92e-06 2.92e-06 2.92e-06 0.00% AmrLevel::checkPointPre() 3 2.844e-06 2.844e-06 2.844e-06 0.00% Castro::FluxRegFineAdd() 10 2.248e-06 2.248e-06 2.248e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.807e-06 1.807e-06 1.807e-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 5507 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 1008 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1411 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3403 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 195 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1974 B 2048 KiB Gravity::solve_for_phi() 80 80 538 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 198 KiB 671 KiB Castro::estTimeStep() 21 21 3136 B 480 KiB VisMF::Write(FabArray) 656 656 3200 B 320 KiB Castro::normalize_species() 62 62 7444 B 320 KiB amrex::average_down 1067 1067 1563 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1103 B 257 KiB amrex::Dot() 1360 1360 3362 B 160 KiB FabArray::norminf() 1143 1143 3255 B 160 KiB check_for_negative_density() 10 10 309 B 160 KiB Castro::initData() 1 1 47 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3321 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8702 8702 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3899 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 350 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 560 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 388 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3321 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 4351 4351 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3899 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 618 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 283 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 2105 [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-14-g6c6247554f27) finalized Initializing AMReX (24.04-14-g6c6247554f27)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-14-g6c6247554f27) initialized Starting run at 09:30:13 UTC on 2024-04-11. Successfully read inputs file ... Castro git describe: 24.04-13-g88d497647 AMReX git describe: 24.04-14-g6c6247554 Microphysics git describe: 24.04-7-gd4312a6c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513228833 Restart time = 0.069801679 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.069947271 [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.071346652 [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.075003869 [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.070853635 [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.067584734 [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.026385424 seconds Ending run at 09:30:13 UTC on 2024-04-11. Run time = 0.452017996 Run time without initialization = 0.381558201 Average number of zones advanced per microsecond: 3.435 Average number of zones advanced per microsecond per rank: 3.435 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.452 ... 0.452 ... 0.452 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1592 0.1592 0.1592 35.22% VisMF::Read() 3 0.05863 0.05863 0.05863 12.97% MLCellLinOp::applyBC() 1910 0.03578 0.03578 0.03578 7.92% VisMF::Write(FabArray) 1 0.02379 0.02379 0.02379 5.26% MLPoisson::Fsmooth() 1440 0.01482 0.01482 0.01482 3.28% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.91% FillBoundary_nowait() 1730 0.0129 0.0129 0.0129 2.85% Castro::normalize_species() 30 0.01003 0.01003 0.01003 2.22% amrex::Dot() 484 0.009387 0.009387 0.009387 2.08% FabArray::norminf() 465 0.008795 0.008795 0.008795 1.95% Castro::computeTemp() 30 0.008242 0.008242 0.008242 1.82% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.48% FabArray::ParallelCopy_nowait() 380 0.006221 0.006221 0.006221 1.38% Castro::enforce_min_density() 30 0.006031 0.006031 0.006031 1.33% FabArray::Saxpy() 597 0.005933 0.005933 0.005933 1.31% MLCellLinOp::defineAuxData() 6 0.005725 0.005725 0.005725 1.27% amrex::Copy() 221 0.005499 0.005499 0.005499 1.22% Gravity::fill_multipole_BCs() 6 0.005366 0.005366 0.005366 1.19% StateDataPhysBCFunct::() 20 0.005029 0.005029 0.005029 1.11% Amr::restart() 1 0.004778 0.004778 0.004778 1.06% MLPoisson::Fapply() 464 0.004564 0.004564 0.004564 1.01% FabArray::Xpay() 325 0.003535 0.003535 0.003535 0.78% Castro::estTimeStep() 10 0.003344 0.003344 0.003344 0.74% MLMG::addInterpCorrection() 180 0.003115 0.003115 0.003115 0.69% amrex::average_down 180 0.002766 0.002766 0.002766 0.61% Amr::writePlotFile() 1 0.002422 0.002422 0.002422 0.54% BndryData::define() 6 0.002251 0.002251 0.002251 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002171 0.002171 0.002171 0.48% Castro::construct_new_gravity_source() 5 0.001574 0.001574 0.001574 0.35% amrex::Add() 36 0.001547 0.001547 0.001547 0.34% Castro::enforce_speed_limit() 30 0.001519 0.001519 0.001519 0.34% Castro::construct_old_gravity_source() 5 0.001189 0.001189 0.001189 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009847 0.0009847 0.0009847 0.22% check_for_negative_density() 5 0.0009336 0.0009336 0.0009336 0.21% MLCellLinOp::setLevelBC() 6 0.0008939 0.0008939 0.0008939 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008362 0.0008362 0.0008362 0.18% Castro::reset_internal_energy(Fab) 240 0.000808 0.000808 0.000808 0.18% MLCellLinOp::prepareForSolve() 6 0.0007638 0.0007638 0.0007638 0.17% MLCGSolver::bicgstab 36 0.0007091 0.0007091 0.0007091 0.16% FabArray::setDomainBndry() 20 0.0007067 0.0007067 0.0007067 0.16% FabArray::mult() 22 0.0006984 0.0006984 0.0006984 0.15% MultiFab::contains_nan() 10 0.000664 0.000664 0.000664 0.15% MLCellLinOp::compGrad() 6 0.0006017 0.0006017 0.0006017 0.13% MLMG::prepareForSolve() 6 0.000552 0.000552 0.000552 0.12% MLCellLinOp::smooth() 720 0.0005015 0.0005015 0.0005015 0.11% Amr::InitAmr() 1 0.0004751 0.0004751 0.0004751 0.11% FabArrayBase::CPC::define() 244 0.0004198 0.0004198 0.0004198 0.09% FabArrayBase::getCPC() 632 0.0003658 0.0003658 0.0003658 0.08% Gravity::get_old_grav_vector() 5 0.0003589 0.0003589 0.0003589 0.08% FabArray::FillBoundary() 1730 0.0003351 0.0003351 0.0003351 0.07% main() 1 0.000286 0.000286 0.000286 0.06% Gravity::get_new_grav_vector() 5 0.0002633 0.0002633 0.0002633 0.06% FabArrayBase::getFB() 1730 0.0002536 0.0002536 0.0002536 0.06% AmrLevel::FillPatch() 20 0.000211 0.000211 0.000211 0.05% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLCellLinOp::apply() 464 0.0001915 0.0001915 0.0001915 0.04% Amr::coarseTimeStep() 5 0.0001638 0.0001638 0.0001638 0.04% MLCellLinOp::defineBC() 6 0.0001447 0.0001447 0.0001447 0.03% MLCGSolver::ParallelAllReduce 798 0.00013 0.00013 0.00013 0.03% FabArray::ParallelCopy() 380 0.0001128 0.0001128 0.0001128 0.02% Castro::advance() 5 0.0001094 0.0001094 0.0001094 0.02% Castro::create_source_corrector() 5 0.0001079 0.0001079 0.0001079 0.02% Castro::subcycle_advance_ctu() 5 0.0001064 0.0001064 0.0001064 0.02% FillPatchIterator::Initialize 20 0.0001045 0.0001045 0.0001045 0.02% MLLinOp::defineGrids() 6 9.7e-05 9.7e-05 9.7e-05 0.02% Castro::initialize_do_advance() 5 9.264e-05 9.264e-05 9.264e-05 0.02% Amr::timeStep() 5 8.741e-05 8.741e-05 8.741e-05 0.02% MLMG::mgVcycle() 36 8.162e-05 8.162e-05 8.162e-05 0.02% Castro::construct_new_source() 25 8.151e-05 8.151e-05 8.151e-05 0.02% Castro::do_new_sources() 5 7.674e-05 7.674e-05 7.674e-05 0.02% MLCellLinOp::correctionResidual() 180 7.485e-05 7.485e-05 7.485e-05 0.02% AmrLevel::restart() 1 7.255e-05 7.255e-05 7.255e-05 0.02% StateData::restartDoit() 4 6.651e-05 6.651e-05 6.651e-05 0.01% Castro::do_advance_ctu() 5 6.388e-05 6.388e-05 6.388e-05 0.01% Gravity::update_max_rhs() 6 6.376e-05 6.376e-05 6.376e-05 0.01% FabArrayBase::FB::FB() 26 5.871e-05 5.871e-05 5.871e-05 0.01% Gravity::solve_for_phi() 5 5.106e-05 5.106e-05 5.106e-05 0.01% MLMG:computeResOfCorrection() 180 5.066e-05 5.066e-05 5.066e-05 0.01% Castro::construct_old_source() 25 4.981e-05 4.981e-05 4.981e-05 0.01% Castro::finalize_do_advance() 5 4.637e-05 4.637e-05 4.637e-05 0.01% Castro::initialize_advance() 5 3.73e-05 3.73e-05 3.73e-05 0.01% MLMG::mgVcycle_down::0 36 3.653e-05 3.653e-05 3.653e-05 0.01% MLMG::actualBottomSolve() 36 3.637e-05 3.637e-05 3.637e-05 0.01% MLMG::solve() 6 3.612e-05 3.612e-05 3.612e-05 0.01% MLMG::mgVcycle_down::1 36 3.318e-05 3.318e-05 3.318e-05 0.01% Castro::finalize_advance() 5 3.198e-05 3.198e-05 3.198e-05 0.01% Castro::clean_state() 30 3.176e-05 3.176e-05 3.176e-05 0.01% MLMG::mgVcycle_down::2 36 3.098e-05 3.098e-05 3.098e-05 0.01% MLMG::mgVcycle_down::4 36 3.019e-05 3.019e-05 3.019e-05 0.01% MLMG::mgVcycle_down::3 36 2.889e-05 2.889e-05 2.889e-05 0.01% Amr::writeSmallPlotFile() 1 2.883e-05 2.883e-05 2.883e-05 0.01% Castro::buildMetrics() 1 2.674e-05 2.674e-05 2.674e-05 0.01% MLMG::oneIter() 36 2.536e-05 2.536e-05 2.536e-05 0.01% MLMG::mgVcycle_up::4 36 2.53e-05 2.53e-05 2.53e-05 0.01% Castro::swap_state_time_levels() 5 2.491e-05 2.491e-05 2.491e-05 0.01% Castro::initMFs() 1 2.393e-05 2.393e-05 2.393e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.324e-05 2.324e-05 2.324e-05 0.01% Castro::post_restart() 1 2.322e-05 2.322e-05 2.322e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.222e-05 2.222e-05 2.222e-05 0.00% MLMG::mgVcycle_up::3 36 2.207e-05 2.207e-05 2.207e-05 0.00% MLCellLinOp::solutionResidual() 42 2.065e-05 2.065e-05 2.065e-05 0.00% MLMG::mgVcycle_up::2 36 2.021e-05 2.021e-05 2.021e-05 0.00% MLMG::mgVcycle_up::0 36 1.999e-05 1.999e-05 1.999e-05 0.00% MLMG::mgVcycle_up::1 36 1.961e-05 1.961e-05 1.961e-05 0.00% MLPoisson::define() 6 1.873e-05 1.873e-05 1.873e-05 0.00% FillPatchSingleLevel 20 1.75e-05 1.75e-05 1.75e-05 0.00% Gravity::actual_multilevel_solve() 1 1.659e-05 1.659e-05 1.659e-05 0.00% MLMG::ResNormInf() 42 1.659e-05 1.659e-05 1.659e-05 0.00% MLMG::computeResidual() 36 1.556e-05 1.556e-05 1.556e-05 0.00% MLMG::mgVcycle_bottom 36 1.532e-05 1.532e-05 1.532e-05 0.00% makeSFC 30 1.453e-05 1.453e-05 1.453e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.342e-05 1.342e-05 1.342e-05 0.00% Castro::construct_new_gravity() 5 1.209e-05 1.209e-05 1.209e-05 0.00% Castro::do_old_sources() 5 1.199e-05 1.199e-05 1.199e-05 0.00% Amr::initSubcycle() 1 9.965e-06 9.965e-06 9.965e-06 0.00% DistributionMapping::Distribute() 31 9.817e-06 9.817e-06 9.817e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.29e-06 8.29e-06 8.29e-06 0.00% MLLinOp::define() 6 7.609e-06 7.609e-06 7.609e-06 0.00% Castro::apply_source_to_state() 10 6.165e-06 6.165e-06 6.165e-06 0.00% Castro::check_for_nan() 10 5.951e-06 5.951e-06 5.951e-06 0.00% Castro::construct_old_gravity() 5 5.27e-06 5.27e-06 5.27e-06 0.00% Castro::post_timestep() 5 4.87e-06 4.87e-06 4.87e-06 0.00% MLMG::computeMLResidual() 6 4.525e-06 4.525e-06 4.525e-06 0.00% Gravity::swapTimeLevels() 5 4.301e-06 4.301e-06 4.301e-06 0.00% MLPoisson::prepareForSolve() 6 3.836e-06 3.836e-06 3.836e-06 0.00% Castro::computeNewDt() 5 3.521e-06 3.521e-06 3.521e-06 0.00% MLMG::getGradSolution() 6 3.084e-06 3.084e-06 3.084e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.997e-06 2.997e-06 2.997e-06 0.00% Castro::expand_state() 5 2.913e-06 2.913e-06 2.913e-06 0.00% MLMG::MLResNormInf() 6 2.372e-06 2.372e-06 2.372e-06 0.00% Castro::retry_advance_ctu() 5 2.152e-06 2.152e-06 2.152e-06 0.00% MLMG::MLRhsNormInf() 6 2.141e-06 2.141e-06 2.141e-06 0.00% Gravity::set_mass_offset() 6 2.1e-06 2.1e-06 2.1e-06 0.00% Castro::FluxRegCrseInit 5 1.771e-06 1.771e-06 1.771e-06 0.00% Castro::FluxRegFineAdd() 5 1.152e-06 1.152e-06 1.152e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.45e-07 9.45e-07 9.45e-07 0.00% Amr::init() 1 7.35e-07 7.35e-07 7.35e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.452 0.452 0.452 100.00% Amr::coarseTimeStep() 5 0.3549 0.3549 0.3549 78.51% Amr::timeStep() 5 0.3525 0.3525 0.3525 77.98% Castro::advance() 5 0.347 0.347 0.347 76.75% Castro::subcycle_advance_ctu() 5 0.3387 0.3387 0.3387 74.93% Castro::do_advance_ctu() 5 0.3386 0.3386 0.3386 74.90% Castro::construct_ctu_hydro_source() 5 0.1651 0.1651 0.1651 36.53% Castro::construct_new_gravity() 5 0.1367 0.1367 0.1367 30.24% Gravity::solve_phi_with_mlmg() 6 0.1338 0.1338 0.1338 29.61% Gravity::solve_for_phi() 5 0.1286 0.1286 0.1286 28.44% Gravity::actual_solve_with_mlmg() 6 0.1282 0.1282 0.1282 28.37% MLMG::solve() 6 0.1159 0.1159 0.1159 25.65% MLMG::oneIter() 36 0.1082 0.1082 0.1082 23.93% MLMG::mgVcycle() 36 0.1066 0.1066 0.1066 23.58% Amr::init() 1 0.06986 0.06986 0.06986 15.46% Amr::restart() 1 0.06986 0.06986 0.06986 15.46% AmrLevel::restart() 1 0.05899 0.05899 0.05899 13.05% StateData::restartDoit() 4 0.05892 0.05892 0.05892 13.03% VisMF::Read() 3 0.05863 0.05863 0.05863 12.97% MLCellLinOp::smooth() 720 0.05295 0.05295 0.05295 11.71% MLCellLinOp::applyBC() 1910 0.04933 0.04933 0.04933 10.91% MLMG::mgVcycle_bottom 36 0.03204 0.03204 0.03204 7.09% MLMG::actualBottomSolve() 36 0.03203 0.03203 0.03203 7.09% MLCGSolver::bicgstab 36 0.03166 0.03166 0.03166 7.00% Castro::clean_state() 30 0.02883 0.02883 0.02883 6.38% Amr::writePlotFile() 1 0.02647 0.02647 0.02647 5.86% VisMF::Write(FabArray) 1 0.02379 0.02379 0.02379 5.26% AmrLevel::FillPatch() 20 0.0232 0.0232 0.0232 5.13% FillPatchIterator::Initialize 20 0.02108 0.02108 0.02108 4.66% FillPatchIterator::FillFromLevel0() 20 0.02026 0.02026 0.02026 4.48% FillPatchSingleLevel 20 0.02024 0.02024 0.02024 4.48% StateDataPhysBCFunct::() 20 0.01817 0.01817 0.01817 4.02% MLCellLinOp::apply() 464 0.01617 0.01617 0.01617 3.58% MLMG::mgVcycle_down::0 36 0.01502 0.01502 0.01502 3.32% MLPoisson::Fsmooth() 1440 0.01482 0.01482 0.01482 3.28% FabArray::FillBoundary() 1730 0.01355 0.01355 0.01355 3.00% FillBoundary_nowait() 1730 0.01322 0.01322 0.01322 2.92% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.91% Castro::initialize_do_advance() 5 0.01128 0.01128 0.01128 2.49% MLMG::mgVcycle_up::0 36 0.01123 0.01123 0.01123 2.48% Castro::computeTemp() 30 0.01122 0.01122 0.01122 2.48% Castro::normalize_species() 30 0.01003 0.01003 0.01003 2.22% MLPoisson::define() 6 0.009657 0.009657 0.009657 2.14% amrex::Dot() 484 0.009387 0.009387 0.009387 2.08% Castro::do_old_sources() 5 0.009096 0.009096 0.009096 2.01% MLMG:computeResOfCorrection() 180 0.008962 0.008962 0.008962 1.98% MLCellLinOp::correctionResidual() 180 0.008911 0.008911 0.008911 1.97% FabArray::norminf() 465 0.008795 0.008795 0.008795 1.95% Gravity::get_new_grav_vector() 5 0.007998 0.007998 0.007998 1.77% Castro::construct_old_gravity() 5 0.007867 0.007867 0.007867 1.74% Gravity::get_old_grav_vector() 5 0.007861 0.007861 0.007861 1.74% Castro::initialize_advance() 5 0.007839 0.007839 0.007839 1.73% MLMG::mgVcycle_down::1 36 0.007436 0.007436 0.007436 1.64% Castro::do_new_sources() 5 0.006875 0.006875 0.006875 1.52% MLMG::mgVcycle_down::2 36 0.006812 0.006812 0.006812 1.51% FabArray::ParallelCopy() 380 0.006723 0.006723 0.006723 1.49% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.48% MLMG::mgVcycle_down::3 36 0.006644 0.006644 0.006644 1.47% FabArray::ParallelCopy_nowait() 380 0.00661 0.00661 0.00661 1.46% MLMG::mgVcycle_down::4 36 0.006574 0.006574 0.006574 1.45% MLCellLinOp::defineAuxData() 6 0.006516 0.006516 0.006516 1.44% Castro::enforce_min_density() 30 0.006031 0.006031 0.006031 1.33% Castro::expand_state() 5 0.006013 0.006013 0.006013 1.33% FabArray::Saxpy() 597 0.005933 0.005933 0.005933 1.31% Castro::post_restart() 1 0.005909 0.005909 0.005909 1.31% MLCGSolver::ParallelAllReduce 798 0.005654 0.005654 0.005654 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005543 0.005543 0.005543 1.23% Gravity::actual_multilevel_solve() 1 0.005519 0.005519 0.005519 1.22% amrex::Copy() 221 0.005499 0.005499 0.005499 1.22% Gravity::fill_multipole_BCs() 6 0.005492 0.005492 0.005492 1.21% Castro::post_timestep() 5 0.005437 0.005437 0.005437 1.20% MLMG::addInterpCorrection() 180 0.00542 0.00542 0.00542 1.20% MLMG::mgVcycle_up::4 36 0.005281 0.005281 0.005281 1.17% MLMG::mgVcycle_up::1 36 0.005281 0.005281 0.005281 1.17% MLMG::mgVcycle_up::2 36 0.00514 0.00514 0.00514 1.14% amrex::average_down 180 0.005125 0.005125 0.005125 1.13% MLMG::mgVcycle_up::3 36 0.005048 0.005048 0.005048 1.12% MLPoisson::Fapply() 464 0.004564 0.004564 0.004564 1.01% MLCellLinOp::solutionResidual() 42 0.003692 0.003692 0.003692 0.82% FabArray::Xpay() 325 0.003535 0.003535 0.003535 0.78% Castro::estTimeStep() 10 0.003344 0.003344 0.003344 0.74% MLCellLinOp::defineBC() 6 0.002985 0.002985 0.002985 0.66% Castro::reset_internal_energy(MultiFab) 30 0.00298 0.00298 0.00298 0.66% MLMG::prepareForSolve() 6 0.002915 0.002915 0.002915 0.64% MLMG::computeResidual() 36 0.00288 0.00288 0.00288 0.64% BndryData::define() 6 0.002841 0.002841 0.002841 0.63% Castro::computeNewDt() 5 0.00224 0.00224 0.00224 0.50% Castro::construct_new_source() 25 0.001655 0.001655 0.001655 0.37% Castro::construct_new_gravity_source() 5 0.001574 0.001574 0.001574 0.35% amrex::Add() 36 0.001547 0.001547 0.001547 0.34% Castro::enforce_speed_limit() 30 0.001519 0.001519 0.001519 0.34% Castro::construct_old_source() 25 0.001239 0.001239 0.001239 0.27% Castro::construct_old_gravity_source() 5 0.001189 0.001189 0.001189 0.26% Castro::finalize_do_advance() 5 0.001154 0.001154 0.001154 0.26% MLMG::ResNormInf() 42 0.0009916 0.0009916 0.0009916 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009847 0.0009847 0.0009847 0.22% Castro::apply_source_to_state() 10 0.0009737 0.0009737 0.0009737 0.22% check_for_negative_density() 5 0.0009336 0.0009336 0.0009336 0.21% MLMG::getGradSolution() 6 0.0008948 0.0008948 0.0008948 0.20% MLCellLinOp::setLevelBC() 6 0.0008939 0.0008939 0.0008939 0.20% MLCellLinOp::compGrad() 6 0.0008917 0.0008917 0.0008917 0.20% MLMG::computeMLResidual() 6 0.0008321 0.0008321 0.0008321 0.18% Castro::reset_internal_energy(Fab) 240 0.000808 0.000808 0.000808 0.18% FabArrayBase::getCPC() 632 0.0007856 0.0007856 0.0007856 0.17% MLPoisson::prepareForSolve() 6 0.0007676 0.0007676 0.0007676 0.17% MLCellLinOp::prepareForSolve() 6 0.0007638 0.0007638 0.0007638 0.17% Gravity::update_max_rhs() 6 0.0007208 0.0007208 0.0007208 0.16% FabArray::setDomainBndry() 20 0.0007067 0.0007067 0.0007067 0.16% FabArray::mult() 22 0.0006984 0.0006984 0.0006984 0.15% Castro::check_for_nan() 10 0.0006699 0.0006699 0.0006699 0.15% MultiFab::contains_nan() 10 0.000664 0.000664 0.000664 0.15% Amr::InitAmr() 1 0.000485 0.000485 0.000485 0.11% FabArrayBase::CPC::define() 244 0.0004198 0.0004198 0.0004198 0.09% FabArrayBase::getFB() 1730 0.0003124 0.0003124 0.0003124 0.07% Castro::finalize_advance() 5 0.0003057 0.0003057 0.0003057 0.07% Gravity::swapTimeLevels() 5 0.0002502 0.0002502 0.0002502 0.06% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLMG::MLResNormInf() 6 0.0001924 0.0001924 0.0001924 0.04% Castro::buildMetrics() 1 0.0001601 0.0001601 0.0001601 0.04% MLLinOp::define() 6 0.000137 0.000137 0.000137 0.03% MLLinOp::defineGrids() 6 0.0001294 0.0001294 0.0001294 0.03% MLMG::MLRhsNormInf() 6 0.0001232 0.0001232 0.0001232 0.03% Castro::create_source_corrector() 5 0.0001079 0.0001079 0.0001079 0.02% FabArrayBase::FB::FB() 26 5.871e-05 5.871e-05 5.871e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.142e-05 3.142e-05 3.142e-05 0.01% Amr::writeSmallPlotFile() 1 2.883e-05 2.883e-05 2.883e-05 0.01% Castro::swap_state_time_levels() 5 2.491e-05 2.491e-05 2.491e-05 0.01% Castro::initMFs() 1 2.393e-05 2.393e-05 2.393e-05 0.01% makeSFC 30 2.313e-05 2.313e-05 2.313e-05 0.01% Amr::initSubcycle() 1 9.965e-06 9.965e-06 9.965e-06 0.00% DistributionMapping::Distribute() 31 9.817e-06 9.817e-06 9.817e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.214e-06 4.214e-06 4.214e-06 0.00% Castro::retry_advance_ctu() 5 2.152e-06 2.152e-06 2.152e-06 0.00% Gravity::set_mass_offset() 6 2.1e-06 2.1e-06 2.1e-06 0.00% Castro::FluxRegCrseInit 5 1.771e-06 1.771e-06 1.771e-06 0.00% Castro::FluxRegFineAdd() 5 1.152e-06 1.152e-06 1.152e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.45e-07 9.45e-07 9.45e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 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 1015 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1557 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 6497 KiB 14 MiB MLMG::prepareForSolve() 361 361 3148 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 180 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6485 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3169 B 2048 KiB Gravity::solve_for_phi() 40 40 581 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 290 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 186 KiB 671 KiB Castro::estTimeStep() 10 10 3449 B 480 KiB VisMF::Write(FabArray) 112 112 1230 B 320 KiB Castro::normalize_species() 30 30 7224 B 320 KiB amrex::average_down 469 469 1361 B 257 KiB MLMG::addInterpCorrection() 468 468 1027 B 257 KiB amrex::Dot() 592 592 3066 B 160 KiB FabArray::norminf() 501 501 3005 B 160 KiB check_for_negative_density() 5 5 331 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3049 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 246 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5911 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 326 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1284 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 146 KiB 3584 KiB VisMF::Read() 24 24 196 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3049 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 246 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5911 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2551 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 790 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 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [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-14-g6c6247554f27) finalized