Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-8-gbacaa10a7636) initialized Starting run at 08:39:27 UTC on 2023-04-04. Successfully read inputs file ... Castro git describe: 23.04-1-g68c92753d AMReX git describe: 23.04-8-gbacaa10a7 Microphysics git describe: 23.04 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.058658833 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.059239704 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047695367 [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.04807301 [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.048504764 [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.076446499 [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.072769327 [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.059348214 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.070466829 [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.064269726 [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.063416083 [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.059426811 [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.063508908 [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.058187929 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033713243 seconds Ending run at 08:39:28 UTC on 2023-04-04. Run time = 0.933454725 Run time without initialization = 0.766444307 Average number of zones advanced per microsecond: 3.420 Average number of zones advanced per microsecond per rank: 3.420 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9335 ... 0.9335 ... 0.9335 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2430 0.2430 0.2430 26.03% VisMF::Write(FabArray) 11 0.236 0.236 0.236 25.28% MLCellLinOp::applyBC() 4433 0.08381 0.08381 0.08381 8.98% MLPoisson::Fsmooth() 3280 0.03262 0.03262 0.03262 3.49% FillBoundary_nowait() 4023 0.03087 0.03087 0.03087 3.31% Amr::writePlotFile() 2 0.02766 0.02766 0.02766 2.96% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.74% amrex::Dot() 1114 0.02076 0.02076 0.02076 2.22% amrex::Copy() 1029 0.01492 0.01492 0.01492 1.60% Castro::normalize_species() 62 0.01465 0.01465 0.01465 1.57% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.55% Castro::computeTemp() 63 0.01397 0.01397 0.01397 1.50% FabArray::ParallelCopy_nowait() 861 0.01348 0.01348 0.01348 1.44% Castro::enforce_min_density() 62 0.01318 0.01318 0.01318 1.41% FabArray::setVal() 1144 0.01318 0.01318 0.01318 1.41% StateDataPhysBCFunct::() 41 0.01218 0.01218 0.01218 1.30% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.11% MLCellLinOp::defineAuxData() 11 0.01004 0.01004 0.01004 1.08% FabArray::Saxpy() 813 0.008238 0.008238 0.008238 0.88% FabArray::Xpay() 821 0.008134 0.008134 0.008134 0.87% MLMG::addInterpCorrection() 410 0.006801 0.006801 0.006801 0.73% Gravity::fill_multipole_BCs() 11 0.006743 0.006743 0.006743 0.72% amrex::average_down 410 0.005974 0.005974 0.005974 0.64% Castro::estTimeStep() 21 0.005595 0.005595 0.005595 0.60% Amr::checkPoint() 3 0.004991 0.004991 0.004991 0.53% FabArray::LinComb() 557 0.004551 0.004551 0.004551 0.49% amrex::Add() 164 0.004352 0.004352 0.004352 0.47% Castro::reset_internal_energy(MultiFab) 63 0.00425 0.00425 0.00425 0.46% BndryData::define() 11 0.003775 0.003775 0.003775 0.40% Castro::do_advance_ctu() 10 0.003365 0.003365 0.003365 0.36% Castro::construct_new_gravity_source() 10 0.003288 0.003288 0.003288 0.35% Castro::construct_old_gravity_source() 10 0.002799 0.002799 0.002799 0.30% MLCGSolver::bicgstab 82 0.002165 0.002165 0.002165 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001732 0.001732 0.001732 0.19% Castro::reset_internal_energy(Fab) 504 0.001528 0.001528 0.001528 0.16% Gravity::actual_solve_with_mlmg() 11 0.001482 0.001482 0.001482 0.16% MLCellLinOp::setLevelBC() 11 0.00142 0.00142 0.00142 0.15% FabArray::setDomainBndry() 41 0.001328 0.001328 0.001328 0.14% FabArray::mult() 43 0.001324 0.001324 0.001324 0.14% Castro::initData() 1 0.001268 0.001268 0.001268 0.14% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.13% MLCellLinOp::prepareForSolve() 11 0.00114 0.00114 0.00114 0.12% Castro::enforce_speed_limit() 62 0.001125 0.001125 0.001125 0.12% MLCellLinOp::smooth() 1640 0.001095 0.001095 0.001095 0.12% MLCellLinOp::compGrad() 11 0.0009496 0.0009496 0.0009496 0.10% MLMG::prepareForSolve() 11 0.0008896 0.0008896 0.0008896 0.10% FabArray::FillBoundary() 4023 0.0008669 0.0008669 0.0008669 0.09% FabArrayBase::getCPC() 1323 0.0007631 0.0007631 0.0007631 0.08% FabArrayBase::CPC::define() 454 0.0006806 0.0006806 0.0006806 0.07% Gravity::get_new_grav_vector() 11 0.0006432 0.0006432 0.0006432 0.07% FabArrayBase::getFB() 4023 0.0005924 0.0005924 0.0005924 0.06% Gravity::get_old_grav_vector() 10 0.0005404 0.0005404 0.0005404 0.06% Amr::InitAmr() 1 0.0005004 0.0005004 0.0005004 0.05% MLCellLinOp::apply() 1142 0.0004428 0.0004428 0.0004428 0.05% MLMG::mgVcycle() 82 0.0003795 0.0003795 0.0003795 0.04% MLLinOp::defineGrids() 11 0.0003698 0.0003698 0.0003698 0.04% Amr::coarseTimeStep() 10 0.0003284 0.0003284 0.0003284 0.04% main() 1 0.0002937 0.0002937 0.0002937 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002912 0.0002912 0.0002912 0.03% MultiFab::max() 11 0.000266 0.000266 0.000266 0.03% FabArray::ParallelCopy() 861 0.0002426 0.0002426 0.0002426 0.03% FillPatchIterator::Initialize 41 0.0002335 0.0002335 0.0002335 0.03% MLCellLinOp::defineBC() 11 0.0002259 0.0002259 0.0002259 0.02% MLCellLinOp::correctionResidual() 492 0.0002243 0.0002243 0.0002243 0.02% Castro::create_source_corrector() 10 0.0001772 0.0001772 0.0001772 0.02% Amr::timeStep() 10 0.000161 0.000161 0.000161 0.02% Castro::subcycle_advance_ctu() 10 0.000139 0.000139 0.000139 0.01% StateData::checkPoint() 12 0.0001339 0.0001339 0.0001339 0.01% Gravity::update_max_rhs() 11 0.0001231 0.0001231 0.0001231 0.01% Gravity::solve_for_phi() 10 0.0001135 0.0001135 0.0001135 0.01% MLMG:computeResOfCorrection() 410 0.000113 0.000113 0.000113 0.01% MLMG::mgVcycle_down::0 82 9.261e-05 9.261e-05 9.261e-05 0.01% MLMG::actualBottomSolve() 82 9.125e-05 9.125e-05 9.125e-05 0.01% Castro::Castro() 1 8.805e-05 8.805e-05 8.805e-05 0.01% FabArrayBase::FB::FB() 56 8.688e-05 8.688e-05 8.688e-05 0.01% MLMG::mgVcycle_down::1 82 8.312e-05 8.312e-05 8.312e-05 0.01% Castro::expand_state() 10 7.968e-05 7.968e-05 7.968e-05 0.01% MLMG::mgVcycle_down::2 82 7.944e-05 7.944e-05 7.944e-05 0.01% AmrLevel::checkPoint() 3 7.83e-05 7.83e-05 7.83e-05 0.01% Castro::clean_state() 62 7.463e-05 7.463e-05 7.463e-05 0.01% MLMG::mgVcycle_down::3 82 7.441e-05 7.441e-05 7.441e-05 0.01% Castro::initialize_advance() 10 7.41e-05 7.41e-05 7.41e-05 0.01% MLMG::mgVcycle_down::4 82 7.408e-05 7.408e-05 7.408e-05 0.01% MLMG::solve() 11 7.218e-05 7.218e-05 7.218e-05 0.01% Castro::advance() 10 6.65e-05 6.65e-05 6.65e-05 0.01% Castro::finalize_advance() 10 6.285e-05 6.285e-05 6.285e-05 0.01% MLMG::mgVcycle_up::4 82 6.07e-05 6.07e-05 6.07e-05 0.01% MLMG::oneIter() 82 5.911e-05 5.911e-05 5.911e-05 0.01% MLMG::mgVcycle_up::0 82 5.522e-05 5.522e-05 5.522e-05 0.01% MLCellLinOp::solutionResidual() 93 5.327e-05 5.327e-05 5.327e-05 0.01% MLMG::mgVcycle_up::1 82 5.218e-05 5.218e-05 5.218e-05 0.01% Castro::initialize_do_advance() 10 5.119e-05 5.119e-05 5.119e-05 0.01% MLMG::mgVcycle_up::3 82 4.851e-05 4.851e-05 4.851e-05 0.01% MLMG::mgVcycle_up::2 82 4.837e-05 4.837e-05 4.837e-05 0.01% Castro::construct_new_source() 50 4.196e-05 4.196e-05 4.196e-05 0.00% Castro::swap_state_time_levels() 10 3.898e-05 3.898e-05 3.898e-05 0.00% Castro::finalize_do_advance() 10 3.827e-05 3.827e-05 3.827e-05 0.00% Castro::enforce_consistent_e() 1 3.508e-05 3.508e-05 3.508e-05 0.00% MLMG::ResNormInf() 93 3.46e-05 3.46e-05 3.46e-05 0.00% StateData::define() 4 3.451e-05 3.451e-05 3.451e-05 0.00% MLMG::mgVcycle_bottom 82 3.243e-05 3.243e-05 3.243e-05 0.00% Castro::post_timestep() 10 3.242e-05 3.242e-05 3.242e-05 0.00% MLMG::computeResidual() 82 3.196e-05 3.196e-05 3.196e-05 0.00% Castro::construct_new_gravity() 10 2.956e-05 2.956e-05 2.956e-05 0.00% FillPatchSingleLevel 41 2.902e-05 2.902e-05 2.902e-05 0.00% makeSFC 55 2.426e-05 2.426e-05 2.426e-05 0.00% Castro::initMFs() 1 2.363e-05 2.363e-05 2.363e-05 0.00% MLPoisson::define() 11 2.353e-05 2.353e-05 2.353e-05 0.00% Amr::writeSmallPlotFile() 1 2.334e-05 2.334e-05 2.334e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.25e-05 2.25e-05 2.25e-05 0.00% Amr::FinalizeInit() 1 1.972e-05 1.972e-05 1.972e-05 0.00% Castro::buildMetrics() 1 1.877e-05 1.877e-05 1.877e-05 0.00% Amr::defBaseLevel() 1 1.874e-05 1.874e-05 1.874e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.818e-05 1.818e-05 1.818e-05 0.00% Castro::do_new_sources() 10 1.735e-05 1.735e-05 1.735e-05 0.00% Castro::construct_old_source() 50 1.714e-05 1.714e-05 1.714e-05 0.00% Castro::do_old_sources() 10 1.613e-05 1.613e-05 1.613e-05 0.00% DistributionMapping::Distribute() 56 1.539e-05 1.539e-05 1.539e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.537e-05 1.537e-05 1.537e-05 0.00% MLPoisson::prepareForSolve() 11 1.407e-05 1.407e-05 1.407e-05 0.00% MLMG::computeMLResidual() 11 1.377e-05 1.377e-05 1.377e-05 0.00% Castro::check_for_nan() 20 1.139e-05 1.139e-05 1.139e-05 0.00% MLLinOp::define() 11 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::apply_source_to_state() 20 1.019e-05 1.019e-05 1.019e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.017e-05 1.017e-05 1.017e-05 0.00% Castro::construct_old_gravity() 10 9.955e-06 9.955e-06 9.955e-06 0.00% Gravity::swapTimeLevels() 10 9.09e-06 9.09e-06 9.09e-06 0.00% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% Gravity::actual_multilevel_solve() 1 8.214e-06 8.214e-06 8.214e-06 0.00% Castro::computeNewDt() 9 7.191e-06 7.191e-06 7.191e-06 0.00% MLMG::getGradSolution() 11 5.677e-06 5.677e-06 5.677e-06 0.00% Castro::retry_advance_ctu() 10 5.241e-06 5.241e-06 5.241e-06 0.00% Amr::InitializeInit() 1 4.609e-06 4.609e-06 4.609e-06 0.00% Castro::post_init() 1 4.054e-06 4.054e-06 4.054e-06 0.00% Gravity::set_mass_offset() 11 3.909e-06 3.909e-06 3.909e-06 0.00% MLMG::MLRhsNormInf() 11 3.887e-06 3.887e-06 3.887e-06 0.00% MLMG::MLResNormInf() 11 3.593e-06 3.593e-06 3.593e-06 0.00% AmrLevel::checkPointPost() 3 3.479e-06 3.479e-06 3.479e-06 0.00% Castro::computeInitialDt() 2 2.973e-06 2.973e-06 2.973e-06 0.00% Castro::FluxRegCrseInit 10 2.878e-06 2.878e-06 2.878e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.703e-06 2.703e-06 2.703e-06 0.00% Amr::init() 1 2.632e-06 2.632e-06 2.632e-06 0.00% Castro::FluxRegFineAdd() 10 1.982e-06 1.982e-06 1.982e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.913e-06 1.913e-06 1.913e-06 0.00% AmrLevel::checkPointPre() 3 1.696e-06 1.696e-06 1.696e-06 0.00% Castro::post_regrid() 1 1.177e-06 1.177e-06 1.177e-06 0.00% Amr::initialInit() 1 9.41e-07 9.41e-07 9.41e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9335 0.9335 0.9335 100.00% Amr::coarseTimeStep() 10 0.7325 0.7325 0.7325 78.47% Amr::timeStep() 10 0.6109 0.6109 0.6109 65.45% Castro::advance() 10 0.6038 0.6038 0.6038 64.68% Castro::subcycle_advance_ctu() 10 0.591 0.591 0.591 63.31% Castro::do_advance_ctu() 10 0.5908 0.5908 0.5908 63.29% Gravity::solve_phi_with_mlmg() 11 0.292 0.292 0.292 31.28% Gravity::actual_solve_with_mlmg() 11 0.2848 0.2848 0.2848 30.51% Castro::construct_new_gravity() 10 0.2676 0.2676 0.2676 28.67% MLMG::solve() 11 0.2636 0.2636 0.2636 28.24% Gravity::solve_for_phi() 10 0.2516 0.2516 0.2516 26.95% MLMG::oneIter() 82 0.2493 0.2493 0.2493 26.70% MLMG::mgVcycle() 82 0.2456 0.2456 0.2456 26.31% Castro::construct_ctu_hydro_source() 10 0.243 0.243 0.243 26.03% VisMF::Write(FabArray) 11 0.236 0.236 0.236 25.28% Amr::checkPoint() 3 0.1763 0.1763 0.1763 18.89% AmrLevel::checkPoint() 3 0.1713 0.1713 0.1713 18.35% StateData::checkPoint() 12 0.1712 0.1712 0.1712 18.34% Amr::init() 1 0.1664 0.1664 0.1664 17.82% MLCellLinOp::smooth() 1640 0.124 0.124 0.124 13.28% MLCellLinOp::applyBC() 4433 0.1162 0.1162 0.1162 12.45% Amr::writePlotFile() 2 0.09307 0.09307 0.09307 9.97% MLMG::mgVcycle_bottom 82 0.07412 0.07412 0.07412 7.94% MLMG::actualBottomSolve() 82 0.07408 0.07408 0.07408 7.94% MLCGSolver::bicgstab 82 0.07338 0.07338 0.07338 7.86% Amr::initialInit() 1 0.04836 0.04836 0.04836 5.18% Castro::clean_state() 62 0.04798 0.04798 0.04798 5.14% Amr::FinalizeInit() 1 0.04422 0.04422 0.04422 4.74% FillPatchIterator::Initialize 41 0.04342 0.04342 0.04342 4.65% Castro::post_init() 1 0.04278 0.04278 0.04278 4.58% FillPatchSingleLevel 41 0.04186 0.04186 0.04186 4.48% Gravity::multilevel_solve_for_new_phi() 1 0.04085 0.04085 0.04085 4.38% Gravity::actual_multilevel_solve() 1 0.04083 0.04083 0.04083 4.37% StateDataPhysBCFunct::() 41 0.03774 0.03774 0.03774 4.04% MLCellLinOp::apply() 1142 0.03629 0.03629 0.03629 3.89% MLMG::mgVcycle_down::0 82 0.03379 0.03379 0.03379 3.62% MLPoisson::Fsmooth() 3280 0.03262 0.03262 0.03262 3.49% FabArray::FillBoundary() 4023 0.03241 0.03241 0.03241 3.47% FillBoundary_nowait() 4023 0.03155 0.03155 0.03155 3.38% MLMG::mgVcycle_up::0 82 0.02561 0.02561 0.02561 2.74% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.74% MLCellLinOp::correctionResidual() 492 0.02222 0.02222 0.02222 2.38% amrex::Dot() 1114 0.02076 0.02076 0.02076 2.22% Castro::initialize_do_advance() 10 0.02046 0.02046 0.02046 2.19% Castro::computeTemp() 63 0.01975 0.01975 0.01975 2.12% MLMG:computeResOfCorrection() 410 0.01956 0.01956 0.01956 2.10% MLMG::mgVcycle_up::2 82 0.0185 0.0185 0.0185 1.98% Gravity::get_new_grav_vector() 11 0.01766 0.01766 0.01766 1.89% MLPoisson::define() 11 0.01686 0.01686 0.01686 1.81% MLMG::mgVcycle_down::1 82 0.01579 0.01579 0.01579 1.69% Castro::construct_old_gravity() 10 0.01532 0.01532 0.01532 1.64% Gravity::get_old_grav_vector() 10 0.01531 0.01531 0.01531 1.64% amrex::Copy() 1029 0.01492 0.01492 0.01492 1.60% MLMG::mgVcycle_down::2 82 0.01474 0.01474 0.01474 1.58% Castro::normalize_species() 62 0.01465 0.01465 0.01465 1.57% FabArray::ParallelCopy() 861 0.01454 0.01454 0.01454 1.56% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.55% MLMG::mgVcycle_down::3 82 0.01443 0.01443 0.01443 1.55% FabArray::ParallelCopy_nowait() 861 0.0143 0.0143 0.0143 1.53% MLMG::mgVcycle_down::4 82 0.01421 0.01421 0.01421 1.52% Castro::enforce_min_density() 62 0.01318 0.01318 0.01318 1.41% FabArray::setVal() 1144 0.01318 0.01318 0.01318 1.41% MLCGSolver::ParallelAllReduce 1514 0.01247 0.01247 0.01247 1.34% Castro::initialize_advance() 10 0.01215 0.01215 0.01215 1.30% Castro::do_new_sources() 10 0.0121 0.0121 0.0121 1.30% MLMG::addInterpCorrection() 410 0.01201 0.01201 0.01201 1.29% Castro::expand_state() 10 0.01169 0.01169 0.01169 1.25% MLMG::mgVcycle_up::4 82 0.01154 0.01154 0.01154 1.24% MLMG::mgVcycle_up::1 82 0.0115 0.0115 0.0115 1.23% Castro::do_old_sources() 10 0.01145 0.01145 0.01145 1.23% MLCellLinOp::defineAuxData() 11 0.01141 0.01141 0.01141 1.22% amrex::average_down 410 0.01122 0.01122 0.01122 1.20% MLMG::mgVcycle_up::3 82 0.01099 0.01099 0.01099 1.18% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.11% FabArray::Saxpy() 813 0.008238 0.008238 0.008238 0.88% FabArray::Xpay() 821 0.008134 0.008134 0.008134 0.87% MLCellLinOp::solutionResidual() 93 0.007242 0.007242 0.007242 0.78% Castro::post_timestep() 10 0.007028 0.007028 0.007028 0.75% Gravity::fill_multipole_BCs() 11 0.006989 0.006989 0.006989 0.75% MLMG::computeResidual() 82 0.006248 0.006248 0.006248 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005778 0.005778 0.005778 0.62% Castro::estTimeStep() 21 0.005595 0.005595 0.005595 0.60% MLCellLinOp::defineBC() 11 0.004991 0.004991 0.004991 0.53% BndryData::define() 11 0.004765 0.004765 0.004765 0.51% MLMG::prepareForSolve() 11 0.004711 0.004711 0.004711 0.50% FabArray::LinComb() 557 0.004551 0.004551 0.004551 0.49% amrex::Add() 164 0.004352 0.004352 0.004352 0.47% Amr::InitializeInit() 1 0.004136 0.004136 0.004136 0.44% Amr::defBaseLevel() 1 0.004131 0.004131 0.004131 0.44% Castro::initData() 1 0.003629 0.003629 0.003629 0.39% Castro::construct_new_source() 50 0.00333 0.00333 0.00333 0.36% Castro::construct_new_gravity_source() 10 0.003288 0.003288 0.003288 0.35% Castro::construct_old_source() 50 0.002816 0.002816 0.002816 0.30% Castro::computeNewDt() 9 0.002807 0.002807 0.002807 0.30% Castro::construct_old_gravity_source() 10 0.002799 0.002799 0.002799 0.30% MLMG::ResNormInf() 93 0.002088 0.002088 0.002088 0.22% Castro::apply_source_to_state() 20 0.001831 0.001831 0.001831 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001732 0.001732 0.001732 0.19% Castro::reset_internal_energy(Fab) 504 0.001528 0.001528 0.001528 0.16% FabArrayBase::getCPC() 1323 0.001444 0.001444 0.001444 0.15% MLMG::getGradSolution() 11 0.001431 0.001431 0.001431 0.15% MLCellLinOp::compGrad() 11 0.001425 0.001425 0.001425 0.15% MLCellLinOp::setLevelBC() 11 0.00142 0.00142 0.00142 0.15% FabArray::setDomainBndry() 41 0.001328 0.001328 0.001328 0.14% FabArray::mult() 43 0.001324 0.001324 0.001324 0.14% Castro::check_for_nan() 20 0.00122 0.00122 0.00122 0.13% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.13% Castro::post_regrid() 1 0.001201 0.001201 0.001201 0.13% MLPoisson::prepareForSolve() 11 0.001154 0.001154 0.001154 0.12% MLCellLinOp::prepareForSolve() 11 0.00114 0.00114 0.00114 0.12% Castro::enforce_speed_limit() 62 0.001125 0.001125 0.001125 0.12% MLMG::computeMLResidual() 11 0.001039 0.001039 0.001039 0.11% Castro::computeInitialDt() 2 0.001026 0.001026 0.001026 0.11% Gravity::update_max_rhs() 11 0.0008353 0.0008353 0.0008353 0.09% FabArrayBase::CPC::define() 454 0.0006806 0.0006806 0.0006806 0.07% FabArrayBase::getFB() 4023 0.0006793 0.0006793 0.0006793 0.07% Castro::finalize_advance() 10 0.0005808 0.0005808 0.0005808 0.06% Amr::InitAmr() 1 0.0005095 0.0005095 0.0005095 0.05% Gravity::swapTimeLevels() 10 0.0004375 0.0004375 0.0004375 0.05% MLLinOp::define() 11 0.0004367 0.0004367 0.0004367 0.05% Castro::Castro() 1 0.0004352 0.0004352 0.0004352 0.05% MLLinOp::defineGrids() 11 0.0004256 0.0004256 0.0004256 0.05% MLMG::MLResNormInf() 11 0.0002836 0.0002836 0.0002836 0.03% MultiFab::max() 11 0.000266 0.000266 0.000266 0.03% MLMG::MLRhsNormInf() 11 0.000221 0.000221 0.000221 0.02% Castro::create_source_corrector() 10 0.0001772 0.0001772 0.0001772 0.02% Castro::buildMetrics() 1 0.0001605 0.0001605 0.0001605 0.02% FabArrayBase::FB::FB() 56 8.688e-05 8.688e-05 8.688e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.381e-05 5.381e-05 5.381e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.468e-05 4.468e-05 4.468e-05 0.00% Castro::swap_state_time_levels() 10 3.898e-05 3.898e-05 3.898e-05 0.00% makeSFC 55 3.845e-05 3.845e-05 3.845e-05 0.00% Castro::finalize_do_advance() 10 3.827e-05 3.827e-05 3.827e-05 0.00% Castro::enforce_consistent_e() 1 3.508e-05 3.508e-05 3.508e-05 0.00% StateData::define() 4 3.451e-05 3.451e-05 3.451e-05 0.00% Castro::initMFs() 1 2.363e-05 2.363e-05 2.363e-05 0.00% Amr::writeSmallPlotFile() 1 2.334e-05 2.334e-05 2.334e-05 0.00% DistributionMapping::Distribute() 56 1.539e-05 1.539e-05 1.539e-05 0.00% Amr::initSubcycle() 1 9.033e-06 9.033e-06 9.033e-06 0.00% Castro::retry_advance_ctu() 10 5.241e-06 5.241e-06 5.241e-06 0.00% Gravity::set_mass_offset() 11 3.909e-06 3.909e-06 3.909e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.903e-06 3.903e-06 3.903e-06 0.00% AmrLevel::checkPointPost() 3 3.479e-06 3.479e-06 3.479e-06 0.00% Castro::FluxRegCrseInit 10 2.878e-06 2.878e-06 2.878e-06 0.00% Castro::FluxRegFineAdd() 10 1.982e-06 1.982e-06 1.982e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.913e-06 1.913e-06 1.913e-06 0.00% AmrLevel::checkPointPre() 3 1.696e-06 1.696e-06 1.696e-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 87 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 123 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 991 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2818 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3475 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1711 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 2800 B 480 KiB VisMF::Write(FabArray) 656 656 3223 B 320 KiB Castro::normalize_species() 62 62 5107 B 320 KiB amrex::average_down 1067 1067 1216 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1107 B 257 KiB amrex::Dot() 1360 1360 3274 B 160 KiB FabArray::norminf() 907 907 2291 B 160 KiB Castro::do_advance_ctu() 10 10 551 B 160 KiB MultiFab::max() 11 11 44 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 3399 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 8866 8866 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3800 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 114 B 1472 B MLCellLinOp::defineBC() 66 66 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 542 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 46 KiB 8192 KiB VisMF::Write(FabArray) 744 744 591 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3399 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3800 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 289 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 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.04-8-gbacaa10a7636) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-8-gbacaa10a7636) initialized Starting run at 08:39:29 UTC on 2023-04-04. Successfully read inputs file ... Castro git describe: 23.04-1-g68c92753d AMReX git describe: 23.04-8-gbacaa10a7 Microphysics git describe: 23.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.519853279 Restart time = 0.070007823 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.052797661 [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.049136548 [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.067886302 [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.070077678 [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.06330108 [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.040014923 seconds Ending run at 08:39:29 UTC on 2023-04-04. Run time = 0.414269909 Run time without initialization = 0.343677264 Average number of zones advanced per microsecond: 3.814 Average number of zones advanced per microsecond per rank: 3.814 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4143 ... 0.4143 ... 0.4143 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1163 0.1163 0.1163 28.07% VisMF::Read() 3 0.03944 0.03944 0.03944 9.52% VisMF::Write(FabArray) 1 0.0384 0.0384 0.0384 9.27% MLCellLinOp::applyBC() 1946 0.0334 0.0334 0.0334 8.06% Amr::restart() 1 0.02689 0.02689 0.02689 6.49% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.41% FillBoundary_nowait() 1766 0.0127 0.0127 0.0127 3.07% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 2.94% amrex::Dot() 484 0.008946 0.008946 0.008946 2.16% Castro::enforce_min_density() 30 0.008324 0.008324 0.008324 2.01% Castro::normalize_species() 30 0.007873 0.007873 0.007873 1.90% amrex::Copy() 463 0.006993 0.006993 0.006993 1.69% FabArray::setVal() 537 0.006311 0.006311 0.006311 1.52% FabArray::norminf() 326 0.006258 0.006258 0.006258 1.51% FabArray::ParallelCopy_nowait() 380 0.006116 0.006116 0.006116 1.48% Castro::computeTemp() 30 0.005575 0.005575 0.005575 1.35% MLCellLinOp::defineAuxData() 6 0.005409 0.005409 0.005409 1.31% StateDataPhysBCFunct::() 20 0.005373 0.005373 0.005373 1.30% MLPoisson::Fapply() 500 0.004503 0.004503 0.004503 1.09% FabArray::Saxpy() 355 0.003684 0.003684 0.003684 0.89% FabArray::Xpay() 361 0.00352 0.00352 0.00352 0.85% MLMG::addInterpCorrection() 180 0.002956 0.002956 0.002956 0.71% Castro::estTimeStep() 10 0.002778 0.002778 0.002778 0.67% Gravity::fill_multipole_BCs() 6 0.002735 0.002735 0.002735 0.66% amrex::average_down 180 0.002618 0.002618 0.002618 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002207 0.002207 0.002207 0.53% BndryData::define() 6 0.002047 0.002047 0.002047 0.49% FabArray::LinComb() 242 0.001944 0.001944 0.001944 0.47% amrex::Add() 72 0.001861 0.001861 0.001861 0.45% Castro::construct_new_gravity_source() 5 0.001846 0.001846 0.001846 0.45% Castro::do_advance_ctu() 5 0.001741 0.001741 0.001741 0.42% Castro::construct_old_gravity_source() 5 0.001497 0.001497 0.001497 0.36% Amr::writePlotFile() 1 0.001451 0.001451 0.001451 0.35% MLCGSolver::bicgstab 36 0.0009606 0.0009606 0.0009606 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009311 0.0009311 0.0009311 0.22% Castro::construct_new_source() 25 0.0008991 0.0008991 0.0008991 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007682 0.0007682 0.0007682 0.19% MLCellLinOp::setLevelBC() 6 0.0007427 0.0007427 0.0007427 0.18% Castro::reset_internal_energy(Fab) 240 0.000735 0.000735 0.000735 0.18% Castro::subcycle_advance_ctu() 5 0.0006749 0.0006749 0.0006749 0.16% FabArray::mult() 22 0.0006481 0.0006481 0.0006481 0.16% FabArray::setDomainBndry() 20 0.0006436 0.0006436 0.0006436 0.16% MLCellLinOp::prepareForSolve() 6 0.0006118 0.0006118 0.0006118 0.15% MultiFab::contains_nan() 10 0.0005918 0.0005918 0.0005918 0.14% Castro::enforce_speed_limit() 30 0.00058 0.00058 0.00058 0.14% MLCellLinOp::compGrad() 6 0.0004934 0.0004934 0.0004934 0.12% MLCellLinOp::smooth() 720 0.0004927 0.0004927 0.0004927 0.12% MLMG::prepareForSolve() 6 0.0004839 0.0004839 0.0004839 0.12% FabArrayBase::CPC::define() 244 0.0004418 0.0004418 0.0004418 0.11% Amr::InitAmr() 1 0.0004109 0.0004109 0.0004109 0.10% FabArray::FillBoundary() 1766 0.0003662 0.0003662 0.0003662 0.09% FabArrayBase::getCPC() 632 0.0003586 0.0003586 0.0003586 0.09% main() 1 0.0003201 0.0003201 0.0003201 0.08% Gravity::get_old_grav_vector() 5 0.0003105 0.0003105 0.0003105 0.07% Gravity::get_new_grav_vector() 5 0.0002809 0.0002809 0.0002809 0.07% FabArrayBase::getFB() 1766 0.0002546 0.0002546 0.0002546 0.06% MLCellLinOp::apply() 500 0.0001939 0.0001939 0.0001939 0.05% MLLinOp::defineGrids() 6 0.0001864 0.0001864 0.0001864 0.04% MLMG::mgVcycle() 36 0.0001628 0.0001628 0.0001628 0.04% Amr::coarseTimeStep() 5 0.0001626 0.0001626 0.0001626 0.04% MultiFab::max() 6 0.0001371 0.0001371 0.0001371 0.03% MLCGSolver::ParallelAllReduce 659 0.0001329 0.0001329 0.0001329 0.03% MLCellLinOp::defineBC() 6 0.0001165 0.0001165 0.0001165 0.03% FillPatchIterator::Initialize 20 0.0001158 0.0001158 0.0001158 0.03% FabArray::ParallelCopy() 380 0.0001093 0.0001093 0.0001093 0.03% Castro::create_source_corrector() 5 0.0001 0.0001 0.0001 0.02% MLCellLinOp::correctionResidual() 216 9.607e-05 9.607e-05 9.607e-05 0.02% Amr::timeStep() 5 9.062e-05 9.062e-05 9.062e-05 0.02% Castro::initialize_do_advance() 5 8.47e-05 8.47e-05 8.47e-05 0.02% Castro::post_timestep() 5 8.083e-05 8.083e-05 8.083e-05 0.02% AmrLevel::restart() 1 7.747e-05 7.747e-05 7.747e-05 0.02% FabArrayBase::FB::FB() 26 6.352e-05 6.352e-05 6.352e-05 0.02% Castro::construct_old_gravity() 5 6.218e-05 6.218e-05 6.218e-05 0.02% StateData::restartDoit() 4 6.18e-05 6.18e-05 6.18e-05 0.01% Gravity::update_max_rhs() 6 6.122e-05 6.122e-05 6.122e-05 0.01% Gravity::solve_for_phi() 5 5.235e-05 5.235e-05 5.235e-05 0.01% MLMG:computeResOfCorrection() 180 5.046e-05 5.046e-05 5.046e-05 0.01% Castro::expand_state() 5 4.998e-05 4.998e-05 4.998e-05 0.01% MLMG::mgVcycle_down::0 36 4.147e-05 4.147e-05 4.147e-05 0.01% MLMG::actualBottomSolve() 36 4.14e-05 4.14e-05 4.14e-05 0.01% Castro::finalize_advance() 5 4.051e-05 4.051e-05 4.051e-05 0.01% MLMG::mgVcycle_down::1 36 4.034e-05 4.034e-05 4.034e-05 0.01% Castro::clean_state() 30 3.806e-05 3.806e-05 3.806e-05 0.01% MLMG::mgVcycle_down::4 36 3.736e-05 3.736e-05 3.736e-05 0.01% MLMG::mgVcycle_down::2 36 3.707e-05 3.707e-05 3.707e-05 0.01% MLMG::solve() 6 3.597e-05 3.597e-05 3.597e-05 0.01% MLMG::mgVcycle_down::3 36 3.577e-05 3.577e-05 3.577e-05 0.01% Castro::initialize_advance() 5 3.517e-05 3.517e-05 3.517e-05 0.01% Castro::advance() 5 3.172e-05 3.172e-05 3.172e-05 0.01% Castro::construct_old_source() 25 3.059e-05 3.059e-05 3.059e-05 0.01% MLMG::mgVcycle_up::4 36 2.965e-05 2.965e-05 2.965e-05 0.01% Amr::writeSmallPlotFile() 1 2.941e-05 2.941e-05 2.941e-05 0.01% Castro::buildMetrics() 1 2.738e-05 2.738e-05 2.738e-05 0.01% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.01% MLMG::oneIter() 36 2.566e-05 2.566e-05 2.566e-05 0.01% Castro::swap_state_time_levels() 5 2.461e-05 2.461e-05 2.461e-05 0.01% MLMG::mgVcycle_up::0 36 2.39e-05 2.39e-05 2.39e-05 0.01% MLMG::mgVcycle_up::3 36 2.227e-05 2.227e-05 2.227e-05 0.01% MLCellLinOp::solutionResidual() 42 2.202e-05 2.202e-05 2.202e-05 0.01% MLMG::mgVcycle_up::2 36 2.133e-05 2.133e-05 2.133e-05 0.01% MLMG::mgVcycle_up::1 36 2.05e-05 2.05e-05 2.05e-05 0.00% Castro::finalize_do_advance() 5 1.999e-05 1.999e-05 1.999e-05 0.00% Castro::post_restart() 1 1.981e-05 1.981e-05 1.981e-05 0.00% MLMG::ResNormInf() 42 1.82e-05 1.82e-05 1.82e-05 0.00% MLPoisson::define() 6 1.563e-05 1.563e-05 1.563e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.509e-05 1.509e-05 1.509e-05 0.00% MLMG::mgVcycle_bottom 36 1.502e-05 1.502e-05 1.502e-05 0.00% MLMG::computeResidual() 36 1.466e-05 1.466e-05 1.466e-05 0.00% FillPatchSingleLevel 20 1.396e-05 1.396e-05 1.396e-05 0.00% makeSFC 30 1.297e-05 1.297e-05 1.297e-05 0.00% Castro::construct_new_gravity() 5 1.292e-05 1.292e-05 1.292e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.178e-05 1.178e-05 1.178e-05 0.00% MLPoisson::prepareForSolve() 6 1.004e-05 1.004e-05 1.004e-05 0.00% Castro::do_new_sources() 5 9.707e-06 9.707e-06 9.707e-06 0.00% DistributionMapping::Distribute() 31 9.578e-06 9.578e-06 9.578e-06 0.00% MLMG::computeMLResidual() 6 9.369e-06 9.369e-06 9.369e-06 0.00% Castro::do_old_sources() 5 8.743e-06 8.743e-06 8.743e-06 0.00% Amr::initSubcycle() 1 8.676e-06 8.676e-06 8.676e-06 0.00% Gravity::actual_multilevel_solve() 1 8.06e-06 8.06e-06 8.06e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.451e-06 7.451e-06 7.451e-06 0.00% MLLinOp::define() 6 6.105e-06 6.105e-06 6.105e-06 0.00% Castro::check_for_nan() 10 5.683e-06 5.683e-06 5.683e-06 0.00% Castro::apply_source_to_state() 10 5.346e-06 5.346e-06 5.346e-06 0.00% Gravity::swapTimeLevels() 5 4.23e-06 4.23e-06 4.23e-06 0.00% Castro::computeNewDt() 5 4.111e-06 4.111e-06 4.111e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.312e-06 3.312e-06 3.312e-06 0.00% MLMG::getGradSolution() 6 2.956e-06 2.956e-06 2.956e-06 0.00% Castro::retry_advance_ctu() 5 2.369e-06 2.369e-06 2.369e-06 0.00% MLMG::MLResNormInf() 6 2.344e-06 2.344e-06 2.344e-06 0.00% Castro::FluxRegCrseInit 5 2.291e-06 2.291e-06 2.291e-06 0.00% MLMG::MLRhsNormInf() 6 2.201e-06 2.201e-06 2.201e-06 0.00% Gravity::set_mass_offset() 6 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::FluxRegFineAdd() 5 1.629e-06 1.629e-06 1.629e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.196e-06 1.196e-06 1.196e-06 0.00% Amr::init() 1 1.027e-06 1.027e-06 1.027e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4143 0.4143 0.4143 100.00% Amr::coarseTimeStep() 5 0.3034 0.3034 0.3034 73.22% Amr::timeStep() 5 0.302 0.302 0.302 72.88% Castro::advance() 5 0.2978 0.2978 0.2978 71.89% Castro::subcycle_advance_ctu() 5 0.2906 0.2906 0.2906 70.14% Castro::do_advance_ctu() 5 0.2899 0.2899 0.2899 69.98% Castro::construct_new_gravity() 5 0.1303 0.1303 0.1303 31.45% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 30.30% Gravity::actual_solve_with_mlmg() 6 0.1225 0.1225 0.1225 29.57% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 29.57% Castro::construct_ctu_hydro_source() 5 0.1163 0.1163 0.1163 28.07% MLMG::solve() 6 0.1111 0.1111 0.1111 26.82% MLMG::oneIter() 36 0.1042 0.1042 0.1042 25.16% MLMG::mgVcycle() 36 0.1027 0.1027 0.1027 24.78% Amr::init() 1 0.07005 0.07005 0.07005 16.91% Amr::restart() 1 0.07005 0.07005 0.07005 16.91% MLCellLinOp::smooth() 720 0.05009 0.05009 0.05009 12.09% MLCellLinOp::applyBC() 1946 0.04679 0.04679 0.04679 11.29% Amr::writePlotFile() 1 0.04011 0.04011 0.04011 9.68% AmrLevel::restart() 1 0.03963 0.03963 0.03963 9.57% StateData::restartDoit() 4 0.03955 0.03955 0.03955 9.55% VisMF::Read() 3 0.03944 0.03944 0.03944 9.52% VisMF::Write(FabArray) 1 0.0384 0.0384 0.0384 9.27% MLMG::mgVcycle_bottom 36 0.03199 0.03199 0.03199 7.72% MLMG::actualBottomSolve() 36 0.03198 0.03198 0.03198 7.72% MLCGSolver::bicgstab 36 0.03167 0.03167 0.03167 7.64% Castro::clean_state() 30 0.02533 0.02533 0.02533 6.11% FillPatchIterator::Initialize 20 0.02038 0.02038 0.02038 4.92% FillPatchSingleLevel 20 0.01962 0.01962 0.01962 4.74% StateDataPhysBCFunct::() 20 0.01755 0.01755 0.01755 4.24% MLCellLinOp::apply() 500 0.01577 0.01577 0.01577 3.81% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.44% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.41% FabArray::FillBoundary() 1766 0.01339 0.01339 0.01339 3.23% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.14% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 2.94% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.61% Castro::initialize_do_advance() 5 0.01 0.01 0.01 2.41% MLCellLinOp::correctionResidual() 216 0.009544 0.009544 0.009544 2.30% MLPoisson::define() 6 0.009132 0.009132 0.009132 2.20% amrex::Dot() 484 0.008946 0.008946 0.008946 2.16% Castro::computeTemp() 30 0.008517 0.008517 0.008517 2.06% MLMG:computeResOfCorrection() 180 0.008383 0.008383 0.008383 2.02% Castro::do_new_sources() 5 0.008364 0.008364 0.008364 2.02% Castro::enforce_min_density() 30 0.008324 0.008324 0.008324 2.01% Castro::normalize_species() 30 0.007873 0.007873 0.007873 1.90% Castro::construct_old_gravity() 5 0.007829 0.007829 0.007829 1.89% Gravity::get_old_grav_vector() 5 0.007766 0.007766 0.007766 1.87% Gravity::get_new_grav_vector() 5 0.007649 0.007649 0.007649 1.85% amrex::Copy() 463 0.006993 0.006993 0.006993 1.69% Castro::initialize_advance() 5 0.006891 0.006891 0.006891 1.66% MLMG::mgVcycle_down::1 36 0.006853 0.006853 0.006853 1.65% FabArray::ParallelCopy() 380 0.006635 0.006635 0.006635 1.60% FabArray::ParallelCopy_nowait() 380 0.006526 0.006526 0.006526 1.58% MLMG::mgVcycle_down::2 36 0.006397 0.006397 0.006397 1.54% FabArray::setVal() 537 0.006311 0.006311 0.006311 1.52% MLMG::mgVcycle_down::3 36 0.006272 0.006272 0.006272 1.51% FabArray::norminf() 326 0.006258 0.006258 0.006258 1.51% MLMG::mgVcycle_down::4 36 0.006215 0.006215 0.006215 1.50% Castro::do_old_sources() 5 0.006205 0.006205 0.006205 1.50% MLCellLinOp::defineAuxData() 6 0.00616 0.00616 0.00616 1.49% MLCGSolver::ParallelAllReduce 659 0.005414 0.005414 0.005414 1.31% Castro::expand_state() 5 0.005382 0.005382 0.005382 1.30% MLMG::addInterpCorrection() 180 0.005227 0.005227 0.005227 1.26% MLMG::mgVcycle_up::4 36 0.00504 0.00504 0.00504 1.22% MLMG::mgVcycle_up::1 36 0.005005 0.005005 0.005005 1.21% amrex::average_down 180 0.004931 0.004931 0.004931 1.19% MLMG::mgVcycle_up::2 36 0.00488 0.00488 0.00488 1.18% MLMG::mgVcycle_up::3 36 0.004798 0.004798 0.004798 1.16% MLPoisson::Fapply() 500 0.004503 0.004503 0.004503 1.09% Castro::post_timestep() 5 0.004037 0.004037 0.004037 0.97% FabArray::Saxpy() 355 0.003684 0.003684 0.003684 0.89% FabArray::Xpay() 361 0.00352 0.00352 0.00352 0.85% Castro::post_restart() 1 0.003354 0.003354 0.003354 0.81% Gravity::multilevel_solve_for_new_phi() 1 0.003245 0.003245 0.003245 0.78% MLCellLinOp::solutionResidual() 42 0.003243 0.003243 0.003243 0.78% Gravity::actual_multilevel_solve() 1 0.00323 0.00323 0.00323 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002942 0.002942 0.002942 0.71% Gravity::fill_multipole_BCs() 6 0.002885 0.002885 0.002885 0.70% Castro::estTimeStep() 10 0.002778 0.002778 0.002778 0.67% Castro::construct_new_source() 25 0.002745 0.002745 0.002745 0.66% MLCellLinOp::defineBC() 6 0.002735 0.002735 0.002735 0.66% MLMG::computeResidual() 36 0.002692 0.002692 0.002692 0.65% BndryData::define() 6 0.002618 0.002618 0.002618 0.63% MLMG::prepareForSolve() 6 0.002556 0.002556 0.002556 0.62% FabArray::LinComb() 242 0.001944 0.001944 0.001944 0.47% amrex::Add() 72 0.001861 0.001861 0.001861 0.45% Castro::construct_new_gravity_source() 5 0.001846 0.001846 0.001846 0.45% Castro::construct_old_source() 25 0.001527 0.001527 0.001527 0.37% Castro::construct_old_gravity_source() 5 0.001497 0.001497 0.001497 0.36% Castro::computeNewDt() 5 0.001237 0.001237 0.001237 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009311 0.0009311 0.0009311 0.22% MLMG::ResNormInf() 42 0.0009252 0.0009252 0.0009252 0.22% Castro::apply_source_to_state() 10 0.0009222 0.0009222 0.0009222 0.22% FabArrayBase::getCPC() 632 0.0008004 0.0008004 0.0008004 0.19% MLMG::getGradSolution() 6 0.0007573 0.0007573 0.0007573 0.18% MLCellLinOp::compGrad() 6 0.0007543 0.0007543 0.0007543 0.18% MLCellLinOp::setLevelBC() 6 0.0007427 0.0007427 0.0007427 0.18% Castro::reset_internal_energy(Fab) 240 0.000735 0.000735 0.000735 0.18% FabArray::mult() 22 0.0006481 0.0006481 0.0006481 0.16% FabArray::setDomainBndry() 20 0.0006436 0.0006436 0.0006436 0.16% MLPoisson::prepareForSolve() 6 0.0006218 0.0006218 0.0006218 0.15% MLCellLinOp::prepareForSolve() 6 0.0006118 0.0006118 0.0006118 0.15% Castro::check_for_nan() 10 0.0005974 0.0005974 0.0005974 0.14% MultiFab::contains_nan() 10 0.0005918 0.0005918 0.0005918 0.14% Castro::enforce_speed_limit() 30 0.00058 0.00058 0.00058 0.14% MLMG::computeMLResidual() 6 0.0005754 0.0005754 0.0005754 0.14% Gravity::update_max_rhs() 6 0.0004497 0.0004497 0.0004497 0.11% FabArrayBase::CPC::define() 244 0.0004418 0.0004418 0.0004418 0.11% Amr::InitAmr() 1 0.0004196 0.0004196 0.0004196 0.10% Castro::finalize_advance() 5 0.0003187 0.0003187 0.0003187 0.08% FabArrayBase::getFB() 1766 0.0003181 0.0003181 0.0003181 0.08% Gravity::swapTimeLevels() 5 0.000229 0.000229 0.000229 0.06% MLLinOp::define() 6 0.0002218 0.0002218 0.0002218 0.05% MLLinOp::defineGrids() 6 0.0002157 0.0002157 0.0002157 0.05% MLMG::MLResNormInf() 6 0.000151 0.000151 0.000151 0.04% Castro::buildMetrics() 1 0.0001463 0.0001463 0.0001463 0.04% MultiFab::max() 6 0.0001371 0.0001371 0.0001371 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% Castro::create_source_corrector() 5 0.0001 0.0001 0.0001 0.02% FabArrayBase::FB::FB() 26 6.352e-05 6.352e-05 6.352e-05 0.02% Amr::writeSmallPlotFile() 1 2.941e-05 2.941e-05 2.941e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.811e-05 2.811e-05 2.811e-05 0.01% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.01% Castro::swap_state_time_levels() 5 2.461e-05 2.461e-05 2.461e-05 0.01% makeSFC 30 2.066e-05 2.066e-05 2.066e-05 0.00% Castro::finalize_do_advance() 5 1.999e-05 1.999e-05 1.999e-05 0.00% DistributionMapping::Distribute() 31 9.578e-06 9.578e-06 9.578e-06 0.00% Amr::initSubcycle() 1 8.676e-06 8.676e-06 8.676e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.208e-06 5.208e-06 5.208e-06 0.00% Castro::retry_advance_ctu() 5 2.369e-06 2.369e-06 2.369e-06 0.00% Castro::FluxRegCrseInit 5 2.291e-06 2.291e-06 2.291e-06 0.00% Gravity::set_mass_offset() 6 2.199e-06 2.199e-06 2.199e-06 0.00% Castro::FluxRegFineAdd() 5 1.629e-06 1.629e-06 1.629e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.196e-06 1.196e-06 1.196e-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 200 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 136 MiB 692 MiB Castro::initMFs() 48 48 56 MiB 68 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB FillPatchIterator::Initialize 160 160 1051 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2718 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6343 KiB 14 MiB MLMG::prepareForSolve() 361 361 3293 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6339 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2096 B 2048 KiB Gravity::solve_for_phi() 40 40 604 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3142 B 480 KiB VisMF::Write(FabArray) 112 112 1267 B 320 KiB Castro::normalize_species() 30 30 6178 B 320 KiB amrex::average_down 469 469 1151 B 257 KiB MLMG::addInterpCorrection() 468 468 1075 B 257 KiB amrex::Dot() 592 592 3183 B 160 KiB FabArray::norminf() 398 398 2232 B 160 KiB Castro::do_advance_ctu() 5 5 553 B 160 KiB MultiFab::max() 6 6 50 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3203 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 208 B 9344 B amrex::Copy() 56 56 5619 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1502 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 104 KiB 8192 KiB VisMF::Write(FabArray) 120 120 293 KiB 3584 KiB VisMF::Read() 24 24 184 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3203 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 206 B 9328 B amrex::Copy() 56 56 5619 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2504 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 45 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 500 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 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-8-gbacaa10a7636) finalized