Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-13-g254d3faba017) initialized Starting run at 09:09:01 UTC on 2023-03-17. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-13-g254d3faba Microphysics git describe: 23.03-17-g49f8ea1e 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.058908167 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034072875 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048219728 [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.048860446 [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.050134419 [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.059619782 [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.059082025 [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.058116808 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.066144032 [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.076056617 [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.066279694 [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.057993114 [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.060614768 [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.106272484 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033652555 seconds Ending run at 09:09:02 UTC on 2023-03-17. Run time = 0.930809413 Run time without initialization = 0.79172845 Average number of zones advanced per microsecond: 3.311 Average number of zones advanced per microsecond per rank: 3.311 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9308 ... 0.9308 ... 0.9308 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2365 0.2365 0.2365 25.41% Castro::construct_ctu_hydro_source() 10 0.227 0.227 0.227 24.39% MLCellLinOp::applyBC() 4379 0.07668 0.07668 0.07668 8.24% Amr::checkPoint() 3 0.05159 0.05159 0.05159 5.54% MLPoisson::Fsmooth() 3240 0.03231 0.03231 0.03231 3.47% FillBoundary_nowait() 3974 0.03042 0.03042 0.03042 3.27% StateData::FillBoundary(geom) 328 0.02531 0.02531 0.02531 2.72% amrex::Dot() 1100 0.02062 0.02062 0.02062 2.22% Castro::normalize_species() 62 0.01567 0.01567 0.01567 1.68% amrex::Copy() 1019 0.01483 0.01483 0.01483 1.59% Castro::computeTemp() 63 0.01446 0.01446 0.01446 1.55% FabArray::norminf() 734 0.01433 0.01433 0.01433 1.54% StateDataPhysBCFunct::() 41 0.0139 0.0139 0.0139 1.49% FabArray::ParallelCopy_nowait() 851 0.01341 0.01341 0.01341 1.44% FabArray::setVal() 1135 0.01317 0.01317 0.01317 1.41% MLPoisson::Fapply() 1128 0.01042 0.01042 0.01042 1.12% MLCellLinOp::defineAuxData() 11 0.009662 0.009662 0.009662 1.04% Castro::enforce_min_density() 62 0.009381 0.009381 0.009381 1.01% FabArray::Saxpy() 803 0.008146 0.008146 0.008146 0.88% FabArray::Xpay() 811 0.008082 0.008082 0.008082 0.87% MLMG::addInterpCorrection() 405 0.006807 0.006807 0.006807 0.73% Gravity::fill_multipole_BCs() 11 0.006602 0.006602 0.006602 0.71% amrex::average_down 405 0.005962 0.005962 0.005962 0.64% Castro::estTimeStep() 21 0.00572 0.00572 0.00572 0.61% FabArray::LinComb() 550 0.004495 0.004495 0.004495 0.48% Castro::reset_internal_energy(MultiFab) 63 0.00441 0.00441 0.00441 0.47% amrex::Add() 162 0.004318 0.004318 0.004318 0.46% BndryData::define() 11 0.003718 0.003718 0.003718 0.40% Castro::construct_new_gravity_source() 10 0.003335 0.003335 0.003335 0.36% Castro::do_advance_ctu() 10 0.003312 0.003312 0.003312 0.36% Castro::construct_old_gravity_source() 10 0.002742 0.002742 0.002742 0.29% Amr::writePlotFile() 2 0.00243 0.00243 0.00243 0.26% MLCGSolver::bicgstab 81 0.002287 0.002287 0.002287 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001687 0.001687 0.001687 0.18% Castro::reset_internal_energy(Fab) 504 0.001523 0.001523 0.001523 0.16% Gravity::actual_solve_with_mlmg() 11 0.001521 0.001521 0.001521 0.16% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% Castro::enforce_speed_limit() 62 0.001354 0.001354 0.001354 0.15% FabArray::mult() 43 0.001318 0.001318 0.001318 0.14% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.14% Castro::initData() 1 0.001271 0.001271 0.001271 0.14% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.13% MLCellLinOp::smooth() 1620 0.001148 0.001148 0.001148 0.12% MLCellLinOp::prepareForSolve() 11 0.001145 0.001145 0.001145 0.12% MLCellLinOp::compGrad() 11 0.0009204 0.0009204 0.0009204 0.10% Castro::subcycle_advance_ctu() 10 0.000917 0.000917 0.000917 0.10% MLMG::prepareForSolve() 11 0.0008943 0.0008943 0.0008943 0.10% FabArray::FillBoundary() 3974 0.0008091 0.0008091 0.0008091 0.09% FabArrayBase::getCPC() 1313 0.0007392 0.0007392 0.0007392 0.08% FabArrayBase::CPC::define() 454 0.00066 0.00066 0.00066 0.07% Gravity::get_new_grav_vector() 11 0.0006368 0.0006368 0.0006368 0.07% FabArrayBase::getFB() 3974 0.0005962 0.0005962 0.0005962 0.06% Gravity::get_old_grav_vector() 10 0.0005477 0.0005477 0.0005477 0.06% MLCellLinOp::apply() 1128 0.0005015 0.0005015 0.0005015 0.05% Amr::InitAmr() 1 0.0004918 0.0004918 0.0004918 0.05% MLLinOp::defineGrids() 11 0.000395 0.000395 0.000395 0.04% MLMG::mgVcycle() 81 0.0003752 0.0003752 0.0003752 0.04% Amr::coarseTimeStep() 10 0.0003732 0.0003732 0.0003732 0.04% MLCGSolver::ParallelAllReduce 1495 0.0003078 0.0003078 0.0003078 0.03% main() 1 0.0002941 0.0002941 0.0002941 0.03% MultiFab::max() 11 0.0002619 0.0002619 0.0002619 0.03% FabArray::ParallelCopy() 851 0.0002409 0.0002409 0.0002409 0.03% FillPatchIterator::Initialize 41 0.0002342 0.0002342 0.0002342 0.03% MLCellLinOp::correctionResidual() 486 0.0002275 0.0002275 0.0002275 0.02% MLCellLinOp::defineBC() 11 0.0002172 0.0002172 0.0002172 0.02% Amr::timeStep() 10 0.0001978 0.0001978 0.0001978 0.02% StateData::checkPoint() 12 0.0001509 0.0001509 0.0001509 0.02% Gravity::update_max_rhs() 11 0.0001217 0.0001217 0.0001217 0.01% MLMG:computeResOfCorrection() 405 0.0001159 0.0001159 0.0001159 0.01% Gravity::solve_for_phi() 10 0.0001116 0.0001116 0.0001116 0.01% AmrLevel::checkPoint() 3 0.0001105 0.0001105 0.0001105 0.01% Castro::finalize_advance() 10 9.724e-05 9.724e-05 9.724e-05 0.01% MLMG::actualBottomSolve() 81 9.199e-05 9.199e-05 9.199e-05 0.01% FabArrayBase::FB::FB() 56 9.078e-05 9.078e-05 9.078e-05 0.01% MLMG::mgVcycle_down::0 81 8.936e-05 8.936e-05 8.936e-05 0.01% Castro::Castro() 1 8.726e-05 8.726e-05 8.726e-05 0.01% MLMG::mgVcycle_down::1 81 8.507e-05 8.507e-05 8.507e-05 0.01% Castro::advance() 10 8.264e-05 8.264e-05 8.264e-05 0.01% Castro::expand_state() 10 7.994e-05 7.994e-05 7.994e-05 0.01% MLMG::mgVcycle_down::2 81 7.985e-05 7.985e-05 7.985e-05 0.01% MLMG::solve() 11 7.645e-05 7.645e-05 7.645e-05 0.01% Castro::initialize_advance() 10 7.497e-05 7.497e-05 7.497e-05 0.01% MLMG::mgVcycle_down::4 81 7.495e-05 7.495e-05 7.495e-05 0.01% Castro::clean_state() 62 7.489e-05 7.489e-05 7.489e-05 0.01% MLMG::mgVcycle_down::3 81 7.437e-05 7.437e-05 7.437e-05 0.01% MLMG::mgVcycle_up::4 81 6.374e-05 6.374e-05 6.374e-05 0.01% Castro::initialize_do_advance() 10 5.65e-05 5.65e-05 5.65e-05 0.01% MLMG::mgVcycle_up::0 81 5.554e-05 5.554e-05 5.554e-05 0.01% MLMG::oneIter() 81 5.442e-05 5.442e-05 5.442e-05 0.01% MLMG::mgVcycle_up::1 81 5.389e-05 5.389e-05 5.389e-05 0.01% MLMG::mgVcycle_up::3 81 5.27e-05 5.27e-05 5.27e-05 0.01% MLCellLinOp::solutionResidual() 92 5.184e-05 5.184e-05 5.184e-05 0.01% MLMG::mgVcycle_up::2 81 5.178e-05 5.178e-05 5.178e-05 0.01% Castro::create_source_corrector() 10 4.747e-05 4.747e-05 4.747e-05 0.01% Castro::swap_state_time_levels() 10 4.071e-05 4.071e-05 4.071e-05 0.00% StateData::define() 4 4.04e-05 4.04e-05 4.04e-05 0.00% Castro::finalize_do_advance() 10 3.816e-05 3.816e-05 3.816e-05 0.00% MLMG::ResNormInf() 92 3.767e-05 3.767e-05 3.767e-05 0.00% MLMG::mgVcycle_bottom 81 3.422e-05 3.422e-05 3.422e-05 0.00% Castro::enforce_consistent_e() 1 3.363e-05 3.363e-05 3.363e-05 0.00% MLMG::computeResidual() 81 3.089e-05 3.089e-05 3.089e-05 0.00% FillPatchSingleLevel 41 3.043e-05 3.043e-05 3.043e-05 0.00% Castro::construct_new_gravity() 10 2.58e-05 2.58e-05 2.58e-05 0.00% makeSFC 55 2.47e-05 2.47e-05 2.47e-05 0.00% Amr::writeSmallPlotFile() 1 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::initMFs() 1 2.359e-05 2.359e-05 2.359e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.199e-05 2.199e-05 2.199e-05 0.00% MLPoisson::define() 11 2.147e-05 2.147e-05 2.147e-05 0.00% Amr::FinalizeInit() 1 2.121e-05 2.121e-05 2.121e-05 0.00% Amr::defBaseLevel() 1 1.92e-05 1.92e-05 1.92e-05 0.00% Castro::construct_old_source() 50 1.853e-05 1.853e-05 1.853e-05 0.00% Castro::construct_new_source() 50 1.79e-05 1.79e-05 1.79e-05 0.00% Castro::buildMetrics() 1 1.766e-05 1.766e-05 1.766e-05 0.00% Castro::do_new_sources() 10 1.739e-05 1.739e-05 1.739e-05 0.00% Castro::do_old_sources() 10 1.678e-05 1.678e-05 1.678e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.597e-05 1.597e-05 1.597e-05 0.00% MLPoisson::prepareForSolve() 11 1.481e-05 1.481e-05 1.481e-05 0.00% DistributionMapping::Distribute() 56 1.422e-05 1.422e-05 1.422e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.355e-05 1.355e-05 1.355e-05 0.00% Castro::check_for_nan() 20 1.056e-05 1.056e-05 1.056e-05 0.00% MLLinOp::define() 11 1.028e-05 1.028e-05 1.028e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.953e-06 9.953e-06 9.953e-06 0.00% Castro::apply_source_to_state() 20 9.787e-06 9.787e-06 9.787e-06 0.00% Castro::construct_old_gravity() 10 9.755e-06 9.755e-06 9.755e-06 0.00% Gravity::swapTimeLevels() 10 9.41e-06 9.41e-06 9.41e-06 0.00% Amr::initSubcycle() 1 8.801e-06 8.801e-06 8.801e-06 0.00% Castro::post_timestep() 10 8.138e-06 8.138e-06 8.138e-06 0.00% Castro::computeNewDt() 9 7.817e-06 7.817e-06 7.817e-06 0.00% Gravity::actual_multilevel_solve() 1 7.723e-06 7.723e-06 7.723e-06 0.00% MLMG::computeMLResidual() 11 7.555e-06 7.555e-06 7.555e-06 0.00% MLMG::getGradSolution() 11 5.729e-06 5.729e-06 5.729e-06 0.00% Amr::InitializeInit() 1 4.653e-06 4.653e-06 4.653e-06 0.00% Gravity::set_mass_offset() 11 4.541e-06 4.541e-06 4.541e-06 0.00% Castro::retry_advance_ctu() 10 4.407e-06 4.407e-06 4.407e-06 0.00% Castro::post_init() 1 4.356e-06 4.356e-06 4.356e-06 0.00% AmrLevel::checkPointPost() 3 4.232e-06 4.232e-06 4.232e-06 0.00% MLMG::MLRhsNormInf() 11 3.834e-06 3.834e-06 3.834e-06 0.00% MLMG::MLResNormInf() 11 3.787e-06 3.787e-06 3.787e-06 0.00% AmrLevel::checkPointPre() 3 3.292e-06 3.292e-06 3.292e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.175e-06 3.175e-06 3.175e-06 0.00% Castro::FluxRegCrseInit 10 2.668e-06 2.668e-06 2.668e-06 0.00% Castro::computeInitialDt() 2 2.525e-06 2.525e-06 2.525e-06 0.00% Amr::init() 1 2.341e-06 2.341e-06 2.341e-06 0.00% Castro::FluxRegFineAdd() 10 2.009e-06 2.009e-06 2.009e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.001e-06 2.001e-06 2.001e-06 0.00% Amr::initialInit() 1 1.575e-06 1.575e-06 1.575e-06 0.00% Castro::post_regrid() 1 1.427e-06 1.427e-06 1.427e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9308 0.9308 0.9308 100.00% Amr::coarseTimeStep() 10 0.7579 0.7579 0.7579 81.42% Amr::timeStep() 10 0.5891 0.5891 0.5891 63.29% Castro::advance() 10 0.5811 0.5811 0.5811 62.43% Castro::subcycle_advance_ctu() 10 0.5693 0.5693 0.5693 61.16% Castro::do_advance_ctu() 10 0.5683 0.5683 0.5683 61.06% Gravity::solve_phi_with_mlmg() 11 0.2831 0.2831 0.2831 30.41% Gravity::actual_solve_with_mlmg() 11 0.276 0.276 0.276 29.65% Castro::construct_new_gravity() 10 0.2618 0.2618 0.2618 28.12% MLMG::solve() 11 0.2553 0.2553 0.2553 27.43% Gravity::solve_for_phi() 10 0.2454 0.2454 0.2454 26.37% MLMG::oneIter() 81 0.2409 0.2409 0.2409 25.88% MLMG::mgVcycle() 81 0.2373 0.2373 0.2373 25.49% VisMF::Write(FabArray) 11 0.2365 0.2365 0.2365 25.41% Castro::construct_ctu_hydro_source() 10 0.227 0.227 0.227 24.39% Amr::checkPoint() 3 0.2235 0.2235 0.2235 24.01% AmrLevel::checkPoint() 3 0.1719 0.1719 0.1719 18.47% StateData::checkPoint() 12 0.1718 0.1718 0.1718 18.45% Amr::init() 1 0.1384 0.1384 0.1384 14.87% MLCellLinOp::smooth() 1620 0.1163 0.1163 0.1163 12.49% MLCellLinOp::applyBC() 4379 0.1086 0.1086 0.1086 11.67% MLMG::mgVcycle_bottom 81 0.07382 0.07382 0.07382 7.93% MLMG::actualBottomSolve() 81 0.07379 0.07379 0.07379 7.93% MLCGSolver::bicgstab 81 0.07309 0.07309 0.07309 7.85% Amr::writePlotFile() 2 0.06786 0.06786 0.06786 7.29% Castro::clean_state() 62 0.0461 0.0461 0.0461 4.95% Amr::initialInit() 1 0.0453 0.0453 0.0453 4.87% FillPatchIterator::Initialize 41 0.04486 0.04486 0.04486 4.82% FillPatchSingleLevel 41 0.04333 0.04333 0.04333 4.65% Amr::FinalizeInit() 1 0.04124 0.04124 0.04124 4.43% Castro::post_init() 1 0.03992 0.03992 0.03992 4.29% StateDataPhysBCFunct::() 41 0.03921 0.03921 0.03921 4.21% Gravity::multilevel_solve_for_new_phi() 1 0.03806 0.03806 0.03806 4.09% Gravity::actual_multilevel_solve() 1 0.03804 0.03804 0.03804 4.09% MLCellLinOp::apply() 1128 0.03621 0.03621 0.03621 3.89% MLMG::mgVcycle_down::0 81 0.03353 0.03353 0.03353 3.60% MLPoisson::Fsmooth() 3240 0.03231 0.03231 0.03231 3.47% FabArray::FillBoundary() 3974 0.03192 0.03192 0.03192 3.43% FillBoundary_nowait() 3974 0.03111 0.03111 0.03111 3.34% StateData::FillBoundary(geom) 328 0.02531 0.02531 0.02531 2.72% MLMG::mgVcycle_up::0 81 0.02528 0.02528 0.02528 2.72% MLCellLinOp::correctionResidual() 486 0.02207 0.02207 0.02207 2.37% Castro::initialize_do_advance() 10 0.02112 0.02112 0.02112 2.27% amrex::Dot() 1100 0.02062 0.02062 0.02062 2.22% Castro::computeTemp() 63 0.02039 0.02039 0.02039 2.19% MLMG:computeResOfCorrection() 405 0.01942 0.01942 0.01942 2.09% Gravity::get_new_grav_vector() 11 0.01789 0.01789 0.01789 1.92% MLPoisson::define() 11 0.01637 0.01637 0.01637 1.76% MLMG::mgVcycle_down::1 81 0.0158 0.0158 0.0158 1.70% Castro::normalize_species() 62 0.01567 0.01567 0.01567 1.68% Castro::construct_old_gravity() 10 0.01536 0.01536 0.01536 1.65% Gravity::get_old_grav_vector() 10 0.01535 0.01535 0.01535 1.65% amrex::Copy() 1019 0.01483 0.01483 0.01483 1.59% MLMG::mgVcycle_down::2 81 0.0147 0.0147 0.0147 1.58% FabArray::ParallelCopy() 851 0.01445 0.01445 0.01445 1.55% MLMG::mgVcycle_down::3 81 0.01434 0.01434 0.01434 1.54% FabArray::norminf() 734 0.01433 0.01433 0.01433 1.54% FabArray::ParallelCopy_nowait() 851 0.01421 0.01421 0.01421 1.53% MLMG::mgVcycle_down::4 81 0.01421 0.01421 0.01421 1.53% FabArray::setVal() 1135 0.01317 0.01317 0.01317 1.41% Castro::expand_state() 10 0.01306 0.01306 0.01306 1.40% MLCGSolver::ParallelAllReduce 1495 0.01239 0.01239 0.01239 1.33% Castro::do_new_sources() 10 0.01207 0.01207 0.01207 1.30% MLMG::addInterpCorrection() 405 0.01197 0.01197 0.01197 1.29% MLMG::mgVcycle_up::4 81 0.01157 0.01157 0.01157 1.24% MLMG::mgVcycle_up::1 81 0.01148 0.01148 0.01148 1.23% Castro::do_old_sources() 10 0.01129 0.01129 0.01129 1.21% MLMG::mgVcycle_up::2 81 0.0112 0.0112 0.0112 1.20% amrex::average_down 405 0.01116 0.01116 0.01116 1.20% Castro::initialize_advance() 10 0.01115 0.01115 0.01115 1.20% MLMG::mgVcycle_up::3 81 0.01099 0.01099 0.01099 1.18% MLCellLinOp::defineAuxData() 11 0.01098 0.01098 0.01098 1.18% MLPoisson::Fapply() 1128 0.01042 0.01042 0.01042 1.12% Castro::enforce_min_density() 62 0.009381 0.009381 0.009381 1.01% FabArray::Saxpy() 803 0.008146 0.008146 0.008146 0.88% FabArray::Xpay() 811 0.008082 0.008082 0.008082 0.87% Castro::post_timestep() 10 0.007795 0.007795 0.007795 0.84% MLCellLinOp::solutionResidual() 92 0.007183 0.007183 0.007183 0.77% Gravity::fill_multipole_BCs() 11 0.006849 0.006849 0.006849 0.74% MLMG::computeResidual() 81 0.006179 0.006179 0.006179 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005933 0.005933 0.005933 0.64% Castro::estTimeStep() 21 0.00572 0.00572 0.00572 0.61% MLCellLinOp::defineBC() 11 0.004905 0.004905 0.004905 0.53% MLMG::prepareForSolve() 11 0.004785 0.004785 0.004785 0.51% BndryData::define() 11 0.004688 0.004688 0.004688 0.50% FabArray::LinComb() 550 0.004495 0.004495 0.004495 0.48% amrex::Add() 162 0.004318 0.004318 0.004318 0.46% Amr::InitializeInit() 1 0.004054 0.004054 0.004054 0.44% Amr::defBaseLevel() 1 0.00405 0.00405 0.00405 0.44% Castro::initData() 1 0.003533 0.003533 0.003533 0.38% Castro::construct_new_source() 50 0.003353 0.003353 0.003353 0.36% Castro::construct_new_gravity_source() 10 0.003335 0.003335 0.003335 0.36% Castro::computeNewDt() 9 0.003182 0.003182 0.003182 0.34% Castro::construct_old_source() 50 0.00276 0.00276 0.00276 0.30% Castro::construct_old_gravity_source() 10 0.002742 0.002742 0.002742 0.29% MLMG::ResNormInf() 92 0.002081 0.002081 0.002081 0.22% Castro::apply_source_to_state() 20 0.001821 0.001821 0.001821 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001687 0.001687 0.001687 0.18% Castro::reset_internal_energy(Fab) 504 0.001523 0.001523 0.001523 0.16% MLMG::getGradSolution() 11 0.001407 0.001407 0.001407 0.15% MLCellLinOp::compGrad() 11 0.001401 0.001401 0.001401 0.15% FabArrayBase::getCPC() 1313 0.001399 0.001399 0.001399 0.15% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% Castro::enforce_speed_limit() 62 0.001354 0.001354 0.001354 0.15% FabArray::mult() 43 0.001318 0.001318 0.001318 0.14% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.14% Castro::check_for_nan() 20 0.001211 0.001211 0.001211 0.13% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.13% MLPoisson::prepareForSolve() 11 0.00116 0.00116 0.00116 0.12% MLCellLinOp::prepareForSolve() 11 0.001145 0.001145 0.001145 0.12% Castro::post_regrid() 1 0.001144 0.001144 0.001144 0.12% MLMG::computeMLResidual() 11 0.001043 0.001043 0.001043 0.11% Castro::computeInitialDt() 2 0.00084 0.00084 0.00084 0.09% Gravity::update_max_rhs() 11 0.00083 0.00083 0.00083 0.09% FabArrayBase::getFB() 3974 0.000687 0.000687 0.000687 0.07% FabArrayBase::CPC::define() 454 0.00066 0.00066 0.00066 0.07% Castro::finalize_advance() 10 0.0006277 0.0006277 0.0006277 0.07% Amr::InitAmr() 1 0.0005006 0.0005006 0.0005006 0.05% MLLinOp::define() 11 0.0004584 0.0004584 0.0004584 0.05% MLLinOp::defineGrids() 11 0.0004481 0.0004481 0.0004481 0.05% Castro::Castro() 1 0.000442 0.000442 0.000442 0.05% Gravity::swapTimeLevels() 10 0.0004359 0.0004359 0.0004359 0.05% MLMG::MLResNormInf() 11 0.0002941 0.0002941 0.0002941 0.03% MultiFab::max() 11 0.0002619 0.0002619 0.0002619 0.03% MLMG::MLRhsNormInf() 11 0.000223 0.000223 0.000223 0.02% Castro::buildMetrics() 1 0.0001671 0.0001671 0.0001671 0.02% FabArrayBase::FB::FB() 56 9.078e-05 9.078e-05 9.078e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.112e-05 5.112e-05 5.112e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.035e-05 5.035e-05 5.035e-05 0.01% Castro::create_source_corrector() 10 4.747e-05 4.747e-05 4.747e-05 0.01% Castro::swap_state_time_levels() 10 4.071e-05 4.071e-05 4.071e-05 0.00% StateData::define() 4 4.04e-05 4.04e-05 4.04e-05 0.00% Castro::finalize_do_advance() 10 3.816e-05 3.816e-05 3.816e-05 0.00% makeSFC 55 3.757e-05 3.757e-05 3.757e-05 0.00% Castro::enforce_consistent_e() 1 3.363e-05 3.363e-05 3.363e-05 0.00% Amr::writeSmallPlotFile() 1 2.413e-05 2.413e-05 2.413e-05 0.00% Castro::initMFs() 1 2.359e-05 2.359e-05 2.359e-05 0.00% DistributionMapping::Distribute() 56 1.422e-05 1.422e-05 1.422e-05 0.00% Amr::initSubcycle() 1 8.801e-06 8.801e-06 8.801e-06 0.00% Gravity::set_mass_offset() 11 4.541e-06 4.541e-06 4.541e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.52e-06 4.52e-06 4.52e-06 0.00% Castro::retry_advance_ctu() 10 4.407e-06 4.407e-06 4.407e-06 0.00% AmrLevel::checkPointPost() 3 4.232e-06 4.232e-06 4.232e-06 0.00% AmrLevel::checkPointPre() 3 3.292e-06 3.292e-06 3.292e-06 0.00% Castro::FluxRegCrseInit 10 2.668e-06 2.668e-06 2.668e-06 0.00% Castro::FluxRegFineAdd() 10 2.009e-06 2.009e-06 2.009e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.001e-06 2.001e-06 2.001e-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 93 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 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1050 KiB 39 MiB Castro::initialize_do_advance() 80 80 23 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2047 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3374 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1707 B 2048 KiB Gravity::solve_for_phi() 80 80 539 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 83 KiB 2048 KiB BndryData::define() 1056 1056 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 2976 B 480 KiB VisMF::Write(FabArray) 656 656 3233 B 320 KiB Castro::normalize_species() 62 62 5483 B 320 KiB amrex::average_down 1054 1054 1216 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1098 B 257 KiB amrex::Dot() 1343 1343 3258 B 160 KiB FabArray::norminf() 896 896 2271 B 160 KiB Castro::do_advance_ctu() 10 10 551 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3297 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 8758 8758 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3820 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 114 B 1472 B MLCellLinOp::defineBC() 66 66 347 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 553 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 595 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3298 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 285 B 9648 B MLCellLinOp::applyBC() 4379 4379 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3820 B 6144 B Gravity::get_new_grav_vector() 3 3 2923 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 47 B 2688 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 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 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): 2459 [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.03-13-g254d3faba017) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-13-g254d3faba017) initialized Starting run at 09:09:02 UTC on 2023-03-17. Successfully read inputs file ... Castro git describe: 23.03-9-ge8cab45ef AMReX git describe: 23.03-13-g254d3faba Microphysics git describe: 23.03-17-g49f8ea1e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.463119711 Restart time = 0.047609392 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048222941 [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.046358286 [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.04739175 [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.054739582 [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.06111176 [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.033481566 seconds Ending run at 09:09:03 UTC on 2023-03-17. Run time = 0.339914159 Run time without initialization = 0.291713341 Average number of zones advanced per microsecond: 4.493 Average number of zones advanced per microsecond per rank: 4.493 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3399 ... 0.3399 ... 0.3399 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0819 0.0819 0.0819 24.10% VisMF::Read() 3 0.04131 0.04131 0.04131 12.15% MLCellLinOp::applyBC() 1946 0.03342 0.03342 0.03342 9.83% VisMF::Write(FabArray) 1 0.03193 0.03193 0.03193 9.39% MLPoisson::Fsmooth() 1440 0.01417 0.01417 0.01417 4.17% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 3.75% StateData::FillBoundary(geom) 160 0.0118 0.0118 0.0118 3.47% amrex::Dot() 484 0.008828 0.008828 0.008828 2.60% amrex::Copy() 463 0.006964 0.006964 0.006964 2.05% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.84% FabArray::norminf() 326 0.006222 0.006222 0.006222 1.83% Castro::normalize_species() 30 0.00614 0.00614 0.00614 1.81% FabArray::ParallelCopy_nowait() 380 0.006093 0.006093 0.006093 1.79% Castro::computeTemp() 30 0.005722 0.005722 0.005722 1.68% MLCellLinOp::defineAuxData() 6 0.005192 0.005192 0.005192 1.53% StateDataPhysBCFunct::() 20 0.005167 0.005167 0.005167 1.52% MLPoisson::Fapply() 500 0.004485 0.004485 0.004485 1.32% FabArray::Saxpy() 355 0.003628 0.003628 0.003628 1.07% FabArray::Xpay() 361 0.003526 0.003526 0.003526 1.04% Castro::estTimeStep() 10 0.003027 0.003027 0.003027 0.89% Gravity::fill_multipole_BCs() 6 0.002994 0.002994 0.002994 0.88% MLMG::addInterpCorrection() 180 0.002982 0.002982 0.002982 0.88% amrex::average_down 180 0.002616 0.002616 0.002616 0.77% Amr::restart() 1 0.002543 0.002543 0.002543 0.75% Castro::enforce_min_density() 30 0.002391 0.002391 0.002391 0.70% BndryData::define() 6 0.002046 0.002046 0.002046 0.60% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.57% amrex::Add() 72 0.001866 0.001866 0.001866 0.55% Castro::reset_internal_energy(MultiFab) 30 0.001846 0.001846 0.001846 0.54% Castro::construct_new_gravity_source() 5 0.00164 0.00164 0.00164 0.48% Amr::writePlotFile() 1 0.001384 0.001384 0.001384 0.41% Castro::construct_old_gravity_source() 5 0.001343 0.001343 0.001343 0.39% Castro::do_advance_ctu() 5 0.001202 0.001202 0.001202 0.35% MLCGSolver::bicgstab 36 0.001002 0.001002 0.001002 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009229 0.0009229 0.0009229 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007866 0.0007866 0.0007866 0.23% Castro::enforce_speed_limit() 30 0.0007573 0.0007573 0.0007573 0.22% MLCellLinOp::setLevelBC() 6 0.0007452 0.0007452 0.0007452 0.22% Castro::reset_internal_energy(Fab) 240 0.0006899 0.0006899 0.0006899 0.20% FabArray::mult() 22 0.0006459 0.0006459 0.0006459 0.19% FabArray::setDomainBndry() 20 0.000643 0.000643 0.000643 0.19% MLCellLinOp::prepareForSolve() 6 0.0006121 0.0006121 0.0006121 0.18% MultiFab::contains_nan() 10 0.0005954 0.0005954 0.0005954 0.18% MLCellLinOp::smooth() 720 0.0005107 0.0005107 0.0005107 0.15% MLCellLinOp::compGrad() 6 0.000492 0.000492 0.000492 0.14% MLMG::prepareForSolve() 6 0.0004817 0.0004817 0.0004817 0.14% FabArrayBase::CPC::define() 244 0.0004086 0.0004086 0.0004086 0.12% Amr::InitAmr() 1 0.0004074 0.0004074 0.0004074 0.12% FabArray::FillBoundary() 1766 0.0003654 0.0003654 0.0003654 0.11% FabArrayBase::getCPC() 632 0.0003409 0.0003409 0.0003409 0.10% Gravity::get_old_grav_vector() 5 0.0003026 0.0003026 0.0003026 0.09% main() 1 0.0002815 0.0002815 0.0002815 0.08% Gravity::get_new_grav_vector() 5 0.0002714 0.0002714 0.0002714 0.08% FabArrayBase::getFB() 1766 0.000258 0.000258 0.000258 0.08% MLCellLinOp::apply() 500 0.0002157 0.0002157 0.0002157 0.06% MLMG::mgVcycle() 36 0.000173 0.000173 0.000173 0.05% Amr::coarseTimeStep() 5 0.0001622 0.0001622 0.0001622 0.05% MLLinOp::defineGrids() 6 0.0001567 0.0001567 0.0001567 0.05% MultiFab::max() 6 0.0001366 0.0001366 0.0001366 0.04% MLCGSolver::ParallelAllReduce 659 0.0001325 0.0001325 0.0001325 0.04% FillPatchIterator::Initialize 20 0.0001178 0.0001178 0.0001178 0.03% MLCellLinOp::defineBC() 6 0.0001158 0.0001158 0.0001158 0.03% FabArray::ParallelCopy() 380 0.0001079 0.0001079 0.0001079 0.03% MLCellLinOp::correctionResidual() 216 9.437e-05 9.437e-05 9.437e-05 0.03% Amr::timeStep() 5 8.716e-05 8.716e-05 8.716e-05 0.03% AmrLevel::restart() 1 8.214e-05 8.214e-05 8.214e-05 0.02% Castro::subcycle_advance_ctu() 5 7.917e-05 7.917e-05 7.917e-05 0.02% StateData::restartDoit() 4 6.867e-05 6.867e-05 6.867e-05 0.02% Gravity::update_max_rhs() 6 6.035e-05 6.035e-05 6.035e-05 0.02% FabArrayBase::FB::FB() 26 5.893e-05 5.893e-05 5.893e-05 0.02% Gravity::solve_for_phi() 5 5.743e-05 5.743e-05 5.743e-05 0.02% Castro::advance() 5 5.637e-05 5.637e-05 5.637e-05 0.02% MLMG:computeResOfCorrection() 180 5.195e-05 5.195e-05 5.195e-05 0.02% Castro::expand_state() 5 4.23e-05 4.23e-05 4.23e-05 0.01% MLMG::mgVcycle_down::0 36 4.068e-05 4.068e-05 4.068e-05 0.01% MLMG::actualBottomSolve() 36 3.939e-05 3.939e-05 3.939e-05 0.01% MLMG::mgVcycle_down::2 36 3.776e-05 3.776e-05 3.776e-05 0.01% MLMG::mgVcycle_down::1 36 3.751e-05 3.751e-05 3.751e-05 0.01% Castro::clean_state() 30 3.749e-05 3.749e-05 3.749e-05 0.01% MLMG::solve() 6 3.587e-05 3.587e-05 3.587e-05 0.01% Castro::initialize_advance() 5 3.539e-05 3.539e-05 3.539e-05 0.01% MLMG::mgVcycle_down::4 36 3.409e-05 3.409e-05 3.409e-05 0.01% MLMG::mgVcycle_down::3 36 3.288e-05 3.288e-05 3.288e-05 0.01% MLMG::mgVcycle_up::4 36 3.061e-05 3.061e-05 3.061e-05 0.01% Castro::finalize_advance() 5 2.927e-05 2.927e-05 2.927e-05 0.01% Castro::buildMetrics() 1 2.878e-05 2.878e-05 2.878e-05 0.01% Castro::initMFs() 1 2.736e-05 2.736e-05 2.736e-05 0.01% Castro::initialize_do_advance() 5 2.651e-05 2.651e-05 2.651e-05 0.01% Amr::writeSmallPlotFile() 1 2.541e-05 2.541e-05 2.541e-05 0.01% MLMG::mgVcycle_up::0 36 2.519e-05 2.519e-05 2.519e-05 0.01% Castro::create_source_corrector() 5 2.362e-05 2.362e-05 2.362e-05 0.01% Castro::swap_state_time_levels() 5 2.34e-05 2.34e-05 2.34e-05 0.01% MLMG::mgVcycle_up::3 36 2.325e-05 2.325e-05 2.325e-05 0.01% MLMG::mgVcycle_up::2 36 2.316e-05 2.316e-05 2.316e-05 0.01% MLCellLinOp::solutionResidual() 42 2.316e-05 2.316e-05 2.316e-05 0.01% MLMG::oneIter() 36 2.312e-05 2.312e-05 2.312e-05 0.01% MLMG::mgVcycle_up::1 36 2.247e-05 2.247e-05 2.247e-05 0.01% Castro::finalize_do_advance() 5 2.043e-05 2.043e-05 2.043e-05 0.01% Castro::post_restart() 1 2.01e-05 2.01e-05 2.01e-05 0.01% MLMG::ResNormInf() 42 1.749e-05 1.749e-05 1.749e-05 0.01% MLMG::mgVcycle_bottom 36 1.541e-05 1.541e-05 1.541e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.53e-05 1.53e-05 1.53e-05 0.00% FillPatchSingleLevel 20 1.5e-05 1.5e-05 1.5e-05 0.00% MLPoisson::define() 6 1.434e-05 1.434e-05 1.434e-05 0.00% MLMG::computeResidual() 36 1.359e-05 1.359e-05 1.359e-05 0.00% makeSFC 30 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::construct_new_gravity() 5 1.3e-05 1.3e-05 1.3e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.235e-05 1.235e-05 1.235e-05 0.00% Castro::construct_old_source() 25 1.035e-05 1.035e-05 1.035e-05 0.00% MLPoisson::prepareForSolve() 6 9.882e-06 9.882e-06 9.882e-06 0.00% Castro::construct_new_source() 25 9.117e-06 9.117e-06 9.117e-06 0.00% DistributionMapping::Distribute() 31 9.012e-06 9.012e-06 9.012e-06 0.00% Castro::do_new_sources() 5 8.947e-06 8.947e-06 8.947e-06 0.00% Amr::initSubcycle() 1 8.75e-06 8.75e-06 8.75e-06 0.00% Castro::do_old_sources() 5 8.323e-06 8.323e-06 8.323e-06 0.00% Gravity::actual_multilevel_solve() 1 7.632e-06 7.632e-06 7.632e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.297e-06 7.297e-06 7.297e-06 0.00% MLLinOp::define() 6 5.742e-06 5.742e-06 5.742e-06 0.00% Castro::check_for_nan() 10 5.504e-06 5.504e-06 5.504e-06 0.00% Castro::construct_old_gravity() 5 5.327e-06 5.327e-06 5.327e-06 0.00% Castro::apply_source_to_state() 10 5.274e-06 5.274e-06 5.274e-06 0.00% Castro::post_timestep() 5 4.955e-06 4.955e-06 4.955e-06 0.00% Castro::computeNewDt() 5 4.175e-06 4.175e-06 4.175e-06 0.00% Gravity::swapTimeLevels() 5 3.984e-06 3.984e-06 3.984e-06 0.00% MLMG::computeMLResidual() 6 3.46e-06 3.46e-06 3.46e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.132e-06 3.132e-06 3.132e-06 0.00% MLMG::getGradSolution() 6 2.977e-06 2.977e-06 2.977e-06 0.00% MLMG::MLResNormInf() 6 2.273e-06 2.273e-06 2.273e-06 0.00% Gravity::set_mass_offset() 6 2.158e-06 2.158e-06 2.158e-06 0.00% MLMG::MLRhsNormInf() 6 2.082e-06 2.082e-06 2.082e-06 0.00% Castro::retry_advance_ctu() 5 1.72e-06 1.72e-06 1.72e-06 0.00% Castro::FluxRegCrseInit 5 1.552e-06 1.552e-06 1.552e-06 0.00% Castro::FluxRegFineAdd() 5 1.156e-06 1.156e-06 1.156e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.082e-06 1.082e-06 1.082e-06 0.00% Amr::init() 1 9.16e-07 9.16e-07 9.16e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3399 0.3399 0.3399 100.00% Amr::coarseTimeStep() 5 0.258 0.258 0.258 75.89% Amr::timeStep() 5 0.2556 0.2556 0.2556 75.17% Castro::advance() 5 0.253 0.253 0.253 74.41% Castro::subcycle_advance_ctu() 5 0.2474 0.2474 0.2474 72.77% Castro::do_advance_ctu() 5 0.2473 0.2473 0.2473 72.75% Castro::construct_new_gravity() 5 0.13 0.13 0.13 38.25% Gravity::solve_phi_with_mlmg() 6 0.1254 0.1254 0.1254 36.90% Gravity::solve_for_phi() 5 0.1224 0.1224 0.1224 36.00% Gravity::actual_solve_with_mlmg() 6 0.1222 0.1222 0.1222 35.94% MLMG::solve() 6 0.111 0.111 0.111 32.66% MLMG::oneIter() 36 0.1041 0.1041 0.1041 30.63% MLMG::mgVcycle() 36 0.1026 0.1026 0.1026 30.18% Castro::construct_ctu_hydro_source() 5 0.08194 0.08194 0.08194 24.10% MLCellLinOp::smooth() 720 0.05025 0.05025 0.05025 14.78% Amr::init() 1 0.04765 0.04765 0.04765 14.02% Amr::restart() 1 0.04765 0.04765 0.04765 14.02% MLCellLinOp::applyBC() 1946 0.04685 0.04685 0.04685 13.78% AmrLevel::restart() 1 0.04152 0.04152 0.04152 12.21% StateData::restartDoit() 4 0.04144 0.04144 0.04144 12.19% VisMF::Read() 3 0.04131 0.04131 0.04131 12.15% Amr::writePlotFile() 1 0.03357 0.03357 0.03357 9.88% VisMF::Write(FabArray) 1 0.03193 0.03193 0.03193 9.39% MLMG::mgVcycle_bottom 36 0.03177 0.03177 0.03177 9.34% MLMG::actualBottomSolve() 36 0.03175 0.03175 0.03175 9.34% MLCGSolver::bicgstab 36 0.03145 0.03145 0.03145 9.25% FillPatchIterator::Initialize 20 0.01976 0.01976 0.01976 5.81% FillPatchSingleLevel 20 0.019 0.019 0.019 5.59% Castro::clean_state() 30 0.01758 0.01758 0.01758 5.17% StateDataPhysBCFunct::() 20 0.01696 0.01696 0.01696 4.99% MLCellLinOp::apply() 500 0.01572 0.01572 0.01572 4.62% MLMG::mgVcycle_down::0 36 0.01432 0.01432 0.01432 4.21% MLPoisson::Fsmooth() 1440 0.01417 0.01417 0.01417 4.17% FabArray::FillBoundary() 1766 0.01343 0.01343 0.01343 3.95% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.84% StateData::FillBoundary(geom) 160 0.0118 0.0118 0.0118 3.47% MLMG::mgVcycle_up::0 36 0.01082 0.01082 0.01082 3.18% MLCellLinOp::correctionResidual() 216 0.00952 0.00952 0.00952 2.80% Castro::initialize_do_advance() 5 0.009136 0.009136 0.009136 2.69% MLPoisson::define() 6 0.008854 0.008854 0.008854 2.60% amrex::Dot() 484 0.008828 0.008828 0.008828 2.60% MLMG:computeResOfCorrection() 180 0.008364 0.008364 0.008364 2.46% Castro::computeTemp() 30 0.008258 0.008258 0.008258 2.43% Gravity::get_new_grav_vector() 5 0.007525 0.007525 0.007525 2.21% Castro::construct_old_gravity() 5 0.007407 0.007407 0.007407 2.18% Gravity::get_old_grav_vector() 5 0.007402 0.007402 0.007402 2.18% amrex::Copy() 463 0.006964 0.006964 0.006964 2.05% MLMG::mgVcycle_down::1 36 0.006835 0.006835 0.006835 2.01% FabArray::ParallelCopy() 380 0.00658 0.00658 0.00658 1.94% FabArray::ParallelCopy_nowait() 380 0.006472 0.006472 0.006472 1.90% MLMG::mgVcycle_down::2 36 0.006395 0.006395 0.006395 1.88% Castro::do_new_sources() 5 0.006275 0.006275 0.006275 1.85% FabArray::setVal() 537 0.006255 0.006255 0.006255 1.84% MLMG::mgVcycle_down::3 36 0.006254 0.006254 0.006254 1.84% MLMG::mgVcycle_down::4 36 0.006229 0.006229 0.006229 1.83% FabArray::norminf() 326 0.006222 0.006222 0.006222 1.83% Castro::normalize_species() 30 0.00614 0.00614 0.00614 1.81% MLCellLinOp::defineAuxData() 6 0.005918 0.005918 0.005918 1.74% Castro::expand_state() 5 0.005532 0.005532 0.005532 1.63% MLCGSolver::ParallelAllReduce 659 0.005339 0.005339 0.005339 1.57% MLMG::addInterpCorrection() 180 0.005257 0.005257 0.005257 1.55% Castro::initialize_advance() 5 0.005239 0.005239 0.005239 1.54% MLMG::mgVcycle_up::4 36 0.00506 0.00506 0.00506 1.49% MLMG::mgVcycle_up::1 36 0.00499 0.00499 0.00499 1.47% MLMG::mgVcycle_up::2 36 0.004906 0.004906 0.004906 1.44% amrex::average_down 180 0.004897 0.004897 0.004897 1.44% MLMG::mgVcycle_up::3 36 0.004832 0.004832 0.004832 1.42% MLPoisson::Fapply() 500 0.004485 0.004485 0.004485 1.32% Castro::do_old_sources() 5 0.004168 0.004168 0.004168 1.23% FabArray::Saxpy() 355 0.003628 0.003628 0.003628 1.07% FabArray::Xpay() 361 0.003526 0.003526 0.003526 1.04% Castro::post_restart() 1 0.003397 0.003397 0.003397 1.00% Gravity::multilevel_solve_for_new_phi() 1 0.003287 0.003287 0.003287 0.97% Gravity::actual_multilevel_solve() 1 0.003271 0.003271 0.003271 0.96% MLCellLinOp::solutionResidual() 42 0.003237 0.003237 0.003237 0.95% Gravity::fill_multipole_BCs() 6 0.003153 0.003153 0.003153 0.93% Castro::estTimeStep() 10 0.003027 0.003027 0.003027 0.89% MLCellLinOp::defineBC() 6 0.00273 0.00273 0.00273 0.80% MLMG::computeResidual() 36 0.002679 0.002679 0.002679 0.79% BndryData::define() 6 0.002614 0.002614 0.002614 0.77% MLMG::prepareForSolve() 6 0.002539 0.002539 0.002539 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002536 0.002536 0.002536 0.75% Castro::post_timestep() 5 0.0025 0.0025 0.0025 0.74% Castro::enforce_min_density() 30 0.002391 0.002391 0.002391 0.70% Castro::computeNewDt() 5 0.002264 0.002264 0.002264 0.67% FabArray::LinComb() 242 0.001932 0.001932 0.001932 0.57% amrex::Add() 72 0.001866 0.001866 0.001866 0.55% Castro::construct_new_source() 25 0.001649 0.001649 0.001649 0.48% Castro::construct_new_gravity_source() 5 0.00164 0.00164 0.00164 0.48% Castro::construct_old_source() 25 0.001353 0.001353 0.001353 0.40% Castro::construct_old_gravity_source() 5 0.001343 0.001343 0.001343 0.39% MLMG::ResNormInf() 42 0.0009272 0.0009272 0.0009272 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009229 0.0009229 0.0009229 0.27% Castro::apply_source_to_state() 10 0.0009176 0.0009176 0.0009176 0.27% MLMG::getGradSolution() 6 0.0007597 0.0007597 0.0007597 0.22% Castro::enforce_speed_limit() 30 0.0007573 0.0007573 0.0007573 0.22% MLCellLinOp::compGrad() 6 0.0007567 0.0007567 0.0007567 0.22% FabArrayBase::getCPC() 632 0.0007494 0.0007494 0.0007494 0.22% MLCellLinOp::setLevelBC() 6 0.0007452 0.0007452 0.0007452 0.22% Castro::reset_internal_energy(Fab) 240 0.0006899 0.0006899 0.0006899 0.20% FabArray::mult() 22 0.0006459 0.0006459 0.0006459 0.19% FabArray::setDomainBndry() 20 0.000643 0.000643 0.000643 0.19% MLPoisson::prepareForSolve() 6 0.000622 0.000622 0.000622 0.18% MLCellLinOp::prepareForSolve() 6 0.0006121 0.0006121 0.0006121 0.18% Castro::check_for_nan() 10 0.0006009 0.0006009 0.0006009 0.18% MultiFab::contains_nan() 10 0.0005954 0.0005954 0.0005954 0.18% MLMG::computeMLResidual() 6 0.0005751 0.0005751 0.0005751 0.17% Gravity::update_max_rhs() 6 0.0004432 0.0004432 0.0004432 0.13% Amr::InitAmr() 1 0.0004162 0.0004162 0.0004162 0.12% FabArrayBase::CPC::define() 244 0.0004086 0.0004086 0.0004086 0.12% FabArrayBase::getFB() 1766 0.0003169 0.0003169 0.0003169 0.09% Castro::finalize_advance() 5 0.0002905 0.0002905 0.0002905 0.09% Gravity::swapTimeLevels() 5 0.0002253 0.0002253 0.0002253 0.07% MLLinOp::define() 6 0.0001917 0.0001917 0.0001917 0.06% MLLinOp::defineGrids() 6 0.0001859 0.0001859 0.0001859 0.05% Castro::buildMetrics() 1 0.0001605 0.0001605 0.0001605 0.05% MLMG::MLResNormInf() 6 0.0001505 0.0001505 0.0001505 0.04% MultiFab::max() 6 0.0001366 0.0001366 0.0001366 0.04% MLMG::MLRhsNormInf() 6 0.0001173 0.0001173 0.0001173 0.03% FabArrayBase::FB::FB() 26 5.893e-05 5.893e-05 5.893e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.809e-05 2.809e-05 2.809e-05 0.01% Castro::initMFs() 1 2.736e-05 2.736e-05 2.736e-05 0.01% Amr::writeSmallPlotFile() 1 2.541e-05 2.541e-05 2.541e-05 0.01% Castro::create_source_corrector() 5 2.362e-05 2.362e-05 2.362e-05 0.01% Castro::swap_state_time_levels() 5 2.34e-05 2.34e-05 2.34e-05 0.01% makeSFC 30 2.079e-05 2.079e-05 2.079e-05 0.01% Castro::finalize_do_advance() 5 2.043e-05 2.043e-05 2.043e-05 0.01% DistributionMapping::Distribute() 31 9.012e-06 9.012e-06 9.012e-06 0.00% Amr::initSubcycle() 1 8.75e-06 8.75e-06 8.75e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.438e-06 4.438e-06 4.438e-06 0.00% Gravity::set_mass_offset() 6 2.158e-06 2.158e-06 2.158e-06 0.00% Castro::retry_advance_ctu() 5 1.72e-06 1.72e-06 1.72e-06 0.00% Castro::FluxRegCrseInit 5 1.552e-06 1.552e-06 1.552e-06 0.00% Castro::FluxRegFineAdd() 5 1.156e-06 1.156e-06 1.156e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.082e-06 1.082e-06 1.082e-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 259 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 101 MiB 692 MiB Castro::initMFs() 48 48 58 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1263 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2761 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6573 KiB 14 MiB MLMG::prepareForSolve() 361 361 4009 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 225 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 226 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6568 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2521 B 2048 KiB Gravity::solve_for_phi() 40 40 735 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 368 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 236 KiB 671 KiB Castro::estTimeStep() 10 10 4209 B 480 KiB VisMF::Write(FabArray) 112 112 1474 B 320 KiB Castro::normalize_species() 30 30 5864 B 320 KiB amrex::average_down 469 469 1363 B 257 KiB MLMG::addInterpCorrection() 468 468 1311 B 257 KiB amrex::Dot() 592 592 3818 B 160 KiB FabArray::norminf() 398 398 2699 B 160 KiB Castro::do_advance_ctu() 5 5 541 B 160 KiB MultiFab::max() 6 6 61 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3899 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 325 B 9648 B MLCellLinOp::applyBC() 3892 3892 253 B 9344 B amrex::Copy() 56 56 5908 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 134 B 1472 B MLCellLinOp::defineBC() 36 36 414 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1558 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 133 KiB 8192 KiB VisMF::Write(FabArray) 120 120 289 KiB 3584 KiB VisMF::Read() 24 24 226 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3899 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 325 B 9648 B MLCellLinOp::applyBC() 1946 1946 251 B 9328 B amrex::Copy() 56 56 5908 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2584 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 48 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 568 B 1296 B amrex::average_down 37 37 217 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.03-13-g254d3faba017) finalized