Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-5-g87556458d867) initialized Starting run at 07:59:17 UTC on 2023-10-04. Successfully read inputs file ... Castro git describe: 23.10-4-g104a57d85 AMReX git describe: 23.10-5-g87556458d Microphysics git describe: 23.10-3-ge3e866c0 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.051969913 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.029349138 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.051826615 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.052464807 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.06779747 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.08130636 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067248114 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.049921176 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.053063131 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.048940596 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.073623486 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.076107779 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.06279724 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.049246621 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028372459 seconds Ending run at 07:59:18 UTC on 2023-10-04. Run time = 0.898677752 Run time without initialization = 0.763413154 Average number of zones advanced per microsecond: 3.434 Average number of zones advanced per microsecond per rank: 3.434 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8987 ... 0.8987 ... 0.8987 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2605 0.2605 0.2605 28.98% VisMF::Write(FabArray) 11 0.2008 0.2008 0.2008 22.35% MLCellLinOp::applyBC() 4433 0.0779 0.0779 0.0779 8.67% MLPoisson::Fsmooth() 3280 0.03282 0.03282 0.03282 3.65% FillBoundary_nowait() 4023 0.03026 0.03026 0.03026 3.37% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.93% Castro::normalize_species() 62 0.02108 0.02108 0.02108 2.35% amrex::Dot() 1114 0.021 0.021 0.021 2.34% Castro::computeTemp() 63 0.01601 0.01601 0.01601 1.78% amrex::Copy() 1029 0.015 0.015 0.015 1.67% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.63% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.50% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.49% Castro::enforce_min_density() 62 0.01269 0.01269 0.01269 1.41% StateDataPhysBCFunct::() 41 0.01135 0.01135 0.01135 1.26% MLPoisson::Fapply() 1142 0.0105 0.0105 0.0105 1.17% MLCellLinOp::defineAuxData() 11 0.01045 0.01045 0.01045 1.16% Gravity::fill_multipole_BCs() 11 0.009197 0.009197 0.009197 1.02% FabArray::Saxpy() 813 0.008316 0.008316 0.008316 0.93% FabArray::Xpay() 821 0.008212 0.008212 0.008212 0.91% MLMG::addInterpCorrection() 410 0.006781 0.006781 0.006781 0.75% amrex::average_down 410 0.006075 0.006075 0.006075 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005641 0.005641 0.005641 0.63% Castro::estTimeStep() 21 0.005359 0.005359 0.005359 0.60% Amr::checkPoint() 3 0.005317 0.005317 0.005317 0.59% FabArray::LinComb() 557 0.004609 0.004609 0.004609 0.51% amrex::Add() 164 0.004387 0.004387 0.004387 0.49% BndryData::define() 11 0.00389 0.00389 0.00389 0.43% Castro::construct_new_gravity_source() 10 0.003268 0.003268 0.003268 0.36% Castro::construct_old_gravity_source() 10 0.002708 0.002708 0.002708 0.30% Castro::enforce_speed_limit() 62 0.002412 0.002412 0.002412 0.27% MLCGSolver::bicgstab 82 0.002277 0.002277 0.002277 0.25% Amr::writePlotFile() 2 0.002221 0.002221 0.002221 0.25% check_for_negative_density() 10 0.001878 0.001878 0.001878 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.20% Castro::reset_internal_energy(Fab) 504 0.00174 0.00174 0.00174 0.19% Gravity::actual_solve_with_mlmg() 11 0.001543 0.001543 0.001543 0.17% Castro::initData() 1 0.001521 0.001521 0.001521 0.17% MLCellLinOp::setLevelBC() 11 0.00147 0.00147 0.00147 0.16% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% MLCellLinOp::prepareForSolve() 11 0.001288 0.001288 0.001288 0.14% MultiFab::contains_nan() 20 0.001266 0.001266 0.001266 0.14% MLCellLinOp::smooth() 1640 0.00107 0.00107 0.00107 0.12% MLCellLinOp::compGrad() 11 0.001058 0.001058 0.001058 0.12% MLMG::prepareForSolve() 11 0.0009498 0.0009498 0.0009498 0.11% FabArrayBase::getCPC() 1323 0.0008537 0.0008537 0.0008537 0.09% FabArray::FillBoundary() 4023 0.0007999 0.0007999 0.0007999 0.09% FabArrayBase::CPC::define() 454 0.0006775 0.0006775 0.0006775 0.08% FabArrayBase::getFB() 4023 0.0006134 0.0006134 0.0006134 0.07% Gravity::get_new_grav_vector() 11 0.0006014 0.0006014 0.0006014 0.07% Gravity::get_old_grav_vector() 10 0.0004946 0.0004946 0.0004946 0.06% Amr::InitAmr() 1 0.0004915 0.0004915 0.0004915 0.05% MLCellLinOp::apply() 1142 0.0004774 0.0004774 0.0004774 0.05% Amr::coarseTimeStep() 10 0.0003918 0.0003918 0.0003918 0.04% AmrLevel::FillPatch() 41 0.0003386 0.0003386 0.0003386 0.04% MultiFab::max() 11 0.0003327 0.0003327 0.0003327 0.04% main() 1 0.0003032 0.0003032 0.0003032 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002835 0.0002835 0.0002835 0.03% FabArray::ParallelCopy() 861 0.0002526 0.0002526 0.0002526 0.03% FillPatchIterator::Initialize 41 0.0002273 0.0002273 0.0002273 0.03% MLCellLinOp::defineBC() 11 0.0002221 0.0002221 0.0002221 0.02% MLCellLinOp::correctionResidual() 492 0.0002133 0.0002133 0.0002133 0.02% MLMG::mgVcycle() 82 0.0002102 0.0002102 0.0002102 0.02% MLLinOp::defineGrids() 11 0.0001666 0.0001666 0.0001666 0.02% Castro::subcycle_advance_ctu() 10 0.0001574 0.0001574 0.0001574 0.02% Amr::timeStep() 10 0.0001511 0.0001511 0.0001511 0.02% Gravity::solve_for_phi() 10 0.0001466 0.0001466 0.0001466 0.02% Castro::create_source_corrector() 10 0.0001411 0.0001411 0.0001411 0.02% MLMG:computeResOfCorrection() 410 0.0001381 0.0001381 0.0001381 0.02% Gravity::update_max_rhs() 11 0.0001282 0.0001282 0.0001282 0.01% StateData::checkPoint() 12 0.0001145 0.0001145 0.0001145 0.01% Castro::Castro() 1 0.0001023 0.0001023 0.0001023 0.01% MLMG::actualBottomSolve() 82 9.338e-05 9.338e-05 9.338e-05 0.01% FabArrayBase::FB::FB() 56 9.286e-05 9.286e-05 9.286e-05 0.01% MLMG::mgVcycle_down::0 82 8.268e-05 8.268e-05 8.268e-05 0.01% MLMG::mgVcycle_down::2 82 7.673e-05 7.673e-05 7.673e-05 0.01% MLMG::mgVcycle_down::1 82 7.628e-05 7.628e-05 7.628e-05 0.01% Castro::initialize_advance() 10 7.607e-05 7.607e-05 7.607e-05 0.01% MLMG::solve() 11 7.548e-05 7.548e-05 7.548e-05 0.01% MLMG::mgVcycle_down::4 82 7.41e-05 7.41e-05 7.41e-05 0.01% Castro::clean_state() 62 7.405e-05 7.405e-05 7.405e-05 0.01% Castro::enforce_consistent_e() 1 7.194e-05 7.194e-05 7.194e-05 0.01% MLMG::mgVcycle_down::3 82 7.128e-05 7.128e-05 7.128e-05 0.01% Castro::construct_new_source() 50 6.895e-05 6.895e-05 6.895e-05 0.01% AmrLevel::checkPoint() 3 6.717e-05 6.717e-05 6.717e-05 0.01% Castro::post_timestep() 10 6.607e-05 6.607e-05 6.607e-05 0.01% Castro::finalize_advance() 10 6.227e-05 6.227e-05 6.227e-05 0.01% MLMG::mgVcycle_up::4 82 6.227e-05 6.227e-05 6.227e-05 0.01% Castro::advance() 10 6.224e-05 6.224e-05 6.224e-05 0.01% Castro::initialize_do_advance() 10 6.099e-05 6.099e-05 6.099e-05 0.01% MLMG::mgVcycle_up::0 82 5.286e-05 5.286e-05 5.286e-05 0.01% Castro::do_new_sources() 10 5.218e-05 5.218e-05 5.218e-05 0.01% MLCellLinOp::solutionResidual() 93 5.185e-05 5.185e-05 5.185e-05 0.01% MLMG::oneIter() 82 5.153e-05 5.153e-05 5.153e-05 0.01% MLMG::mgVcycle_up::3 82 5.02e-05 5.02e-05 5.02e-05 0.01% MLMG::mgVcycle_up::1 82 4.869e-05 4.869e-05 4.869e-05 0.01% Castro::do_advance_ctu() 10 4.823e-05 4.823e-05 4.823e-05 0.01% MLMG::mgVcycle_up::2 82 4.758e-05 4.758e-05 4.758e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.678e-05 4.678e-05 4.678e-05 0.01% Castro::finalize_do_advance() 10 4.321e-05 4.321e-05 4.321e-05 0.00% StateData::define() 4 4.277e-05 4.277e-05 4.277e-05 0.00% Castro::swap_state_time_levels() 10 3.556e-05 3.556e-05 3.556e-05 0.00% MLMG::mgVcycle_bottom 82 3.494e-05 3.494e-05 3.494e-05 0.00% MLMG::computeResidual() 82 3.482e-05 3.482e-05 3.482e-05 0.00% FillPatchSingleLevel 41 3.392e-05 3.392e-05 3.392e-05 0.00% MLMG::ResNormInf() 93 3.272e-05 3.272e-05 3.272e-05 0.00% Amr::defBaseLevel() 1 2.975e-05 2.975e-05 2.975e-05 0.00% Castro::initMFs() 1 2.881e-05 2.881e-05 2.881e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.83e-05 2.83e-05 2.83e-05 0.00% Castro::buildMetrics() 1 2.806e-05 2.806e-05 2.806e-05 0.00% Amr::writeSmallPlotFile() 1 2.635e-05 2.635e-05 2.635e-05 0.00% makeSFC 55 2.387e-05 2.387e-05 2.387e-05 0.00% Castro::construct_new_gravity() 10 2.38e-05 2.38e-05 2.38e-05 0.00% Castro::do_old_sources() 10 2.14e-05 2.14e-05 2.14e-05 0.00% MLPoisson::define() 11 2.051e-05 2.051e-05 2.051e-05 0.00% Amr::FinalizeInit() 1 1.981e-05 1.981e-05 1.981e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.889e-05 1.889e-05 1.889e-05 0.00% Castro::construct_old_source() 50 1.788e-05 1.788e-05 1.788e-05 0.00% DistributionMapping::Distribute() 56 1.705e-05 1.705e-05 1.705e-05 0.00% MLLinOp::define() 11 1.581e-05 1.581e-05 1.581e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.312e-05 1.312e-05 1.312e-05 0.00% Castro::check_for_nan() 20 1.247e-05 1.247e-05 1.247e-05 0.00% Castro::construct_old_gravity() 10 1.159e-05 1.159e-05 1.159e-05 0.00% Castro::apply_source_to_state() 20 1.128e-05 1.128e-05 1.128e-05 0.00% Castro::post_init() 1 1.101e-05 1.101e-05 1.101e-05 0.00% MLMG::computeMLResidual() 11 1.087e-05 1.087e-05 1.087e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.062e-05 1.062e-05 1.062e-05 0.00% Amr::initSubcycle() 1 9.551e-06 9.551e-06 9.551e-06 0.00% Gravity::swapTimeLevels() 10 8.552e-06 8.552e-06 8.552e-06 0.00% Gravity::actual_multilevel_solve() 1 8.2e-06 8.2e-06 8.2e-06 0.00% MLPoisson::prepareForSolve() 11 7.871e-06 7.871e-06 7.871e-06 0.00% Castro::computeNewDt() 9 6.884e-06 6.884e-06 6.884e-06 0.00% Castro::expand_state() 10 5.755e-06 5.755e-06 5.755e-06 0.00% MLMG::getGradSolution() 11 5.686e-06 5.686e-06 5.686e-06 0.00% Amr::InitializeInit() 1 5.11e-06 5.11e-06 5.11e-06 0.00% Gravity::set_mass_offset() 11 4.619e-06 4.619e-06 4.619e-06 0.00% AmrLevel::checkPointPost() 3 4.472e-06 4.472e-06 4.472e-06 0.00% MLMG::MLRhsNormInf() 11 4.177e-06 4.177e-06 4.177e-06 0.00% Castro::retry_advance_ctu() 10 4.051e-06 4.051e-06 4.051e-06 0.00% Amr::initialInit() 1 3.773e-06 3.773e-06 3.773e-06 0.00% MLMG::MLResNormInf() 11 3.466e-06 3.466e-06 3.466e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.253e-06 3.253e-06 3.253e-06 0.00% Castro::computeInitialDt() 2 3.109e-06 3.109e-06 3.109e-06 0.00% Castro::FluxRegCrseInit 10 2.768e-06 2.768e-06 2.768e-06 0.00% Castro::FluxRegFineAdd() 10 2.677e-06 2.677e-06 2.677e-06 0.00% Amr::init() 1 2.6e-06 2.6e-06 2.6e-06 0.00% AmrLevel::checkPointPre() 3 1.932e-06 1.932e-06 1.932e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.927e-06 1.927e-06 1.927e-06 0.00% Castro::post_regrid() 1 1.396e-06 1.396e-06 1.396e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8987 0.8987 0.8987 100.00% Amr::coarseTimeStep() 10 0.7348 0.7348 0.7348 81.76% Amr::timeStep() 10 0.632 0.632 0.632 70.32% Castro::advance() 10 0.6207 0.6207 0.6207 69.07% Castro::subcycle_advance_ctu() 10 0.6055 0.6055 0.6055 67.38% Castro::do_advance_ctu() 10 0.6054 0.6054 0.6054 67.36% Gravity::solve_phi_with_mlmg() 11 0.2899 0.2899 0.2899 32.25% Gravity::actual_solve_with_mlmg() 11 0.2802 0.2802 0.2802 31.18% Castro::construct_ctu_hydro_source() 10 0.2715 0.2715 0.2715 30.21% Castro::construct_new_gravity() 10 0.2609 0.2609 0.2609 29.04% MLMG::solve() 11 0.2584 0.2584 0.2584 28.75% Gravity::solve_for_phi() 10 0.2452 0.2452 0.2452 27.29% MLMG::oneIter() 82 0.2434 0.2434 0.2434 27.08% MLMG::mgVcycle() 82 0.2398 0.2398 0.2398 26.68% VisMF::Write(FabArray) 11 0.2008 0.2008 0.2008 22.35% Amr::checkPoint() 3 0.1513 0.1513 0.1513 16.83% AmrLevel::checkPoint() 3 0.1459 0.1459 0.1459 16.24% StateData::checkPoint() 12 0.1459 0.1459 0.1459 16.23% Amr::init() 1 0.1346 0.1346 0.1346 14.98% MLCellLinOp::smooth() 1640 0.1172 0.1172 0.1172 13.04% MLCellLinOp::applyBC() 4433 0.1097 0.1097 0.1097 12.20% MLMG::mgVcycle_bottom 82 0.07506 0.07506 0.07506 8.35% MLMG::actualBottomSolve() 82 0.07502 0.07502 0.07502 8.35% MLCGSolver::bicgstab 82 0.0743 0.0743 0.0743 8.27% Castro::clean_state() 62 0.05875 0.05875 0.05875 6.54% Amr::writePlotFile() 2 0.05784 0.05784 0.05784 6.44% Amr::initialInit() 1 0.05321 0.05321 0.05321 5.92% Amr::FinalizeInit() 1 0.04884 0.04884 0.04884 5.43% AmrLevel::FillPatch() 41 0.04762 0.04762 0.04762 5.30% Castro::post_init() 1 0.0474 0.0474 0.0474 5.27% Gravity::multilevel_solve_for_new_phi() 1 0.0451 0.0451 0.0451 5.02% Gravity::actual_multilevel_solve() 1 0.04508 0.04508 0.04508 5.02% FillPatchIterator::Initialize 41 0.04343 0.04343 0.04343 4.83% FillPatchIterator::FillFromLevel0() 41 0.04184 0.04184 0.04184 4.66% FillPatchSingleLevel 41 0.04179 0.04179 0.04179 4.65% StateDataPhysBCFunct::() 41 0.03771 0.03771 0.03771 4.20% MLCellLinOp::apply() 1142 0.03686 0.03686 0.03686 4.10% MLMG::mgVcycle_down::0 82 0.03352 0.03352 0.03352 3.73% MLPoisson::Fsmooth() 3280 0.03282 0.03282 0.03282 3.65% FabArray::FillBoundary() 4023 0.03176 0.03176 0.03176 3.53% FillBoundary_nowait() 4023 0.03096 0.03096 0.03096 3.45% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.93% MLMG::mgVcycle_up::0 82 0.02521 0.02521 0.02521 2.81% Castro::computeTemp() 63 0.02339 0.02339 0.02339 2.60% MLCellLinOp::correctionResidual() 492 0.02236 0.02236 0.02236 2.49% Castro::initialize_do_advance() 10 0.02187 0.02187 0.02187 2.43% Castro::normalize_species() 62 0.02108 0.02108 0.02108 2.35% amrex::Dot() 1114 0.021 0.021 0.021 2.34% MLMG:computeResOfCorrection() 410 0.01972 0.01972 0.01972 2.19% Castro::do_old_sources() 10 0.01933 0.01933 0.01933 2.15% Gravity::get_new_grav_vector() 11 0.01755 0.01755 0.01755 1.95% MLPoisson::define() 11 0.01732 0.01732 0.01732 1.93% MLMG::mgVcycle_down::1 82 0.01611 0.01611 0.01611 1.79% Castro::construct_old_gravity() 10 0.01535 0.01535 0.01535 1.71% Gravity::get_old_grav_vector() 10 0.01534 0.01534 0.01534 1.71% amrex::Copy() 1029 0.015 0.015 0.015 1.67% MLMG::mgVcycle_down::2 82 0.01496 0.01496 0.01496 1.66% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.63% MLMG::mgVcycle_down::3 82 0.01459 0.01459 0.01459 1.62% FabArray::ParallelCopy() 861 0.0145 0.0145 0.0145 1.61% Castro::initialize_advance() 10 0.0145 0.0145 0.0145 1.61% MLMG::mgVcycle_down::4 82 0.0144 0.0144 0.0144 1.60% FabArray::ParallelCopy_nowait() 861 0.01425 0.01425 0.01425 1.59% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.50% Castro::do_new_sources() 10 0.0134 0.0134 0.0134 1.49% Castro::enforce_min_density() 62 0.01269 0.01269 0.01269 1.41% MLCGSolver::ParallelAllReduce 1514 0.01257 0.01257 0.01257 1.40% MLMG::addInterpCorrection() 410 0.01195 0.01195 0.01195 1.33% MLCellLinOp::defineAuxData() 11 0.01193 0.01193 0.01193 1.33% Castro::expand_state() 10 0.01189 0.01189 0.01189 1.32% MLMG::mgVcycle_up::1 82 0.01162 0.01162 0.01162 1.29% MLMG::mgVcycle_up::4 82 0.0116 0.0116 0.0116 1.29% MLMG::mgVcycle_up::2 82 0.01138 0.01138 0.01138 1.27% amrex::average_down 410 0.01136 0.01136 0.01136 1.26% Castro::post_timestep() 10 0.01116 0.01116 0.01116 1.24% MLMG::mgVcycle_up::3 82 0.0111 0.0111 0.0111 1.24% MLPoisson::Fapply() 1142 0.0105 0.0105 0.0105 1.17% Gravity::fill_multipole_BCs() 11 0.009424 0.009424 0.009424 1.05% FabArray::Saxpy() 813 0.008316 0.008316 0.008316 0.93% FabArray::Xpay() 821 0.008212 0.008212 0.008212 0.91% MLCellLinOp::solutionResidual() 93 0.007477 0.007477 0.007477 0.83% Castro::reset_internal_energy(MultiFab) 63 0.00738 0.00738 0.00738 0.82% MLMG::computeResidual() 82 0.0062 0.0062 0.0062 0.69% Castro::estTimeStep() 21 0.005359 0.005359 0.005359 0.60% MLCellLinOp::defineBC() 11 0.005134 0.005134 0.005134 0.57% MLMG::prepareForSolve() 11 0.005003 0.005003 0.005003 0.56% BndryData::define() 11 0.004912 0.004912 0.004912 0.55% FabArray::LinComb() 557 0.004609 0.004609 0.004609 0.51% amrex::Add() 164 0.004387 0.004387 0.004387 0.49% Amr::InitializeInit() 1 0.004366 0.004366 0.004366 0.49% Amr::defBaseLevel() 1 0.004361 0.004361 0.004361 0.49% Castro::initData() 1 0.003672 0.003672 0.003672 0.41% Castro::construct_new_source() 50 0.003337 0.003337 0.003337 0.37% Castro::construct_new_gravity_source() 10 0.003268 0.003268 0.003268 0.36% Castro::construct_old_source() 50 0.002726 0.002726 0.002726 0.30% Castro::construct_old_gravity_source() 10 0.002708 0.002708 0.002708 0.30% Castro::enforce_speed_limit() 62 0.002412 0.002412 0.002412 0.27% Castro::computeNewDt() 9 0.002342 0.002342 0.002342 0.26% MLMG::ResNormInf() 93 0.002154 0.002154 0.002154 0.24% Castro::finalize_do_advance() 10 0.001973 0.001973 0.001973 0.22% check_for_negative_density() 10 0.001878 0.001878 0.001878 0.21% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.20% Castro::reset_internal_energy(Fab) 504 0.00174 0.00174 0.00174 0.19% MLMG::getGradSolution() 11 0.001543 0.001543 0.001543 0.17% MLCellLinOp::compGrad() 11 0.001537 0.001537 0.001537 0.17% FabArrayBase::getCPC() 1323 0.001531 0.001531 0.001531 0.17% MLCellLinOp::setLevelBC() 11 0.00147 0.00147 0.00147 0.16% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% MLMG::computeMLResidual() 11 0.001323 0.001323 0.001323 0.15% MLPoisson::prepareForSolve() 11 0.001296 0.001296 0.001296 0.14% MLCellLinOp::prepareForSolve() 11 0.001288 0.001288 0.001288 0.14% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001266 0.001266 0.001266 0.14% Castro::post_regrid() 1 0.001136 0.001136 0.001136 0.13% Castro::computeInitialDt() 2 0.001098 0.001098 0.001098 0.12% Gravity::update_max_rhs() 11 0.000985 0.000985 0.000985 0.11% FabArrayBase::getFB() 4023 0.0007063 0.0007063 0.0007063 0.08% FabArrayBase::CPC::define() 454 0.0006775 0.0006775 0.0006775 0.08% Castro::Castro() 1 0.0006009 0.0006009 0.0006009 0.07% Castro::finalize_advance() 10 0.0005892 0.0005892 0.0005892 0.07% Amr::InitAmr() 1 0.0005011 0.0005011 0.0005011 0.06% Gravity::swapTimeLevels() 10 0.0004383 0.0004383 0.0004383 0.05% MLMG::MLResNormInf() 11 0.0003347 0.0003347 0.0003347 0.04% MultiFab::max() 11 0.0003327 0.0003327 0.0003327 0.04% Castro::buildMetrics() 1 0.0002827 0.0002827 0.0002827 0.03% MLLinOp::define() 11 0.000237 0.000237 0.000237 0.03% MLMG::MLRhsNormInf() 11 0.0002213 0.0002213 0.0002213 0.02% MLLinOp::defineGrids() 11 0.0002212 0.0002212 0.0002212 0.02% Castro::create_source_corrector() 10 0.0001411 0.0001411 0.0001411 0.02% FabArrayBase::FB::FB() 56 9.286e-05 9.286e-05 9.286e-05 0.01% Castro::enforce_consistent_e() 1 7.194e-05 7.194e-05 7.194e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.339e-05 5.339e-05 5.339e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.265e-05 5.265e-05 5.265e-05 0.01% StateData::define() 4 4.277e-05 4.277e-05 4.277e-05 0.00% makeSFC 55 3.953e-05 3.953e-05 3.953e-05 0.00% Castro::swap_state_time_levels() 10 3.556e-05 3.556e-05 3.556e-05 0.00% Castro::initMFs() 1 2.881e-05 2.881e-05 2.881e-05 0.00% Amr::writeSmallPlotFile() 1 2.635e-05 2.635e-05 2.635e-05 0.00% DistributionMapping::Distribute() 56 1.705e-05 1.705e-05 1.705e-05 0.00% Amr::initSubcycle() 1 9.551e-06 9.551e-06 9.551e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.643e-06 4.643e-06 4.643e-06 0.00% Gravity::set_mass_offset() 11 4.619e-06 4.619e-06 4.619e-06 0.00% AmrLevel::checkPointPost() 3 4.472e-06 4.472e-06 4.472e-06 0.00% Castro::retry_advance_ctu() 10 4.051e-06 4.051e-06 4.051e-06 0.00% Castro::FluxRegCrseInit 10 2.768e-06 2.768e-06 2.768e-06 0.00% Castro::FluxRegFineAdd() 10 2.677e-06 2.677e-06 2.677e-06 0.00% AmrLevel::checkPointPre() 3 1.932e-06 1.932e-06 1.932e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.927e-06 1.927e-06 1.927e-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 95 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 134 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1035 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1803 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3535 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2119 B 2048 KiB Gravity::solve_for_phi() 80 80 558 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2906 B 480 KiB VisMF::Write(FabArray) 656 656 3421 B 320 KiB Castro::normalize_species() 62 62 7640 B 320 KiB amrex::average_down 1067 1067 1261 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1143 B 257 KiB amrex::Dot() 1360 1360 3432 B 160 KiB FabArray::norminf() 907 907 2392 B 160 KiB check_for_negative_density() 10 10 309 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3451 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 8866 8866 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3897 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 594 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 510 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3451 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3897 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-5-g87556458d867) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-5-g87556458d867) initialized Starting run at 07:59:19 UTC on 2023-10-04. Successfully read inputs file ... Castro git describe: 23.10-4-g104a57d85 AMReX git describe: 23.10-5-g87556458d Microphysics git describe: 23.10-3-ge3e866c0 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505885989 Restart time = 0.043648387 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.053624345 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.047465723 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.069307624 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.071711605 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.06358825 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029939229 seconds Ending run at 07:59:19 UTC on 2023-10-04. Run time = 0.380328454 Run time without initialization = 0.336060256 Average number of zones advanced per microsecond: 3.900 Average number of zones advanced per microsecond per rank: 3.900 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3804 ... 0.3804 ... 0.3804 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1167 0.1167 0.1167 30.68% MLCellLinOp::applyBC() 1946 0.03361 0.03361 0.03361 8.84% VisMF::Read() 3 0.03206 0.03206 0.03206 8.43% VisMF::Write(FabArray) 1 0.02859 0.02859 0.02859 7.52% MLPoisson::Fsmooth() 1440 0.01415 0.01415 0.01415 3.72% StateData::FillBoundary(geom) 160 0.01291 0.01291 0.01291 3.39% FillBoundary_nowait() 1766 0.01285 0.01285 0.01285 3.38% Castro::normalize_species() 30 0.01003 0.01003 0.01003 2.64% amrex::Dot() 484 0.008937 0.008937 0.008937 2.35% Castro::computeTemp() 30 0.007196 0.007196 0.007196 1.89% amrex::Copy() 463 0.007169 0.007169 0.007169 1.88% Castro::enforce_min_density() 30 0.006565 0.006565 0.006565 1.73% FabArray::setVal() 537 0.006533 0.006533 0.006533 1.72% FabArray::norminf() 326 0.006377 0.006377 0.006377 1.68% FabArray::ParallelCopy_nowait() 380 0.00608 0.00608 0.00608 1.60% Gravity::fill_multipole_BCs() 6 0.005503 0.005503 0.005503 1.45% MLCellLinOp::defineAuxData() 6 0.005418 0.005418 0.005418 1.42% StateDataPhysBCFunct::() 20 0.004942 0.004942 0.004942 1.30% Amr::restart() 1 0.004803 0.004803 0.004803 1.26% MLPoisson::Fapply() 500 0.004519 0.004519 0.004519 1.19% FabArray::Saxpy() 355 0.003731 0.003731 0.003731 0.98% FabArray::Xpay() 361 0.00357 0.00357 0.00357 0.94% Castro::estTimeStep() 10 0.003238 0.003238 0.003238 0.85% MLMG::addInterpCorrection() 180 0.003022 0.003022 0.003022 0.79% amrex::average_down 180 0.002655 0.002655 0.002655 0.70% FabArray::LinComb() 242 0.002245 0.002245 0.002245 0.59% BndryData::define() 6 0.002096 0.002096 0.002096 0.55% amrex::Add() 72 0.001881 0.001881 0.001881 0.49% Castro::construct_new_gravity_source() 5 0.001793 0.001793 0.001793 0.47% Castro::reset_internal_energy(MultiFab) 30 0.001554 0.001554 0.001554 0.41% Castro::construct_old_gravity_source() 5 0.001445 0.001445 0.001445 0.38% Amr::writePlotFile() 1 0.001178 0.001178 0.001178 0.31% Castro::enforce_speed_limit() 30 0.001175 0.001175 0.001175 0.31% MLCGSolver::bicgstab 36 0.000973 0.000973 0.000973 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009611 0.0009611 0.0009611 0.25% check_for_negative_density() 5 0.0009428 0.0009428 0.0009428 0.25% Gravity::actual_solve_with_mlmg() 6 0.0008448 0.0008448 0.0008448 0.22% MLCellLinOp::setLevelBC() 6 0.0008231 0.0008231 0.0008231 0.22% Castro::reset_internal_energy(Fab) 240 0.0008084 0.0008084 0.0008084 0.21% MLCellLinOp::prepareForSolve() 6 0.000712 0.000712 0.000712 0.19% FabArray::mult() 22 0.000682 0.000682 0.000682 0.18% FabArray::setDomainBndry() 20 0.000674 0.000674 0.000674 0.18% MultiFab::contains_nan() 10 0.0006561 0.0006561 0.0006561 0.17% MLCellLinOp::compGrad() 6 0.0005854 0.0005854 0.0005854 0.15% MLMG::prepareForSolve() 6 0.0005297 0.0005297 0.0005297 0.14% MLCellLinOp::smooth() 720 0.0004709 0.0004709 0.0004709 0.12% FabArrayBase::CPC::define() 244 0.0004192 0.0004192 0.0004192 0.11% Amr::InitAmr() 1 0.0004161 0.0004161 0.0004161 0.11% FabArrayBase::getCPC() 632 0.0003805 0.0003805 0.0003805 0.10% FabArray::FillBoundary() 1766 0.0003583 0.0003583 0.0003583 0.09% Gravity::get_old_grav_vector() 5 0.0003115 0.0003115 0.0003115 0.08% main() 1 0.0002753 0.0002753 0.0002753 0.07% Gravity::get_new_grav_vector() 5 0.0002621 0.0002621 0.0002621 0.07% FabArrayBase::getFB() 1766 0.0002596 0.0002596 0.0002596 0.07% MLCellLinOp::apply() 500 0.0002043 0.0002043 0.0002043 0.05% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% Amr::coarseTimeStep() 5 0.0001828 0.0001828 0.0001828 0.05% AmrLevel::FillPatch() 20 0.0001628 0.0001628 0.0001628 0.04% Castro::subcycle_advance_ctu() 5 0.0001369 0.0001369 0.0001369 0.04% MLCGSolver::ParallelAllReduce 659 0.0001256 0.0001256 0.0001256 0.03% FabArray::ParallelCopy() 380 0.0001141 0.0001141 0.0001141 0.03% MLCellLinOp::defineBC() 6 0.0001136 0.0001136 0.0001136 0.03% FillPatchIterator::Initialize 20 0.0001053 0.0001053 0.0001053 0.03% MLCellLinOp::correctionResidual() 216 9.293e-05 9.293e-05 9.293e-05 0.02% MLMG::mgVcycle() 36 9.234e-05 9.234e-05 9.234e-05 0.02% MLLinOp::defineGrids() 6 9.171e-05 9.171e-05 9.171e-05 0.02% Castro::create_source_corrector() 5 8.763e-05 8.763e-05 8.763e-05 0.02% Castro::advance() 5 8.151e-05 8.151e-05 8.151e-05 0.02% Amr::timeStep() 5 8.146e-05 8.146e-05 8.146e-05 0.02% Gravity::solve_for_phi() 5 7.568e-05 7.568e-05 7.568e-05 0.02% Castro::finalize_do_advance() 5 6.992e-05 6.992e-05 6.992e-05 0.02% AmrLevel::restart() 1 6.724e-05 6.724e-05 6.724e-05 0.02% StateData::restartDoit() 4 6.71e-05 6.71e-05 6.71e-05 0.02% Castro::do_advance_ctu() 5 6.46e-05 6.46e-05 6.46e-05 0.02% Gravity::update_max_rhs() 6 6.452e-05 6.452e-05 6.452e-05 0.02% FabArrayBase::FB::FB() 26 6.108e-05 6.108e-05 6.108e-05 0.02% Castro::initialize_advance() 5 5.798e-05 5.798e-05 5.798e-05 0.02% MLMG:computeResOfCorrection() 180 5.628e-05 5.628e-05 5.628e-05 0.01% Castro::construct_new_source() 25 4.404e-05 4.404e-05 4.404e-05 0.01% MLMG::actualBottomSolve() 36 3.935e-05 3.935e-05 3.935e-05 0.01% MLMG::mgVcycle_down::0 36 3.752e-05 3.752e-05 3.752e-05 0.01% MLMG::solve() 6 3.583e-05 3.583e-05 3.583e-05 0.01% Castro::clean_state() 30 3.425e-05 3.425e-05 3.425e-05 0.01% MLMG::mgVcycle_down::1 36 3.425e-05 3.425e-05 3.425e-05 0.01% MLMG::mgVcycle_down::2 36 3.282e-05 3.282e-05 3.282e-05 0.01% MLMG::mgVcycle_down::4 36 3.162e-05 3.162e-05 3.162e-05 0.01% Castro::initialize_do_advance() 5 3.123e-05 3.123e-05 3.123e-05 0.01% MLMG::mgVcycle_down::3 36 3.044e-05 3.044e-05 3.044e-05 0.01% Castro::finalize_advance() 5 3.012e-05 3.012e-05 3.012e-05 0.01% Castro::post_restart() 1 2.939e-05 2.939e-05 2.939e-05 0.01% Amr::writeSmallPlotFile() 1 2.883e-05 2.883e-05 2.883e-05 0.01% Castro::do_new_sources() 5 2.871e-05 2.871e-05 2.871e-05 0.01% Castro::buildMetrics() 1 2.854e-05 2.854e-05 2.854e-05 0.01% MLMG::mgVcycle_up::4 36 2.827e-05 2.827e-05 2.827e-05 0.01% Castro::construct_old_source() 25 2.712e-05 2.712e-05 2.712e-05 0.01% Castro::swap_state_time_levels() 5 2.558e-05 2.558e-05 2.558e-05 0.01% Castro::initMFs() 1 2.319e-05 2.319e-05 2.319e-05 0.01% MLMG::mgVcycle_up::0 36 2.318e-05 2.318e-05 2.318e-05 0.01% MLCellLinOp::solutionResidual() 42 2.288e-05 2.288e-05 2.288e-05 0.01% MLMG::oneIter() 36 2.287e-05 2.287e-05 2.287e-05 0.01% MLMG::mgVcycle_up::3 36 2.178e-05 2.178e-05 2.178e-05 0.01% MLMG::mgVcycle_up::2 36 2.125e-05 2.125e-05 2.125e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.119e-05 2.119e-05 2.119e-05 0.01% FillPatchSingleLevel 20 2.081e-05 2.081e-05 2.081e-05 0.01% MLMG::mgVcycle_up::1 36 2.031e-05 2.031e-05 2.031e-05 0.01% MLMG::ResNormInf() 42 1.727e-05 1.727e-05 1.727e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.664e-05 1.664e-05 1.664e-05 0.00% MLMG::mgVcycle_bottom 36 1.614e-05 1.614e-05 1.614e-05 0.00% MLMG::computeResidual() 36 1.445e-05 1.445e-05 1.445e-05 0.00% MLPoisson::define() 6 1.403e-05 1.403e-05 1.403e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::construct_new_gravity() 5 1.318e-05 1.318e-05 1.318e-05 0.00% makeSFC 30 1.208e-05 1.208e-05 1.208e-05 0.00% Castro::do_old_sources() 5 1.124e-05 1.124e-05 1.124e-05 0.00% MLLinOp::define() 6 1.065e-05 1.065e-05 1.065e-05 0.00% Amr::initSubcycle() 1 9.927e-06 9.927e-06 9.927e-06 0.00% Gravity::actual_multilevel_solve() 1 9.373e-06 9.373e-06 9.373e-06 0.00% DistributionMapping::Distribute() 31 8.987e-06 8.987e-06 8.987e-06 0.00% Castro::check_for_nan() 10 7.683e-06 7.683e-06 7.683e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.713e-06 6.713e-06 6.713e-06 0.00% Castro::construct_old_gravity() 5 6.303e-06 6.303e-06 6.303e-06 0.00% Castro::apply_source_to_state() 10 5.485e-06 5.485e-06 5.485e-06 0.00% Castro::post_timestep() 5 4.614e-06 4.614e-06 4.614e-06 0.00% MLPoisson::prepareForSolve() 6 4.304e-06 4.304e-06 4.304e-06 0.00% MLMG::computeMLResidual() 6 4.301e-06 4.301e-06 4.301e-06 0.00% Gravity::swapTimeLevels() 5 4.27e-06 4.27e-06 4.27e-06 0.00% Castro::computeNewDt() 5 3.909e-06 3.909e-06 3.909e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.09e-06 3.09e-06 3.09e-06 0.00% MLMG::getGradSolution() 6 2.979e-06 2.979e-06 2.979e-06 0.00% Castro::expand_state() 5 2.728e-06 2.728e-06 2.728e-06 0.00% MLMG::MLResNormInf() 6 2.382e-06 2.382e-06 2.382e-06 0.00% MLMG::MLRhsNormInf() 6 2.275e-06 2.275e-06 2.275e-06 0.00% Castro::retry_advance_ctu() 5 2.195e-06 2.195e-06 2.195e-06 0.00% Gravity::set_mass_offset() 6 2.131e-06 2.131e-06 2.131e-06 0.00% Castro::FluxRegCrseInit 5 1.643e-06 1.643e-06 1.643e-06 0.00% Castro::FluxRegFineAdd() 5 1.137e-06 1.137e-06 1.137e-06 0.00% Amr::init() 1 1.014e-06 1.014e-06 1.014e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.92e-07 9.92e-07 9.92e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3803 0.3803 0.3803 99.99% Amr::coarseTimeStep() 5 0.3059 0.3059 0.3059 80.41% Amr::timeStep() 5 0.3036 0.3036 0.3036 79.82% Castro::advance() 5 0.2979 0.2979 0.2979 78.31% Castro::subcycle_advance_ctu() 5 0.2903 0.2903 0.2903 76.31% Castro::do_advance_ctu() 5 0.2901 0.2901 0.2901 76.27% Castro::construct_new_gravity() 5 0.1319 0.1319 0.1319 34.68% Gravity::solve_phi_with_mlmg() 6 0.1296 0.1296 0.1296 34.07% Gravity::solve_for_phi() 5 0.1239 0.1239 0.1239 32.57% Gravity::actual_solve_with_mlmg() 6 0.1238 0.1238 0.1238 32.56% Castro::construct_ctu_hydro_source() 5 0.1221 0.1221 0.1221 32.09% MLMG::solve() 6 0.1122 0.1122 0.1122 29.49% MLMG::oneIter() 36 0.1048 0.1048 0.1048 27.56% MLMG::mgVcycle() 36 0.1033 0.1033 0.1033 27.16% MLCellLinOp::smooth() 720 0.0503 0.0503 0.0503 13.22% MLCellLinOp::applyBC() 1946 0.04715 0.04715 0.04715 12.39% Amr::init() 1 0.04372 0.04372 0.04372 11.49% Amr::restart() 1 0.04372 0.04372 0.04372 11.49% AmrLevel::restart() 1 0.03241 0.03241 0.03241 8.52% MLMG::mgVcycle_bottom 36 0.03239 0.03239 0.03239 8.52% MLMG::actualBottomSolve() 36 0.03238 0.03238 0.03238 8.51% StateData::restartDoit() 4 0.03234 0.03234 0.03234 8.50% VisMF::Read() 3 0.03206 0.03206 0.03206 8.43% MLCGSolver::bicgstab 36 0.03206 0.03206 0.03206 8.43% Amr::writePlotFile() 1 0.03002 0.03002 0.03002 7.89% VisMF::Write(FabArray) 1 0.02859 0.02859 0.02859 7.52% Castro::clean_state() 30 0.02736 0.02736 0.02736 7.19% AmrLevel::FillPatch() 20 0.02278 0.02278 0.02278 5.99% FillPatchIterator::Initialize 20 0.02073 0.02073 0.02073 5.45% FillPatchIterator::FillFromLevel0() 20 0.01995 0.01995 0.01995 5.25% FillPatchSingleLevel 20 0.01993 0.01993 0.01993 5.24% StateDataPhysBCFunct::() 20 0.01785 0.01785 0.01785 4.69% MLCellLinOp::apply() 500 0.01591 0.01591 0.01591 4.18% MLMG::mgVcycle_down::0 36 0.01444 0.01444 0.01444 3.80% MLPoisson::Fsmooth() 1440 0.01415 0.01415 0.01415 3.72% FabArray::FillBoundary() 1766 0.01353 0.01353 0.01353 3.56% FillBoundary_nowait() 1766 0.01318 0.01318 0.01318 3.46% StateData::FillBoundary(geom) 160 0.01291 0.01291 0.01291 3.39% Castro::initialize_do_advance() 5 0.01093 0.01093 0.01093 2.87% MLMG::mgVcycle_up::0 36 0.01086 0.01086 0.01086 2.86% Castro::normalize_species() 30 0.01003 0.01003 0.01003 2.64% Castro::do_old_sources() 5 0.009669 0.009669 0.009669 2.54% MLCellLinOp::correctionResidual() 216 0.009563 0.009563 0.009563 2.51% Castro::computeTemp() 30 0.009559 0.009559 0.009559 2.51% MLPoisson::define() 6 0.009128 0.009128 0.009128 2.40% amrex::Dot() 484 0.008937 0.008937 0.008937 2.35% MLMG:computeResOfCorrection() 180 0.008419 0.008419 0.008419 2.21% Gravity::get_new_grav_vector() 5 0.007885 0.007885 0.007885 2.07% Castro::construct_old_gravity() 5 0.007564 0.007564 0.007564 1.99% Gravity::get_old_grav_vector() 5 0.007557 0.007557 0.007557 1.99% Castro::initialize_advance() 5 0.00725 0.00725 0.00725 1.91% amrex::Copy() 463 0.007169 0.007169 0.007169 1.88% MLMG::mgVcycle_down::1 36 0.007003 0.007003 0.007003 1.84% FabArray::ParallelCopy() 380 0.006598 0.006598 0.006598 1.73% Castro::enforce_min_density() 30 0.006565 0.006565 0.006565 1.73% FabArray::setVal() 537 0.006533 0.006533 0.006533 1.72% FabArray::ParallelCopy_nowait() 380 0.006484 0.006484 0.006484 1.70% MLMG::mgVcycle_down::2 36 0.006404 0.006404 0.006404 1.68% FabArray::norminf() 326 0.006377 0.006377 0.006377 1.68% Castro::post_restart() 1 0.006327 0.006327 0.006327 1.66% MLMG::mgVcycle_down::3 36 0.006257 0.006257 0.006257 1.64% Castro::do_new_sources() 5 0.0062 0.0062 0.0062 1.63% MLCellLinOp::defineAuxData() 6 0.006195 0.006195 0.006195 1.63% MLMG::mgVcycle_down::4 36 0.006178 0.006178 0.006178 1.62% Castro::expand_state() 5 0.005963 0.005963 0.005963 1.57% Gravity::multilevel_solve_for_new_phi() 1 0.005945 0.005945 0.005945 1.56% Gravity::actual_multilevel_solve() 1 0.005928 0.005928 0.005928 1.56% Castro::post_timestep() 5 0.005657 0.005657 0.005657 1.49% Gravity::fill_multipole_BCs() 6 0.005626 0.005626 0.005626 1.48% MLCGSolver::ParallelAllReduce 659 0.005395 0.005395 0.005395 1.42% MLMG::addInterpCorrection() 180 0.005272 0.005272 0.005272 1.39% MLMG::mgVcycle_up::4 36 0.005058 0.005058 0.005058 1.33% MLMG::mgVcycle_up::1 36 0.004982 0.004982 0.004982 1.31% amrex::average_down 180 0.004942 0.004942 0.004942 1.30% MLMG::mgVcycle_up::2 36 0.004861 0.004861 0.004861 1.28% MLMG::mgVcycle_up::3 36 0.004772 0.004772 0.004772 1.25% MLPoisson::Fapply() 500 0.004519 0.004519 0.004519 1.19% FabArray::Saxpy() 355 0.003731 0.003731 0.003731 0.98% FabArray::Xpay() 361 0.00357 0.00357 0.00357 0.94% MLCellLinOp::solutionResidual() 42 0.003452 0.003452 0.003452 0.91% Castro::estTimeStep() 10 0.003238 0.003238 0.003238 0.85% MLCellLinOp::defineBC() 6 0.00279 0.00279 0.00279 0.73% MLMG::prepareForSolve() 6 0.002739 0.002739 0.002739 0.72% MLMG::computeResidual() 36 0.002693 0.002693 0.002693 0.71% BndryData::define() 6 0.002676 0.002676 0.002676 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002363 0.002363 0.002363 0.62% FabArray::LinComb() 242 0.002245 0.002245 0.002245 0.59% Castro::computeNewDt() 5 0.002062 0.002062 0.002062 0.54% amrex::Add() 72 0.001881 0.001881 0.001881 0.49% Castro::construct_new_source() 25 0.001837 0.001837 0.001837 0.48% Castro::construct_new_gravity_source() 5 0.001793 0.001793 0.001793 0.47% Castro::construct_old_source() 25 0.001472 0.001472 0.001472 0.39% Castro::construct_old_gravity_source() 5 0.001445 0.001445 0.001445 0.38% Castro::finalize_do_advance() 5 0.00125 0.00125 0.00125 0.33% Castro::enforce_speed_limit() 30 0.001175 0.001175 0.001175 0.31% MLMG::ResNormInf() 42 0.0009881 0.0009881 0.0009881 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009611 0.0009611 0.0009611 0.25% Castro::apply_source_to_state() 10 0.0009559 0.0009559 0.0009559 0.25% check_for_negative_density() 5 0.0009428 0.0009428 0.0009428 0.25% MLMG::getGradSolution() 6 0.0008619 0.0008619 0.0008619 0.23% MLCellLinOp::compGrad() 6 0.0008589 0.0008589 0.0008589 0.23% MLCellLinOp::setLevelBC() 6 0.0008231 0.0008231 0.0008231 0.22% Castro::reset_internal_energy(Fab) 240 0.0008084 0.0008084 0.0008084 0.21% FabArrayBase::getCPC() 632 0.0007997 0.0007997 0.0007997 0.21% MLMG::computeMLResidual() 6 0.0007777 0.0007777 0.0007777 0.20% MLPoisson::prepareForSolve() 6 0.0007163 0.0007163 0.0007163 0.19% Gravity::update_max_rhs() 6 0.0007149 0.0007149 0.0007149 0.19% MLCellLinOp::prepareForSolve() 6 0.000712 0.000712 0.000712 0.19% FabArray::mult() 22 0.000682 0.000682 0.000682 0.18% FabArray::setDomainBndry() 20 0.000674 0.000674 0.000674 0.18% Castro::check_for_nan() 10 0.0006638 0.0006638 0.0006638 0.17% MultiFab::contains_nan() 10 0.0006561 0.0006561 0.0006561 0.17% Amr::InitAmr() 1 0.0004261 0.0004261 0.0004261 0.11% FabArrayBase::CPC::define() 244 0.0004192 0.0004192 0.0004192 0.11% FabArrayBase::getFB() 1766 0.0003207 0.0003207 0.0003207 0.08% Castro::finalize_advance() 5 0.0003011 0.0003011 0.0003011 0.08% Gravity::swapTimeLevels() 5 0.0002284 0.0002284 0.0002284 0.06% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% MLMG::MLResNormInf() 6 0.0001884 0.0001884 0.0001884 0.05% Castro::buildMetrics() 1 0.0001503 0.0001503 0.0001503 0.04% MLLinOp::define() 6 0.0001296 0.0001296 0.0001296 0.03% MLLinOp::defineGrids() 6 0.000119 0.000119 0.000119 0.03% MLMG::MLRhsNormInf() 6 0.0001168 0.0001168 0.0001168 0.03% Castro::create_source_corrector() 5 8.763e-05 8.763e-05 8.763e-05 0.02% FabArrayBase::FB::FB() 26 6.108e-05 6.108e-05 6.108e-05 0.02% Amr::writeSmallPlotFile() 1 2.883e-05 2.883e-05 2.883e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.626e-05 2.626e-05 2.626e-05 0.01% Castro::swap_state_time_levels() 5 2.558e-05 2.558e-05 2.558e-05 0.01% Castro::initMFs() 1 2.319e-05 2.319e-05 2.319e-05 0.01% makeSFC 30 1.954e-05 1.954e-05 1.954e-05 0.01% Amr::initSubcycle() 1 9.927e-06 9.927e-06 9.927e-06 0.00% DistributionMapping::Distribute() 31 8.987e-06 8.987e-06 8.987e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.615e-06 4.615e-06 4.615e-06 0.00% Castro::retry_advance_ctu() 5 2.195e-06 2.195e-06 2.195e-06 0.00% Gravity::set_mass_offset() 6 2.131e-06 2.131e-06 2.131e-06 0.00% Castro::FluxRegCrseInit 5 1.643e-06 1.643e-06 1.643e-06 0.00% Castro::FluxRegFineAdd() 5 1.137e-06 1.137e-06 1.137e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.92e-07 9.92e-07 9.92e-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 226 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 144 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1192 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2216 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6822 KiB 14 MiB MLMG::prepareForSolve() 361 361 3619 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 205 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 212 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6806 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 25 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3735 B 2048 KiB Gravity::solve_for_phi() 40 40 665 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 31 KiB 2048 KiB BndryData::define() 576 576 333 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 214 KiB 671 KiB Castro::estTimeStep() 10 10 4084 B 480 KiB VisMF::Write(FabArray) 112 112 1430 B 320 KiB Castro::normalize_species() 30 30 8580 B 320 KiB amrex::average_down 469 469 1264 B 257 KiB MLMG::addInterpCorrection() 468 468 1192 B 257 KiB amrex::Dot() 592 592 3445 B 160 KiB FabArray::norminf() 398 398 2467 B 160 KiB check_for_negative_density() 5 5 395 B 160 KiB MultiFab::max() 6 6 84 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3509 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 293 B 9648 B MLCellLinOp::applyBC() 3892 3892 229 B 9344 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 44 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 122 B 1472 B MLCellLinOp::defineBC() 36 36 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1387 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 95 KiB 8192 KiB VisMF::Write(FabArray) 120 120 217 KiB 3584 KiB VisMF::Read() 24 24 148 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3509 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 294 B 9648 B MLCellLinOp::applyBC() 1946 1946 227 B 9328 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2663 B 3072 B StateData::FillBoundary(geom) 960 960 44 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 542 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-5-g87556458d867) finalized