Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-27-g6c8122d437f9) initialized Starting run at 09:24:18 UTC on 2023-09-29. Successfully read inputs file ... Castro git describe: 23.09-35-gb4030be5d AMReX git describe: 23.09-27-g6c8122d43 Microphysics git describe: 23.09-16-g973a84c1 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.049163448 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027290262 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.054973263 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.069706798 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.073036187 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.065346349 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.062509635 [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.047793366 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067873231 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074126282 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.073917214 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.052333031 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054243371 [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.080794829 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027128295 seconds Ending run at 09:24:19 UTC on 2023-09-29. Run time = 0.932364178 Run time without initialization = 0.804571173 Average number of zones advanced per microsecond: 3.258 Average number of zones advanced per microsecond per rank: 3.258 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9324 ... 0.9324 ... 0.9324 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2621 0.2621 0.2621 28.11% VisMF::Write(FabArray) 11 0.2241 0.2241 0.2241 24.04% MLCellLinOp::applyBC() 4379 0.07587 0.07587 0.07587 8.14% MLPoisson::Fsmooth() 3240 0.03803 0.03803 0.03803 4.08% FillBoundary_nowait() 3974 0.0311 0.0311 0.0311 3.34% StateDataPhysBCFunct::() 41 0.02747 0.02747 0.02747 2.95% StateData::FillBoundary(geom) 328 0.02398 0.02398 0.02398 2.57% amrex::Dot() 1100 0.02004 0.02004 0.02004 2.15% Castro::normalize_species() 62 0.01853 0.01853 0.01853 1.99% Castro::computeTemp() 63 0.0152 0.0152 0.0152 1.63% amrex::Copy() 1019 0.01472 0.01472 0.01472 1.58% FabArray::norminf() 734 0.01408 0.01408 0.01408 1.51% FabArray::ParallelCopy_nowait() 851 0.01321 0.01321 0.01321 1.42% FabArray::setVal() 1135 0.01299 0.01299 0.01299 1.39% Castro::enforce_min_density() 62 0.01098 0.01098 0.01098 1.18% MLPoisson::Fapply() 1128 0.01008 0.01008 0.01008 1.08% MLCellLinOp::defineAuxData() 11 0.009725 0.009725 0.009725 1.04% Gravity::fill_multipole_BCs() 11 0.009022 0.009022 0.009022 0.97% FabArray::Saxpy() 803 0.008032 0.008032 0.008032 0.86% FabArray::Xpay() 811 0.007923 0.007923 0.007923 0.85% MLMG::addInterpCorrection() 405 0.006621 0.006621 0.006621 0.71% Castro::estTimeStep() 21 0.006258 0.006258 0.006258 0.67% amrex::average_down 405 0.005897 0.005897 0.005897 0.63% Amr::checkPoint() 3 0.005546 0.005546 0.005546 0.59% Castro::reset_internal_energy(MultiFab) 63 0.005379 0.005379 0.005379 0.58% FabArray::LinComb() 550 0.004379 0.004379 0.004379 0.47% amrex::Add() 162 0.004326 0.004326 0.004326 0.46% BndryData::define() 11 0.003649 0.003649 0.003649 0.39% Castro::construct_new_gravity_source() 10 0.003391 0.003391 0.003391 0.36% Castro::enforce_speed_limit() 62 0.002952 0.002952 0.002952 0.32% Castro::construct_old_gravity_source() 10 0.002906 0.002906 0.002906 0.31% MLCGSolver::bicgstab 81 0.002241 0.002241 0.002241 0.24% Amr::writePlotFile() 2 0.002047 0.002047 0.002047 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001701 0.001701 0.001701 0.18% Castro::reset_internal_energy(Fab) 504 0.001625 0.001625 0.001625 0.17% check_for_negative_density() 10 0.001565 0.001565 0.001565 0.17% Gravity::actual_solve_with_mlmg() 11 0.001536 0.001536 0.001536 0.16% MLCellLinOp::setLevelBC() 11 0.001438 0.001438 0.001438 0.15% Castro::initData() 1 0.001436 0.001436 0.001436 0.15% FabArray::mult() 43 0.001348 0.001348 0.001348 0.14% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLCellLinOp::prepareForSolve() 11 0.001245 0.001245 0.001245 0.13% MLCellLinOp::smooth() 1620 0.001196 0.001196 0.001196 0.13% MLCellLinOp::compGrad() 11 0.001069 0.001069 0.001069 0.11% MLMG::prepareForSolve() 11 0.0009184 0.0009184 0.0009184 0.10% FabArrayBase::getCPC() 1313 0.0007998 0.0007998 0.0007998 0.09% FabArray::FillBoundary() 3974 0.000795 0.000795 0.000795 0.09% FabArrayBase::CPC::define() 454 0.0006755 0.0006755 0.0006755 0.07% FabArrayBase::getFB() 3974 0.0006153 0.0006153 0.0006153 0.07% Gravity::get_new_grav_vector() 11 0.0006076 0.0006076 0.0006076 0.07% Amr::InitAmr() 1 0.0004868 0.0004868 0.0004868 0.05% Gravity::get_old_grav_vector() 10 0.0004802 0.0004802 0.0004802 0.05% MLCellLinOp::apply() 1128 0.0004594 0.0004594 0.0004594 0.05% Amr::coarseTimeStep() 10 0.0004427 0.0004427 0.0004427 0.05% AmrLevel::FillPatch() 41 0.0003475 0.0003475 0.0003475 0.04% MultiFab::max() 11 0.0003278 0.0003278 0.0003278 0.04% main() 1 0.0003087 0.0003087 0.0003087 0.03% MLCGSolver::ParallelAllReduce 1495 0.000289 0.000289 0.000289 0.03% FabArray::ParallelCopy() 851 0.0002647 0.0002647 0.0002647 0.03% Castro::subcycle_advance_ctu() 10 0.0002364 0.0002364 0.0002364 0.03% MLCellLinOp::correctionResidual() 486 0.0002331 0.0002331 0.0002331 0.03% MLCellLinOp::defineBC() 11 0.0002262 0.0002262 0.0002262 0.02% FillPatchIterator::Initialize 41 0.0002245 0.0002245 0.0002245 0.02% MLMG::mgVcycle() 81 0.0002 0.0002 0.0002 0.02% Castro::create_source_corrector() 10 0.0001863 0.0001863 0.0001863 0.02% Amr::timeStep() 10 0.0001856 0.0001856 0.0001856 0.02% Gravity::solve_for_phi() 10 0.000176 0.000176 0.000176 0.02% Gravity::update_max_rhs() 11 0.0001729 0.0001729 0.0001729 0.02% MLLinOp::defineGrids() 11 0.0001586 0.0001586 0.0001586 0.02% MLMG:computeResOfCorrection() 405 0.0001291 0.0001291 0.0001291 0.01% StateData::checkPoint() 12 0.0001271 0.0001271 0.0001271 0.01% Castro::initialize_advance() 10 0.0001012 0.0001012 0.0001012 0.01% Castro::Castro() 1 9.958e-05 9.958e-05 9.958e-05 0.01% FabArrayBase::FB::FB() 56 9.346e-05 9.346e-05 9.346e-05 0.01% MLMG::actualBottomSolve() 81 8.85e-05 8.85e-05 8.85e-05 0.01% MLMG::mgVcycle_down::0 81 8.414e-05 8.414e-05 8.414e-05 0.01% MLMG::mgVcycle_down::3 81 8.02e-05 8.02e-05 8.02e-05 0.01% Castro::clean_state() 62 7.99e-05 7.99e-05 7.99e-05 0.01% MLMG::mgVcycle_down::4 81 7.921e-05 7.921e-05 7.921e-05 0.01% MLMG::mgVcycle_down::2 81 7.839e-05 7.839e-05 7.839e-05 0.01% Castro::advance() 10 7.768e-05 7.768e-05 7.768e-05 0.01% MLMG::mgVcycle_down::1 81 7.698e-05 7.698e-05 7.698e-05 0.01% MLMG::solve() 11 7.419e-05 7.419e-05 7.419e-05 0.01% AmrLevel::checkPoint() 3 7.404e-05 7.404e-05 7.404e-05 0.01% Castro::post_timestep() 10 7.346e-05 7.346e-05 7.346e-05 0.01% Castro::finalize_advance() 10 7.116e-05 7.116e-05 7.116e-05 0.01% Castro::enforce_consistent_e() 1 6.832e-05 6.832e-05 6.832e-05 0.01% Castro::initialize_do_advance() 10 6.204e-05 6.204e-05 6.204e-05 0.01% MLMG::mgVcycle_up::4 81 6.181e-05 6.181e-05 6.181e-05 0.01% MLMG::oneIter() 81 5.307e-05 5.307e-05 5.307e-05 0.01% Castro::do_new_sources() 10 5.191e-05 5.191e-05 5.191e-05 0.01% MLMG::mgVcycle_up::0 81 5.177e-05 5.177e-05 5.177e-05 0.01% MLMG::mgVcycle_up::3 81 5.138e-05 5.138e-05 5.138e-05 0.01% MLMG::mgVcycle_up::1 81 5.117e-05 5.117e-05 5.117e-05 0.01% MLMG::mgVcycle_up::2 81 5.115e-05 5.115e-05 5.115e-05 0.01% Castro::finalize_do_advance() 10 4.977e-05 4.977e-05 4.977e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.886e-05 4.886e-05 4.886e-05 0.01% Amr::writeSmallPlotFile() 1 4.824e-05 4.824e-05 4.824e-05 0.01% MLCellLinOp::solutionResidual() 92 4.733e-05 4.733e-05 4.733e-05 0.01% Castro::do_advance_ctu() 10 4.694e-05 4.694e-05 4.694e-05 0.01% Castro::construct_new_source() 50 4.628e-05 4.628e-05 4.628e-05 0.00% Castro::swap_state_time_levels() 10 3.897e-05 3.897e-05 3.897e-05 0.00% StateData::define() 4 3.702e-05 3.702e-05 3.702e-05 0.00% MLMG::mgVcycle_bottom 81 3.505e-05 3.505e-05 3.505e-05 0.00% MLMG::computeResidual() 81 3.383e-05 3.383e-05 3.383e-05 0.00% FillPatchSingleLevel 41 3.371e-05 3.371e-05 3.371e-05 0.00% MLMG::ResNormInf() 92 3.321e-05 3.321e-05 3.321e-05 0.00% Amr::FinalizeInit() 1 2.796e-05 2.796e-05 2.796e-05 0.00% Castro::initMFs() 1 2.709e-05 2.709e-05 2.709e-05 0.00% Castro::construct_new_gravity() 10 2.692e-05 2.692e-05 2.692e-05 0.00% Amr::defBaseLevel() 1 2.687e-05 2.687e-05 2.687e-05 0.00% Castro::buildMetrics() 1 2.683e-05 2.683e-05 2.683e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.55e-05 2.55e-05 2.55e-05 0.00% makeSFC 55 2.396e-05 2.396e-05 2.396e-05 0.00% Castro::do_old_sources() 10 2.233e-05 2.233e-05 2.233e-05 0.00% MLPoisson::define() 11 2.116e-05 2.116e-05 2.116e-05 0.00% Castro::construct_old_source() 50 1.915e-05 1.915e-05 1.915e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.791e-05 1.791e-05 1.791e-05 0.00% DistributionMapping::Distribute() 56 1.642e-05 1.642e-05 1.642e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.523e-05 1.523e-05 1.523e-05 0.00% MLLinOp::define() 11 1.376e-05 1.376e-05 1.376e-05 0.00% Castro::check_for_nan() 20 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::apply_source_to_state() 20 1.302e-05 1.302e-05 1.302e-05 0.00% Castro::construct_old_gravity() 10 1.27e-05 1.27e-05 1.27e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.266e-05 1.266e-05 1.266e-05 0.00% Amr::initSubcycle() 1 9.362e-06 9.362e-06 9.362e-06 0.00% Amr::InitializeInit() 1 8.739e-06 8.739e-06 8.739e-06 0.00% Castro::computeNewDt() 9 8.585e-06 8.585e-06 8.585e-06 0.00% Gravity::swapTimeLevels() 10 8.448e-06 8.448e-06 8.448e-06 0.00% MLMG::computeMLResidual() 11 8.048e-06 8.048e-06 8.048e-06 0.00% Gravity::actual_multilevel_solve() 1 7.971e-06 7.971e-06 7.971e-06 0.00% MLPoisson::prepareForSolve() 11 7.864e-06 7.864e-06 7.864e-06 0.00% Gravity::set_mass_offset() 11 7.146e-06 7.146e-06 7.146e-06 0.00% Castro::expand_state() 10 6.55e-06 6.55e-06 6.55e-06 0.00% MLMG::getGradSolution() 11 5.683e-06 5.683e-06 5.683e-06 0.00% AmrLevel::checkPointPost() 3 5.494e-06 5.494e-06 5.494e-06 0.00% Castro::retry_advance_ctu() 10 4.897e-06 4.897e-06 4.897e-06 0.00% MLMG::MLRhsNormInf() 11 4.337e-06 4.337e-06 4.337e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.243e-06 4.243e-06 4.243e-06 0.00% Castro::post_init() 1 4.039e-06 4.039e-06 4.039e-06 0.00% MLMG::MLResNormInf() 11 3.781e-06 3.781e-06 3.781e-06 0.00% Amr::init() 1 3.748e-06 3.748e-06 3.748e-06 0.00% Castro::computeInitialDt() 2 3.359e-06 3.359e-06 3.359e-06 0.00% Castro::FluxRegCrseInit 10 3.196e-06 3.196e-06 3.196e-06 0.00% Castro::FluxRegFineAdd() 10 2.423e-06 2.423e-06 2.423e-06 0.00% AmrLevel::checkPointPre() 3 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.931e-06 1.931e-06 1.931e-06 0.00% Amr::initialInit() 1 1.478e-06 1.478e-06 1.478e-06 0.00% Castro::post_regrid() 1 1.458e-06 1.458e-06 1.458e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9324 0.9324 0.9324 100.00% Amr::coarseTimeStep() 10 0.7772 0.7772 0.7772 83.35% Amr::timeStep() 10 0.6446 0.6446 0.6446 69.13% Castro::advance() 10 0.6335 0.6335 0.6335 67.94% Castro::subcycle_advance_ctu() 10 0.6208 0.6208 0.6208 66.58% Castro::do_advance_ctu() 10 0.6205 0.6205 0.6205 66.55% Gravity::solve_phi_with_mlmg() 11 0.2886 0.2886 0.2886 30.95% Gravity::actual_solve_with_mlmg() 11 0.2791 0.2791 0.2791 29.93% Castro::construct_ctu_hydro_source() 10 0.2713 0.2713 0.2713 29.10% Castro::construct_new_gravity() 10 0.2689 0.2689 0.2689 28.84% MLMG::solve() 11 0.2584 0.2584 0.2584 27.71% Gravity::solve_for_phi() 10 0.2481 0.2481 0.2481 26.60% MLMG::oneIter() 81 0.2438 0.2438 0.2438 26.15% MLMG::mgVcycle() 81 0.2402 0.2402 0.2402 25.76% VisMF::Write(FabArray) 11 0.2241 0.2241 0.2241 24.04% Amr::checkPoint() 3 0.1779 0.1779 0.1779 19.08% AmrLevel::checkPoint() 3 0.1723 0.1723 0.1723 18.48% StateData::checkPoint() 12 0.1723 0.1723 0.1723 18.47% Amr::init() 1 0.1272 0.1272 0.1272 13.64% MLCellLinOp::smooth() 1620 0.122 0.122 0.122 13.08% MLCellLinOp::applyBC() 4379 0.1085 0.1085 0.1085 11.63% MLMG::mgVcycle_bottom 81 0.07199 0.07199 0.07199 7.72% MLMG::actualBottomSolve() 81 0.07196 0.07196 0.07196 7.72% MLCGSolver::bicgstab 81 0.07128 0.07128 0.07128 7.64% AmrLevel::FillPatch() 41 0.06138 0.06138 0.06138 6.58% FillPatchIterator::Initialize 41 0.05721 0.05721 0.05721 6.14% FillPatchIterator::FillFromLevel0() 41 0.05568 0.05568 0.05568 5.97% FillPatchSingleLevel 41 0.05564 0.05564 0.05564 5.97% Amr::writePlotFile() 2 0.05457 0.05457 0.05457 5.85% Castro::clean_state() 62 0.05383 0.05383 0.05383 5.77% StateDataPhysBCFunct::() 41 0.05146 0.05146 0.05146 5.52% Amr::initialInit() 1 0.05057 0.05057 0.05057 5.42% Amr::FinalizeInit() 1 0.0455 0.0455 0.0455 4.88% Castro::post_init() 1 0.04397 0.04397 0.04397 4.72% Gravity::multilevel_solve_for_new_phi() 1 0.04101 0.04101 0.04101 4.40% Gravity::actual_multilevel_solve() 1 0.04099 0.04099 0.04099 4.40% MLPoisson::Fsmooth() 3240 0.03803 0.03803 0.03803 4.08% MLCellLinOp::apply() 1128 0.03581 0.03581 0.03581 3.84% MLMG::mgVcycle_down::0 81 0.03347 0.03347 0.03347 3.59% FabArray::FillBoundary() 3974 0.0326 0.0326 0.0326 3.50% FillBoundary_nowait() 3974 0.0318 0.0318 0.0318 3.41% MLMG::mgVcycle_up::0 81 0.02541 0.02541 0.02541 2.73% Castro::initialize_do_advance() 10 0.02447 0.02447 0.02447 2.62% StateData::FillBoundary(geom) 328 0.02398 0.02398 0.02398 2.57% Gravity::get_new_grav_vector() 11 0.02343 0.02343 0.02343 2.51% Castro::computeTemp() 63 0.02221 0.02221 0.02221 2.38% MLCellLinOp::correctionResidual() 486 0.02179 0.02179 0.02179 2.34% MLMG::mgVcycle_down::3 81 0.0204 0.0204 0.0204 2.19% Castro::do_old_sources() 10 0.02008 0.02008 0.02008 2.15% amrex::Dot() 1100 0.02004 0.02004 0.02004 2.15% MLMG:computeResOfCorrection() 405 0.01923 0.01923 0.01923 2.06% Castro::construct_old_gravity() 10 0.01905 0.01905 0.01905 2.04% Gravity::get_old_grav_vector() 10 0.01903 0.01903 0.01903 2.04% Castro::normalize_species() 62 0.01853 0.01853 0.01853 1.99% MLPoisson::define() 11 0.01619 0.01619 0.01619 1.74% MLMG::mgVcycle_down::1 81 0.01564 0.01564 0.01564 1.68% amrex::Copy() 1019 0.01472 0.01472 0.01472 1.58% Castro::expand_state() 10 0.01453 0.01453 0.01453 1.56% MLMG::mgVcycle_down::2 81 0.01452 0.01452 0.01452 1.56% FabArray::ParallelCopy() 851 0.01431 0.01431 0.01431 1.54% FabArray::norminf() 734 0.01408 0.01408 0.01408 1.51% FabArray::ParallelCopy_nowait() 851 0.01405 0.01405 0.01405 1.51% MLMG::mgVcycle_down::4 81 0.01402 0.01402 0.01402 1.50% Castro::do_new_sources() 10 0.01313 0.01313 0.01313 1.41% FabArray::setVal() 1135 0.01299 0.01299 0.01299 1.39% Castro::initialize_advance() 10 0.01205 0.01205 0.01205 1.29% MLCGSolver::ParallelAllReduce 1495 0.01204 0.01204 0.01204 1.29% MLMG::addInterpCorrection() 405 0.01166 0.01166 0.01166 1.25% MLMG::mgVcycle_up::1 81 0.01133 0.01133 0.01133 1.22% MLMG::mgVcycle_up::4 81 0.01133 0.01133 0.01133 1.21% MLCellLinOp::defineAuxData() 11 0.0111 0.0111 0.0111 1.19% MLMG::mgVcycle_up::2 81 0.01106 0.01106 0.01106 1.19% amrex::average_down 405 0.01103 0.01103 0.01103 1.18% Castro::enforce_min_density() 62 0.01098 0.01098 0.01098 1.18% Castro::post_timestep() 10 0.01091 0.01091 0.01091 1.17% MLMG::mgVcycle_up::3 81 0.01085 0.01085 0.01085 1.16% MLPoisson::Fapply() 1128 0.01008 0.01008 0.01008 1.08% Gravity::fill_multipole_BCs() 11 0.009254 0.009254 0.009254 0.99% FabArray::Saxpy() 803 0.008032 0.008032 0.008032 0.86% FabArray::Xpay() 811 0.007923 0.007923 0.007923 0.85% MLCellLinOp::solutionResidual() 92 0.007326 0.007326 0.007326 0.79% Castro::reset_internal_energy(MultiFab) 63 0.007004 0.007004 0.007004 0.75% Castro::estTimeStep() 21 0.006258 0.006258 0.006258 0.67% MLMG::computeResidual() 81 0.006088 0.006088 0.006088 0.65% Amr::InitializeInit() 1 0.005063 0.005063 0.005063 0.54% Amr::defBaseLevel() 1 0.005055 0.005055 0.005055 0.54% MLCellLinOp::defineBC() 11 0.004839 0.004839 0.004839 0.52% MLMG::prepareForSolve() 11 0.004816 0.004816 0.004816 0.52% BndryData::define() 11 0.004613 0.004613 0.004613 0.49% Castro::initData() 1 0.004397 0.004397 0.004397 0.47% FabArray::LinComb() 550 0.004379 0.004379 0.004379 0.47% amrex::Add() 162 0.004326 0.004326 0.004326 0.46% Castro::construct_new_source() 50 0.003437 0.003437 0.003437 0.37% Castro::construct_new_gravity_source() 10 0.003391 0.003391 0.003391 0.36% Castro::enforce_speed_limit() 62 0.002952 0.002952 0.002952 0.32% Castro::construct_old_source() 50 0.002925 0.002925 0.002925 0.31% Castro::construct_old_gravity_source() 10 0.002906 0.002906 0.002906 0.31% Castro::computeNewDt() 9 0.002673 0.002673 0.002673 0.29% Castro::finalize_do_advance() 10 0.002579 0.002579 0.002579 0.28% MLMG::ResNormInf() 92 0.002121 0.002121 0.002121 0.23% Castro::apply_source_to_state() 20 0.001859 0.001859 0.001859 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001701 0.001701 0.001701 0.18% Castro::reset_internal_energy(Fab) 504 0.001625 0.001625 0.001625 0.17% check_for_negative_density() 10 0.001565 0.001565 0.001565 0.17% MLMG::getGradSolution() 11 0.001547 0.001547 0.001547 0.17% MLCellLinOp::compGrad() 11 0.001542 0.001542 0.001542 0.17% FabArrayBase::getCPC() 1313 0.001475 0.001475 0.001475 0.16% MLCellLinOp::setLevelBC() 11 0.001438 0.001438 0.001438 0.15% FabArray::mult() 43 0.001348 0.001348 0.001348 0.14% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% Castro::check_for_nan() 20 0.001291 0.001291 0.001291 0.14% MLMG::computeMLResidual() 11 0.00128 0.00128 0.00128 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLPoisson::prepareForSolve() 11 0.001253 0.001253 0.001253 0.13% MLCellLinOp::prepareForSolve() 11 0.001245 0.001245 0.001245 0.13% Castro::post_regrid() 1 0.001209 0.001209 0.001209 0.13% Castro::computeInitialDt() 2 0.001067 0.001067 0.001067 0.11% Gravity::update_max_rhs() 11 0.001041 0.001041 0.001041 0.11% FabArrayBase::getFB() 3974 0.0007087 0.0007087 0.0007087 0.08% FabArrayBase::CPC::define() 454 0.0006755 0.0006755 0.0006755 0.07% Castro::finalize_advance() 10 0.0005962 0.0005962 0.0005962 0.06% Castro::Castro() 1 0.0005723 0.0005723 0.0005723 0.06% Amr::InitAmr() 1 0.0004962 0.0004962 0.0004962 0.05% Gravity::swapTimeLevels() 10 0.0004301 0.0004301 0.0004301 0.05% MLMG::MLResNormInf() 11 0.0003296 0.0003296 0.0003296 0.04% MultiFab::max() 11 0.0003278 0.0003278 0.0003278 0.04% Castro::buildMetrics() 1 0.00028 0.00028 0.00028 0.03% MLLinOp::define() 11 0.0002254 0.0002254 0.0002254 0.02% MLMG::MLRhsNormInf() 11 0.0002198 0.0002198 0.0002198 0.02% MLLinOp::defineGrids() 11 0.0002116 0.0002116 0.0002116 0.02% Castro::create_source_corrector() 10 0.0001863 0.0001863 0.0001863 0.02% FabArrayBase::FB::FB() 56 9.346e-05 9.346e-05 9.346e-05 0.01% Castro::enforce_consistent_e() 1 6.832e-05 6.832e-05 6.832e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.225e-05 5.225e-05 5.225e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.115e-05 5.115e-05 5.115e-05 0.01% Amr::writeSmallPlotFile() 1 4.824e-05 4.824e-05 4.824e-05 0.01% Castro::swap_state_time_levels() 10 3.897e-05 3.897e-05 3.897e-05 0.00% makeSFC 55 3.849e-05 3.849e-05 3.849e-05 0.00% StateData::define() 4 3.702e-05 3.702e-05 3.702e-05 0.00% Castro::initMFs() 1 2.709e-05 2.709e-05 2.709e-05 0.00% DistributionMapping::Distribute() 56 1.642e-05 1.642e-05 1.642e-05 0.00% Amr::initSubcycle() 1 9.362e-06 9.362e-06 9.362e-06 0.00% Gravity::set_mass_offset() 11 7.146e-06 7.146e-06 7.146e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.14e-06 6.14e-06 6.14e-06 0.00% AmrLevel::checkPointPost() 3 5.494e-06 5.494e-06 5.494e-06 0.00% Castro::retry_advance_ctu() 10 4.897e-06 4.897e-06 4.897e-06 0.00% Castro::FluxRegCrseInit 10 3.196e-06 3.196e-06 3.196e-06 0.00% Castro::FluxRegFineAdd() 10 2.423e-06 2.423e-06 2.423e-06 0.00% AmrLevel::checkPointPre() 3 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.931e-06 1.931e-06 1.931e-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 133 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1255 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1643 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3409 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 260 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 209 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2109 B 2048 KiB Gravity::solve_for_phi() 80 80 544 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 3270 B 480 KiB VisMF::Write(FabArray) 656 656 3234 B 320 KiB Castro::normalize_species() 62 62 6467 B 320 KiB amrex::average_down 1054 1054 1194 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1070 B 257 KiB amrex::Dot() 1343 1343 3162 B 160 KiB FabArray::norminf() 896 896 2229 B 160 KiB check_for_negative_density() 10 10 265 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3330 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 8758 8758 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3894 B 6144 B StateData::FillBoundary(geom) 1992 1992 93 B 4480 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 111 B 1472 B MLCellLinOp::defineBC() 66 66 351 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 601 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 456 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3330 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 292 B 9648 B MLCellLinOp::applyBC() 4379 4379 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3894 B 6144 B StateData::FillBoundary(geom) 1992 1992 94 B 4512 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 284 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-27-g6c8122d437f9) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-27-g6c8122d437f9) initialized Starting run at 09:24:20 UTC on 2023-09-29. Successfully read inputs file ... Castro git describe: 23.09-35-gb4030be5d AMReX git describe: 23.09-27-g6c8122d43 Microphysics git describe: 23.09-16-g973a84c1 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.501233135 Restart time = 0.041212407 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06176837 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.072432254 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.073906566 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.063246686 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.072353869 [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.027704222 seconds Ending run at 09:24:20 UTC on 2023-09-29. Run time = 0.413672479 Run time without initialization = 0.371861922 Average number of zones advanced per microsecond: 3.525 Average number of zones advanced per microsecond per rank: 3.525 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4137 ... 0.4137 ... 0.4137 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1355 0.1355 0.1355 32.76% MLCellLinOp::applyBC() 1946 0.03573 0.03573 0.03573 8.64% VisMF::Read() 3 0.02965 0.02965 0.02965 7.17% StateData::FillBoundary(geom) 160 0.02891 0.02891 0.02891 6.99% VisMF::Write(FabArray) 1 0.02651 0.02651 0.02651 6.41% MLPoisson::Fsmooth() 1440 0.01492 0.01492 0.01492 3.61% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 3.11% Castro::normalize_species() 30 0.009316 0.009316 0.009316 2.25% amrex::Dot() 484 0.009184 0.009184 0.009184 2.22% amrex::Copy() 463 0.007374 0.007374 0.007374 1.78% FabArray::setVal() 537 0.006834 0.006834 0.006834 1.65% Castro::computeTemp() 30 0.006651 0.006651 0.006651 1.61% FabArray::norminf() 326 0.00652 0.00652 0.00652 1.58% FabArray::ParallelCopy_nowait() 380 0.006429 0.006429 0.006429 1.55% MLCellLinOp::defineAuxData() 6 0.005769 0.005769 0.005769 1.39% Castro::enforce_min_density() 30 0.00552 0.00552 0.00552 1.33% Gravity::fill_multipole_BCs() 6 0.005339 0.005339 0.005339 1.29% MLPoisson::Fapply() 500 0.004754 0.004754 0.004754 1.15% Amr::restart() 1 0.00472 0.00472 0.00472 1.14% FabArray::Saxpy() 355 0.003895 0.003895 0.003895 0.94% FabArray::Xpay() 361 0.003667 0.003667 0.003667 0.89% MLMG::addInterpCorrection() 180 0.003258 0.003258 0.003258 0.79% Castro::estTimeStep() 10 0.003056 0.003056 0.003056 0.74% amrex::average_down 180 0.002911 0.002911 0.002911 0.70% FabArray::LinComb() 242 0.002309 0.002309 0.002309 0.56% StateDataPhysBCFunct::() 20 0.002263 0.002263 0.002263 0.55% BndryData::define() 6 0.002128 0.002128 0.002128 0.51% Castro::reset_internal_energy(MultiFab) 30 0.001974 0.001974 0.001974 0.48% Castro::enforce_speed_limit() 30 0.001907 0.001907 0.001907 0.46% amrex::Add() 72 0.001899 0.001899 0.001899 0.46% Castro::construct_new_gravity_source() 5 0.001777 0.001777 0.001777 0.43% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.37% MLCGSolver::bicgstab 36 0.001246 0.001246 0.001246 0.30% Amr::writePlotFile() 1 0.001035 0.001035 0.001035 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001032 0.001032 0.001032 0.25% Castro::reset_internal_energy(Fab) 240 0.0009878 0.0009878 0.0009878 0.24% Gravity::actual_solve_with_mlmg() 6 0.0008585 0.0008585 0.0008585 0.21% check_for_negative_density() 5 0.0008385 0.0008385 0.0008385 0.20% MLCellLinOp::smooth() 720 0.0008057 0.0008057 0.0008057 0.19% MLCellLinOp::setLevelBC() 6 0.0008051 0.0008051 0.0008051 0.19% MLCellLinOp::prepareForSolve() 6 0.0007535 0.0007535 0.0007535 0.18% FabArray::mult() 22 0.0006889 0.0006889 0.0006889 0.17% FabArray::setDomainBndry() 20 0.0006861 0.0006861 0.0006861 0.17% MultiFab::contains_nan() 10 0.0006761 0.0006761 0.0006761 0.16% MLMG::prepareForSolve() 6 0.000605 0.000605 0.000605 0.15% MLCellLinOp::compGrad() 6 0.0005848 0.0005848 0.0005848 0.14% FabArrayBase::CPC::define() 244 0.0004619 0.0004619 0.0004619 0.11% FabArrayBase::getCPC() 632 0.0004228 0.0004228 0.0004228 0.10% Amr::InitAmr() 1 0.0004116 0.0004116 0.0004116 0.10% FabArray::FillBoundary() 1766 0.0003948 0.0003948 0.0003948 0.10% Gravity::get_old_grav_vector() 5 0.0003496 0.0003496 0.0003496 0.08% Gravity::get_new_grav_vector() 5 0.0003197 0.0003197 0.0003197 0.08% MLCellLinOp::apply() 500 0.0002956 0.0002956 0.0002956 0.07% main() 1 0.000276 0.000276 0.000276 0.07% FabArrayBase::getFB() 1766 0.0002703 0.0002703 0.0002703 0.07% MultiFab::max() 6 0.0002133 0.0002133 0.0002133 0.05% Amr::coarseTimeStep() 5 0.0001892 0.0001892 0.0001892 0.05% AmrLevel::FillPatch() 20 0.0001886 0.0001886 0.0001886 0.05% MLCGSolver::ParallelAllReduce 659 0.0001494 0.0001494 0.0001494 0.04% Castro::subcycle_advance_ctu() 5 0.0001399 0.0001399 0.0001399 0.03% FabArray::ParallelCopy() 380 0.0001365 0.0001365 0.0001365 0.03% MLMG::mgVcycle() 36 0.0001293 0.0001293 0.0001293 0.03% MLCellLinOp::correctionResidual() 216 0.0001224 0.0001224 0.0001224 0.03% MLCellLinOp::defineBC() 6 0.0001209 0.0001209 0.0001209 0.03% FillPatchIterator::Initialize 20 0.0001197 0.0001197 0.0001197 0.03% MLLinOp::defineGrids() 6 0.0001126 0.0001126 0.0001126 0.03% Castro::advance() 5 0.0001091 0.0001091 0.0001091 0.03% Castro::create_source_corrector() 5 0.0001064 0.0001064 0.0001064 0.03% Amr::timeStep() 5 9.205e-05 9.205e-05 9.205e-05 0.02% Castro::construct_new_source() 25 7.723e-05 7.723e-05 7.723e-05 0.02% AmrLevel::restart() 1 7.69e-05 7.69e-05 7.69e-05 0.02% Castro::initialize_do_advance() 5 7.207e-05 7.207e-05 7.207e-05 0.02% Gravity::update_max_rhs() 6 6.992e-05 6.992e-05 6.992e-05 0.02% StateData::restartDoit() 4 6.923e-05 6.923e-05 6.923e-05 0.02% Castro::initialize_advance() 5 6.901e-05 6.901e-05 6.901e-05 0.02% Gravity::solve_for_phi() 5 6.606e-05 6.606e-05 6.606e-05 0.02% FabArrayBase::FB::FB() 26 6.599e-05 6.599e-05 6.599e-05 0.02% MLMG:computeResOfCorrection() 180 6.49e-05 6.49e-05 6.49e-05 0.02% MLMG::mgVcycle_down::0 36 5.434e-05 5.434e-05 5.434e-05 0.01% Castro::do_advance_ctu() 5 5.418e-05 5.418e-05 5.418e-05 0.01% MLMG::mgVcycle_down::1 36 5.258e-05 5.258e-05 5.258e-05 0.01% MLMG::mgVcycle_down::4 36 5.164e-05 5.164e-05 5.164e-05 0.01% MLMG::mgVcycle_down::2 36 5.122e-05 5.122e-05 5.122e-05 0.01% MLMG::mgVcycle_down::3 36 5.023e-05 5.023e-05 5.023e-05 0.01% MLMG::actualBottomSolve() 36 4.968e-05 4.968e-05 4.968e-05 0.01% Castro::finalize_do_advance() 5 4.581e-05 4.581e-05 4.581e-05 0.01% MLMG::solve() 6 4.266e-05 4.266e-05 4.266e-05 0.01% Castro::clean_state() 30 4.088e-05 4.088e-05 4.088e-05 0.01% MLMG::mgVcycle_up::4 36 3.609e-05 3.609e-05 3.609e-05 0.01% Castro::finalize_advance() 5 3.568e-05 3.568e-05 3.568e-05 0.01% Castro::buildMetrics() 1 3.273e-05 3.273e-05 3.273e-05 0.01% MLMG::mgVcycle_up::3 36 3.203e-05 3.203e-05 3.203e-05 0.01% MLMG::mgVcycle_up::0 36 3.116e-05 3.116e-05 3.116e-05 0.01% MLMG::mgVcycle_up::2 36 3.06e-05 3.06e-05 3.06e-05 0.01% MLMG::mgVcycle_up::1 36 3.043e-05 3.043e-05 3.043e-05 0.01% Amr::writeSmallPlotFile() 1 2.936e-05 2.936e-05 2.936e-05 0.01% MLMG::oneIter() 36 2.907e-05 2.907e-05 2.907e-05 0.01% Castro::construct_old_source() 25 2.7e-05 2.7e-05 2.7e-05 0.01% MLCellLinOp::solutionResidual() 42 2.668e-05 2.668e-05 2.668e-05 0.01% Castro::swap_state_time_levels() 5 2.554e-05 2.554e-05 2.554e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.51e-05 2.51e-05 2.51e-05 0.01% Castro::initMFs() 1 2.488e-05 2.488e-05 2.488e-05 0.01% Castro::post_restart() 1 2.382e-05 2.382e-05 2.382e-05 0.01% FillPatchSingleLevel 20 1.948e-05 1.948e-05 1.948e-05 0.00% MLMG::ResNormInf() 42 1.887e-05 1.887e-05 1.887e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.832e-05 1.832e-05 1.832e-05 0.00% MLMG::mgVcycle_bottom 36 1.744e-05 1.744e-05 1.744e-05 0.00% Castro::construct_new_gravity() 5 1.711e-05 1.711e-05 1.711e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.623e-05 1.623e-05 1.623e-05 0.00% MLMG::computeResidual() 36 1.54e-05 1.54e-05 1.54e-05 0.00% Castro::do_old_sources() 5 1.427e-05 1.427e-05 1.427e-05 0.00% makeSFC 30 1.378e-05 1.378e-05 1.378e-05 0.00% MLPoisson::define() 6 1.277e-05 1.277e-05 1.277e-05 0.00% Castro::do_new_sources() 5 1.181e-05 1.181e-05 1.181e-05 0.00% MLLinOp::define() 6 1.061e-05 1.061e-05 1.061e-05 0.00% Amr::initSubcycle() 1 9.926e-06 9.926e-06 9.926e-06 0.00% DistributionMapping::Distribute() 31 9.138e-06 9.138e-06 9.138e-06 0.00% Gravity::actual_multilevel_solve() 1 8.422e-06 8.422e-06 8.422e-06 0.00% Castro::construct_old_gravity() 5 8.282e-06 8.282e-06 8.282e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.317e-06 7.317e-06 7.317e-06 0.00% Castro::apply_source_to_state() 10 7.049e-06 7.049e-06 7.049e-06 0.00% Castro::check_for_nan() 10 6.979e-06 6.979e-06 6.979e-06 0.00% Gravity::swapTimeLevels() 5 6.579e-06 6.579e-06 6.579e-06 0.00% MLPoisson::prepareForSolve() 6 4.914e-06 4.914e-06 4.914e-06 0.00% Castro::post_timestep() 5 4.609e-06 4.609e-06 4.609e-06 0.00% MLMG::computeMLResidual() 6 4.514e-06 4.514e-06 4.514e-06 0.00% Castro::computeNewDt() 5 3.935e-06 3.935e-06 3.935e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.797e-06 3.797e-06 3.797e-06 0.00% MLMG::getGradSolution() 6 3.628e-06 3.628e-06 3.628e-06 0.00% Castro::expand_state() 5 3.023e-06 3.023e-06 3.023e-06 0.00% MLMG::MLRhsNormInf() 6 2.847e-06 2.847e-06 2.847e-06 0.00% Castro::retry_advance_ctu() 5 2.557e-06 2.557e-06 2.557e-06 0.00% MLMG::MLResNormInf() 6 2.435e-06 2.435e-06 2.435e-06 0.00% Gravity::set_mass_offset() 6 2.284e-06 2.284e-06 2.284e-06 0.00% Castro::FluxRegCrseInit 5 1.5e-06 1.5e-06 1.5e-06 0.00% Castro::FluxRegFineAdd() 5 1.465e-06 1.465e-06 1.465e-06 0.00% Amr::init() 1 1.181e-06 1.181e-06 1.181e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.057e-06 1.057e-06 1.057e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4137 0.4137 0.4137 100.00% Amr::coarseTimeStep() 5 0.3439 0.3439 0.3439 83.12% Amr::timeStep() 5 0.3418 0.3418 0.3418 82.63% Castro::advance() 5 0.3362 0.3362 0.3362 81.26% Castro::subcycle_advance_ctu() 5 0.3289 0.3289 0.3289 79.51% Castro::do_advance_ctu() 5 0.3288 0.3288 0.3288 79.47% Castro::construct_new_gravity() 5 0.1439 0.1439 0.1439 34.78% Castro::construct_ctu_hydro_source() 5 0.1407 0.1407 0.1407 34.01% Gravity::solve_phi_with_mlmg() 6 0.1362 0.1362 0.1362 32.92% Gravity::actual_solve_with_mlmg() 6 0.1306 0.1306 0.1306 31.57% Gravity::solve_for_phi() 5 0.1305 0.1305 0.1305 31.55% MLMG::solve() 6 0.1184 0.1184 0.1184 28.62% MLMG::oneIter() 36 0.1107 0.1107 0.1107 26.75% MLMG::mgVcycle() 36 0.1091 0.1091 0.1091 26.38% MLCellLinOp::smooth() 720 0.05291 0.05291 0.05291 12.79% MLCellLinOp::applyBC() 1946 0.04934 0.04934 0.04934 11.93% Amr::init() 1 0.04126 0.04126 0.04126 9.97% Amr::restart() 1 0.04126 0.04126 0.04126 9.97% AmrLevel::FillPatch() 20 0.03619 0.03619 0.03619 8.75% FillPatchIterator::Initialize 20 0.03407 0.03407 0.03407 8.24% MLMG::mgVcycle_bottom 36 0.034 0.034 0.034 8.22% MLMG::actualBottomSolve() 36 0.03398 0.03398 0.03398 8.21% MLCGSolver::bicgstab 36 0.03364 0.03364 0.03364 8.13% FillPatchIterator::FillFromLevel0() 20 0.03327 0.03327 0.03327 8.04% FillPatchSingleLevel 20 0.03324 0.03324 0.03324 8.04% StateDataPhysBCFunct::() 20 0.03118 0.03118 0.03118 7.54% AmrLevel::restart() 1 0.03002 0.03002 0.03002 7.26% StateData::restartDoit() 4 0.02994 0.02994 0.02994 7.24% VisMF::Read() 3 0.02965 0.02965 0.02965 7.17% StateData::FillBoundary(geom) 160 0.02891 0.02891 0.02891 6.99% Amr::writePlotFile() 1 0.02781 0.02781 0.02781 6.72% VisMF::Write(FabArray) 1 0.02651 0.02651 0.02651 6.41% Castro::clean_state() 30 0.0264 0.0264 0.0264 6.38% MLCellLinOp::apply() 500 0.01692 0.01692 0.01692 4.09% MLPoisson::Fsmooth() 1440 0.01492 0.01492 0.01492 3.61% MLMG::mgVcycle_down::0 36 0.0149 0.0149 0.0149 3.60% FabArray::FillBoundary() 1766 0.01361 0.01361 0.01361 3.29% Castro::construct_old_gravity() 5 0.0136 0.0136 0.0136 3.29% Gravity::get_old_grav_vector() 5 0.01359 0.01359 0.01359 3.28% Gravity::get_new_grav_vector() 5 0.01323 0.01323 0.01323 3.20% FillBoundary_nowait() 1766 0.01321 0.01321 0.01321 3.19% Castro::initialize_do_advance() 5 0.01128 0.01128 0.01128 2.73% MLMG::mgVcycle_up::0 36 0.01117 0.01117 0.01117 2.70% Castro::do_old_sources() 5 0.01064 0.01064 0.01064 2.57% MLCellLinOp::correctionResidual() 216 0.01009 0.01009 0.01009 2.44% MLPoisson::define() 6 0.00967 0.00967 0.00967 2.34% Castro::computeTemp() 30 0.009613 0.009613 0.009613 2.32% Castro::normalize_species() 30 0.009316 0.009316 0.009316 2.25% amrex::Dot() 484 0.009184 0.009184 0.009184 2.22% MLMG:computeResOfCorrection() 180 0.008868 0.008868 0.008868 2.14% MLMG::mgVcycle_down::1 36 0.007486 0.007486 0.007486 1.81% amrex::Copy() 463 0.007374 0.007374 0.007374 1.78% FabArray::ParallelCopy() 380 0.006995 0.006995 0.006995 1.69% Castro::do_new_sources() 5 0.006936 0.006936 0.006936 1.68% MLMG::mgVcycle_down::2 36 0.006894 0.006894 0.006894 1.67% FabArray::ParallelCopy_nowait() 380 0.006859 0.006859 0.006859 1.66% Castro::initialize_advance() 5 0.006847 0.006847 0.006847 1.65% FabArray::setVal() 537 0.006834 0.006834 0.006834 1.65% MLMG::mgVcycle_down::3 36 0.006727 0.006727 0.006727 1.63% MLMG::mgVcycle_down::4 36 0.006661 0.006661 0.006661 1.61% MLCellLinOp::defineAuxData() 6 0.006638 0.006638 0.006638 1.60% Castro::expand_state() 5 0.00654 0.00654 0.00654 1.58% FabArray::norminf() 326 0.00652 0.00652 0.00652 1.58% Castro::post_restart() 1 0.006323 0.006323 0.006323 1.53% Gravity::multilevel_solve_for_new_phi() 1 0.005939 0.005939 0.005939 1.44% Gravity::actual_multilevel_solve() 1 0.005922 0.005922 0.005922 1.43% MLMG::addInterpCorrection() 180 0.005721 0.005721 0.005721 1.38% MLCGSolver::ParallelAllReduce 659 0.005589 0.005589 0.005589 1.35% Castro::post_timestep() 5 0.005551 0.005551 0.005551 1.34% Castro::enforce_min_density() 30 0.00552 0.00552 0.00552 1.33% Gravity::fill_multipole_BCs() 6 0.005466 0.005466 0.005466 1.32% MLMG::mgVcycle_up::4 36 0.00541 0.00541 0.00541 1.31% amrex::average_down 180 0.005396 0.005396 0.005396 1.30% MLMG::mgVcycle_up::1 36 0.005357 0.005357 0.005357 1.29% MLMG::mgVcycle_up::2 36 0.005248 0.005248 0.005248 1.27% MLMG::mgVcycle_up::3 36 0.005152 0.005152 0.005152 1.25% MLPoisson::Fapply() 500 0.004754 0.004754 0.004754 1.15% FabArray::Saxpy() 355 0.003895 0.003895 0.003895 0.94% FabArray::Xpay() 361 0.003667 0.003667 0.003667 0.89% MLCellLinOp::solutionResidual() 42 0.003585 0.003585 0.003585 0.87% Castro::estTimeStep() 10 0.003056 0.003056 0.003056 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002962 0.002962 0.002962 0.72% MLMG::prepareForSolve() 6 0.002927 0.002927 0.002927 0.71% MLCellLinOp::defineBC() 6 0.002866 0.002866 0.002866 0.69% MLMG::computeResidual() 36 0.002795 0.002795 0.002795 0.68% BndryData::define() 6 0.002745 0.002745 0.002745 0.66% FabArray::LinComb() 242 0.002309 0.002309 0.002309 0.56% Castro::enforce_speed_limit() 30 0.001907 0.001907 0.001907 0.46% amrex::Add() 72 0.001899 0.001899 0.001899 0.46% Castro::computeNewDt() 5 0.001873 0.001873 0.001873 0.45% Castro::construct_new_source() 25 0.001854 0.001854 0.001854 0.45% Castro::construct_new_gravity_source() 5 0.001777 0.001777 0.001777 0.43% Castro::construct_old_source() 25 0.001552 0.001552 0.001552 0.38% Castro::construct_old_gravity_source() 5 0.001525 0.001525 0.001525 0.37% Castro::finalize_do_advance() 5 0.001233 0.001233 0.001233 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001032 0.001032 0.001032 0.25% MLMG::ResNormInf() 42 0.001014 0.001014 0.001014 0.25% Castro::reset_internal_energy(Fab) 240 0.0009878 0.0009878 0.0009878 0.24% Castro::apply_source_to_state() 10 0.0009723 0.0009723 0.0009723 0.24% FabArrayBase::getCPC() 632 0.0008846 0.0008846 0.0008846 0.21% MLMG::getGradSolution() 6 0.0008842 0.0008842 0.0008842 0.21% MLCellLinOp::compGrad() 6 0.0008806 0.0008806 0.0008806 0.21% check_for_negative_density() 5 0.0008385 0.0008385 0.0008385 0.20% MLMG::computeMLResidual() 6 0.0008099 0.0008099 0.0008099 0.20% MLCellLinOp::setLevelBC() 6 0.0008051 0.0008051 0.0008051 0.19% MLPoisson::prepareForSolve() 6 0.0007584 0.0007584 0.0007584 0.18% MLCellLinOp::prepareForSolve() 6 0.0007535 0.0007535 0.0007535 0.18% Gravity::update_max_rhs() 6 0.0007433 0.0007433 0.0007433 0.18% FabArray::mult() 22 0.0006889 0.0006889 0.0006889 0.17% FabArray::setDomainBndry() 20 0.0006861 0.0006861 0.0006861 0.17% Castro::check_for_nan() 10 0.0006831 0.0006831 0.0006831 0.17% MultiFab::contains_nan() 10 0.0006761 0.0006761 0.0006761 0.16% FabArrayBase::CPC::define() 244 0.0004619 0.0004619 0.0004619 0.11% Amr::InitAmr() 1 0.0004216 0.0004216 0.0004216 0.10% FabArrayBase::getFB() 1766 0.0003363 0.0003363 0.0003363 0.08% Castro::finalize_advance() 5 0.0003128 0.0003128 0.0003128 0.08% Gravity::swapTimeLevels() 5 0.0002374 0.0002374 0.0002374 0.06% MultiFab::max() 6 0.0002133 0.0002133 0.0002133 0.05% MLMG::MLResNormInf() 6 0.0001926 0.0001926 0.0001926 0.05% Castro::buildMetrics() 1 0.0001705 0.0001705 0.0001705 0.04% MLLinOp::define() 6 0.0001531 0.0001531 0.0001531 0.04% MLLinOp::defineGrids() 6 0.0001425 0.0001425 0.0001425 0.03% MLMG::MLRhsNormInf() 6 0.0001211 0.0001211 0.0001211 0.03% Castro::create_source_corrector() 5 0.0001064 0.0001064 0.0001064 0.03% FabArrayBase::FB::FB() 26 6.599e-05 6.599e-05 6.599e-05 0.02% Amr::writeSmallPlotFile() 1 2.936e-05 2.936e-05 2.936e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.883e-05 2.883e-05 2.883e-05 0.01% Castro::swap_state_time_levels() 5 2.554e-05 2.554e-05 2.554e-05 0.01% Castro::initMFs() 1 2.488e-05 2.488e-05 2.488e-05 0.01% makeSFC 30 2.152e-05 2.152e-05 2.152e-05 0.01% Amr::initSubcycle() 1 9.926e-06 9.926e-06 9.926e-06 0.00% DistributionMapping::Distribute() 31 9.138e-06 9.138e-06 9.138e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.198e-06 5.198e-06 5.198e-06 0.00% Castro::retry_advance_ctu() 5 2.557e-06 2.557e-06 2.557e-06 0.00% Gravity::set_mass_offset() 6 2.284e-06 2.284e-06 2.284e-06 0.00% Castro::FluxRegCrseInit 5 1.5e-06 1.5e-06 1.5e-06 0.00% Castro::FluxRegFineAdd() 5 1.465e-06 1.465e-06 1.465e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.057e-06 1.057e-06 1.057e-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 205 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 149 MiB 692 MiB Castro::initMFs() 48 48 62 MiB 68 MiB Castro::swap_state_time_levels() 32 32 50 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1522 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1894 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 6928 KiB 14 MiB MLMG::prepareForSolve() 361 361 3511 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 339 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 327 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6914 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3564 B 2048 KiB Gravity::solve_for_phi() 40 40 644 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 3537 B 480 KiB VisMF::Write(FabArray) 112 112 1351 B 320 KiB Castro::normalize_species() 30 30 7324 B 320 KiB amrex::average_down 469 469 1239 B 257 KiB MLMG::addInterpCorrection() 468 468 1137 B 257 KiB amrex::Dot() 592 592 3237 B 160 KiB FabArray::norminf() 398 398 2304 B 160 KiB check_for_negative_density() 5 5 321 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3404 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 269 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 6066 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 27 B 2400 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 118 B 1472 B MLCellLinOp::defineBC() 36 36 363 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1277 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 182 KiB 3584 KiB VisMF::Read() 24 24 128 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3404 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 269 B 9648 B MLCellLinOp::applyBC() 1946 1946 216 B 9328 B amrex::Copy() 56 56 6066 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2714 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 27 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 538 B 1296 B amrex::average_down 37 37 226 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 check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-27-g6c8122d437f9) finalized