Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-33-g9adadfb8d881) initialized Starting run at 08:42:39 UTC on 2023-04-26. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-33-g9adadfb8d Microphysics git describe: 23.04-5-g55ce5a0f 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.059295771 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034508511 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048677632 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051491242 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.05011387 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.06626816 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.083099529 [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.05988543 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.05349791 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.053272314 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.051862646 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.061448522 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072366724 [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.060046741 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03431883 seconds Ending run at 08:42:40 UTC on 2023-04-26. Run time = 0.886686908 Run time without initialization = 0.746986395 Average number of zones advanced per microsecond: 3.509 Average number of zones advanced per microsecond per rank: 3.509 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8867 ... 0.8867 ... 0.8867 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2419 0.2419 0.2419 27.28% Castro::construct_ctu_hydro_source() 10 0.2124 0.2124 0.2124 23.95% MLCellLinOp::applyBC() 4379 0.07628 0.07628 0.07628 8.60% StateDataPhysBCFunct::() 41 0.03248 0.03248 0.03248 3.66% MLPoisson::Fsmooth() 3240 0.03192 0.03192 0.03192 3.60% FillBoundary_nowait() 3974 0.03056 0.03056 0.03056 3.45% StateData::FillBoundary(geom) 328 0.02312 0.02312 0.02312 2.61% amrex::Dot() 1100 0.02034 0.02034 0.02034 2.29% amrex::Copy() 1019 0.01479 0.01479 0.01479 1.67% Castro::computeTemp() 63 0.01453 0.01453 0.01453 1.64% FabArray::norminf() 734 0.01425 0.01425 0.01425 1.61% FabArray::ParallelCopy_nowait() 851 0.01349 0.01349 0.01349 1.52% Castro::normalize_species() 62 0.01318 0.01318 0.01318 1.49% FabArray::setVal() 1135 0.01307 0.01307 0.01307 1.47% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.36% MLPoisson::Fapply() 1128 0.01021 0.01021 0.01021 1.15% MLCellLinOp::defineAuxData() 11 0.01006 0.01006 0.01006 1.13% FabArray::Saxpy() 803 0.008079 0.008079 0.008079 0.91% FabArray::Xpay() 811 0.007928 0.007928 0.007928 0.89% MLMG::addInterpCorrection() 405 0.006562 0.006562 0.006562 0.74% Gravity::fill_multipole_BCs() 11 0.006425 0.006425 0.006425 0.72% Castro::estTimeStep() 21 0.006232 0.006232 0.006232 0.70% amrex::average_down 405 0.00591 0.00591 0.00591 0.67% FabArray::LinComb() 550 0.004435 0.004435 0.004435 0.50% amrex::Add() 162 0.004276 0.004276 0.004276 0.48% Castro::reset_internal_energy(MultiFab) 63 0.00392 0.00392 0.00392 0.44% BndryData::define() 11 0.003807 0.003807 0.003807 0.43% Amr::checkPoint() 3 0.003592 0.003592 0.003592 0.41% Castro::construct_new_gravity_source() 10 0.003282 0.003282 0.003282 0.37% Castro::do_advance_ctu() 10 0.002807 0.002807 0.002807 0.32% Castro::construct_old_gravity_source() 10 0.002709 0.002709 0.002709 0.31% MLCGSolver::bicgstab 81 0.002158 0.002158 0.002158 0.24% Amr::writePlotFile() 2 0.002141 0.002141 0.002141 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001558 0.001558 0.001558 0.18% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.17% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.16% FabArray::mult() 43 0.001319 0.001319 0.001319 0.15% FabArray::setDomainBndry() 41 0.001294 0.001294 0.001294 0.15% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.14% Castro::initData() 1 0.001182 0.001182 0.001182 0.13% MLCellLinOp::prepareForSolve() 11 0.001164 0.001164 0.001164 0.13% MLCellLinOp::smooth() 1620 0.001119 0.001119 0.001119 0.13% Castro::enforce_speed_limit() 62 0.001088 0.001088 0.001088 0.12% MLCellLinOp::compGrad() 11 0.0009149 0.0009149 0.0009149 0.10% MLMG::prepareForSolve() 11 0.0008832 0.0008832 0.0008832 0.10% FabArray::FillBoundary() 3974 0.0008047 0.0008047 0.0008047 0.09% FabArrayBase::getCPC() 1313 0.0007541 0.0007541 0.0007541 0.09% FabArrayBase::CPC::define() 454 0.0006861 0.0006861 0.0006861 0.08% Gravity::get_new_grav_vector() 11 0.0006471 0.0006471 0.0006471 0.07% FabArrayBase::getFB() 3974 0.0005706 0.0005706 0.0005706 0.06% Gravity::get_old_grav_vector() 10 0.0005689 0.0005689 0.0005689 0.06% Amr::InitAmr() 1 0.0005069 0.0005069 0.0005069 0.06% MLCellLinOp::apply() 1128 0.0004631 0.0004631 0.0004631 0.05% MLLinOp::defineGrids() 11 0.0003906 0.0003906 0.0003906 0.04% Amr::coarseTimeStep() 10 0.0003569 0.0003569 0.0003569 0.04% MLMG::mgVcycle() 81 0.000347 0.000347 0.000347 0.04% main() 1 0.0003037 0.0003037 0.0003037 0.03% MLCGSolver::ParallelAllReduce 1495 0.0003019 0.0003019 0.0003019 0.03% MultiFab::max() 11 0.0002596 0.0002596 0.0002596 0.03% FillPatchIterator::Initialize 41 0.0002587 0.0002587 0.0002587 0.03% FabArray::ParallelCopy() 851 0.0002522 0.0002522 0.0002522 0.03% MLCellLinOp::correctionResidual() 486 0.0002432 0.0002432 0.0002432 0.03% MLCellLinOp::defineBC() 11 0.000222 0.000222 0.000222 0.03% Amr::timeStep() 10 0.0001719 0.0001719 0.0001719 0.02% Castro::create_source_corrector() 10 0.0001597 0.0001597 0.0001597 0.02% Castro::subcycle_advance_ctu() 10 0.0001493 0.0001493 0.0001493 0.02% StateData::checkPoint() 12 0.0001384 0.0001384 0.0001384 0.02% Gravity::update_max_rhs() 11 0.0001364 0.0001364 0.0001364 0.02% MLMG:computeResOfCorrection() 405 0.0001297 0.0001297 0.0001297 0.01% Gravity::solve_for_phi() 10 0.0001117 0.0001117 0.0001117 0.01% MLMG::mgVcycle_down::0 81 9.41e-05 9.41e-05 9.41e-05 0.01% Castro::Castro() 1 9.317e-05 9.317e-05 9.317e-05 0.01% FabArrayBase::FB::FB() 56 8.744e-05 8.744e-05 8.744e-05 0.01% MLMG::actualBottomSolve() 81 8.586e-05 8.586e-05 8.586e-05 0.01% MLMG::mgVcycle_down::1 81 8.427e-05 8.427e-05 8.427e-05 0.01% MLMG::mgVcycle_down::2 81 8.254e-05 8.254e-05 8.254e-05 0.01% Castro::expand_state() 10 8.116e-05 8.116e-05 8.116e-05 0.01% AmrLevel::checkPoint() 3 7.972e-05 7.972e-05 7.972e-05 0.01% MLMG::mgVcycle_down::3 81 7.89e-05 7.89e-05 7.89e-05 0.01% MLMG::mgVcycle_down::4 81 7.791e-05 7.791e-05 7.791e-05 0.01% Castro::initialize_advance() 10 7.609e-05 7.609e-05 7.609e-05 0.01% Castro::finalize_advance() 10 7.578e-05 7.578e-05 7.578e-05 0.01% Castro::clean_state() 62 7.567e-05 7.567e-05 7.567e-05 0.01% MLMG::solve() 11 7.207e-05 7.207e-05 7.207e-05 0.01% Castro::advance() 10 6.827e-05 6.827e-05 6.827e-05 0.01% MLMG::mgVcycle_up::4 81 6.719e-05 6.719e-05 6.719e-05 0.01% MLMG::oneIter() 81 5.581e-05 5.581e-05 5.581e-05 0.01% MLMG::mgVcycle_up::0 81 5.39e-05 5.39e-05 5.39e-05 0.01% Castro::initialize_do_advance() 10 5.356e-05 5.356e-05 5.356e-05 0.01% MLMG::mgVcycle_up::3 81 5.286e-05 5.286e-05 5.286e-05 0.01% MLMG::mgVcycle_up::1 81 5.28e-05 5.28e-05 5.28e-05 0.01% MLMG::mgVcycle_up::2 81 5.154e-05 5.154e-05 5.154e-05 0.01% MLCellLinOp::solutionResidual() 92 5.102e-05 5.102e-05 5.102e-05 0.01% Castro::finalize_do_advance() 10 4.717e-05 4.717e-05 4.717e-05 0.01% Castro::swap_state_time_levels() 10 3.806e-05 3.806e-05 3.806e-05 0.00% MLMG::mgVcycle_bottom 81 3.622e-05 3.622e-05 3.622e-05 0.00% Castro::post_timestep() 10 3.607e-05 3.607e-05 3.607e-05 0.00% StateData::define() 4 3.594e-05 3.594e-05 3.594e-05 0.00% Castro::enforce_consistent_e() 1 3.33e-05 3.33e-05 3.33e-05 0.00% MLMG::ResNormInf() 92 3.301e-05 3.301e-05 3.301e-05 0.00% FillPatchSingleLevel 41 3.246e-05 3.246e-05 3.246e-05 0.00% MLMG::computeResidual() 81 2.927e-05 2.927e-05 2.927e-05 0.00% makeSFC 55 2.584e-05 2.584e-05 2.584e-05 0.00% Castro::construct_new_gravity() 10 2.471e-05 2.471e-05 2.471e-05 0.00% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.00% Castro::construct_old_source() 50 2.423e-05 2.423e-05 2.423e-05 0.00% MLPoisson::define() 11 2.411e-05 2.411e-05 2.411e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.403e-05 2.403e-05 2.403e-05 0.00% Amr::writeSmallPlotFile() 1 2.391e-05 2.391e-05 2.391e-05 0.00% Amr::defBaseLevel() 1 2.272e-05 2.272e-05 2.272e-05 0.00% Amr::FinalizeInit() 1 2.209e-05 2.209e-05 2.209e-05 0.00% Castro::construct_new_source() 50 1.987e-05 1.987e-05 1.987e-05 0.00% Castro::do_new_sources() 10 1.923e-05 1.923e-05 1.923e-05 0.00% Castro::buildMetrics() 1 1.911e-05 1.911e-05 1.911e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.772e-05 1.772e-05 1.772e-05 0.00% MLLinOp::define() 11 1.761e-05 1.761e-05 1.761e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.661e-05 1.661e-05 1.661e-05 0.00% Castro::do_old_sources() 10 1.634e-05 1.634e-05 1.634e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% Castro::check_for_nan() 20 1.452e-05 1.452e-05 1.452e-05 0.00% MLPoisson::prepareForSolve() 11 1.433e-05 1.433e-05 1.433e-05 0.00% MLMG::computeMLResidual() 11 1.367e-05 1.367e-05 1.367e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.125e-05 1.125e-05 1.125e-05 0.00% Castro::apply_source_to_state() 20 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::construct_old_gravity() 10 1.018e-05 1.018e-05 1.018e-05 0.00% Gravity::swapTimeLevels() 10 9.531e-06 9.531e-06 9.531e-06 0.00% Amr::initSubcycle() 1 8.873e-06 8.873e-06 8.873e-06 0.00% Gravity::actual_multilevel_solve() 1 8.569e-06 8.569e-06 8.569e-06 0.00% Castro::computeNewDt() 9 8.2e-06 8.2e-06 8.2e-06 0.00% MLMG::getGradSolution() 11 5.773e-06 5.773e-06 5.773e-06 0.00% Amr::InitializeInit() 1 4.831e-06 4.831e-06 4.831e-06 0.00% Castro::post_init() 1 4.791e-06 4.791e-06 4.791e-06 0.00% Gravity::set_mass_offset() 11 4.77e-06 4.77e-06 4.77e-06 0.00% Castro::retry_advance_ctu() 10 4.474e-06 4.474e-06 4.474e-06 0.00% MLMG::MLRhsNormInf() 11 4.151e-06 4.151e-06 4.151e-06 0.00% AmrLevel::checkPointPost() 3 3.941e-06 3.941e-06 3.941e-06 0.00% MLMG::MLResNormInf() 11 3.879e-06 3.879e-06 3.879e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.516e-06 3.516e-06 3.516e-06 0.00% Castro::computeInitialDt() 2 3.075e-06 3.075e-06 3.075e-06 0.00% Amr::init() 1 2.958e-06 2.958e-06 2.958e-06 0.00% Castro::FluxRegCrseInit 10 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.254e-06 2.254e-06 2.254e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.138e-06 2.138e-06 2.138e-06 0.00% AmrLevel::checkPointPre() 3 1.811e-06 1.811e-06 1.811e-06 0.00% Amr::initialInit() 1 1.502e-06 1.502e-06 1.502e-06 0.00% Castro::post_regrid() 1 1.129e-06 1.129e-06 1.129e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8867 0.8867 0.8867 100.00% Amr::coarseTimeStep() 10 0.7125 0.7125 0.7125 80.35% Amr::timeStep() 10 0.588 0.588 0.588 66.31% Castro::advance() 10 0.5815 0.5815 0.5815 65.58% Castro::subcycle_advance_ctu() 10 0.5693 0.5693 0.5693 64.20% Castro::do_advance_ctu() 10 0.5691 0.5691 0.5691 64.18% Gravity::solve_phi_with_mlmg() 11 0.2812 0.2812 0.2812 31.71% Gravity::actual_solve_with_mlmg() 11 0.2743 0.2743 0.2743 30.93% Castro::construct_new_gravity() 10 0.2659 0.2659 0.2659 29.99% MLMG::solve() 11 0.253 0.253 0.253 28.53% Gravity::solve_for_phi() 10 0.2437 0.2437 0.2437 27.49% VisMF::Write(FabArray) 11 0.2419 0.2419 0.2419 27.28% MLMG::oneIter() 81 0.2387 0.2387 0.2387 26.92% MLMG::mgVcycle() 81 0.2351 0.2351 0.2351 26.52% Castro::construct_ctu_hydro_source() 10 0.2124 0.2124 0.2124 23.95% Amr::checkPoint() 3 0.1794 0.1794 0.1794 20.23% AmrLevel::checkPoint() 3 0.1758 0.1758 0.1758 19.82% StateData::checkPoint() 12 0.1757 0.1757 0.1757 19.81% Amr::init() 1 0.139 0.139 0.139 15.68% MLCellLinOp::smooth() 1620 0.1158 0.1158 0.1158 13.05% MLCellLinOp::applyBC() 4379 0.1083 0.1083 0.1083 12.21% MLMG::mgVcycle_bottom 81 0.07278 0.07278 0.07278 8.21% MLMG::actualBottomSolve() 81 0.07275 0.07275 0.07275 8.20% MLCGSolver::bicgstab 81 0.07206 0.07206 0.07206 8.13% Amr::writePlotFile() 2 0.06897 0.06897 0.06897 7.78% FillPatchIterator::Initialize 41 0.06145 0.06145 0.06145 6.93% FillPatchSingleLevel 41 0.0599 0.0599 0.0599 6.76% StateDataPhysBCFunct::() 41 0.0556 0.0556 0.0556 6.27% Castro::clean_state() 62 0.04574 0.04574 0.04574 5.16% Amr::initialInit() 1 0.04508 0.04508 0.04508 5.08% Amr::FinalizeInit() 1 0.04126 0.04126 0.04126 4.65% Castro::post_init() 1 0.0399 0.0399 0.0399 4.50% Gravity::multilevel_solve_for_new_phi() 1 0.03789 0.03789 0.03789 4.27% Gravity::actual_multilevel_solve() 1 0.03787 0.03787 0.03787 4.27% MLCellLinOp::apply() 1128 0.03579 0.03579 0.03579 4.04% MLMG::mgVcycle_down::0 81 0.03333 0.03333 0.03333 3.76% FabArray::FillBoundary() 3974 0.03202 0.03202 0.03202 3.61% MLPoisson::Fsmooth() 3240 0.03192 0.03192 0.03192 3.60% FillBoundary_nowait() 3974 0.03122 0.03122 0.03122 3.52% MLMG::mgVcycle_up::0 81 0.02525 0.02525 0.02525 2.85% Gravity::get_new_grav_vector() 11 0.02388 0.02388 0.02388 2.69% StateData::FillBoundary(geom) 328 0.02312 0.02312 0.02312 2.61% Castro::initialize_do_advance() 10 0.02286 0.02286 0.02286 2.58% MLCellLinOp::correctionResidual() 486 0.02188 0.02188 0.02188 2.47% Castro::construct_old_gravity() 10 0.02182 0.02182 0.02182 2.46% Gravity::get_old_grav_vector() 10 0.02181 0.02181 0.02181 2.46% amrex::Dot() 1100 0.02034 0.02034 0.02034 2.29% Castro::computeTemp() 63 0.02001 0.02001 0.02001 2.26% MLMG:computeResOfCorrection() 405 0.01927 0.01927 0.01927 2.17% MLPoisson::define() 11 0.017 0.017 0.017 1.92% MLMG::mgVcycle_down::1 81 0.01567 0.01567 0.01567 1.77% amrex::Copy() 1019 0.01479 0.01479 0.01479 1.67% MLMG::mgVcycle_down::2 81 0.01463 0.01463 0.01463 1.65% FabArray::ParallelCopy() 851 0.01454 0.01454 0.01454 1.64% FabArray::ParallelCopy_nowait() 851 0.01429 0.01429 0.01429 1.61% MLMG::mgVcycle_down::3 81 0.01429 0.01429 0.01429 1.61% FabArray::norminf() 734 0.01425 0.01425 0.01425 1.61% MLMG::mgVcycle_down::4 81 0.01411 0.01411 0.01411 1.59% Castro::expand_state() 10 0.01406 0.01406 0.01406 1.59% Castro::normalize_species() 62 0.01318 0.01318 0.01318 1.49% FabArray::setVal() 1135 0.01307 0.01307 0.01307 1.47% Castro::do_new_sources() 10 0.01258 0.01258 0.01258 1.42% MLCGSolver::ParallelAllReduce 1495 0.0122 0.0122 0.0122 1.38% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.36% MLMG::addInterpCorrection() 405 0.01167 0.01167 0.01167 1.32% Castro::initialize_advance() 10 0.01157 0.01157 0.01157 1.30% MLCellLinOp::defineAuxData() 11 0.01147 0.01147 0.01147 1.29% MLMG::mgVcycle_up::1 81 0.01139 0.01139 0.01139 1.28% MLMG::mgVcycle_up::4 81 0.01128 0.01128 0.01128 1.27% MLMG::mgVcycle_up::2 81 0.01111 0.01111 0.01111 1.25% amrex::average_down 405 0.01108 0.01108 0.01108 1.25% Castro::do_old_sources() 10 0.01101 0.01101 0.01101 1.24% MLMG::mgVcycle_up::3 81 0.01093 0.01093 0.01093 1.23% MLPoisson::Fapply() 1128 0.01021 0.01021 0.01021 1.15% FabArray::Saxpy() 803 0.008079 0.008079 0.008079 0.91% FabArray::Xpay() 811 0.007928 0.007928 0.007928 0.89% MLCellLinOp::solutionResidual() 92 0.007079 0.007079 0.007079 0.80% Gravity::fill_multipole_BCs() 11 0.006678 0.006678 0.006678 0.75% Castro::post_timestep() 10 0.006303 0.006303 0.006303 0.71% Castro::estTimeStep() 21 0.006232 0.006232 0.006232 0.70% MLMG::computeResidual() 81 0.006092 0.006092 0.006092 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005478 0.005478 0.005478 0.62% MLCellLinOp::defineBC() 11 0.005048 0.005048 0.005048 0.57% BndryData::define() 11 0.004826 0.004826 0.004826 0.54% MLMG::prepareForSolve() 11 0.004756 0.004756 0.004756 0.54% FabArray::LinComb() 550 0.004435 0.004435 0.004435 0.50% amrex::Add() 162 0.004276 0.004276 0.004276 0.48% Amr::InitializeInit() 1 0.003815 0.003815 0.003815 0.43% Amr::defBaseLevel() 1 0.003811 0.003811 0.003811 0.43% Castro::computeNewDt() 9 0.003385 0.003385 0.003385 0.38% Castro::construct_new_source() 50 0.003302 0.003302 0.003302 0.37% Castro::initData() 1 0.003282 0.003282 0.003282 0.37% Castro::construct_new_gravity_source() 10 0.003282 0.003282 0.003282 0.37% Castro::construct_old_source() 50 0.002733 0.002733 0.002733 0.31% Castro::construct_old_gravity_source() 10 0.002709 0.002709 0.002709 0.31% MLMG::ResNormInf() 92 0.002079 0.002079 0.002079 0.23% Castro::apply_source_to_state() 20 0.001822 0.001822 0.001822 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001558 0.001558 0.001558 0.18% FabArrayBase::getCPC() 1313 0.00144 0.00144 0.00144 0.16% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.16% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.16% MLCellLinOp::compGrad() 11 0.001387 0.001387 0.001387 0.16% FabArray::mult() 43 0.001319 0.001319 0.001319 0.15% FabArray::setDomainBndry() 41 0.001294 0.001294 0.001294 0.15% Castro::check_for_nan() 20 0.00122 0.00122 0.00122 0.14% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.14% MLPoisson::prepareForSolve() 11 0.001179 0.001179 0.001179 0.13% MLCellLinOp::prepareForSolve() 11 0.001164 0.001164 0.001164 0.13% Castro::post_regrid() 1 0.001116 0.001116 0.001116 0.13% Castro::enforce_speed_limit() 62 0.001088 0.001088 0.001088 0.12% MLMG::computeMLResidual() 11 0.00103 0.00103 0.00103 0.12% Castro::computeInitialDt() 2 0.0009466 0.0009466 0.0009466 0.11% Gravity::update_max_rhs() 11 0.0008648 0.0008648 0.0008648 0.10% FabArrayBase::CPC::define() 454 0.0006861 0.0006861 0.0006861 0.08% FabArrayBase::getFB() 3974 0.000658 0.000658 0.000658 0.07% Castro::finalize_advance() 10 0.0005973 0.0005973 0.0005973 0.07% Amr::InitAmr() 1 0.0005157 0.0005157 0.0005157 0.06% MLLinOp::define() 11 0.000467 0.000467 0.000467 0.05% Castro::Castro() 1 0.0004536 0.0004536 0.0004536 0.05% MLLinOp::defineGrids() 11 0.0004494 0.0004494 0.0004494 0.05% Gravity::swapTimeLevels() 10 0.0004492 0.0004492 0.0004492 0.05% MLMG::MLResNormInf() 11 0.0002857 0.0002857 0.0002857 0.03% MultiFab::max() 11 0.0002596 0.0002596 0.0002596 0.03% MLMG::MLRhsNormInf() 11 0.0002206 0.0002206 0.0002206 0.02% Castro::buildMetrics() 1 0.0001618 0.0001618 0.0001618 0.02% Castro::create_source_corrector() 10 0.0001597 0.0001597 0.0001597 0.02% FabArrayBase::FB::FB() 56 8.744e-05 8.744e-05 8.744e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.664e-05 5.664e-05 5.664e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.718e-05 4.718e-05 4.718e-05 0.01% Castro::finalize_do_advance() 10 4.717e-05 4.717e-05 4.717e-05 0.01% makeSFC 55 4.004e-05 4.004e-05 4.004e-05 0.00% Castro::swap_state_time_levels() 10 3.806e-05 3.806e-05 3.806e-05 0.00% StateData::define() 4 3.594e-05 3.594e-05 3.594e-05 0.00% Castro::enforce_consistent_e() 1 3.33e-05 3.33e-05 3.33e-05 0.00% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.00% Amr::writeSmallPlotFile() 1 2.391e-05 2.391e-05 2.391e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% Amr::initSubcycle() 1 8.873e-06 8.873e-06 8.873e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.009e-06 5.009e-06 5.009e-06 0.00% Gravity::set_mass_offset() 11 4.77e-06 4.77e-06 4.77e-06 0.00% Castro::retry_advance_ctu() 10 4.474e-06 4.474e-06 4.474e-06 0.00% AmrLevel::checkPointPost() 3 3.941e-06 3.941e-06 3.941e-06 0.00% Castro::FluxRegCrseInit 10 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.254e-06 2.254e-06 2.254e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.138e-06 2.138e-06 2.138e-06 0.00% AmrLevel::checkPointPre() 3 1.811e-06 1.811e-06 1.811e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 111 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1378 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2195 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3509 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 278 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 252 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1851 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2862 B 480 KiB VisMF::Write(FabArray) 656 656 3448 B 320 KiB Castro::normalize_species() 62 62 4836 B 320 KiB amrex::average_down 1054 1054 1250 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1136 B 257 KiB amrex::Dot() 1343 1343 3375 B 160 KiB FabArray::norminf() 896 896 2373 B 160 KiB Castro::do_advance_ctu() 10 10 465 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3429 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 301 B 9648 B MLCellLinOp::applyBC() 8758 8758 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 119 B 4288 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 118 B 1472 B MLCellLinOp::defineBC() 66 66 361 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 579 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 633 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3429 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 301 B 9648 B MLCellLinOp::applyBC() 4379 4379 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 119 B 4288 B Gravity::get_new_grav_vector() 3 3 2917 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 896 896 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-33-g9adadfb8d881) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-33-g9adadfb8d881) initialized Starting run at 08:42:41 UTC on 2023-04-26. Successfully read inputs file ... Castro git describe: 23.04-16-gb19bc8626 AMReX git describe: 23.04-33-g9adadfb8d Microphysics git describe: 23.04-5-g55ce5a0f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.499240542 Restart time = 0.045795223 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.053533479 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.065605985 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.06789481 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.064972317 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.056760519 [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.033561534 seconds Ending run at 08:42:41 UTC on 2023-04-26. Run time = 0.389160709 Run time without initialization = 0.342774117 Average number of zones advanced per microsecond: 3.824 Average number of zones advanced per microsecond per rank: 3.824 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3892 ... 0.3892 ... 0.3892 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1221 0.1221 0.1221 31.37% VisMF::Read() 3 0.03946 0.03946 0.03946 10.14% MLCellLinOp::applyBC() 1946 0.03342 0.03342 0.03342 8.59% VisMF::Write(FabArray) 1 0.03207 0.03207 0.03207 8.24% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.58% FillBoundary_nowait() 1766 0.01277 0.01277 0.01277 3.28% StateData::FillBoundary(geom) 160 0.01202 0.01202 0.01202 3.09% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.81% amrex::Dot() 484 0.008744 0.008744 0.008744 2.25% Castro::enforce_min_density() 30 0.008331 0.008331 0.008331 2.14% amrex::Copy() 463 0.006984 0.006984 0.006984 1.79% FabArray::norminf() 326 0.006232 0.006232 0.006232 1.60% FabArray::setVal() 537 0.006231 0.006231 0.006231 1.60% FabArray::ParallelCopy_nowait() 380 0.006041 0.006041 0.006041 1.55% MLCellLinOp::defineAuxData() 6 0.005233 0.005233 0.005233 1.34% Castro::computeTemp() 30 0.005173 0.005173 0.005173 1.33% StateDataPhysBCFunct::() 20 0.004829 0.004829 0.004829 1.24% MLPoisson::Fapply() 500 0.004457 0.004457 0.004457 1.15% FabArray::Saxpy() 355 0.003639 0.003639 0.003639 0.94% FabArray::Xpay() 361 0.003485 0.003485 0.003485 0.90% MLMG::addInterpCorrection() 180 0.002856 0.002856 0.002856 0.73% Gravity::fill_multipole_BCs() 6 0.002749 0.002749 0.002749 0.71% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.69% Amr::restart() 1 0.002585 0.002585 0.002585 0.66% amrex::average_down 180 0.002573 0.002573 0.002573 0.66% Castro::do_advance_ctu() 5 0.002338 0.002338 0.002338 0.60% Castro::reset_internal_energy(MultiFab) 30 0.002064 0.002064 0.002064 0.53% BndryData::define() 6 0.002037 0.002037 0.002037 0.52% FabArray::LinComb() 242 0.001915 0.001915 0.001915 0.49% amrex::Add() 72 0.001848 0.001848 0.001848 0.47% Castro::construct_new_gravity_source() 5 0.001765 0.001765 0.001765 0.45% Castro::construct_old_gravity_source() 5 0.001522 0.001522 0.001522 0.39% Amr::writePlotFile() 1 0.001313 0.001313 0.001313 0.34% MLCGSolver::bicgstab 36 0.0009337 0.0009337 0.0009337 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009149 0.0009149 0.0009149 0.24% Castro::reset_internal_energy(Fab) 240 0.0008694 0.0008694 0.0008694 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007977 0.0007977 0.0007977 0.20% MLCellLinOp::setLevelBC() 6 0.0007497 0.0007497 0.0007497 0.19% FabArray::mult() 22 0.0006463 0.0006463 0.0006463 0.17% FabArray::setDomainBndry() 20 0.0006426 0.0006426 0.0006426 0.17% MultiFab::contains_nan() 10 0.000608 0.000608 0.000608 0.16% MLCellLinOp::prepareForSolve() 6 0.0006077 0.0006077 0.0006077 0.16% Castro::enforce_speed_limit() 30 0.0006034 0.0006034 0.0006034 0.16% MLCellLinOp::compGrad() 6 0.0004882 0.0004882 0.0004882 0.13% MLMG::prepareForSolve() 6 0.0004778 0.0004778 0.0004778 0.12% MLCellLinOp::smooth() 720 0.0004305 0.0004305 0.0004305 0.11% FabArrayBase::CPC::define() 244 0.0004209 0.0004209 0.0004209 0.11% Amr::InitAmr() 1 0.0003995 0.0003995 0.0003995 0.10% FabArrayBase::getCPC() 632 0.0003509 0.0003509 0.0003509 0.09% FabArray::FillBoundary() 1766 0.000342 0.000342 0.000342 0.09% Gravity::get_old_grav_vector() 5 0.0003004 0.0003004 0.0003004 0.08% Gravity::get_new_grav_vector() 5 0.0002847 0.0002847 0.0002847 0.07% main() 1 0.0002662 0.0002662 0.0002662 0.07% FabArrayBase::getFB() 1766 0.0002477 0.0002477 0.0002477 0.06% Amr::coarseTimeStep() 5 0.0002099 0.0002099 0.0002099 0.05% MLCellLinOp::apply() 500 0.0001873 0.0001873 0.0001873 0.05% MLLinOp::defineGrids() 6 0.0001818 0.0001818 0.0001818 0.05% MLMG::mgVcycle() 36 0.0001672 0.0001672 0.0001672 0.04% MultiFab::max() 6 0.0001365 0.0001365 0.0001365 0.04% Castro::construct_new_source() 25 0.0001357 0.0001357 0.0001357 0.03% MLCGSolver::ParallelAllReduce 659 0.0001248 0.0001248 0.0001248 0.03% FillPatchIterator::Initialize 20 0.0001155 0.0001155 0.0001155 0.03% MLCellLinOp::defineBC() 6 0.0001142 0.0001142 0.0001142 0.03% FabArray::ParallelCopy() 380 0.0001073 0.0001073 0.0001073 0.03% Castro::create_source_corrector() 5 0.0001009 0.0001009 0.0001009 0.03% Castro::initialize_do_advance() 5 9.419e-05 9.419e-05 9.419e-05 0.02% Castro::post_timestep() 5 9.197e-05 9.197e-05 9.197e-05 0.02% MLCellLinOp::correctionResidual() 216 9.166e-05 9.166e-05 9.166e-05 0.02% Gravity::solve_for_phi() 5 8.103e-05 8.103e-05 8.103e-05 0.02% Amr::timeStep() 5 7.777e-05 7.777e-05 7.777e-05 0.02% AmrLevel::restart() 1 7.621e-05 7.621e-05 7.621e-05 0.02% Castro::construct_old_gravity() 5 7.03e-05 7.03e-05 7.03e-05 0.02% StateData::restartDoit() 4 6.639e-05 6.639e-05 6.639e-05 0.02% Gravity::update_max_rhs() 6 6.117e-05 6.117e-05 6.117e-05 0.02% FabArrayBase::FB::FB() 26 5.79e-05 5.79e-05 5.79e-05 0.01% MLMG:computeResOfCorrection() 180 5.074e-05 5.074e-05 5.074e-05 0.01% Castro::expand_state() 5 4.891e-05 4.891e-05 4.891e-05 0.01% Castro::finalize_advance() 5 4.574e-05 4.574e-05 4.574e-05 0.01% MLMG::mgVcycle_down::0 36 3.83e-05 3.83e-05 3.83e-05 0.01% MLMG::actualBottomSolve() 36 3.786e-05 3.786e-05 3.786e-05 0.01% MLMG::solve() 6 3.721e-05 3.721e-05 3.721e-05 0.01% Castro::clean_state() 30 3.703e-05 3.703e-05 3.703e-05 0.01% Castro::advance() 5 3.65e-05 3.65e-05 3.65e-05 0.01% Castro::subcycle_advance_ctu() 5 3.553e-05 3.553e-05 3.553e-05 0.01% MLMG::mgVcycle_down::1 36 3.313e-05 3.313e-05 3.313e-05 0.01% Castro::initialize_advance() 5 3.303e-05 3.303e-05 3.303e-05 0.01% Castro::construct_old_source() 25 3.25e-05 3.25e-05 3.25e-05 0.01% MLMG::mgVcycle_down::4 36 3.103e-05 3.103e-05 3.103e-05 0.01% MLMG::mgVcycle_down::2 36 3.056e-05 3.056e-05 3.056e-05 0.01% MLMG::mgVcycle_down::3 36 2.964e-05 2.964e-05 2.964e-05 0.01% MLMG::mgVcycle_up::4 36 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::finalize_do_advance() 5 2.701e-05 2.701e-05 2.701e-05 0.01% Amr::writeSmallPlotFile() 1 2.653e-05 2.653e-05 2.653e-05 0.01% Castro::initMFs() 1 2.65e-05 2.65e-05 2.65e-05 0.01% Castro::buildMetrics() 1 2.611e-05 2.611e-05 2.611e-05 0.01% Castro::swap_state_time_levels() 5 2.455e-05 2.455e-05 2.455e-05 0.01% MLMG::oneIter() 36 2.334e-05 2.334e-05 2.334e-05 0.01% Castro::computeNewDt() 5 2.286e-05 2.286e-05 2.286e-05 0.01% MLCellLinOp::solutionResidual() 42 2.135e-05 2.135e-05 2.135e-05 0.01% Castro::post_restart() 1 2.052e-05 2.052e-05 2.052e-05 0.01% MLMG::mgVcycle_up::0 36 2.05e-05 2.05e-05 2.05e-05 0.01% MLMG::mgVcycle_up::3 36 2.044e-05 2.044e-05 2.044e-05 0.01% MLMG::mgVcycle_up::2 36 1.961e-05 1.961e-05 1.961e-05 0.01% MLMG::mgVcycle_up::1 36 1.877e-05 1.877e-05 1.877e-05 0.00% MLMG::ResNormInf() 42 1.678e-05 1.678e-05 1.678e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.663e-05 1.663e-05 1.663e-05 0.00% MLMG::mgVcycle_bottom 36 1.46e-05 1.46e-05 1.46e-05 0.00% MLPoisson::define() 6 1.448e-05 1.448e-05 1.448e-05 0.00% FillPatchSingleLevel 20 1.421e-05 1.421e-05 1.421e-05 0.00% Castro::construct_new_gravity() 5 1.412e-05 1.412e-05 1.412e-05 0.00% makeSFC 30 1.304e-05 1.304e-05 1.304e-05 0.00% MLMG::computeResidual() 36 1.289e-05 1.289e-05 1.289e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.252e-05 1.252e-05 1.252e-05 0.00% MLPoisson::prepareForSolve() 6 9.537e-06 9.537e-06 9.537e-06 0.00% Castro::do_new_sources() 5 9.506e-06 9.506e-06 9.506e-06 0.00% DistributionMapping::Distribute() 31 9.094e-06 9.094e-06 9.094e-06 0.00% MLMG::computeMLResidual() 6 8.908e-06 8.908e-06 8.908e-06 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% Castro::do_old_sources() 5 8.287e-06 8.287e-06 8.287e-06 0.00% Gravity::actual_multilevel_solve() 1 7.847e-06 7.847e-06 7.847e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.146e-06 7.146e-06 7.146e-06 0.00% Castro::check_for_nan() 10 6.607e-06 6.607e-06 6.607e-06 0.00% Castro::apply_source_to_state() 10 5.828e-06 5.828e-06 5.828e-06 0.00% MLLinOp::define() 6 5.147e-06 5.147e-06 5.147e-06 0.00% Gravity::swapTimeLevels() 5 3.872e-06 3.872e-06 3.872e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.466e-06 3.466e-06 3.466e-06 0.00% Castro::FluxRegCrseInit 5 3.11e-06 3.11e-06 3.11e-06 0.00% MLMG::getGradSolution() 6 2.805e-06 2.805e-06 2.805e-06 0.00% Gravity::set_mass_offset() 6 2.383e-06 2.383e-06 2.383e-06 0.00% MLMG::MLRhsNormInf() 6 2.126e-06 2.126e-06 2.126e-06 0.00% MLMG::MLResNormInf() 6 2.116e-06 2.116e-06 2.116e-06 0.00% Castro::retry_advance_ctu() 5 2.06e-06 2.06e-06 2.06e-06 0.00% Castro::FluxRegFineAdd() 5 1.519e-06 1.519e-06 1.519e-06 0.00% Amr::init() 1 1.166e-06 1.166e-06 1.166e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.81e-07 9.81e-07 9.81e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3892 0.3892 0.3892 100.00% Amr::coarseTimeStep() 5 0.309 0.309 0.309 79.39% Amr::timeStep() 5 0.3074 0.3074 0.3074 78.99% Castro::advance() 5 0.3022 0.3022 0.3022 77.65% Castro::subcycle_advance_ctu() 5 0.2949 0.2949 0.2949 75.78% Castro::do_advance_ctu() 5 0.2949 0.2949 0.2949 75.77% Castro::construct_new_gravity() 5 0.1292 0.1292 0.1292 33.19% Gravity::solve_phi_with_mlmg() 6 0.1243 0.1243 0.1243 31.95% Castro::construct_ctu_hydro_source() 5 0.1221 0.1221 0.1221 31.37% Gravity::actual_solve_with_mlmg() 6 0.1213 0.1213 0.1213 31.17% Gravity::solve_for_phi() 5 0.1213 0.1213 0.1213 31.16% MLMG::solve() 6 0.1101 0.1101 0.1101 28.29% MLMG::oneIter() 36 0.1033 0.1033 0.1033 26.53% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 26.14% MLCellLinOp::smooth() 720 0.04984 0.04984 0.04984 12.81% MLCellLinOp::applyBC() 1946 0.04683 0.04683 0.04683 12.03% Amr::init() 1 0.04586 0.04586 0.04586 11.78% Amr::restart() 1 0.04585 0.04585 0.04585 11.78% AmrLevel::restart() 1 0.03965 0.03965 0.03965 10.19% StateData::restartDoit() 4 0.03957 0.03957 0.03957 10.17% VisMF::Read() 3 0.03946 0.03946 0.03946 10.14% Amr::writePlotFile() 1 0.03365 0.03365 0.03365 8.65% VisMF::Write(FabArray) 1 0.03207 0.03207 0.03207 8.24% MLMG::mgVcycle_bottom 36 0.03159 0.03159 0.03159 8.12% MLMG::actualBottomSolve() 36 0.03157 0.03157 0.03157 8.11% MLCGSolver::bicgstab 36 0.03127 0.03127 0.03127 8.03% Castro::clean_state() 30 0.028 0.028 0.028 7.19% FillPatchIterator::Initialize 20 0.01965 0.01965 0.01965 5.05% FillPatchSingleLevel 20 0.01889 0.01889 0.01889 4.85% StateDataPhysBCFunct::() 20 0.01684 0.01684 0.01684 4.33% MLCellLinOp::apply() 500 0.01574 0.01574 0.01574 4.04% MLMG::mgVcycle_down::0 36 0.01437 0.01437 0.01437 3.69% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.58% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.45% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.36% StateData::FillBoundary(geom) 160 0.01202 0.01202 0.01202 3.09% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.81% Castro::initialize_do_advance() 5 0.01073 0.01073 0.01073 2.76% MLMG::mgVcycle_up::0 36 0.01071 0.01071 0.01071 2.75% MLCellLinOp::correctionResidual() 216 0.009515 0.009515 0.009515 2.44% MLPoisson::define() 6 0.00891 0.00891 0.00891 2.29% amrex::Dot() 484 0.008744 0.008744 0.008744 2.25% MLMG:computeResOfCorrection() 180 0.008358 0.008358 0.008358 2.15% Castro::enforce_min_density() 30 0.008331 0.008331 0.008331 2.14% Castro::computeTemp() 30 0.008107 0.008107 0.008107 2.08% Gravity::get_new_grav_vector() 5 0.007768 0.007768 0.007768 2.00% Castro::do_new_sources() 5 0.007535 0.007535 0.007535 1.94% Castro::construct_old_gravity() 5 0.007472 0.007472 0.007472 1.92% Gravity::get_old_grav_vector() 5 0.007402 0.007402 0.007402 1.90% amrex::Copy() 463 0.006984 0.006984 0.006984 1.79% Castro::initialize_advance() 5 0.006917 0.006917 0.006917 1.78% MLMG::mgVcycle_down::1 36 0.006768 0.006768 0.006768 1.74% FabArray::ParallelCopy() 380 0.006539 0.006539 0.006539 1.68% FabArray::ParallelCopy_nowait() 380 0.006432 0.006432 0.006432 1.65% MLMG::mgVcycle_down::2 36 0.006342 0.006342 0.006342 1.63% FabArray::norminf() 326 0.006232 0.006232 0.006232 1.60% FabArray::setVal() 537 0.006231 0.006231 0.006231 1.60% MLMG::mgVcycle_down::3 36 0.00619 0.00619 0.00619 1.59% MLMG::mgVcycle_down::4 36 0.006132 0.006132 0.006132 1.58% MLCellLinOp::defineAuxData() 6 0.005969 0.005969 0.005969 1.53% Castro::do_old_sources() 5 0.005814 0.005814 0.005814 1.49% MLCGSolver::ParallelAllReduce 659 0.005273 0.005273 0.005273 1.35% Castro::expand_state() 5 0.005251 0.005251 0.005251 1.35% Castro::post_timestep() 5 0.005145 0.005145 0.005145 1.32% MLMG::addInterpCorrection() 180 0.005077 0.005077 0.005077 1.30% MLMG::mgVcycle_up::1 36 0.004935 0.004935 0.004935 1.27% MLMG::mgVcycle_up::4 36 0.004928 0.004928 0.004928 1.27% amrex::average_down 180 0.004859 0.004859 0.004859 1.25% MLMG::mgVcycle_up::2 36 0.004843 0.004843 0.004843 1.24% MLMG::mgVcycle_up::3 36 0.00475 0.00475 0.00475 1.22% MLPoisson::Fapply() 500 0.004457 0.004457 0.004457 1.15% FabArray::Saxpy() 355 0.003639 0.003639 0.003639 0.94% FabArray::Xpay() 361 0.003485 0.003485 0.003485 0.90% Castro::post_restart() 1 0.003443 0.003443 0.003443 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.003332 0.003332 0.003332 0.86% Gravity::actual_multilevel_solve() 1 0.003315 0.003315 0.003315 0.85% MLCellLinOp::solutionResidual() 42 0.003223 0.003223 0.003223 0.83% Castro::reset_internal_energy(MultiFab) 30 0.002934 0.002934 0.002934 0.75% Gravity::fill_multipole_BCs() 6 0.002892 0.002892 0.002892 0.74% MLCellLinOp::defineBC() 6 0.002711 0.002711 0.002711 0.70% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.69% MLMG::computeResidual() 36 0.002676 0.002676 0.002676 0.69% BndryData::define() 6 0.002597 0.002597 0.002597 0.67% MLMG::prepareForSolve() 6 0.002513 0.002513 0.002513 0.65% FabArray::LinComb() 242 0.001915 0.001915 0.001915 0.49% Castro::construct_new_source() 25 0.0019 0.0019 0.0019 0.49% amrex::Add() 72 0.001848 0.001848 0.001848 0.47% Castro::construct_new_gravity_source() 5 0.001765 0.001765 0.001765 0.45% Castro::construct_old_source() 25 0.001555 0.001555 0.001555 0.40% Castro::construct_old_gravity_source() 5 0.001522 0.001522 0.001522 0.39% Castro::computeNewDt() 5 0.001346 0.001346 0.001346 0.35% MLMG::ResNormInf() 42 0.0009326 0.0009326 0.0009326 0.24% Castro::apply_source_to_state() 10 0.0009233 0.0009233 0.0009233 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009149 0.0009149 0.0009149 0.24% Castro::reset_internal_energy(Fab) 240 0.0008694 0.0008694 0.0008694 0.22% FabArrayBase::getCPC() 632 0.0007718 0.0007718 0.0007718 0.20% MLMG::getGradSolution() 6 0.0007554 0.0007554 0.0007554 0.19% MLCellLinOp::compGrad() 6 0.0007526 0.0007526 0.0007526 0.19% MLCellLinOp::setLevelBC() 6 0.0007497 0.0007497 0.0007497 0.19% FabArray::mult() 22 0.0006463 0.0006463 0.0006463 0.17% FabArray::setDomainBndry() 20 0.0006426 0.0006426 0.0006426 0.17% MLPoisson::prepareForSolve() 6 0.0006172 0.0006172 0.0006172 0.16% Castro::check_for_nan() 10 0.0006146 0.0006146 0.0006146 0.16% MultiFab::contains_nan() 10 0.000608 0.000608 0.000608 0.16% MLCellLinOp::prepareForSolve() 6 0.0006077 0.0006077 0.0006077 0.16% Castro::enforce_speed_limit() 30 0.0006034 0.0006034 0.0006034 0.16% MLMG::computeMLResidual() 6 0.0005695 0.0005695 0.0005695 0.15% Gravity::update_max_rhs() 6 0.0004439 0.0004439 0.0004439 0.11% FabArrayBase::CPC::define() 244 0.0004209 0.0004209 0.0004209 0.11% Amr::InitAmr() 1 0.0004083 0.0004083 0.0004083 0.10% Castro::finalize_advance() 5 0.0003264 0.0003264 0.0003264 0.08% FabArrayBase::getFB() 1766 0.0003056 0.0003056 0.0003056 0.08% Gravity::swapTimeLevels() 5 0.0002274 0.0002274 0.0002274 0.06% MLLinOp::define() 6 0.0002158 0.0002158 0.0002158 0.06% MLLinOp::defineGrids() 6 0.0002106 0.0002106 0.0002106 0.05% MLMG::MLResNormInf() 6 0.0001522 0.0001522 0.0001522 0.04% Castro::buildMetrics() 1 0.0001446 0.0001446 0.0001446 0.04% MultiFab::max() 6 0.0001365 0.0001365 0.0001365 0.04% MLMG::MLRhsNormInf() 6 0.0001178 0.0001178 0.0001178 0.03% Castro::create_source_corrector() 5 0.0001009 0.0001009 0.0001009 0.03% FabArrayBase::FB::FB() 26 5.79e-05 5.79e-05 5.79e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.783e-05 2.783e-05 2.783e-05 0.01% Castro::finalize_do_advance() 5 2.701e-05 2.701e-05 2.701e-05 0.01% Amr::writeSmallPlotFile() 1 2.653e-05 2.653e-05 2.653e-05 0.01% Castro::initMFs() 1 2.65e-05 2.65e-05 2.65e-05 0.01% Castro::swap_state_time_levels() 5 2.455e-05 2.455e-05 2.455e-05 0.01% makeSFC 30 2.069e-05 2.069e-05 2.069e-05 0.01% DistributionMapping::Distribute() 31 9.094e-06 9.094e-06 9.094e-06 0.00% Amr::initSubcycle() 1 8.754e-06 8.754e-06 8.754e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.917e-06 4.917e-06 4.917e-06 0.00% Castro::FluxRegCrseInit 5 3.11e-06 3.11e-06 3.11e-06 0.00% Gravity::set_mass_offset() 6 2.383e-06 2.383e-06 2.383e-06 0.00% Castro::retry_advance_ctu() 5 2.06e-06 2.06e-06 2.06e-06 0.00% Castro::FluxRegFineAdd() 5 1.519e-06 1.519e-06 1.519e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.81e-07 9.81e-07 9.81e-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 212 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 142 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1076 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2429 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 6738 KiB 14 MiB MLMG::prepareForSolve() 361 361 3474 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 197 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 204 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6733 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2200 B 2048 KiB Gravity::solve_for_phi() 40 40 636 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 205 KiB 671 KiB Castro::estTimeStep() 10 10 3209 B 480 KiB VisMF::Write(FabArray) 112 112 1268 B 320 KiB Castro::normalize_species() 30 30 9138 B 320 KiB amrex::average_down 469 469 1225 B 257 KiB MLMG::addInterpCorrection() 468 468 1118 B 257 KiB amrex::Dot() 592 592 3309 B 160 KiB FabArray::norminf() 398 398 2365 B 160 KiB Castro::do_advance_ctu() 5 5 493 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3379 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 3892 3892 221 B 9344 B amrex::Copy() 56 56 5957 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 359 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1300 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 254 KiB 3584 KiB VisMF::Read() 24 24 196 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3379 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1946 1946 220 B 9328 B amrex::Copy() 56 56 5957 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2659 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 529 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 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-33-g9adadfb8d881) finalized