Initializing AMReX (23.12-9-gd884f44493c0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-9-gd884f44493c0) initialized Starting run at 23:17:51 UTC on 2023-12-11. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-9-gd884f4449 Microphysics git describe: 23.12-1-gbdf6a18e 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.04631411 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025184455 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.051333169 [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.051361874 [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.076700141 [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.09042043 [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.069141207 [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.046028425 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.054328731 [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.078900308 [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.082990962 [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.068267637 [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.061012917 [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.044579812 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025096855 seconds Ending run at 23:17:52 UTC on 2023-12-11. Run time = 0.92869325 Run time without initialization = 0.800915256 Average number of zones advanced per microsecond: 3.273 Average number of zones advanced per microsecond per rank: 3.273 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9287 ... 0.9287 ... 0.9287 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3035 0.3035 0.3035 32.68% VisMF::Write(FabArray) 11 0.1797 0.1797 0.1797 19.35% MLCellLinOp::applyBC() 4433 0.08739 0.08739 0.08739 9.41% MLPoisson::Fsmooth() 3280 0.03358 0.03358 0.03358 3.62% FillBoundary_nowait() 4023 0.0299 0.0299 0.0299 3.22% StateData::FillBoundary(geom) 328 0.02704 0.02704 0.02704 2.91% amrex::Dot() 1114 0.02118 0.02118 0.02118 2.28% FabArray::norminf() 1061 0.0197 0.0197 0.0197 2.12% Castro::normalize_species() 62 0.01939 0.01939 0.01939 2.09% Castro::computeTemp() 63 0.01511 0.01511 0.01511 1.63% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.47% FabArray::ParallelCopy_nowait() 861 0.01362 0.01362 0.01362 1.47% FabArray::Saxpy() 1370 0.01294 0.01294 0.01294 1.39% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.16% amrex::Copy() 472 0.01073 0.01073 0.01073 1.16% StateDataPhysBCFunct::() 41 0.01072 0.01072 0.01072 1.15% MLCellLinOp::defineAuxData() 11 0.01032 0.01032 0.01032 1.11% Castro::enforce_min_density() 62 0.01001 0.01001 0.01001 1.08% Gravity::fill_multipole_BCs() 11 0.009271 0.009271 0.009271 1.00% FabArray::Xpay() 821 0.008338 0.008338 0.008338 0.90% MLMG::addInterpCorrection() 410 0.007019 0.007019 0.007019 0.76% amrex::average_down 410 0.006234 0.006234 0.006234 0.67% Castro::reset_internal_energy(MultiFab) 63 0.006207 0.006207 0.006207 0.67% Castro::estTimeStep() 21 0.005278 0.005278 0.005278 0.57% Amr::checkPoint() 3 0.00522 0.00522 0.00522 0.56% amrex::Add() 164 0.004401 0.004401 0.004401 0.47% BndryData::define() 11 0.003867 0.003867 0.003867 0.42% Castro::construct_new_gravity_source() 10 0.003336 0.003336 0.003336 0.36% Castro::enforce_speed_limit() 62 0.003336 0.003336 0.003336 0.36% Castro::construct_old_gravity_source() 10 0.00282 0.00282 0.00282 0.30% MLCGSolver::bicgstab 82 0.001868 0.001868 0.001868 0.20% check_for_negative_density() 10 0.001855 0.001855 0.001855 0.20% Amr::writePlotFile() 2 0.001819 0.001819 0.001819 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.19% Castro::reset_internal_energy(Fab) 504 0.001651 0.001651 0.001651 0.18% Gravity::actual_solve_with_mlmg() 11 0.001595 0.001595 0.001595 0.17% Castro::initData() 1 0.001568 0.001568 0.001568 0.17% MLCellLinOp::setLevelBC() 11 0.001542 0.001542 0.001542 0.17% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001331 0.001331 0.001331 0.14% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% MLCellLinOp::smooth() 1640 0.001223 0.001223 0.001223 0.13% MLCellLinOp::compGrad() 11 0.001084 0.001084 0.001084 0.12% MLMG::prepareForSolve() 11 0.0009658 0.0009658 0.0009658 0.10% FabArray::FillBoundary() 4023 0.0009128 0.0009128 0.0009128 0.10% FabArrayBase::getCPC() 1323 0.0008069 0.0008069 0.0008069 0.09% FabArrayBase::CPC::define() 454 0.000673 0.000673 0.000673 0.07% FabArrayBase::getFB() 4023 0.0006605 0.0006605 0.0006605 0.07% Gravity::get_new_grav_vector() 11 0.0006022 0.0006022 0.0006022 0.06% MLCellLinOp::apply() 1142 0.000511 0.000511 0.000511 0.06% Amr::InitAmr() 1 0.0004977 0.0004977 0.0004977 0.05% Gravity::get_old_grav_vector() 10 0.0004781 0.0004781 0.0004781 0.05% Amr::coarseTimeStep() 10 0.0004369 0.0004369 0.0004369 0.05% AmrLevel::FillPatch() 41 0.0003726 0.0003726 0.0003726 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003408 0.0003408 0.0003408 0.04% MultiFab::max() 11 0.0003242 0.0003242 0.0003242 0.03% main() 1 0.0003126 0.0003126 0.0003126 0.03% MLCellLinOp::defineBC() 11 0.0002561 0.0002561 0.0002561 0.03% FabArray::ParallelCopy() 861 0.0002544 0.0002544 0.0002544 0.03% MLCellLinOp::correctionResidual() 492 0.0002295 0.0002295 0.0002295 0.02% FillPatchIterator::Initialize 41 0.0002174 0.0002174 0.0002174 0.02% MLMG::mgVcycle() 82 0.0001977 0.0001977 0.0001977 0.02% Castro::create_source_corrector() 10 0.0001787 0.0001787 0.0001787 0.02% Castro::subcycle_advance_ctu() 10 0.0001746 0.0001746 0.0001746 0.02% Gravity::solve_for_phi() 10 0.000153 0.000153 0.000153 0.02% Amr::timeStep() 10 0.0001499 0.0001499 0.0001499 0.02% MLLinOp::defineGrids() 11 0.0001462 0.0001462 0.0001462 0.02% StateData::checkPoint() 12 0.0001331 0.0001331 0.0001331 0.01% Gravity::update_max_rhs() 11 0.0001251 0.0001251 0.0001251 0.01% MLMG:computeResOfCorrection() 410 0.0001057 0.0001057 0.0001057 0.01% MLMG::mgVcycle_down::0 82 9.906e-05 9.906e-05 9.906e-05 0.01% FabArrayBase::FB::FB() 56 9.879e-05 9.879e-05 9.879e-05 0.01% MLMG::actualBottomSolve() 82 9.474e-05 9.474e-05 9.474e-05 0.01% Castro::Castro() 1 9.095e-05 9.095e-05 9.095e-05 0.01% MLMG::mgVcycle_down::1 82 8.836e-05 8.836e-05 8.836e-05 0.01% MLMG::mgVcycle_down::2 82 8.305e-05 8.305e-05 8.305e-05 0.01% Castro::initialize_advance() 10 8.095e-05 8.095e-05 8.095e-05 0.01% MLMG::mgVcycle_down::4 82 7.925e-05 7.925e-05 7.925e-05 0.01% MLMG::mgVcycle_down::3 82 7.684e-05 7.684e-05 7.684e-05 0.01% Castro::construct_new_source() 50 7.312e-05 7.312e-05 7.312e-05 0.01% MLMG::solve() 11 7.297e-05 7.297e-05 7.297e-05 0.01% Castro::clean_state() 62 7.259e-05 7.259e-05 7.259e-05 0.01% Castro::advance() 10 7.126e-05 7.126e-05 7.126e-05 0.01% Castro::enforce_consistent_e() 1 7.054e-05 7.054e-05 7.054e-05 0.01% MLMG::mgVcycle_up::4 82 6.809e-05 6.809e-05 6.809e-05 0.01% AmrLevel::checkPoint() 3 6.803e-05 6.803e-05 6.803e-05 0.01% MLMG::mgVcycle_up::1 82 6.342e-05 6.342e-05 6.342e-05 0.01% Castro::finalize_advance() 10 6.05e-05 6.05e-05 6.05e-05 0.01% Castro::initialize_do_advance() 10 5.825e-05 5.825e-05 5.825e-05 0.01% MLMG::mgVcycle_up::3 82 5.776e-05 5.776e-05 5.776e-05 0.01% MLMG::mgVcycle_up::2 82 5.679e-05 5.679e-05 5.679e-05 0.01% MLMG::mgVcycle_up::0 82 5.624e-05 5.624e-05 5.624e-05 0.01% MLMG::oneIter() 82 5.582e-05 5.582e-05 5.582e-05 0.01% MLCellLinOp::solutionResidual() 93 5.105e-05 5.105e-05 5.105e-05 0.01% Castro::do_advance_ctu() 10 5.004e-05 5.004e-05 5.004e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.581e-05 4.581e-05 4.581e-05 0.00% StateData::define() 4 4.408e-05 4.408e-05 4.408e-05 0.00% Castro::finalize_do_advance() 10 4.148e-05 4.148e-05 4.148e-05 0.00% Castro::post_timestep() 10 4.126e-05 4.126e-05 4.126e-05 0.00% MLMG::ResNormInf() 93 3.719e-05 3.719e-05 3.719e-05 0.00% Castro::swap_state_time_levels() 10 3.553e-05 3.553e-05 3.553e-05 0.00% MLMG::mgVcycle_bottom 82 3.521e-05 3.521e-05 3.521e-05 0.00% MLMG::computeResidual() 82 3.332e-05 3.332e-05 3.332e-05 0.00% Castro::initMFs() 1 3.282e-05 3.282e-05 3.282e-05 0.00% FillPatchSingleLevel 41 3.196e-05 3.196e-05 3.196e-05 0.00% Amr::writeSmallPlotFile() 1 3.14e-05 3.14e-05 3.14e-05 0.00% Castro::buildMetrics() 1 2.621e-05 2.621e-05 2.621e-05 0.00% Amr::defBaseLevel() 1 2.494e-05 2.494e-05 2.494e-05 0.00% Castro::construct_new_gravity() 10 2.484e-05 2.484e-05 2.484e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.479e-05 2.479e-05 2.479e-05 0.00% makeSFC 55 2.441e-05 2.441e-05 2.441e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.371e-05 2.371e-05 2.371e-05 0.00% Castro::do_new_sources() 10 2.282e-05 2.282e-05 2.282e-05 0.00% Castro::do_old_sources() 10 2.21e-05 2.21e-05 2.21e-05 0.00% MLPoisson::define() 11 2.167e-05 2.167e-05 2.167e-05 0.00% Amr::FinalizeInit() 1 1.848e-05 1.848e-05 1.848e-05 0.00% Castro::construct_old_source() 50 1.763e-05 1.763e-05 1.763e-05 0.00% Amr::initSubcycle() 1 1.738e-05 1.738e-05 1.738e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.702e-05 1.702e-05 1.702e-05 0.00% Castro::construct_old_gravity() 10 1.54e-05 1.54e-05 1.54e-05 0.00% DistributionMapping::Distribute() 56 1.458e-05 1.458e-05 1.458e-05 0.00% MLMG::computeMLResidual() 11 1.338e-05 1.338e-05 1.338e-05 0.00% MLPoisson::prepareForSolve() 11 1.325e-05 1.325e-05 1.325e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.275e-05 1.275e-05 1.275e-05 0.00% Castro::check_for_nan() 20 1.198e-05 1.198e-05 1.198e-05 0.00% Castro::apply_source_to_state() 20 1.114e-05 1.114e-05 1.114e-05 0.00% MLLinOp::define() 11 1.002e-05 1.002e-05 1.002e-05 0.00% Castro::post_init() 1 9.366e-06 9.366e-06 9.366e-06 0.00% Gravity::swapTimeLevels() 10 9.004e-06 9.004e-06 9.004e-06 0.00% Gravity::actual_multilevel_solve() 1 8.581e-06 8.581e-06 8.581e-06 0.00% MLMG::getGradSolution() 11 6.962e-06 6.962e-06 6.962e-06 0.00% Castro::computeNewDt() 9 6.645e-06 6.645e-06 6.645e-06 0.00% Castro::expand_state() 10 6.192e-06 6.192e-06 6.192e-06 0.00% Amr::InitializeInit() 1 4.78e-06 4.78e-06 4.78e-06 0.00% AmrLevel::checkPointPost() 3 4.687e-06 4.687e-06 4.687e-06 0.00% Gravity::set_mass_offset() 11 4.363e-06 4.363e-06 4.363e-06 0.00% MLMG::MLRhsNormInf() 11 4.261e-06 4.261e-06 4.261e-06 0.00% Castro::retry_advance_ctu() 10 4.043e-06 4.043e-06 4.043e-06 0.00% MLMG::MLResNormInf() 11 3.945e-06 3.945e-06 3.945e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.273e-06 3.273e-06 3.273e-06 0.00% Castro::computeInitialDt() 2 2.773e-06 2.773e-06 2.773e-06 0.00% Castro::FluxRegCrseInit 10 2.512e-06 2.512e-06 2.512e-06 0.00% Amr::init() 1 2.292e-06 2.292e-06 2.292e-06 0.00% AmrLevel::checkPointPre() 3 2.071e-06 2.071e-06 2.071e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.059e-06 2.059e-06 2.059e-06 0.00% Castro::FluxRegFineAdd() 10 2.03e-06 2.03e-06 2.03e-06 0.00% Amr::initialInit() 1 1.123e-06 1.123e-06 1.123e-06 0.00% Castro::post_regrid() 1 1.115e-06 1.115e-06 1.115e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9287 0.9287 0.9287 100.00% Amr::coarseTimeStep() 10 0.7756 0.7756 0.7756 83.51% Amr::timeStep() 10 0.6814 0.6814 0.6814 73.36% Castro::advance() 10 0.671 0.671 0.671 72.25% Castro::subcycle_advance_ctu() 10 0.6572 0.6572 0.6572 70.77% Castro::do_advance_ctu() 10 0.657 0.657 0.657 70.75% Castro::construct_ctu_hydro_source() 10 0.315 0.315 0.315 33.91% Gravity::solve_phi_with_mlmg() 11 0.3022 0.3022 0.3022 32.54% Gravity::actual_solve_with_mlmg() 11 0.2925 0.2925 0.2925 31.49% Castro::construct_new_gravity() 10 0.2723 0.2723 0.2723 29.32% MLMG::solve() 11 0.2706 0.2706 0.2706 29.14% Gravity::solve_for_phi() 10 0.2563 0.2563 0.2563 27.60% MLMG::oneIter() 82 0.2554 0.2554 0.2554 27.50% MLMG::mgVcycle() 82 0.2518 0.2518 0.2518 27.12% VisMF::Write(FabArray) 11 0.1797 0.1797 0.1797 19.35% Amr::checkPoint() 3 0.137 0.137 0.137 14.76% AmrLevel::checkPoint() 3 0.1318 0.1318 0.1318 14.19% StateData::checkPoint() 12 0.1318 0.1318 0.1318 14.19% Amr::init() 1 0.1271 0.1271 0.1271 13.69% MLCellLinOp::smooth() 1640 0.1268 0.1268 0.1268 13.66% MLCellLinOp::applyBC() 4433 0.119 0.119 0.119 12.81% MLMG::mgVcycle_bottom 82 0.07637 0.07637 0.07637 8.22% MLMG::actualBottomSolve() 82 0.07633 0.07633 0.07633 8.22% MLCGSolver::bicgstab 82 0.0756 0.0756 0.0756 8.14% Amr::initialInit() 1 0.05552 0.05552 0.05552 5.98% Castro::clean_state() 62 0.05466 0.05466 0.05466 5.89% Amr::writePlotFile() 2 0.05039 0.05039 0.05039 5.43% Amr::FinalizeInit() 1 0.05022 0.05022 0.05022 5.41% Castro::post_init() 1 0.04878 0.04878 0.04878 5.25% AmrLevel::FillPatch() 41 0.04761 0.04761 0.04761 5.13% Gravity::multilevel_solve_for_new_phi() 1 0.04637 0.04637 0.04637 4.99% Gravity::actual_multilevel_solve() 1 0.04635 0.04635 0.04635 4.99% FillPatchIterator::Initialize 41 0.04339 0.04339 0.04339 4.67% FillPatchIterator::FillFromLevel0() 41 0.04184 0.04184 0.04184 4.50% FillPatchSingleLevel 41 0.04179 0.04179 0.04179 4.50% StateDataPhysBCFunct::() 41 0.03776 0.03776 0.03776 4.07% MLCellLinOp::apply() 1142 0.0377 0.0377 0.0377 4.06% MLMG::mgVcycle_down::0 82 0.03381 0.03381 0.03381 3.64% MLPoisson::Fsmooth() 3280 0.03358 0.03358 0.03358 3.62% FabArray::FillBoundary() 4023 0.03157 0.03157 0.03157 3.40% FillBoundary_nowait() 4023 0.03066 0.03066 0.03066 3.30% StateData::FillBoundary(geom) 328 0.02704 0.02704 0.02704 2.91% MLMG::mgVcycle_up::0 82 0.02554 0.02554 0.02554 2.75% Castro::computeTemp() 63 0.02297 0.02297 0.02297 2.47% MLCellLinOp::correctionResidual() 492 0.02287 0.02287 0.02287 2.46% amrex::Dot() 1114 0.02118 0.02118 0.02118 2.28% Castro::initialize_do_advance() 10 0.02098 0.02098 0.02098 2.26% MLMG:computeResOfCorrection() 410 0.02005 0.02005 0.02005 2.16% FabArray::norminf() 1061 0.0197 0.0197 0.0197 2.12% Castro::normalize_species() 62 0.01939 0.01939 0.01939 2.09% MLMG::mgVcycle_up::3 82 0.01856 0.01856 0.01856 2.00% Castro::do_old_sources() 10 0.01855 0.01855 0.01855 2.00% Gravity::get_new_grav_vector() 11 0.01797 0.01797 0.01797 1.93% MLPoisson::define() 11 0.01715 0.01715 0.01715 1.85% MLMG::mgVcycle_down::1 82 0.01652 0.01652 0.01652 1.78% MLMG::mgVcycle_down::2 82 0.01536 0.01536 0.01536 1.65% Castro::construct_old_gravity() 10 0.01529 0.01529 0.01529 1.65% Gravity::get_old_grav_vector() 10 0.01528 0.01528 0.01528 1.64% MLMG::mgVcycle_down::3 82 0.01498 0.01498 0.01498 1.61% MLMG::mgVcycle_down::4 82 0.01485 0.01485 0.01485 1.60% FabArray::ParallelCopy() 861 0.01469 0.01469 0.01469 1.58% FabArray::ParallelCopy_nowait() 861 0.01443 0.01443 0.01443 1.55% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.47% Castro::initialize_advance() 10 0.01309 0.01309 0.01309 1.41% FabArray::Saxpy() 1370 0.01294 0.01294 0.01294 1.39% MLCGSolver::ParallelAllReduce 1832 0.01277 0.01277 0.01277 1.38% MLMG::addInterpCorrection() 410 0.01234 0.01234 0.01234 1.33% Castro::do_new_sources() 10 0.01202 0.01202 0.01202 1.29% MLMG::mgVcycle_up::1 82 0.01196 0.01196 0.01196 1.29% MLMG::mgVcycle_up::4 82 0.01192 0.01192 0.01192 1.28% MLCellLinOp::defineAuxData() 11 0.01179 0.01179 0.01179 1.27% Castro::expand_state() 10 0.01178 0.01178 0.01178 1.27% MLMG::mgVcycle_up::2 82 0.01176 0.01176 0.01176 1.27% amrex::average_down 410 0.01159 0.01159 0.01159 1.25% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.16% amrex::Copy() 472 0.01073 0.01073 0.01073 1.16% Castro::post_timestep() 10 0.01023 0.01023 0.01023 1.10% Castro::enforce_min_density() 62 0.01001 0.01001 0.01001 1.08% Gravity::fill_multipole_BCs() 11 0.009497 0.009497 0.009497 1.02% FabArray::Xpay() 821 0.008338 0.008338 0.008338 0.90% Castro::reset_internal_energy(MultiFab) 63 0.007858 0.007858 0.007858 0.85% MLCellLinOp::solutionResidual() 93 0.007543 0.007543 0.007543 0.81% MLMG::computeResidual() 82 0.006272 0.006272 0.006272 0.68% Amr::InitializeInit() 1 0.005298 0.005298 0.005298 0.57% Amr::defBaseLevel() 1 0.005293 0.005293 0.005293 0.57% Castro::estTimeStep() 21 0.005278 0.005278 0.005278 0.57% MLCellLinOp::defineBC() 11 0.005132 0.005132 0.005132 0.55% MLMG::prepareForSolve() 11 0.005119 0.005119 0.005119 0.55% BndryData::define() 11 0.004876 0.004876 0.004876 0.53% Castro::initData() 1 0.004623 0.004623 0.004623 0.50% amrex::Add() 164 0.004401 0.004401 0.004401 0.47% Castro::construct_new_source() 50 0.003409 0.003409 0.003409 0.37% Castro::construct_new_gravity_source() 10 0.003336 0.003336 0.003336 0.36% Castro::enforce_speed_limit() 62 0.003336 0.003336 0.003336 0.36% Castro::construct_old_source() 50 0.002837 0.002837 0.002837 0.31% Castro::construct_old_gravity_source() 10 0.00282 0.00282 0.00282 0.30% Castro::computeNewDt() 9 0.002317 0.002317 0.002317 0.25% MLMG::ResNormInf() 93 0.00217 0.00217 0.00217 0.23% Castro::finalize_do_advance() 10 0.001968 0.001968 0.001968 0.21% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.20% check_for_negative_density() 10 0.001855 0.001855 0.001855 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.19% Castro::reset_internal_energy(Fab) 504 0.001651 0.001651 0.001651 0.18% MLMG::getGradSolution() 11 0.001578 0.001578 0.001578 0.17% MLCellLinOp::compGrad() 11 0.001571 0.001571 0.001571 0.17% MLCellLinOp::setLevelBC() 11 0.001542 0.001542 0.001542 0.17% FabArrayBase::getCPC() 1323 0.00148 0.00148 0.00148 0.16% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001331 0.001331 0.001331 0.14% MLPoisson::prepareForSolve() 11 0.00133 0.00133 0.00133 0.14% MLMG::computeMLResidual() 11 0.001318 0.001318 0.001318 0.14% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% Castro::check_for_nan() 20 0.001282 0.001282 0.001282 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% Castro::post_regrid() 1 0.001151 0.001151 0.001151 0.12% Castro::computeInitialDt() 2 0.001044 0.001044 0.001044 0.11% Gravity::update_max_rhs() 11 0.0009726 0.0009726 0.0009726 0.10% FabArrayBase::getFB() 4023 0.0007593 0.0007593 0.0007593 0.08% FabArrayBase::CPC::define() 454 0.000673 0.000673 0.000673 0.07% Castro::finalize_advance() 10 0.0005987 0.0005987 0.0005987 0.06% Castro::Castro() 1 0.0005795 0.0005795 0.0005795 0.06% Amr::InitAmr() 1 0.0005151 0.0005151 0.0005151 0.06% Gravity::swapTimeLevels() 10 0.0004368 0.0004368 0.0004368 0.05% MLMG::MLResNormInf() 11 0.0003307 0.0003307 0.0003307 0.04% MultiFab::max() 11 0.0003242 0.0003242 0.0003242 0.03% Castro::buildMetrics() 1 0.0002825 0.0002825 0.0002825 0.03% MLMG::MLRhsNormInf() 11 0.0002212 0.0002212 0.0002212 0.02% MLLinOp::define() 11 0.0002089 0.0002089 0.0002089 0.02% MLLinOp::defineGrids() 11 0.0001989 0.0001989 0.0001989 0.02% Castro::create_source_corrector() 10 0.0001787 0.0001787 0.0001787 0.02% FabArrayBase::FB::FB() 56 9.879e-05 9.879e-05 9.879e-05 0.01% Castro::enforce_consistent_e() 1 7.054e-05 7.054e-05 7.054e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.11e-05 6.11e-05 6.11e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.058e-05 5.058e-05 5.058e-05 0.01% StateData::define() 4 4.408e-05 4.408e-05 4.408e-05 0.00% makeSFC 55 3.783e-05 3.783e-05 3.783e-05 0.00% Castro::swap_state_time_levels() 10 3.553e-05 3.553e-05 3.553e-05 0.00% Castro::initMFs() 1 3.282e-05 3.282e-05 3.282e-05 0.00% Amr::writeSmallPlotFile() 1 3.14e-05 3.14e-05 3.14e-05 0.00% Amr::initSubcycle() 1 1.738e-05 1.738e-05 1.738e-05 0.00% DistributionMapping::Distribute() 56 1.458e-05 1.458e-05 1.458e-05 0.00% AmrLevel::checkPointPost() 3 4.687e-06 4.687e-06 4.687e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.427e-06 4.427e-06 4.427e-06 0.00% Gravity::set_mass_offset() 11 4.363e-06 4.363e-06 4.363e-06 0.00% Castro::retry_advance_ctu() 10 4.043e-06 4.043e-06 4.043e-06 0.00% Castro::FluxRegCrseInit 10 2.512e-06 2.512e-06 2.512e-06 0.00% AmrLevel::checkPointPre() 3 2.071e-06 2.071e-06 2.071e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.059e-06 2.059e-06 2.059e-06 0.00% Castro::FluxRegFineAdd() 10 2.03e-06 2.03e-06 2.03e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 153 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 994 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1523 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3584 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2027 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 2769 B 480 KiB VisMF::Write(FabArray) 656 656 3301 B 320 KiB Castro::normalize_species() 62 62 6801 B 320 KiB amrex::average_down 1067 1067 1237 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1121 B 257 KiB amrex::Dot() 1360 1360 3363 B 160 KiB FabArray::norminf() 1143 1143 3274 B 160 KiB check_for_negative_density() 10 10 302 B 160 KiB Castro::initData() 1 1 50 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 3502 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 281 B 9648 B MLCellLinOp::applyBC() 8866 8866 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3974 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 103 B 1280 B MLCellLinOp::defineBC() 66 66 369 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 551 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 57 KiB 8192 KiB VisMF::Write(FabArray) 744 744 419 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3502 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 281 B 9648 B MLCellLinOp::applyBC() 4433 4433 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3974 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 298 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 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.12-9-gd884f44493c0) finalized Initializing AMReX (23.12-9-gd884f44493c0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-9-gd884f44493c0) initialized Starting run at 23:17:53 UTC on 2023-12-11. Successfully read inputs file ... Castro git describe: 23.12-6-g9cf0cb6b3 AMReX git describe: 23.12-9-gd884f4449 Microphysics git describe: 23.12-1-gbdf6a18e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.512793084 Restart time = 0.072393927 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.054451422 [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.050501725 [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.050531306 [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.082478337 [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.091544187 [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.027761266 seconds Ending run at 23:17:54 UTC on 2023-12-11. Run time = 0.430682692 Run time without initialization = 0.357708886 Average number of zones advanced per microsecond: 3.664 Average number of zones advanced per microsecond per rank: 3.664 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4307 ... 0.4307 ... 0.4307 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1301 0.1301 0.1301 30.20% VisMF::Read() 3 0.06081 0.06081 0.06081 14.12% MLCellLinOp::applyBC() 1946 0.03522 0.03522 0.03522 8.18% VisMF::Write(FabArray) 1 0.02552 0.02552 0.02552 5.93% MLPoisson::Fsmooth() 1440 0.01449 0.01449 0.01449 3.36% StateData::FillBoundary(geom) 160 0.01337 0.01337 0.01337 3.10% FillBoundary_nowait() 1766 0.01283 0.01283 0.01283 2.98% Castro::enforce_min_density() 30 0.01247 0.01247 0.01247 2.90% Castro::normalize_species() 30 0.009445 0.009445 0.009445 2.19% amrex::Dot() 484 0.00915 0.00915 0.00915 2.12% FabArray::norminf() 465 0.008882 0.008882 0.008882 2.06% Castro::computeTemp() 30 0.007308 0.007308 0.007308 1.70% FabArray::setVal() 537 0.006666 0.006666 0.006666 1.55% FabArray::ParallelCopy_nowait() 380 0.006209 0.006209 0.006209 1.44% Gravity::fill_multipole_BCs() 6 0.005692 0.005692 0.005692 1.32% MLCellLinOp::defineAuxData() 6 0.005665 0.005665 0.005665 1.32% FabArray::Saxpy() 597 0.005661 0.005661 0.005661 1.31% amrex::Copy() 221 0.005342 0.005342 0.005342 1.24% Amr::restart() 1 0.004783 0.004783 0.004783 1.11% MLPoisson::Fapply() 500 0.004659 0.004659 0.004659 1.08% StateDataPhysBCFunct::() 20 0.004639 0.004639 0.004639 1.08% FabArray::Xpay() 361 0.003677 0.003677 0.003677 0.85% Castro::estTimeStep() 10 0.00313 0.00313 0.00313 0.73% MLMG::addInterpCorrection() 180 0.003099 0.003099 0.003099 0.72% amrex::average_down 180 0.002773 0.002773 0.002773 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002166 0.002166 0.002166 0.50% BndryData::define() 6 0.002132 0.002132 0.002132 0.49% Amr::writePlotFile() 1 0.00208 0.00208 0.00208 0.48% amrex::Add() 72 0.001905 0.001905 0.001905 0.44% Castro::construct_new_gravity_source() 5 0.00185 0.00185 0.00185 0.43% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.35% Castro::enforce_speed_limit() 30 0.001239 0.001239 0.001239 0.29% check_for_negative_density() 5 0.001012 0.001012 0.001012 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009851 0.0009851 0.0009851 0.23% Gravity::actual_solve_with_mlmg() 6 0.000855 0.000855 0.000855 0.20% MLCellLinOp::setLevelBC() 6 0.0008497 0.0008497 0.0008497 0.20% Castro::reset_internal_energy(Fab) 240 0.0008316 0.0008316 0.0008316 0.19% MLCGSolver::bicgstab 36 0.0008225 0.0008225 0.0008225 0.19% MLCellLinOp::prepareForSolve() 6 0.0007431 0.0007431 0.0007431 0.17% FabArray::mult() 22 0.0006848 0.0006848 0.0006848 0.16% FabArray::setDomainBndry() 20 0.0006804 0.0006804 0.0006804 0.16% MultiFab::contains_nan() 10 0.0006757 0.0006757 0.0006757 0.16% MLCellLinOp::compGrad() 6 0.0005951 0.0005951 0.0005951 0.14% MLMG::prepareForSolve() 6 0.0005503 0.0005503 0.0005503 0.13% MLCellLinOp::smooth() 720 0.0005033 0.0005033 0.0005033 0.12% FabArrayBase::CPC::define() 244 0.0004265 0.0004265 0.0004265 0.10% Amr::InitAmr() 1 0.0003997 0.0003997 0.0003997 0.09% FabArray::FillBoundary() 1766 0.0003923 0.0003923 0.0003923 0.09% FabArrayBase::getCPC() 632 0.0003668 0.0003668 0.0003668 0.09% Gravity::get_old_grav_vector() 5 0.0003168 0.0003168 0.0003168 0.07% FabArrayBase::getFB() 1766 0.0002772 0.0002772 0.0002772 0.06% main() 1 0.0002706 0.0002706 0.0002706 0.06% Gravity::get_new_grav_vector() 5 0.0002638 0.0002638 0.0002638 0.06% MultiFab::max() 6 0.0002145 0.0002145 0.0002145 0.05% MLCellLinOp::apply() 500 0.000203 0.000203 0.000203 0.05% AmrLevel::FillPatch() 20 0.000181 0.000181 0.000181 0.04% Amr::coarseTimeStep() 5 0.0001705 0.0001705 0.0001705 0.04% MLCGSolver::ParallelAllReduce 798 0.000149 0.000149 0.000149 0.03% Castro::subcycle_advance_ctu() 5 0.0001391 0.0001391 0.0001391 0.03% MLCellLinOp::defineBC() 6 0.0001354 0.0001354 0.0001354 0.03% Castro::construct_new_source() 25 0.0001315 0.0001315 0.0001315 0.03% Gravity::solve_for_phi() 5 0.0001285 0.0001285 0.0001285 0.03% FabArray::ParallelCopy() 380 0.0001194 0.0001194 0.0001194 0.03% FillPatchIterator::Initialize 20 0.0001135 0.0001135 0.0001135 0.03% MLCellLinOp::correctionResidual() 216 8.887e-05 8.887e-05 8.887e-05 0.02% MLMG::mgVcycle() 36 8.55e-05 8.55e-05 8.55e-05 0.02% MLLinOp::defineGrids() 6 8.271e-05 8.271e-05 8.271e-05 0.02% Castro::create_source_corrector() 5 8.249e-05 8.249e-05 8.249e-05 0.02% Amr::timeStep() 5 8.089e-05 8.089e-05 8.089e-05 0.02% AmrLevel::restart() 1 7.18e-05 7.18e-05 7.18e-05 0.02% StateData::restartDoit() 4 6.896e-05 6.896e-05 6.896e-05 0.02% Gravity::update_max_rhs() 6 6.439e-05 6.439e-05 6.439e-05 0.01% Castro::initialize_do_advance() 5 6.424e-05 6.424e-05 6.424e-05 0.01% FabArrayBase::FB::FB() 26 6.168e-05 6.168e-05 6.168e-05 0.01% Castro::initialize_advance() 5 5.968e-05 5.968e-05 5.968e-05 0.01% Castro::advance() 5 5.629e-05 5.629e-05 5.629e-05 0.01% MLMG:computeResOfCorrection() 180 5.087e-05 5.087e-05 5.087e-05 0.01% MLMG::mgVcycle_down::0 36 4.662e-05 4.662e-05 4.662e-05 0.01% Castro::finalize_do_advance() 5 4.556e-05 4.556e-05 4.556e-05 0.01% MLMG::actualBottomSolve() 36 4.465e-05 4.465e-05 4.465e-05 0.01% Castro::do_advance_ctu() 5 4.371e-05 4.371e-05 4.371e-05 0.01% MLMG::mgVcycle_down::1 36 4.343e-05 4.343e-05 4.343e-05 0.01% MLMG::mgVcycle_down::2 36 4.202e-05 4.202e-05 4.202e-05 0.01% Castro::post_timestep() 5 3.803e-05 3.803e-05 3.803e-05 0.01% Castro::clean_state() 30 3.8e-05 3.8e-05 3.8e-05 0.01% MLMG::mgVcycle_down::4 36 3.362e-05 3.362e-05 3.362e-05 0.01% MLMG::solve() 6 3.361e-05 3.361e-05 3.361e-05 0.01% MLMG::mgVcycle_down::3 36 3.293e-05 3.293e-05 3.293e-05 0.01% Amr::writeSmallPlotFile() 1 3.269e-05 3.269e-05 3.269e-05 0.01% MLMG::mgVcycle_up::4 36 3.223e-05 3.223e-05 3.223e-05 0.01% Castro::finalize_advance() 5 3.192e-05 3.192e-05 3.192e-05 0.01% Castro::post_restart() 1 3.109e-05 3.109e-05 3.109e-05 0.01% Castro::buildMetrics() 1 2.958e-05 2.958e-05 2.958e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.762e-05 2.762e-05 2.762e-05 0.01% Castro::construct_old_source() 25 2.759e-05 2.759e-05 2.759e-05 0.01% Castro::swap_state_time_levels() 5 2.536e-05 2.536e-05 2.536e-05 0.01% MLMG::oneIter() 36 2.477e-05 2.477e-05 2.477e-05 0.01% Castro::initMFs() 1 2.474e-05 2.474e-05 2.474e-05 0.01% MLMG::mgVcycle_up::0 36 2.329e-05 2.329e-05 2.329e-05 0.01% MLMG::mgVcycle_up::3 36 2.299e-05 2.299e-05 2.299e-05 0.01% MLCellLinOp::solutionResidual() 42 2.215e-05 2.215e-05 2.215e-05 0.01% MLMG::mgVcycle_up::2 36 2.169e-05 2.169e-05 2.169e-05 0.01% MLMG::mgVcycle_up::1 36 2.06e-05 2.06e-05 2.06e-05 0.00% Castro::construct_new_gravity() 5 1.947e-05 1.947e-05 1.947e-05 0.00% MLMG::ResNormInf() 42 1.821e-05 1.821e-05 1.821e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.715e-05 1.715e-05 1.715e-05 0.00% MLMG::mgVcycle_bottom 36 1.647e-05 1.647e-05 1.647e-05 0.00% FillPatchSingleLevel 20 1.513e-05 1.513e-05 1.513e-05 0.00% Gravity::actual_multilevel_solve() 1 1.463e-05 1.463e-05 1.463e-05 0.00% MLMG::computeResidual() 36 1.441e-05 1.441e-05 1.441e-05 0.00% MLPoisson::define() 6 1.326e-05 1.326e-05 1.326e-05 0.00% makeSFC 30 1.308e-05 1.308e-05 1.308e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.3e-05 1.3e-05 1.3e-05 0.00% Castro::do_old_sources() 5 1.142e-05 1.142e-05 1.142e-05 0.00% Castro::check_for_nan() 10 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::do_new_sources() 5 1.021e-05 1.021e-05 1.021e-05 0.00% MLMG::computeMLResidual() 6 9.699e-06 9.699e-06 9.699e-06 0.00% MLPoisson::prepareForSolve() 6 9.339e-06 9.339e-06 9.339e-06 0.00% DistributionMapping::Distribute() 31 8.838e-06 8.838e-06 8.838e-06 0.00% Amr::initSubcycle() 1 8.705e-06 8.705e-06 8.705e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.691e-06 7.691e-06 7.691e-06 0.00% Castro::construct_old_gravity() 5 5.791e-06 5.791e-06 5.791e-06 0.00% MLLinOp::define() 6 5.485e-06 5.485e-06 5.485e-06 0.00% Castro::apply_source_to_state() 10 5.358e-06 5.358e-06 5.358e-06 0.00% Gravity::swapTimeLevels() 5 4.009e-06 4.009e-06 4.009e-06 0.00% MLMG::getGradSolution() 6 3.631e-06 3.631e-06 3.631e-06 0.00% Castro::computeNewDt() 5 3.541e-06 3.541e-06 3.541e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.983e-06 2.983e-06 2.983e-06 0.00% Castro::expand_state() 5 2.956e-06 2.956e-06 2.956e-06 0.00% MLMG::MLResNormInf() 6 2.516e-06 2.516e-06 2.516e-06 0.00% MLMG::MLRhsNormInf() 6 2.45e-06 2.45e-06 2.45e-06 0.00% Gravity::set_mass_offset() 6 2.254e-06 2.254e-06 2.254e-06 0.00% Castro::retry_advance_ctu() 5 1.763e-06 1.763e-06 1.763e-06 0.00% Castro::FluxRegCrseInit 5 1.309e-06 1.309e-06 1.309e-06 0.00% Castro::FluxRegFineAdd() 5 1.099e-06 1.099e-06 1.099e-06 0.00% Amr::init() 1 1.064e-06 1.064e-06 1.064e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.8e-07 9.8e-07 9.8e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4307 0.4307 0.4307 100.00% Amr::coarseTimeStep() 5 0.3297 0.3297 0.3297 76.54% Amr::timeStep() 5 0.3275 0.3275 0.3275 76.03% Castro::advance() 5 0.322 0.322 0.322 74.77% Castro::subcycle_advance_ctu() 5 0.3149 0.3149 0.3149 73.12% Castro::do_advance_ctu() 5 0.3148 0.3148 0.3148 73.08% Castro::construct_ctu_hydro_source() 5 0.1423 0.1423 0.1423 33.04% Castro::construct_new_gravity() 5 0.1361 0.1361 0.1361 31.59% Gravity::solve_phi_with_mlmg() 6 0.1334 0.1334 0.1334 30.98% Gravity::solve_for_phi() 5 0.1278 0.1278 0.1278 29.68% Gravity::actual_solve_with_mlmg() 6 0.1275 0.1275 0.1275 29.60% MLMG::solve() 6 0.1155 0.1155 0.1155 26.81% MLMG::oneIter() 36 0.1079 0.1079 0.1079 25.06% MLMG::mgVcycle() 36 0.1064 0.1064 0.1064 24.70% Amr::init() 1 0.07245 0.07245 0.07245 16.82% Amr::restart() 1 0.07245 0.07245 0.07245 16.82% AmrLevel::restart() 1 0.06117 0.06117 0.06117 14.20% StateData::restartDoit() 4 0.0611 0.0611 0.0611 14.19% VisMF::Read() 3 0.06081 0.06081 0.06081 14.12% MLCellLinOp::smooth() 720 0.05184 0.05184 0.05184 12.03% MLCellLinOp::applyBC() 1946 0.04878 0.04878 0.04878 11.33% Castro::clean_state() 30 0.0335 0.0335 0.0335 7.78% MLMG::mgVcycle_bottom 36 0.0332 0.0332 0.0332 7.71% MLMG::actualBottomSolve() 36 0.03319 0.03319 0.03319 7.71% MLCGSolver::bicgstab 36 0.03287 0.03287 0.03287 7.63% Amr::writePlotFile() 1 0.02786 0.02786 0.02786 6.47% VisMF::Write(FabArray) 1 0.02552 0.02552 0.02552 5.93% AmrLevel::FillPatch() 20 0.02295 0.02295 0.02295 5.33% FillPatchIterator::Initialize 20 0.02088 0.02088 0.02088 4.85% FillPatchIterator::FillFromLevel0() 20 0.02009 0.02009 0.02009 4.66% FillPatchSingleLevel 20 0.02006 0.02006 0.02006 4.66% StateDataPhysBCFunct::() 20 0.01801 0.01801 0.01801 4.18% MLCellLinOp::apply() 500 0.01652 0.01652 0.01652 3.84% MLMG::mgVcycle_down::0 36 0.01475 0.01475 0.01475 3.43% MLPoisson::Fsmooth() 1440 0.01449 0.01449 0.01449 3.36% FabArray::FillBoundary() 1766 0.01356 0.01356 0.01356 3.15% StateData::FillBoundary(geom) 160 0.01337 0.01337 0.01337 3.10% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.06% Castro::enforce_min_density() 30 0.01247 0.01247 0.01247 2.90% MLMG::mgVcycle_up::0 36 0.01105 0.01105 0.01105 2.57% Castro::initialize_do_advance() 5 0.01091 0.01091 0.01091 2.53% Castro::computeTemp() 30 0.01031 0.01031 0.01031 2.39% MLCellLinOp::correctionResidual() 216 0.009942 0.009942 0.009942 2.31% Castro::do_old_sources() 5 0.009727 0.009727 0.009727 2.26% Castro::normalize_species() 30 0.009445 0.009445 0.009445 2.19% MLPoisson::define() 6 0.009441 0.009441 0.009441 2.19% amrex::Dot() 484 0.00915 0.00915 0.00915 2.12% FabArray::norminf() 465 0.008882 0.008882 0.008882 2.06% MLMG:computeResOfCorrection() 180 0.008725 0.008725 0.008725 2.03% Gravity::get_new_grav_vector() 5 0.008122 0.008122 0.008122 1.89% Castro::construct_old_gravity() 5 0.007624 0.007624 0.007624 1.77% Gravity::get_old_grav_vector() 5 0.007618 0.007618 0.007618 1.77% MLMG::mgVcycle_down::1 36 0.007295 0.007295 0.007295 1.69% Castro::initialize_advance() 5 0.006761 0.006761 0.006761 1.57% FabArray::ParallelCopy() 380 0.006729 0.006729 0.006729 1.56% FabArray::setVal() 537 0.006666 0.006666 0.006666 1.55% MLMG::mgVcycle_down::2 36 0.006663 0.006663 0.006663 1.55% FabArray::ParallelCopy_nowait() 380 0.00661 0.00661 0.00661 1.53% MLMG::mgVcycle_down::3 36 0.006491 0.006491 0.006491 1.51% Castro::do_new_sources() 5 0.006473 0.006473 0.006473 1.50% MLCellLinOp::defineAuxData() 6 0.006448 0.006448 0.006448 1.50% MLMG::mgVcycle_down::4 36 0.006404 0.006404 0.006404 1.49% Castro::post_restart() 1 0.006316 0.006316 0.006316 1.47% Gravity::multilevel_solve_for_new_phi() 1 0.005926 0.005926 0.005926 1.38% Castro::expand_state() 5 0.005924 0.005924 0.005924 1.38% Gravity::actual_multilevel_solve() 1 0.005909 0.005909 0.005909 1.37% Gravity::fill_multipole_BCs() 6 0.005816 0.005816 0.005816 1.35% FabArray::Saxpy() 597 0.005661 0.005661 0.005661 1.31% MLCGSolver::ParallelAllReduce 798 0.005557 0.005557 0.005557 1.29% MLMG::addInterpCorrection() 180 0.005422 0.005422 0.005422 1.26% Castro::post_timestep() 5 0.005374 0.005374 0.005374 1.25% amrex::Copy() 221 0.005342 0.005342 0.005342 1.24% MLMG::mgVcycle_up::1 36 0.005197 0.005197 0.005197 1.21% MLMG::mgVcycle_up::4 36 0.005188 0.005188 0.005188 1.20% amrex::average_down 180 0.005147 0.005147 0.005147 1.19% MLMG::mgVcycle_up::2 36 0.00508 0.00508 0.00508 1.18% MLMG::mgVcycle_up::3 36 0.004968 0.004968 0.004968 1.15% MLPoisson::Fapply() 500 0.004659 0.004659 0.004659 1.08% FabArray::Xpay() 361 0.003677 0.003677 0.003677 0.85% MLCellLinOp::solutionResidual() 42 0.003512 0.003512 0.003512 0.82% Castro::estTimeStep() 10 0.00313 0.00313 0.00313 0.73% Castro::reset_internal_energy(MultiFab) 30 0.002997 0.002997 0.002997 0.70% MLCellLinOp::defineBC() 6 0.002863 0.002863 0.002863 0.66% MLMG::prepareForSolve() 6 0.002851 0.002851 0.002851 0.66% MLMG::computeResidual() 36 0.002736 0.002736 0.002736 0.64% BndryData::define() 6 0.002727 0.002727 0.002727 0.63% Castro::computeNewDt() 5 0.002019 0.002019 0.002019 0.47% Castro::construct_new_source() 25 0.001981 0.001981 0.001981 0.46% amrex::Add() 72 0.001905 0.001905 0.001905 0.44% Castro::construct_new_gravity_source() 5 0.00185 0.00185 0.00185 0.43% Castro::construct_old_source() 25 0.001549 0.001549 0.001549 0.36% Castro::construct_old_gravity_source() 5 0.001521 0.001521 0.001521 0.35% Castro::enforce_speed_limit() 30 0.001239 0.001239 0.001239 0.29% Castro::finalize_do_advance() 5 0.00116 0.00116 0.00116 0.27% check_for_negative_density() 5 0.001012 0.001012 0.001012 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009851 0.0009851 0.0009851 0.23% MLMG::ResNormInf() 42 0.0009834 0.0009834 0.0009834 0.23% Castro::apply_source_to_state() 10 0.0009587 0.0009587 0.0009587 0.22% MLMG::getGradSolution() 6 0.0008756 0.0008756 0.0008756 0.20% MLCellLinOp::compGrad() 6 0.000872 0.000872 0.000872 0.20% MLCellLinOp::setLevelBC() 6 0.0008497 0.0008497 0.0008497 0.20% Castro::reset_internal_energy(Fab) 240 0.0008316 0.0008316 0.0008316 0.19% MLMG::computeMLResidual() 6 0.0008 0.0008 0.0008 0.19% FabArrayBase::getCPC() 632 0.0007933 0.0007933 0.0007933 0.18% MLPoisson::prepareForSolve() 6 0.0007524 0.0007524 0.0007524 0.17% MLCellLinOp::prepareForSolve() 6 0.0007431 0.0007431 0.0007431 0.17% Gravity::update_max_rhs() 6 0.0007256 0.0007256 0.0007256 0.17% Castro::check_for_nan() 10 0.0006864 0.0006864 0.0006864 0.16% FabArray::mult() 22 0.0006848 0.0006848 0.0006848 0.16% FabArray::setDomainBndry() 20 0.0006804 0.0006804 0.0006804 0.16% MultiFab::contains_nan() 10 0.0006757 0.0006757 0.0006757 0.16% FabArrayBase::CPC::define() 244 0.0004265 0.0004265 0.0004265 0.10% Amr::InitAmr() 1 0.0004084 0.0004084 0.0004084 0.09% FabArrayBase::getFB() 1766 0.0003389 0.0003389 0.0003389 0.08% Castro::finalize_advance() 5 0.0002943 0.0002943 0.0002943 0.07% Gravity::swapTimeLevels() 5 0.0002299 0.0002299 0.0002299 0.05% MultiFab::max() 6 0.0002145 0.0002145 0.0002145 0.05% MLMG::MLResNormInf() 6 0.0001951 0.0001951 0.0001951 0.05% Castro::buildMetrics() 1 0.0001563 0.0001563 0.0001563 0.04% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.03% MLLinOp::define() 6 0.0001175 0.0001175 0.0001175 0.03% MLLinOp::defineGrids() 6 0.0001121 0.0001121 0.0001121 0.03% Castro::create_source_corrector() 5 8.249e-05 8.249e-05 8.249e-05 0.02% FabArrayBase::FB::FB() 26 6.168e-05 6.168e-05 6.168e-05 0.01% Amr::writeSmallPlotFile() 1 3.269e-05 3.269e-05 3.269e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.836e-05 2.836e-05 2.836e-05 0.01% Castro::swap_state_time_levels() 5 2.536e-05 2.536e-05 2.536e-05 0.01% Castro::initMFs() 1 2.474e-05 2.474e-05 2.474e-05 0.01% makeSFC 30 2.067e-05 2.067e-05 2.067e-05 0.00% DistributionMapping::Distribute() 31 8.838e-06 8.838e-06 8.838e-06 0.00% Amr::initSubcycle() 1 8.705e-06 8.705e-06 8.705e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.228e-06 4.228e-06 4.228e-06 0.00% Gravity::set_mass_offset() 6 2.254e-06 2.254e-06 2.254e-06 0.00% Castro::retry_advance_ctu() 5 1.763e-06 1.763e-06 1.763e-06 0.00% Castro::FluxRegCrseInit 5 1.309e-06 1.309e-06 1.309e-06 0.00% Castro::FluxRegFineAdd() 5 1.099e-06 1.099e-06 1.099e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.8e-07 9.8e-07 9.8e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 184 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 143 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1051 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1747 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6406 KiB 14 MiB MLMG::prepareForSolve() 361 361 3290 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6393 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3345 B 2048 KiB Gravity::solve_for_phi() 40 40 606 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3473 B 480 KiB VisMF::Write(FabArray) 112 112 2318 B 320 KiB Castro::normalize_species() 30 30 7112 B 320 KiB amrex::average_down 469 469 1167 B 257 KiB MLMG::addInterpCorrection() 468 468 1079 B 257 KiB amrex::Dot() 592 592 3111 B 160 KiB FabArray::norminf() 501 501 3180 B 160 KiB check_for_negative_density() 5 5 353 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3190 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 3892 3892 205 B 9344 B amrex::Copy() 56 56 5644 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 216 216 96 B 1280 B MLCellLinOp::defineBC() 36 36 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1179 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3190 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 1946 1946 204 B 9328 B amrex::Copy() 56 56 5644 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2508 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2640 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 211 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() 501 501 9 B 144 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.12-9-gd884f44493c0) finalized