Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-19-ga54fee8706c8) initialized Starting run at 07:40:34 UTC on 2023-04-11. Successfully read inputs file ... Castro git describe: 23.04-6-gc2542242e AMReX git describe: 23.04-19-ga54fee870 Microphysics git describe: 23.04-4-gabda4ae3 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.056928942 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.03256018 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046849905 [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.048424687 [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.048643496 [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.064920508 [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.061850589 [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.056568118 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.058205947 [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.066199519 [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.067804013 [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.058408575 [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.047263688 [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.056225989 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032368399 seconds Ending run at 07:40:35 UTC on 2023-04-11. Run time = 0.85210131 Run time without initialization = 0.714392148 Average number of zones advanced per microsecond: 3.669 Average number of zones advanced per microsecond per rank: 3.669 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8521 ... 0.8521 ... 0.8521 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2277 0.2277 0.2277 26.72% Castro::construct_ctu_hydro_source() 10 0.2132 0.2132 0.2132 25.02% MLCellLinOp::applyBC() 4379 0.07495 0.07495 0.07495 8.80% MLPoisson::Fsmooth() 3240 0.03145 0.03145 0.03145 3.69% FillBoundary_nowait() 3974 0.03057 0.03057 0.03057 3.59% StateData::FillBoundary(geom) 328 0.02415 0.02415 0.02415 2.83% amrex::Dot() 1100 0.01989 0.01989 0.01989 2.33% Castro::normalize_species() 62 0.01611 0.01611 0.01611 1.89% Castro::computeTemp() 63 0.0151 0.0151 0.0151 1.77% amrex::Copy() 1019 0.01458 0.01458 0.01458 1.71% FabArray::norminf() 734 0.01392 0.01392 0.01392 1.63% FabArray::ParallelCopy_nowait() 851 0.01301 0.01301 0.01301 1.53% StateDataPhysBCFunct::() 41 0.01292 0.01292 0.01292 1.52% FabArray::setVal() 1135 0.0129 0.0129 0.0129 1.51% MLPoisson::Fapply() 1128 0.01007 0.01007 0.01007 1.18% MLCellLinOp::defineAuxData() 11 0.00945 0.00945 0.00945 1.11% Castro::enforce_min_density() 62 0.009444 0.009444 0.009444 1.11% FabArray::Saxpy() 803 0.007934 0.007934 0.007934 0.93% FabArray::Xpay() 811 0.007897 0.007897 0.007897 0.93% MLMG::addInterpCorrection() 405 0.006649 0.006649 0.006649 0.78% Gravity::fill_multipole_BCs() 11 0.006545 0.006545 0.006545 0.77% amrex::average_down 405 0.005753 0.005753 0.005753 0.68% Castro::estTimeStep() 21 0.005358 0.005358 0.005358 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005092 0.005092 0.005092 0.60% FabArray::LinComb() 550 0.004401 0.004401 0.004401 0.52% amrex::Add() 162 0.004333 0.004333 0.004333 0.51% Amr::checkPoint() 3 0.004103 0.004103 0.004103 0.48% BndryData::define() 11 0.003543 0.003543 0.003543 0.42% Castro::construct_new_gravity_source() 10 0.003087 0.003087 0.003087 0.36% Castro::do_advance_ctu() 10 0.002802 0.002802 0.002802 0.33% Castro::construct_old_gravity_source() 10 0.002616 0.002616 0.002616 0.31% Amr::writePlotFile() 2 0.002405 0.002405 0.002405 0.28% MLCGSolver::bicgstab 81 0.002096 0.002096 0.002096 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001657 0.001657 0.001657 0.19% Castro::reset_internal_energy(Fab) 504 0.001537 0.001537 0.001537 0.18% Gravity::actual_solve_with_mlmg() 11 0.001477 0.001477 0.001477 0.17% MLCellLinOp::setLevelBC() 11 0.001361 0.001361 0.001361 0.16% FabArray::mult() 43 0.001312 0.001312 0.001312 0.15% Castro::initData() 1 0.001287 0.001287 0.001287 0.15% FabArray::setDomainBndry() 41 0.001284 0.001284 0.001284 0.15% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% Castro::enforce_speed_limit() 62 0.001124 0.001124 0.001124 0.13% MLCellLinOp::smooth() 1620 0.001118 0.001118 0.001118 0.13% MLCellLinOp::prepareForSolve() 11 0.0011 0.0011 0.0011 0.13% Castro::subcycle_advance_ctu() 10 0.0009584 0.0009584 0.0009584 0.11% MLCellLinOp::compGrad() 11 0.0008999 0.0008999 0.0008999 0.11% MLMG::prepareForSolve() 11 0.0008706 0.0008706 0.0008706 0.10% FabArray::FillBoundary() 3974 0.0008159 0.0008159 0.0008159 0.10% FabArrayBase::getCPC() 1313 0.0007041 0.0007041 0.0007041 0.08% FabArrayBase::CPC::define() 454 0.0006584 0.0006584 0.0006584 0.08% Gravity::get_new_grav_vector() 11 0.0006374 0.0006374 0.0006374 0.07% FabArrayBase::getFB() 3974 0.0005817 0.0005817 0.0005817 0.07% Gravity::get_old_grav_vector() 10 0.0005492 0.0005492 0.0005492 0.06% Amr::InitAmr() 1 0.0005026 0.0005026 0.0005026 0.06% MLCellLinOp::apply() 1128 0.0004375 0.0004375 0.0004375 0.05% MLLinOp::defineGrids() 11 0.0003986 0.0003986 0.0003986 0.05% MLMG::mgVcycle() 81 0.000378 0.000378 0.000378 0.04% Amr::coarseTimeStep() 10 0.0003474 0.0003474 0.0003474 0.04% main() 1 0.0002906 0.0002906 0.0002906 0.03% MLCGSolver::ParallelAllReduce 1495 0.0002847 0.0002847 0.0002847 0.03% MultiFab::max() 11 0.0002581 0.0002581 0.0002581 0.03% FabArray::ParallelCopy() 851 0.0002371 0.0002371 0.0002371 0.03% FillPatchIterator::Initialize 41 0.0002346 0.0002346 0.0002346 0.03% MLCellLinOp::correctionResidual() 486 0.0002176 0.0002176 0.0002176 0.03% MLCellLinOp::defineBC() 11 0.0002175 0.0002175 0.0002175 0.03% Castro::create_source_corrector() 10 0.0001762 0.0001762 0.0001762 0.02% Amr::timeStep() 10 0.0001753 0.0001753 0.0001753 0.02% StateData::checkPoint() 12 0.0001394 0.0001394 0.0001394 0.02% Gravity::update_max_rhs() 11 0.0001236 0.0001236 0.0001236 0.01% MLMG:computeResOfCorrection() 405 0.0001117 0.0001117 0.0001117 0.01% Gravity::solve_for_phi() 10 0.0001082 0.0001082 0.0001082 0.01% Castro::Castro() 1 9.073e-05 9.073e-05 9.073e-05 0.01% MLMG::mgVcycle_down::0 81 8.549e-05 8.549e-05 8.549e-05 0.01% FabArrayBase::FB::FB() 56 8.514e-05 8.514e-05 8.514e-05 0.01% AmrLevel::checkPoint() 3 7.979e-05 7.979e-05 7.979e-05 0.01% Castro::expand_state() 10 7.905e-05 7.905e-05 7.905e-05 0.01% MLMG::actualBottomSolve() 81 7.89e-05 7.89e-05 7.89e-05 0.01% MLMG::mgVcycle_down::1 81 7.58e-05 7.58e-05 7.58e-05 0.01% MLMG::mgVcycle_down::2 81 7.407e-05 7.407e-05 7.407e-05 0.01% Castro::clean_state() 62 7.325e-05 7.325e-05 7.325e-05 0.01% MLMG::solve() 11 7.297e-05 7.297e-05 7.297e-05 0.01% Castro::initialize_advance() 10 7.173e-05 7.173e-05 7.173e-05 0.01% Castro::finalize_advance() 10 6.985e-05 6.985e-05 6.985e-05 0.01% MLMG::mgVcycle_down::3 81 6.879e-05 6.879e-05 6.879e-05 0.01% MLMG::mgVcycle_down::4 81 6.726e-05 6.726e-05 6.726e-05 0.01% MLMG::mgVcycle_up::4 81 5.935e-05 5.935e-05 5.935e-05 0.01% Castro::advance() 10 5.9e-05 5.9e-05 5.9e-05 0.01% MLMG::mgVcycle_up::0 81 5.412e-05 5.412e-05 5.412e-05 0.01% MLCellLinOp::solutionResidual() 92 5.278e-05 5.278e-05 5.278e-05 0.01% MLMG::mgVcycle_up::3 81 5.184e-05 5.184e-05 5.184e-05 0.01% MLMG::oneIter() 81 5.154e-05 5.154e-05 5.154e-05 0.01% Castro::initialize_do_advance() 10 5.125e-05 5.125e-05 5.125e-05 0.01% MLMG::mgVcycle_up::2 81 5.04e-05 5.04e-05 5.04e-05 0.01% MLMG::mgVcycle_up::1 81 5.022e-05 5.022e-05 5.022e-05 0.01% Castro::construct_new_source() 50 4.242e-05 4.242e-05 4.242e-05 0.00% Castro::swap_state_time_levels() 10 3.774e-05 3.774e-05 3.774e-05 0.00% Castro::finalize_do_advance() 10 3.598e-05 3.598e-05 3.598e-05 0.00% StateData::define() 4 3.507e-05 3.507e-05 3.507e-05 0.00% MLMG::ResNormInf() 92 3.358e-05 3.358e-05 3.358e-05 0.00% Castro::enforce_consistent_e() 1 3.195e-05 3.195e-05 3.195e-05 0.00% MLMG::computeResidual() 81 3.186e-05 3.186e-05 3.186e-05 0.00% Amr::writeSmallPlotFile() 1 3.172e-05 3.172e-05 3.172e-05 0.00% MLMG::mgVcycle_bottom 81 3.01e-05 3.01e-05 3.01e-05 0.00% FillPatchSingleLevel 41 2.933e-05 2.933e-05 2.933e-05 0.00% Castro::construct_new_gravity() 10 2.666e-05 2.666e-05 2.666e-05 0.00% MLPoisson::define() 11 2.436e-05 2.436e-05 2.436e-05 0.00% makeSFC 55 2.37e-05 2.37e-05 2.37e-05 0.00% Castro::initMFs() 1 2.328e-05 2.328e-05 2.328e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.114e-05 2.114e-05 2.114e-05 0.00% Amr::FinalizeInit() 1 2.015e-05 2.015e-05 2.015e-05 0.00% Amr::defBaseLevel() 1 1.856e-05 1.856e-05 1.856e-05 0.00% Castro::construct_old_source() 50 1.829e-05 1.829e-05 1.829e-05 0.00% Castro::do_new_sources() 10 1.778e-05 1.778e-05 1.778e-05 0.00% Castro::buildMetrics() 1 1.713e-05 1.713e-05 1.713e-05 0.00% Castro::do_old_sources() 10 1.692e-05 1.692e-05 1.692e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.61e-05 1.61e-05 1.61e-05 0.00% DistributionMapping::Distribute() 56 1.426e-05 1.426e-05 1.426e-05 0.00% MLPoisson::prepareForSolve() 11 1.407e-05 1.407e-05 1.407e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.372e-05 1.372e-05 1.372e-05 0.00% MLMG::computeMLResidual() 11 1.368e-05 1.368e-05 1.368e-05 0.00% Amr::initSubcycle() 1 1.129e-05 1.129e-05 1.129e-05 0.00% Castro::check_for_nan() 20 1.102e-05 1.102e-05 1.102e-05 0.00% MLLinOp::define() 11 1.077e-05 1.077e-05 1.077e-05 0.00% Castro::apply_source_to_state() 20 1.043e-05 1.043e-05 1.043e-05 0.00% Castro::construct_old_gravity() 10 9.941e-06 9.941e-06 9.941e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.831e-06 9.831e-06 9.831e-06 0.00% Gravity::set_mass_offset() 11 8.987e-06 8.987e-06 8.987e-06 0.00% Gravity::swapTimeLevels() 10 8.872e-06 8.872e-06 8.872e-06 0.00% Castro::post_timestep() 10 8.087e-06 8.087e-06 8.087e-06 0.00% Gravity::actual_multilevel_solve() 1 7.99e-06 7.99e-06 7.99e-06 0.00% Castro::computeNewDt() 9 7.751e-06 7.751e-06 7.751e-06 0.00% MLMG::getGradSolution() 11 5.727e-06 5.727e-06 5.727e-06 0.00% Castro::retry_advance_ctu() 10 5.569e-06 5.569e-06 5.569e-06 0.00% AmrLevel::checkPointPost() 3 4.792e-06 4.792e-06 4.792e-06 0.00% Amr::InitializeInit() 1 4.638e-06 4.638e-06 4.638e-06 0.00% Castro::FluxRegCrseInit 10 4.127e-06 4.127e-06 4.127e-06 0.00% MLMG::MLRhsNormInf() 11 4.018e-06 4.018e-06 4.018e-06 0.00% Castro::post_init() 1 3.721e-06 3.721e-06 3.721e-06 0.00% MLMG::MLResNormInf() 11 3.384e-06 3.384e-06 3.384e-06 0.00% Castro::FluxRegFineAdd() 10 3.313e-06 3.313e-06 3.313e-06 0.00% Castro::computeInitialDt() 2 2.794e-06 2.794e-06 2.794e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.765e-06 2.765e-06 2.765e-06 0.00% Amr::init() 1 2.418e-06 2.418e-06 2.418e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.856e-06 1.856e-06 1.856e-06 0.00% AmrLevel::checkPointPre() 3 1.733e-06 1.733e-06 1.733e-06 0.00% Castro::post_regrid() 1 1.291e-06 1.291e-06 1.291e-06 0.00% Amr::initialInit() 1 1.02e-06 1.02e-06 1.02e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8521 0.8521 0.8521 100.00% Amr::coarseTimeStep() 10 0.6818 0.6818 0.6818 80.01% Amr::timeStep() 10 0.5654 0.5654 0.5654 66.36% Castro::advance() 10 0.5579 0.5579 0.5579 65.47% Castro::subcycle_advance_ctu() 10 0.5459 0.5459 0.5459 64.07% Castro::do_advance_ctu() 10 0.545 0.545 0.545 63.95% Gravity::solve_phi_with_mlmg() 11 0.2765 0.2765 0.2765 32.44% Gravity::actual_solve_with_mlmg() 11 0.2694 0.2694 0.2694 31.62% Castro::construct_new_gravity() 10 0.2524 0.2524 0.2524 29.62% MLMG::solve() 11 0.2493 0.2493 0.2493 29.25% Gravity::solve_for_phi() 10 0.2368 0.2368 0.2368 27.78% MLMG::oneIter() 81 0.2352 0.2352 0.2352 27.60% MLMG::mgVcycle() 81 0.2316 0.2316 0.2316 27.17% VisMF::Write(FabArray) 11 0.2277 0.2277 0.2277 26.72% Castro::construct_ctu_hydro_source() 10 0.2132 0.2132 0.2132 25.02% Amr::checkPoint() 3 0.1699 0.1699 0.1699 19.93% AmrLevel::checkPoint() 3 0.1658 0.1658 0.1658 19.45% StateData::checkPoint() 12 0.1657 0.1657 0.1657 19.44% Amr::init() 1 0.1371 0.1371 0.1371 16.08% MLCellLinOp::smooth() 1620 0.1143 0.1143 0.1143 13.41% MLCellLinOp::applyBC() 4379 0.107 0.107 0.107 12.56% MLMG::mgVcycle_bottom 81 0.07129 0.07129 0.07129 8.37% MLMG::actualBottomSolve() 81 0.07126 0.07126 0.07126 8.36% MLCGSolver::bicgstab 81 0.07059 0.07059 0.07059 8.28% Amr::writePlotFile() 2 0.06505 0.06505 0.06505 7.63% Castro::clean_state() 62 0.04773 0.04773 0.04773 5.60% Amr::initialInit() 1 0.04745 0.04745 0.04745 5.57% Amr::FinalizeInit() 1 0.04329 0.04329 0.04329 5.08% FillPatchIterator::Initialize 41 0.04265 0.04265 0.04265 5.01% Castro::post_init() 1 0.0419 0.0419 0.0419 4.92% FillPatchSingleLevel 41 0.04113 0.04113 0.04113 4.83% Gravity::multilevel_solve_for_new_phi() 1 0.04012 0.04012 0.04012 4.71% Gravity::actual_multilevel_solve() 1 0.0401 0.0401 0.0401 4.71% StateDataPhysBCFunct::() 41 0.03707 0.03707 0.03707 4.35% MLCellLinOp::apply() 1128 0.03533 0.03533 0.03533 4.15% MLMG::mgVcycle_down::0 81 0.03311 0.03311 0.03311 3.89% FabArray::FillBoundary() 3974 0.03205 0.03205 0.03205 3.76% MLPoisson::Fsmooth() 3240 0.03145 0.03145 0.03145 3.69% FillBoundary_nowait() 3974 0.03124 0.03124 0.03124 3.67% MLMG::mgVcycle_up::0 81 0.02517 0.02517 0.02517 2.95% StateData::FillBoundary(geom) 328 0.02415 0.02415 0.02415 2.83% Castro::computeTemp() 63 0.02173 0.02173 0.02173 2.55% MLCellLinOp::correctionResidual() 486 0.02166 0.02166 0.02166 2.54% Castro::initialize_do_advance() 10 0.02017 0.02017 0.02017 2.37% amrex::Dot() 1100 0.01989 0.01989 0.01989 2.33% MLMG:computeResOfCorrection() 405 0.01909 0.01909 0.01909 2.24% Gravity::get_new_grav_vector() 11 0.01715 0.01715 0.01715 2.01% Castro::normalize_species() 62 0.01611 0.01611 0.01611 1.89% MLPoisson::define() 11 0.01595 0.01595 0.01595 1.87% MLMG::mgVcycle_down::1 81 0.01538 0.01538 0.01538 1.80% Castro::construct_old_gravity() 10 0.01519 0.01519 0.01519 1.78% Gravity::get_old_grav_vector() 10 0.01518 0.01518 0.01518 1.78% amrex::Copy() 1019 0.01458 0.01458 0.01458 1.71% MLMG::mgVcycle_down::2 81 0.01431 0.01431 0.01431 1.68% FabArray::ParallelCopy() 851 0.01401 0.01401 0.01401 1.64% MLMG::mgVcycle_down::3 81 0.01397 0.01397 0.01397 1.64% FabArray::norminf() 734 0.01392 0.01392 0.01392 1.63% MLMG::mgVcycle_down::4 81 0.01384 0.01384 0.01384 1.62% FabArray::ParallelCopy_nowait() 851 0.01377 0.01377 0.01377 1.62% FabArray::setVal() 1135 0.0129 0.0129 0.0129 1.51% Castro::do_new_sources() 10 0.0122 0.0122 0.0122 1.43% MLCGSolver::ParallelAllReduce 1495 0.01193 0.01193 0.01193 1.40% Castro::expand_state() 10 0.01177 0.01177 0.01177 1.38% MLMG::addInterpCorrection() 405 0.01161 0.01161 0.01161 1.36% Castro::do_old_sources() 10 0.01131 0.01131 0.01131 1.33% Castro::initialize_advance() 10 0.01128 0.01128 0.01128 1.32% MLMG::mgVcycle_up::4 81 0.01126 0.01126 0.01126 1.32% MLMG::mgVcycle_up::1 81 0.01119 0.01119 0.01119 1.31% MLMG::mgVcycle_up::2 81 0.01095 0.01095 0.01095 1.28% amrex::average_down 405 0.01076 0.01076 0.01076 1.26% MLCellLinOp::defineAuxData() 11 0.01076 0.01076 0.01076 1.26% MLMG::mgVcycle_up::3 81 0.01072 0.01072 0.01072 1.26% MLPoisson::Fapply() 1128 0.01007 0.01007 0.01007 1.18% Castro::enforce_min_density() 62 0.009444 0.009444 0.009444 1.11% FabArray::Saxpy() 803 0.007934 0.007934 0.007934 0.93% FabArray::Xpay() 811 0.007897 0.007897 0.007897 0.93% Castro::post_timestep() 10 0.007378 0.007378 0.007378 0.87% MLCellLinOp::solutionResidual() 92 0.007044 0.007044 0.007044 0.83% Gravity::fill_multipole_BCs() 11 0.006796 0.006796 0.006796 0.80% Castro::reset_internal_energy(MultiFab) 63 0.00663 0.00663 0.00663 0.78% MLMG::computeResidual() 81 0.006072 0.006072 0.006072 0.71% Castro::estTimeStep() 21 0.005358 0.005358 0.005358 0.63% MLCellLinOp::defineBC() 11 0.004704 0.004704 0.004704 0.55% MLMG::prepareForSolve() 11 0.004622 0.004622 0.004622 0.54% BndryData::define() 11 0.004487 0.004487 0.004487 0.53% FabArray::LinComb() 550 0.004401 0.004401 0.004401 0.52% amrex::Add() 162 0.004333 0.004333 0.004333 0.51% Amr::InitializeInit() 1 0.004157 0.004157 0.004157 0.49% Amr::defBaseLevel() 1 0.004152 0.004152 0.004152 0.49% Castro::initData() 1 0.003649 0.003649 0.003649 0.43% Castro::construct_new_source() 50 0.00313 0.00313 0.00313 0.37% Castro::construct_new_gravity_source() 10 0.003087 0.003087 0.003087 0.36% Castro::construct_old_source() 50 0.002634 0.002634 0.002634 0.31% Castro::construct_old_gravity_source() 10 0.002616 0.002616 0.002616 0.31% Castro::computeNewDt() 9 0.002385 0.002385 0.002385 0.28% MLMG::ResNormInf() 92 0.002053 0.002053 0.002053 0.24% Castro::apply_source_to_state() 20 0.001816 0.001816 0.001816 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001657 0.001657 0.001657 0.19% Castro::reset_internal_energy(Fab) 504 0.001537 0.001537 0.001537 0.18% MLMG::getGradSolution() 11 0.001379 0.001379 0.001379 0.16% MLCellLinOp::compGrad() 11 0.001373 0.001373 0.001373 0.16% FabArrayBase::getCPC() 1313 0.001363 0.001363 0.001363 0.16% MLCellLinOp::setLevelBC() 11 0.001361 0.001361 0.001361 0.16% FabArray::mult() 43 0.001312 0.001312 0.001312 0.15% FabArray::setDomainBndry() 41 0.001284 0.001284 0.001284 0.15% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% Castro::post_regrid() 1 0.00114 0.00114 0.00114 0.13% Castro::enforce_speed_limit() 62 0.001124 0.001124 0.001124 0.13% MLPoisson::prepareForSolve() 11 0.001114 0.001114 0.001114 0.13% MLCellLinOp::prepareForSolve() 11 0.0011 0.0011 0.0011 0.13% MLMG::computeMLResidual() 11 0.001017 0.001017 0.001017 0.12% Castro::computeInitialDt() 2 0.0009596 0.0009596 0.0009596 0.11% Gravity::update_max_rhs() 11 0.0008151 0.0008151 0.0008151 0.10% FabArrayBase::getFB() 3974 0.0006668 0.0006668 0.0006668 0.08% FabArrayBase::CPC::define() 454 0.0006584 0.0006584 0.0006584 0.08% Castro::finalize_advance() 10 0.0006012 0.0006012 0.0006012 0.07% Amr::InitAmr() 1 0.0005139 0.0005139 0.0005139 0.06% MLLinOp::define() 11 0.0004618 0.0004618 0.0004618 0.05% MLLinOp::defineGrids() 11 0.000451 0.000451 0.000451 0.05% Castro::Castro() 1 0.0004353 0.0004353 0.0004353 0.05% Gravity::swapTimeLevels() 10 0.0004351 0.0004351 0.0004351 0.05% MLMG::MLResNormInf() 11 0.0002822 0.0002822 0.0002822 0.03% MultiFab::max() 11 0.0002581 0.0002581 0.0002581 0.03% MLMG::MLRhsNormInf() 11 0.0002193 0.0002193 0.0002193 0.03% Castro::create_source_corrector() 10 0.0001762 0.0001762 0.0001762 0.02% Castro::buildMetrics() 1 0.0001613 0.0001613 0.0001613 0.02% FabArrayBase::FB::FB() 56 8.514e-05 8.514e-05 8.514e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.055e-05 5.055e-05 5.055e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.49e-05 4.49e-05 4.49e-05 0.01% Castro::swap_state_time_levels() 10 3.774e-05 3.774e-05 3.774e-05 0.00% makeSFC 55 3.683e-05 3.683e-05 3.683e-05 0.00% Castro::finalize_do_advance() 10 3.598e-05 3.598e-05 3.598e-05 0.00% StateData::define() 4 3.507e-05 3.507e-05 3.507e-05 0.00% Castro::enforce_consistent_e() 1 3.195e-05 3.195e-05 3.195e-05 0.00% Amr::writeSmallPlotFile() 1 3.172e-05 3.172e-05 3.172e-05 0.00% Castro::initMFs() 1 2.328e-05 2.328e-05 2.328e-05 0.00% DistributionMapping::Distribute() 56 1.426e-05 1.426e-05 1.426e-05 0.00% Amr::initSubcycle() 1 1.129e-05 1.129e-05 1.129e-05 0.00% Gravity::set_mass_offset() 11 8.987e-06 8.987e-06 8.987e-06 0.00% Castro::retry_advance_ctu() 10 5.569e-06 5.569e-06 5.569e-06 0.00% AmrLevel::checkPointPost() 3 4.792e-06 4.792e-06 4.792e-06 0.00% Castro::FluxRegCrseInit 10 4.127e-06 4.127e-06 4.127e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.897e-06 3.897e-06 3.897e-06 0.00% Castro::FluxRegFineAdd() 10 3.313e-06 3.313e-06 3.313e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.856e-06 1.856e-06 1.856e-06 0.00% AmrLevel::checkPointPre() 3 1.733e-06 1.733e-06 1.733e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 95 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 118 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 1075 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2143 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3599 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1828 B 2048 KiB Gravity::solve_for_phi() 80 80 568 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2972 B 480 KiB VisMF::Write(FabArray) 656 656 3464 B 320 KiB Castro::normalize_species() 62 62 6157 B 320 KiB amrex::average_down 1054 1054 1263 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1175 B 257 KiB amrex::Dot() 1343 1343 3446 B 160 KiB FabArray::norminf() 896 896 2423 B 160 KiB Castro::do_advance_ctu() 10 10 494 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3518 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 314 B 9648 B MLCellLinOp::applyBC() 8758 8758 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 120 B 1472 B MLCellLinOp::defineBC() 66 66 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 629 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 618 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3518 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 314 B 9648 B MLCellLinOp::applyBC() 4379 4379 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 50 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 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): 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.04-19-ga54fee8706c8) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-19-ga54fee8706c8) initialized Starting run at 07:40:36 UTC on 2023-04-11. Successfully read inputs file ... Castro git describe: 23.04-6-gc2542242e AMReX git describe: 23.04-19-ga54fee870 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.464971238 Restart time = 0.045826557 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049841292 [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.0481872 [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.057120752 [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.067872402 [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.076857025 [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.032182598 seconds Ending run at 07:40:36 UTC on 2023-04-11. Run time = 0.378868114 Run time without initialization = 0.332459782 Average number of zones advanced per microsecond: 3.942 Average number of zones advanced per microsecond per rank: 3.942 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3789 ... 0.3789 ... 0.3789 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1184 0.1184 0.1184 31.24% VisMF::Read() 3 0.03966 0.03966 0.03966 10.47% MLCellLinOp::applyBC() 1946 0.03226 0.03226 0.03226 8.51% VisMF::Write(FabArray) 1 0.03059 0.03059 0.03059 8.07% MLPoisson::Fsmooth() 1440 0.01364 0.01364 0.01364 3.60% FillBoundary_nowait() 1766 0.01283 0.01283 0.01283 3.39% StateData::FillBoundary(geom) 160 0.01148 0.01148 0.01148 3.03% amrex::Dot() 484 0.008495 0.008495 0.008495 2.24% Castro::normalize_species() 30 0.008146 0.008146 0.008146 2.15% amrex::Copy() 463 0.006805 0.006805 0.006805 1.80% Castro::computeTemp() 30 0.006548 0.006548 0.006548 1.73% Castro::enforce_min_density() 30 0.006229 0.006229 0.006229 1.64% FabArray::setVal() 537 0.006092 0.006092 0.006092 1.61% FabArray::norminf() 326 0.005983 0.005983 0.005983 1.58% FabArray::ParallelCopy_nowait() 380 0.005839 0.005839 0.005839 1.54% StateDataPhysBCFunct::() 20 0.00552 0.00552 0.00552 1.46% MLCellLinOp::defineAuxData() 6 0.005016 0.005016 0.005016 1.32% MLPoisson::Fapply() 500 0.004321 0.004321 0.004321 1.14% FabArray::Saxpy() 355 0.003548 0.003548 0.003548 0.94% FabArray::Xpay() 361 0.003431 0.003431 0.003431 0.91% Castro::estTimeStep() 10 0.003048 0.003048 0.003048 0.80% MLMG::addInterpCorrection() 180 0.002879 0.002879 0.002879 0.76% Gravity::fill_multipole_BCs() 6 0.002835 0.002835 0.002835 0.75% amrex::average_down 180 0.002543 0.002543 0.002543 0.67% Amr::restart() 1 0.002483 0.002483 0.002483 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002266 0.002266 0.002266 0.60% BndryData::define() 6 0.001919 0.001919 0.001919 0.51% FabArray::LinComb() 242 0.00186 0.00186 0.00186 0.49% amrex::Add() 72 0.001846 0.001846 0.001846 0.49% Castro::construct_new_gravity_source() 5 0.001819 0.001819 0.001819 0.48% Castro::do_advance_ctu() 5 0.001636 0.001636 0.001636 0.43% Castro::construct_old_gravity_source() 5 0.001441 0.001441 0.001441 0.38% Amr::writePlotFile() 1 0.001427 0.001427 0.001427 0.38% Castro::enforce_speed_limit() 30 0.001274 0.001274 0.001274 0.34% MLCGSolver::bicgstab 36 0.000932 0.000932 0.000932 0.25% Castro::create_source_corrector() 5 0.0009106 0.0009106 0.0009106 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008797 0.0008797 0.0008797 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007606 0.0007606 0.0007606 0.20% MLCellLinOp::setLevelBC() 6 0.0007443 0.0007443 0.0007443 0.20% FabArray::setDomainBndry() 20 0.0006683 0.0006683 0.0006683 0.18% Castro::reset_internal_energy(Fab) 240 0.0006528 0.0006528 0.0006528 0.17% FabArray::mult() 22 0.0006515 0.0006515 0.0006515 0.17% MultiFab::contains_nan() 10 0.000627 0.000627 0.000627 0.17% MLCellLinOp::prepareForSolve() 6 0.0005916 0.0005916 0.0005916 0.16% MLCellLinOp::compGrad() 6 0.0004819 0.0004819 0.0004819 0.13% MLCellLinOp::smooth() 720 0.0004801 0.0004801 0.0004801 0.13% MLMG::prepareForSolve() 6 0.0004742 0.0004742 0.0004742 0.13% FabArrayBase::CPC::define() 244 0.0004078 0.0004078 0.0004078 0.11% Amr::InitAmr() 1 0.0004021 0.0004021 0.0004021 0.11% FabArray::FillBoundary() 1766 0.0003664 0.0003664 0.0003664 0.10% FabArrayBase::getCPC() 632 0.0003468 0.0003468 0.0003468 0.09% Gravity::get_old_grav_vector() 5 0.0003162 0.0003162 0.0003162 0.08% main() 1 0.0002751 0.0002751 0.0002751 0.07% Gravity::get_new_grav_vector() 5 0.0002693 0.0002693 0.0002693 0.07% FabArrayBase::getFB() 1766 0.0002564 0.0002564 0.0002564 0.07% MLCellLinOp::apply() 500 0.0001877 0.0001877 0.0001877 0.05% MLMG::mgVcycle() 36 0.0001665 0.0001665 0.0001665 0.04% Amr::coarseTimeStep() 5 0.0001627 0.0001627 0.0001627 0.04% MLLinOp::defineGrids() 6 0.0001448 0.0001448 0.0001448 0.04% Castro::construct_new_source() 25 0.000143 0.000143 0.000143 0.04% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.04% MLCGSolver::ParallelAllReduce 659 0.0001337 0.0001337 0.0001337 0.04% FillPatchIterator::Initialize 20 0.0001325 0.0001325 0.0001325 0.03% MLCellLinOp::defineBC() 6 0.0001145 0.0001145 0.0001145 0.03% FabArray::ParallelCopy() 380 0.0001111 0.0001111 0.0001111 0.03% MLCellLinOp::correctionResidual() 216 9.24e-05 9.24e-05 9.24e-05 0.02% Castro::initialize_do_advance() 5 8.845e-05 8.845e-05 8.845e-05 0.02% Castro::post_timestep() 5 8.663e-05 8.663e-05 8.663e-05 0.02% AmrLevel::restart() 1 8.202e-05 8.202e-05 8.202e-05 0.02% Amr::timeStep() 5 7.963e-05 7.963e-05 7.963e-05 0.02% StateData::restartDoit() 4 6.544e-05 6.544e-05 6.544e-05 0.02% Castro::expand_state() 5 6.254e-05 6.254e-05 6.254e-05 0.02% Castro::construct_old_gravity() 5 6.128e-05 6.128e-05 6.128e-05 0.02% Gravity::update_max_rhs() 6 6.017e-05 6.017e-05 6.017e-05 0.02% FabArrayBase::FB::FB() 26 5.831e-05 5.831e-05 5.831e-05 0.02% MLMG:computeResOfCorrection() 180 5.597e-05 5.597e-05 5.597e-05 0.01% Gravity::solve_for_phi() 5 5.44e-05 5.44e-05 5.44e-05 0.01% Castro::subcycle_advance_ctu() 5 4.779e-05 4.779e-05 4.779e-05 0.01% MLMG::mgVcycle_down::0 36 3.907e-05 3.907e-05 3.907e-05 0.01% MLMG::actualBottomSolve() 36 3.638e-05 3.638e-05 3.638e-05 0.01% Castro::clean_state() 30 3.637e-05 3.637e-05 3.637e-05 0.01% Castro::initialize_advance() 5 3.536e-05 3.536e-05 3.536e-05 0.01% MLMG::mgVcycle_down::1 36 3.512e-05 3.512e-05 3.512e-05 0.01% Castro::advance() 5 3.47e-05 3.47e-05 3.47e-05 0.01% MLMG::solve() 6 3.439e-05 3.439e-05 3.439e-05 0.01% Castro::initMFs() 1 3.39e-05 3.39e-05 3.39e-05 0.01% MLMG::mgVcycle_down::2 36 3.271e-05 3.271e-05 3.271e-05 0.01% MLMG::mgVcycle_down::4 36 3.19e-05 3.19e-05 3.19e-05 0.01% MLMG::mgVcycle_down::3 36 3.083e-05 3.083e-05 3.083e-05 0.01% Castro::construct_old_source() 25 3.073e-05 3.073e-05 3.073e-05 0.01% MLMG::mgVcycle_up::4 36 2.908e-05 2.908e-05 2.908e-05 0.01% Castro::buildMetrics() 1 2.691e-05 2.691e-05 2.691e-05 0.01% Castro::finalize_advance() 5 2.678e-05 2.678e-05 2.678e-05 0.01% MLMG::mgVcycle_up::0 36 2.605e-05 2.605e-05 2.605e-05 0.01% Amr::writeSmallPlotFile() 1 2.479e-05 2.479e-05 2.479e-05 0.01% Castro::swap_state_time_levels() 5 2.384e-05 2.384e-05 2.384e-05 0.01% MLMG::oneIter() 36 2.37e-05 2.37e-05 2.37e-05 0.01% MLMG::mgVcycle_up::3 36 2.329e-05 2.329e-05 2.329e-05 0.01% MLMG::mgVcycle_up::2 36 2.228e-05 2.228e-05 2.228e-05 0.01% MLCellLinOp::solutionResidual() 42 2.227e-05 2.227e-05 2.227e-05 0.01% MLMG::mgVcycle_up::1 36 2.203e-05 2.203e-05 2.203e-05 0.01% Castro::post_restart() 1 1.934e-05 1.934e-05 1.934e-05 0.01% Castro::finalize_do_advance() 5 1.874e-05 1.874e-05 1.874e-05 0.00% MLMG::ResNormInf() 42 1.794e-05 1.794e-05 1.794e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.734e-05 1.734e-05 1.734e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.56e-05 1.56e-05 1.56e-05 0.00% MLMG::computeResidual() 36 1.538e-05 1.538e-05 1.538e-05 0.00% MLMG::mgVcycle_bottom 36 1.476e-05 1.476e-05 1.476e-05 0.00% MLPoisson::define() 6 1.458e-05 1.458e-05 1.458e-05 0.00% FillPatchSingleLevel 20 1.449e-05 1.449e-05 1.449e-05 0.00% Castro::construct_new_gravity() 5 1.305e-05 1.305e-05 1.305e-05 0.00% makeSFC 30 1.225e-05 1.225e-05 1.225e-05 0.00% MLMG::computeMLResidual() 6 1.016e-05 1.016e-05 1.016e-05 0.00% MLPoisson::prepareForSolve() 6 1.003e-05 1.003e-05 1.003e-05 0.00% Castro::do_new_sources() 5 9.495e-06 9.495e-06 9.495e-06 0.00% Castro::do_old_sources() 5 8.677e-06 8.677e-06 8.677e-06 0.00% Amr::initSubcycle() 1 8.345e-06 8.345e-06 8.345e-06 0.00% DistributionMapping::Distribute() 31 8.004e-06 8.004e-06 8.004e-06 0.00% Gravity::actual_multilevel_solve() 1 7.789e-06 7.789e-06 7.789e-06 0.00% Castro::check_for_nan() 10 7.445e-06 7.445e-06 7.445e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.038e-06 7.038e-06 7.038e-06 0.00% MLLinOp::define() 6 5.342e-06 5.342e-06 5.342e-06 0.00% Castro::apply_source_to_state() 10 5.247e-06 5.247e-06 5.247e-06 0.00% Gravity::swapTimeLevels() 5 4.347e-06 4.347e-06 4.347e-06 0.00% Castro::computeNewDt() 5 3.29e-06 3.29e-06 3.29e-06 0.00% MLMG::getGradSolution() 6 3.071e-06 3.071e-06 3.071e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.012e-06 3.012e-06 3.012e-06 0.00% Gravity::set_mass_offset() 6 2.586e-06 2.586e-06 2.586e-06 0.00% MLMG::MLResNormInf() 6 2.312e-06 2.312e-06 2.312e-06 0.00% MLMG::MLRhsNormInf() 6 2.193e-06 2.193e-06 2.193e-06 0.00% Castro::retry_advance_ctu() 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegCrseInit 5 1.455e-06 1.455e-06 1.455e-06 0.00% Amr::init() 1 1.211e-06 1.211e-06 1.211e-06 0.00% Castro::FluxRegFineAdd() 5 1.171e-06 1.171e-06 1.171e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3789 0.3789 0.3789 100.00% Amr::coarseTimeStep() 5 0.3 0.3 0.3 79.19% Amr::timeStep() 5 0.2977 0.2977 0.2977 78.56% Castro::advance() 5 0.2929 0.2929 0.2929 77.30% Castro::subcycle_advance_ctu() 5 0.2868 0.2868 0.2868 75.68% Castro::do_advance_ctu() 5 0.2867 0.2867 0.2867 75.67% Castro::construct_new_gravity() 5 0.126 0.126 0.126 33.25% Gravity::solve_phi_with_mlmg() 6 0.1214 0.1214 0.1214 32.05% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 31.26% Castro::construct_ctu_hydro_source() 5 0.1184 0.1184 0.1184 31.24% Gravity::actual_solve_with_mlmg() 6 0.1183 0.1183 0.1183 31.23% MLMG::solve() 6 0.1076 0.1076 0.1076 28.40% MLMG::oneIter() 36 0.1009 0.1009 0.1009 26.62% MLMG::mgVcycle() 36 0.09932 0.09932 0.09932 26.21% MLCellLinOp::smooth() 720 0.04891 0.04891 0.04891 12.91% Amr::init() 1 0.04587 0.04587 0.04587 12.11% Amr::restart() 1 0.04587 0.04587 0.04587 12.11% MLCellLinOp::applyBC() 1946 0.04577 0.04577 0.04577 12.08% AmrLevel::restart() 1 0.03986 0.03986 0.03986 10.52% StateData::restartDoit() 4 0.03978 0.03978 0.03978 10.50% VisMF::Read() 3 0.03966 0.03966 0.03966 10.47% Amr::writePlotFile() 1 0.03227 0.03227 0.03227 8.52% VisMF::Write(FabArray) 1 0.03059 0.03059 0.03059 8.07% MLMG::mgVcycle_bottom 36 0.03053 0.03053 0.03053 8.06% MLMG::actualBottomSolve() 36 0.03052 0.03052 0.03052 8.05% MLCGSolver::bicgstab 36 0.03023 0.03023 0.03023 7.98% Castro::clean_state() 30 0.02515 0.02515 0.02515 6.64% FillPatchIterator::Initialize 20 0.01982 0.01982 0.01982 5.23% FillPatchSingleLevel 20 0.01902 0.01902 0.01902 5.02% StateDataPhysBCFunct::() 20 0.017 0.017 0.017 4.49% MLCellLinOp::apply() 500 0.01523 0.01523 0.01523 4.02% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 3.74% MLPoisson::Fsmooth() 1440 0.01364 0.01364 0.01364 3.60% FabArray::FillBoundary() 1766 0.01351 0.01351 0.01351 3.57% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.47% StateData::FillBoundary(geom) 160 0.01148 0.01148 0.01148 3.03% MLMG::mgVcycle_up::0 36 0.01068 0.01068 0.01068 2.82% Castro::initialize_do_advance() 5 0.009817 0.009817 0.009817 2.59% Castro::computeTemp() 30 0.009466 0.009466 0.009466 2.50% MLCellLinOp::correctionResidual() 216 0.009276 0.009276 0.009276 2.45% MLPoisson::define() 6 0.008495 0.008495 0.008495 2.24% amrex::Dot() 484 0.008495 0.008495 0.008495 2.24% MLMG:computeResOfCorrection() 180 0.008169 0.008169 0.008169 2.16% Castro::normalize_species() 30 0.008146 0.008146 0.008146 2.15% Castro::do_new_sources() 5 0.007995 0.007995 0.007995 2.11% Castro::construct_old_gravity() 5 0.007467 0.007467 0.007467 1.97% Gravity::get_new_grav_vector() 5 0.00743 0.00743 0.00743 1.96% Gravity::get_old_grav_vector() 5 0.007406 0.007406 0.007406 1.95% amrex::Copy() 463 0.006805 0.006805 0.006805 1.80% MLMG::mgVcycle_down::1 36 0.006613 0.006613 0.006613 1.75% FabArray::ParallelCopy() 380 0.006331 0.006331 0.006331 1.67% Castro::enforce_min_density() 30 0.006229 0.006229 0.006229 1.64% FabArray::ParallelCopy_nowait() 380 0.00622 0.00622 0.00622 1.64% MLMG::mgVcycle_down::2 36 0.006184 0.006184 0.006184 1.63% Castro::do_old_sources() 5 0.00612 0.00612 0.00612 1.62% FabArray::setVal() 537 0.006092 0.006092 0.006092 1.61% MLMG::mgVcycle_down::3 36 0.006016 0.006016 0.006016 1.59% FabArray::norminf() 326 0.005983 0.005983 0.005983 1.58% MLMG::mgVcycle_down::4 36 0.005957 0.005957 0.005957 1.57% Castro::initialize_advance() 5 0.005813 0.005813 0.005813 1.53% MLCellLinOp::defineAuxData() 6 0.005717 0.005717 0.005717 1.51% Castro::expand_state() 5 0.005531 0.005531 0.005531 1.46% MLCGSolver::ParallelAllReduce 659 0.005124 0.005124 0.005124 1.35% MLMG::addInterpCorrection() 180 0.00503 0.00503 0.00503 1.33% MLMG::mgVcycle_up::4 36 0.004842 0.004842 0.004842 1.28% MLMG::mgVcycle_up::1 36 0.004816 0.004816 0.004816 1.27% amrex::average_down 180 0.004719 0.004719 0.004719 1.25% MLMG::mgVcycle_up::2 36 0.004712 0.004712 0.004712 1.24% Castro::post_timestep() 5 0.004696 0.004696 0.004696 1.24% MLMG::mgVcycle_up::3 36 0.004618 0.004618 0.004618 1.22% MLPoisson::Fapply() 500 0.004321 0.004321 0.004321 1.14% FabArray::Saxpy() 355 0.003548 0.003548 0.003548 0.94% FabArray::Xpay() 361 0.003431 0.003431 0.003431 0.91% Castro::post_restart() 1 0.003337 0.003337 0.003337 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.003231 0.003231 0.003231 0.85% Gravity::actual_multilevel_solve() 1 0.003216 0.003216 0.003216 0.85% MLCellLinOp::solutionResidual() 42 0.00316 0.00316 0.00316 0.83% Castro::estTimeStep() 10 0.003048 0.003048 0.003048 0.80% Gravity::fill_multipole_BCs() 6 0.002977 0.002977 0.002977 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002919 0.002919 0.002919 0.77% MLMG::computeResidual() 36 0.002617 0.002617 0.002617 0.69% MLCellLinOp::defineBC() 6 0.002587 0.002587 0.002587 0.68% BndryData::define() 6 0.002472 0.002472 0.002472 0.65% MLMG::prepareForSolve() 6 0.002467 0.002467 0.002467 0.65% Castro::computeNewDt() 5 0.002215 0.002215 0.002215 0.58% Castro::construct_new_source() 25 0.001962 0.001962 0.001962 0.52% FabArray::LinComb() 242 0.00186 0.00186 0.00186 0.49% amrex::Add() 72 0.001846 0.001846 0.001846 0.49% Castro::construct_new_gravity_source() 5 0.001819 0.001819 0.001819 0.48% Castro::construct_old_source() 25 0.001472 0.001472 0.001472 0.39% Castro::construct_old_gravity_source() 5 0.001441 0.001441 0.001441 0.38% Castro::enforce_speed_limit() 30 0.001274 0.001274 0.001274 0.34% Castro::apply_source_to_state() 10 0.000917 0.000917 0.000917 0.24% Castro::create_source_corrector() 5 0.0009106 0.0009106 0.0009106 0.24% MLMG::ResNormInf() 42 0.0009066 0.0009066 0.0009066 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008797 0.0008797 0.0008797 0.23% FabArrayBase::getCPC() 632 0.0007546 0.0007546 0.0007546 0.20% MLCellLinOp::setLevelBC() 6 0.0007443 0.0007443 0.0007443 0.20% MLMG::getGradSolution() 6 0.000744 0.000744 0.000744 0.20% MLCellLinOp::compGrad() 6 0.000741 0.000741 0.000741 0.20% FabArray::setDomainBndry() 20 0.0006683 0.0006683 0.0006683 0.18% Castro::reset_internal_energy(Fab) 240 0.0006528 0.0006528 0.0006528 0.17% FabArray::mult() 22 0.0006515 0.0006515 0.0006515 0.17% Castro::check_for_nan() 10 0.0006344 0.0006344 0.0006344 0.17% MultiFab::contains_nan() 10 0.000627 0.000627 0.000627 0.17% MLPoisson::prepareForSolve() 6 0.0006016 0.0006016 0.0006016 0.16% MLCellLinOp::prepareForSolve() 6 0.0005916 0.0005916 0.0005916 0.16% MLMG::computeMLResidual() 6 0.0005693 0.0005693 0.0005693 0.15% Gravity::update_max_rhs() 6 0.0004365 0.0004365 0.0004365 0.12% Amr::InitAmr() 1 0.0004104 0.0004104 0.0004104 0.11% FabArrayBase::CPC::define() 244 0.0004078 0.0004078 0.0004078 0.11% FabArrayBase::getFB() 1766 0.0003147 0.0003147 0.0003147 0.08% Castro::finalize_advance() 5 0.0002779 0.0002779 0.0002779 0.07% Gravity::swapTimeLevels() 5 0.0002315 0.0002315 0.0002315 0.06% MLLinOp::define() 6 0.0001772 0.0001772 0.0001772 0.05% MLLinOp::defineGrids() 6 0.0001719 0.0001719 0.0001719 0.05% MLMG::MLResNormInf() 6 0.0001492 0.0001492 0.0001492 0.04% Castro::buildMetrics() 1 0.0001489 0.0001489 0.0001489 0.04% MultiFab::max() 6 0.0001355 0.0001355 0.0001355 0.04% MLMG::MLRhsNormInf() 6 0.0001148 0.0001148 0.0001148 0.03% FabArrayBase::FB::FB() 26 5.831e-05 5.831e-05 5.831e-05 0.02% Castro::initMFs() 1 3.39e-05 3.39e-05 3.39e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.608e-05 2.608e-05 2.608e-05 0.01% Amr::writeSmallPlotFile() 1 2.479e-05 2.479e-05 2.479e-05 0.01% Castro::swap_state_time_levels() 5 2.384e-05 2.384e-05 2.384e-05 0.01% makeSFC 30 1.904e-05 1.904e-05 1.904e-05 0.01% Castro::finalize_do_advance() 5 1.874e-05 1.874e-05 1.874e-05 0.00% Amr::initSubcycle() 1 8.345e-06 8.345e-06 8.345e-06 0.00% DistributionMapping::Distribute() 31 8.004e-06 8.004e-06 8.004e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.221e-06 4.221e-06 4.221e-06 0.00% Gravity::set_mass_offset() 6 2.586e-06 2.586e-06 2.586e-06 0.00% Castro::retry_advance_ctu() 5 1.547e-06 1.547e-06 1.547e-06 0.00% Castro::FluxRegCrseInit 5 1.455e-06 1.455e-06 1.455e-06 0.00% Castro::FluxRegFineAdd() 5 1.171e-06 1.171e-06 1.171e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-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 216 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 141 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 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1139 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2379 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 6712 KiB 14 MiB MLMG::prepareForSolve() 361 361 3487 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 202 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 200 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6707 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 11 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2223 B 2048 KiB Gravity::solve_for_phi() 40 40 638 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 205 KiB 671 KiB Castro::estTimeStep() 10 10 3745 B 480 KiB VisMF::Write(FabArray) 112 112 1283 B 320 KiB Castro::normalize_species() 30 30 6994 B 320 KiB amrex::average_down 469 469 1223 B 257 KiB MLMG::addInterpCorrection() 468 468 1130 B 257 KiB amrex::Dot() 592 592 3302 B 160 KiB FabArray::norminf() 398 398 2333 B 160 KiB Castro::do_advance_ctu() 5 5 546 B 160 KiB MultiFab::max() 6 6 55 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 294 B 9648 B MLCellLinOp::applyBC() 3892 3892 221 B 9344 B amrex::Copy() 56 56 5953 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 53 B 2784 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 360 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1389 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 115 KiB 8192 KiB VisMF::Write(FabArray) 120 120 248 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 1946 1946 219 B 9328 B amrex::Copy() 56 56 5953 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2648 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 53 B 2784 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): 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.04-19-ga54fee8706c8) finalized