Initializing AMReX (24.03-5-gba95d4cd8758)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-5-gba95d4cd8758) initialized Starting run at 09:05:02 UTC on 2024-03-11. Successfully read inputs file ... Castro git describe: 24.03-3-gfbd880fa0 AMReX git describe: 24.03-5-gba95d4cd8 Microphysics git describe: 24.03-6-g95cb860c 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.043852275 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024168056 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.069354818 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.052686826 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.078776309 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.072607906 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.051552453 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.043663791 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.051568714 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.073527848 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.077404704 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.064038301 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.06347518 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.041410045 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023595603 seconds Ending run at 09:05:02 UTC on 2024-03-11. Run time = 0.884416072 Run time without initialization = 0.764305659 Average number of zones advanced per microsecond: 3.430 Average number of zones advanced per microsecond per rank: 3.430 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8845 ... 0.8845 ... 0.8845 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2667 0.2667 0.2667 30.16% VisMF::Write(FabArray) 11 0.1681 0.1681 0.1681 19.01% MLCellLinOp::applyBC() 4298 0.07956 0.07956 0.07956 9.00% MLPoisson::Fsmooth() 3240 0.03275 0.03275 0.03275 3.70% FillBoundary_nowait() 3893 0.03047 0.03047 0.03047 3.44% StateDataPhysBCFunct::() 41 0.02926 0.02926 0.02926 3.31% StateData::FillBoundary(geom) 328 0.02351 0.02351 0.02351 2.66% amrex::Dot() 1100 0.02069 0.02069 0.02069 2.34% Castro::normalize_species() 62 0.02064 0.02064 0.02064 2.33% FabArray::norminf() 1048 0.0193 0.0193 0.0193 2.18% Castro::computeTemp() 63 0.01534 0.01534 0.01534 1.73% FabArray::ParallelCopy_nowait() 851 0.01348 0.01348 0.01348 1.52% FabArray::setVal() 1054 0.01333 0.01333 0.01333 1.51% FabArray::Saxpy() 1353 0.01286 0.01286 0.01286 1.45% amrex::Copy() 469 0.01084 0.01084 0.01084 1.23% Castro::enforce_min_density() 62 0.01081 0.01081 0.01081 1.22% MLCellLinOp::defineAuxData() 11 0.01009 0.01009 0.01009 1.14% MLPoisson::Fapply() 1047 0.01005 0.01005 0.01005 1.14% Gravity::fill_multipole_BCs() 11 0.008703 0.008703 0.008703 0.98% FabArray::Xpay() 730 0.007765 0.007765 0.007765 0.88% MLMG::addInterpCorrection() 405 0.006924 0.006924 0.006924 0.78% amrex::average_down 405 0.006176 0.006176 0.006176 0.70% Amr::checkPoint() 3 0.00597 0.00597 0.00597 0.67% Castro::estTimeStep() 21 0.00576 0.00576 0.00576 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005265 0.005265 0.005265 0.60% BndryData::define() 11 0.003881 0.003881 0.003881 0.44% amrex::Add() 81 0.003596 0.003596 0.003596 0.41% Castro::enforce_speed_limit() 62 0.003368 0.003368 0.003368 0.38% Castro::construct_new_gravity_source() 10 0.00318 0.00318 0.00318 0.36% Castro::construct_old_gravity_source() 10 0.002352 0.002352 0.002352 0.27% Amr::writePlotFile() 2 0.002114 0.002114 0.002114 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001776 0.001776 0.001776 0.20% MLCGSolver::bicgstab 81 0.001671 0.001671 0.001671 0.19% Castro::reset_internal_energy(Fab) 504 0.001642 0.001642 0.001642 0.19% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.18% Gravity::actual_solve_with_mlmg() 11 0.001541 0.001541 0.001541 0.17% check_for_negative_density() 10 0.001488 0.001488 0.001488 0.17% Castro::initData() 1 0.001467 0.001467 0.001467 0.17% FabArray::mult() 43 0.001379 0.001379 0.001379 0.16% FabArray::setDomainBndry() 41 0.00133 0.00133 0.00133 0.15% MLCellLinOp::prepareForSolve() 11 0.001301 0.001301 0.001301 0.15% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.15% MLCellLinOp::smooth() 1620 0.001184 0.001184 0.001184 0.13% MLCellLinOp::compGrad() 11 0.001054 0.001054 0.001054 0.12% MLMG::prepareForSolve() 11 0.0009889 0.0009889 0.0009889 0.11% FabArrayBase::getCPC() 1313 0.0008022 0.0008022 0.0008022 0.09% FabArray::FillBoundary() 3893 0.0007718 0.0007718 0.0007718 0.09% FabArrayBase::CPC::define() 454 0.0006743 0.0006743 0.0006743 0.08% FabArrayBase::getFB() 3893 0.0006394 0.0006394 0.0006394 0.07% Gravity::get_new_grav_vector() 11 0.0006149 0.0006149 0.0006149 0.07% Amr::InitAmr() 1 0.0005333 0.0005333 0.0005333 0.06% Gravity::get_old_grav_vector() 10 0.0005006 0.0005006 0.0005006 0.06% MLCellLinOp::apply() 1047 0.0004393 0.0004393 0.0004393 0.05% AmrLevel::FillPatch() 41 0.0004056 0.0004056 0.0004056 0.05% MLCGSolver::ParallelAllReduce 1809 0.000337 0.000337 0.000337 0.04% Amr::coarseTimeStep() 10 0.0003355 0.0003355 0.0003355 0.04% MultiFab::max() 11 0.0003292 0.0003292 0.0003292 0.04% main() 1 0.0002895 0.0002895 0.0002895 0.03% MLCellLinOp::defineBC() 11 0.0002696 0.0002696 0.0002696 0.03% FabArray::ParallelCopy() 851 0.000255 0.000255 0.000255 0.03% MLMG::mgVcycle() 81 0.0002282 0.0002282 0.0002282 0.03% FillPatchIterator::Initialize 41 0.000222 0.000222 0.000222 0.03% Castro::subcycle_advance_ctu() 10 0.0001949 0.0001949 0.0001949 0.02% Castro::create_source_corrector() 10 0.0001905 0.0001905 0.0001905 0.02% MLCellLinOp::correctionResidual() 405 0.0001877 0.0001877 0.0001877 0.02% MLLinOp::defineGrids() 11 0.000179 0.000179 0.000179 0.02% Amr::timeStep() 10 0.000168 0.000168 0.000168 0.02% Gravity::update_max_rhs() 11 0.0001357 0.0001357 0.0001357 0.02% Gravity::solve_for_phi() 10 0.0001252 0.0001252 0.0001252 0.01% MLMG:computeResOfCorrection() 405 0.0001243 0.0001243 0.0001243 0.01% Castro::construct_new_source() 50 0.0001171 0.0001171 0.0001171 0.01% StateData::checkPoint() 12 0.000117 0.000117 0.000117 0.01% Castro::advance() 10 9.701e-05 9.701e-05 9.701e-05 0.01% MLMG::mgVcycle_down::0 81 9.682e-05 9.682e-05 9.682e-05 0.01% Castro::Castro() 1 9.406e-05 9.406e-05 9.406e-05 0.01% MLMG::actualBottomSolve() 81 8.984e-05 8.984e-05 8.984e-05 0.01% FabArrayBase::FB::FB() 56 8.526e-05 8.526e-05 8.526e-05 0.01% MLMG::mgVcycle_down::1 81 8.423e-05 8.423e-05 8.423e-05 0.01% MLMG::mgVcycle_down::2 81 8.198e-05 8.198e-05 8.198e-05 0.01% MLMG::mgVcycle_down::4 81 7.891e-05 7.891e-05 7.891e-05 0.01% Castro::initialize_advance() 10 7.82e-05 7.82e-05 7.82e-05 0.01% Castro::clean_state() 62 7.718e-05 7.718e-05 7.718e-05 0.01% MLMG::mgVcycle_down::3 81 7.705e-05 7.705e-05 7.705e-05 0.01% MLMG::solve() 11 7.196e-05 7.196e-05 7.196e-05 0.01% Castro::finalize_advance() 10 6.825e-05 6.825e-05 6.825e-05 0.01% Castro::enforce_consistent_e() 1 6.642e-05 6.642e-05 6.642e-05 0.01% Castro::post_timestep() 10 6.63e-05 6.63e-05 6.63e-05 0.01% MLMG::mgVcycle_up::4 81 6.251e-05 6.251e-05 6.251e-05 0.01% AmrLevel::checkPoint() 3 6.189e-05 6.189e-05 6.189e-05 0.01% Castro::initialize_do_advance() 10 6.124e-05 6.124e-05 6.124e-05 0.01% MLMG::mgVcycle_up::0 81 6.08e-05 6.08e-05 6.08e-05 0.01% MLMG::mgVcycle_up::1 81 5.845e-05 5.845e-05 5.845e-05 0.01% MLMG::mgVcycle_up::3 81 5.56e-05 5.56e-05 5.56e-05 0.01% MLCellLinOp::solutionResidual() 92 5.409e-05 5.409e-05 5.409e-05 0.01% MLMG::oneIter() 81 5.394e-05 5.394e-05 5.394e-05 0.01% MLMG::mgVcycle_up::2 81 5.266e-05 5.266e-05 5.266e-05 0.01% Castro::do_advance_ctu() 10 5.234e-05 5.234e-05 5.234e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.842e-05 4.842e-05 4.842e-05 0.01% Castro::finalize_do_advance() 10 4.755e-05 4.755e-05 4.755e-05 0.01% Castro::do_new_sources() 10 4.668e-05 4.668e-05 4.668e-05 0.01% StateData::define() 4 4.632e-05 4.632e-05 4.632e-05 0.01% Castro::swap_state_time_levels() 10 3.838e-05 3.838e-05 3.838e-05 0.00% MLMG::mgVcycle_bottom 81 3.715e-05 3.715e-05 3.715e-05 0.00% Amr::writeSmallPlotFile() 1 3.683e-05 3.683e-05 3.683e-05 0.00% FillPatchSingleLevel 41 3.516e-05 3.516e-05 3.516e-05 0.00% MLMG::ResNormInf() 92 3.49e-05 3.49e-05 3.49e-05 0.00% MLMG::computeResidual() 81 3.39e-05 3.39e-05 3.39e-05 0.00% Castro::initMFs() 1 3.37e-05 3.37e-05 3.37e-05 0.00% Amr::defBaseLevel() 1 3.356e-05 3.356e-05 3.356e-05 0.00% Castro::construct_new_gravity() 10 2.858e-05 2.858e-05 2.858e-05 0.00% makeSFC 55 2.782e-05 2.782e-05 2.782e-05 0.00% Castro::buildMetrics() 1 2.468e-05 2.468e-05 2.468e-05 0.00% Castro::construct_old_source() 50 2.428e-05 2.428e-05 2.428e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.412e-05 2.412e-05 2.412e-05 0.00% Castro::do_old_sources() 10 2.284e-05 2.284e-05 2.284e-05 0.00% MLPoisson::define() 11 2.041e-05 2.041e-05 2.041e-05 0.00% Amr::FinalizeInit() 1 1.915e-05 1.915e-05 1.915e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.866e-05 1.866e-05 1.866e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.63e-05 1.63e-05 1.63e-05 0.00% DistributionMapping::Distribute() 56 1.557e-05 1.557e-05 1.557e-05 0.00% MLLinOp::define() 11 1.557e-05 1.557e-05 1.557e-05 0.00% MLMG::computeMLResidual() 11 1.477e-05 1.477e-05 1.477e-05 0.00% Castro::check_for_nan() 20 1.449e-05 1.449e-05 1.449e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.351e-05 1.351e-05 1.351e-05 0.00% MLPoisson::prepareForSolve() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::apply_source_to_state() 20 1.237e-05 1.237e-05 1.237e-05 0.00% Castro::construct_old_gravity() 10 1.042e-05 1.042e-05 1.042e-05 0.00% Amr::initSubcycle() 1 9.873e-06 9.873e-06 9.873e-06 0.00% Castro::post_init() 1 9.869e-06 9.869e-06 9.869e-06 0.00% Gravity::swapTimeLevels() 10 8.987e-06 8.987e-06 8.987e-06 0.00% Gravity::actual_multilevel_solve() 1 8.091e-06 8.091e-06 8.091e-06 0.00% Castro::computeNewDt() 9 7.504e-06 7.504e-06 7.504e-06 0.00% MLMG::getGradSolution() 11 6.646e-06 6.646e-06 6.646e-06 0.00% Castro::expand_state() 10 5.947e-06 5.947e-06 5.947e-06 0.00% Castro::retry_advance_ctu() 10 5.082e-06 5.082e-06 5.082e-06 0.00% AmrLevel::checkPointPost() 3 5.038e-06 5.038e-06 5.038e-06 0.00% Gravity::set_mass_offset() 11 4.519e-06 4.519e-06 4.519e-06 0.00% Amr::InitializeInit() 1 4.379e-06 4.379e-06 4.379e-06 0.00% MLMG::MLRhsNormInf() 11 4.206e-06 4.206e-06 4.206e-06 0.00% MLMG::MLResNormInf() 11 3.738e-06 3.738e-06 3.738e-06 0.00% Castro::FluxRegCrseInit 10 3.03e-06 3.03e-06 3.03e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.887e-06 2.887e-06 2.887e-06 0.00% Castro::computeInitialDt() 2 2.808e-06 2.808e-06 2.808e-06 0.00% AmrLevel::checkPointPre() 3 2.762e-06 2.762e-06 2.762e-06 0.00% Castro::FluxRegFineAdd() 10 2.491e-06 2.491e-06 2.491e-06 0.00% Amr::init() 1 2.425e-06 2.425e-06 2.425e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.889e-06 1.889e-06 1.889e-06 0.00% Castro::post_regrid() 1 1.518e-06 1.518e-06 1.518e-06 0.00% Amr::initialInit() 1 1.181e-06 1.181e-06 1.181e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8844 0.8844 0.8844 100.00% Amr::coarseTimeStep() 10 0.7405 0.7405 0.7405 83.72% Amr::timeStep() 10 0.6516 0.6516 0.6516 73.67% Castro::advance() 10 0.6409 0.6409 0.6409 72.46% Castro::subcycle_advance_ctu() 10 0.6269 0.6269 0.6269 70.88% Castro::do_advance_ctu() 10 0.6267 0.6267 0.6267 70.86% Gravity::solve_phi_with_mlmg() 11 0.2889 0.2889 0.2889 32.67% Gravity::actual_solve_with_mlmg() 11 0.2797 0.2797 0.2797 31.63% Castro::construct_ctu_hydro_source() 10 0.2771 0.2771 0.2771 31.33% Castro::construct_new_gravity() 10 0.2693 0.2693 0.2693 30.45% MLMG::solve() 11 0.2581 0.2581 0.2581 29.18% Gravity::solve_for_phi() 10 0.2478 0.2478 0.2478 28.02% MLMG::oneIter() 81 0.2428 0.2428 0.2428 27.46% MLMG::mgVcycle() 81 0.2392 0.2392 0.2392 27.04% VisMF::Write(FabArray) 11 0.1681 0.1681 0.1681 19.01% Amr::checkPoint() 3 0.129 0.129 0.129 14.59% AmrLevel::checkPoint() 3 0.1231 0.1231 0.1231 13.91% StateData::checkPoint() 12 0.123 0.123 0.123 13.91% MLCellLinOp::smooth() 1620 0.1198 0.1198 0.1198 13.55% Amr::init() 1 0.1195 0.1195 0.1195 13.51% MLCellLinOp::applyBC() 4298 0.1115 0.1115 0.1115 12.61% MLMG::mgVcycle_bottom 81 0.07093 0.07093 0.07093 8.02% MLMG::actualBottomSolve() 81 0.07089 0.07089 0.07089 8.02% MLCGSolver::bicgstab 81 0.07008 0.07008 0.07008 7.92% AmrLevel::FillPatch() 41 0.06285 0.06285 0.06285 7.11% FillPatchIterator::Initialize 41 0.05857 0.05857 0.05857 6.62% FillPatchIterator::FillFromLevel0() 41 0.05701 0.05701 0.05701 6.45% FillPatchSingleLevel 41 0.05697 0.05697 0.05697 6.44% Castro::clean_state() 62 0.05618 0.05618 0.05618 6.35% StateDataPhysBCFunct::() 41 0.05276 0.05276 0.05276 5.97% Amr::initialInit() 1 0.05132 0.05132 0.05132 5.80% Amr::writePlotFile() 2 0.04788 0.04788 0.04788 5.41% Amr::FinalizeInit() 1 0.04634 0.04634 0.04634 5.24% Castro::post_init() 1 0.04481 0.04481 0.04481 5.07% Gravity::multilevel_solve_for_new_phi() 1 0.04155 0.04155 0.04155 4.70% Gravity::actual_multilevel_solve() 1 0.04153 0.04153 0.04153 4.70% MLCellLinOp::apply() 1047 0.03564 0.03564 0.03564 4.03% MLMG::mgVcycle_down::0 81 0.03425 0.03425 0.03425 3.87% MLPoisson::Fsmooth() 3240 0.03275 0.03275 0.03275 3.70% FabArray::FillBoundary() 3893 0.03197 0.03197 0.03197 3.61% FillBoundary_nowait() 3893 0.03119 0.03119 0.03119 3.53% MLMG::mgVcycle_up::0 81 0.026 0.026 0.026 2.94% Gravity::get_new_grav_vector() 11 0.02433 0.02433 0.02433 2.75% Castro::initialize_do_advance() 10 0.02352 0.02352 0.02352 2.66% StateData::FillBoundary(geom) 328 0.02351 0.02351 0.02351 2.66% Castro::computeTemp() 63 0.02225 0.02225 0.02225 2.52% amrex::Dot() 1100 0.02069 0.02069 0.02069 2.34% Castro::normalize_species() 62 0.02064 0.02064 0.02064 2.33% Castro::construct_old_gravity() 10 0.02032 0.02032 0.02032 2.30% Gravity::get_old_grav_vector() 10 0.02031 0.02031 0.02031 2.30% Castro::do_old_sources() 10 0.02025 0.02025 0.02025 2.29% MLMG:computeResOfCorrection() 405 0.02019 0.02019 0.02019 2.28% MLCellLinOp::correctionResidual() 405 0.02007 0.02007 0.02007 2.27% FabArray::norminf() 1048 0.0193 0.0193 0.0193 2.18% MLPoisson::define() 11 0.01694 0.01694 0.01694 1.92% MLMG::mgVcycle_down::1 81 0.0164 0.0164 0.0164 1.85% MLMG::mgVcycle_down::2 81 0.0153 0.0153 0.0153 1.73% MLMG::mgVcycle_down::3 81 0.01485 0.01485 0.01485 1.68% MLMG::mgVcycle_down::4 81 0.01473 0.01473 0.01473 1.67% FabArray::ParallelCopy() 851 0.01456 0.01456 0.01456 1.65% FabArray::ParallelCopy_nowait() 851 0.01431 0.01431 0.01431 1.62% Castro::expand_state() 10 0.01358 0.01358 0.01358 1.54% FabArray::setVal() 1054 0.01333 0.01333 0.01333 1.51% Castro::initialize_advance() 10 0.01325 0.01325 0.01325 1.50% Castro::do_new_sources() 10 0.01304 0.01304 0.01304 1.47% FabArray::Saxpy() 1353 0.01286 0.01286 0.01286 1.45% MLCGSolver::ParallelAllReduce 1809 0.01243 0.01243 0.01243 1.41% MLMG::addInterpCorrection() 405 0.01211 0.01211 0.01211 1.37% MLMG::mgVcycle_up::1 81 0.01186 0.01186 0.01186 1.34% MLMG::mgVcycle_up::4 81 0.01172 0.01172 0.01172 1.33% MLMG::mgVcycle_up::2 81 0.01158 0.01158 0.01158 1.31% MLCellLinOp::defineAuxData() 11 0.01151 0.01151 0.01151 1.30% amrex::average_down 405 0.01138 0.01138 0.01138 1.29% MLMG::mgVcycle_up::3 81 0.01135 0.01135 0.01135 1.28% amrex::Copy() 469 0.01084 0.01084 0.01084 1.23% Castro::enforce_min_density() 62 0.01081 0.01081 0.01081 1.22% Castro::post_timestep() 10 0.01055 0.01055 0.01055 1.19% MLPoisson::Fapply() 1047 0.01005 0.01005 0.01005 1.14% Gravity::fill_multipole_BCs() 11 0.008946 0.008946 0.008946 1.01% FabArray::Xpay() 730 0.007765 0.007765 0.007765 0.88% MLCellLinOp::solutionResidual() 92 0.007612 0.007612 0.007612 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006907 0.006907 0.006907 0.78% MLMG::computeResidual() 81 0.006369 0.006369 0.006369 0.72% Castro::estTimeStep() 21 0.00576 0.00576 0.00576 0.65% MLMG::prepareForSolve() 11 0.005169 0.005169 0.005169 0.58% MLCellLinOp::defineBC() 11 0.005152 0.005152 0.005152 0.58% Amr::InitializeInit() 1 0.004977 0.004977 0.004977 0.56% Amr::defBaseLevel() 1 0.004973 0.004973 0.004973 0.56% BndryData::define() 11 0.004882 0.004882 0.004882 0.55% Castro::initData() 1 0.004291 0.004291 0.004291 0.49% amrex::Add() 81 0.003596 0.003596 0.003596 0.41% Castro::enforce_speed_limit() 62 0.003368 0.003368 0.003368 0.38% Castro::construct_new_source() 50 0.003297 0.003297 0.003297 0.37% Castro::construct_new_gravity_source() 10 0.00318 0.00318 0.00318 0.36% Castro::computeNewDt() 9 0.00262 0.00262 0.00262 0.30% Castro::construct_old_source() 50 0.002376 0.002376 0.002376 0.27% Castro::construct_old_gravity_source() 10 0.002352 0.002352 0.002352 0.27% Castro::finalize_do_advance() 10 0.002161 0.002161 0.002161 0.24% MLMG::ResNormInf() 92 0.002144 0.002144 0.002144 0.24% Castro::apply_source_to_state() 20 0.001864 0.001864 0.001864 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001776 0.001776 0.001776 0.20% Castro::reset_internal_energy(Fab) 504 0.001642 0.001642 0.001642 0.19% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.18% MLMG::getGradSolution() 11 0.001557 0.001557 0.001557 0.18% MLCellLinOp::compGrad() 11 0.001551 0.001551 0.001551 0.18% check_for_negative_density() 10 0.001488 0.001488 0.001488 0.17% FabArrayBase::getCPC() 1313 0.001477 0.001477 0.001477 0.17% FabArray::mult() 43 0.001379 0.001379 0.001379 0.16% FabArray::setDomainBndry() 41 0.00133 0.00133 0.00133 0.15% MLPoisson::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% Castro::check_for_nan() 20 0.001304 0.001304 0.001304 0.15% MLCellLinOp::prepareForSolve() 11 0.001301 0.001301 0.001301 0.15% MLMG::computeMLResidual() 11 0.001292 0.001292 0.001292 0.15% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.15% Castro::post_regrid() 1 0.001222 0.001222 0.001222 0.14% Castro::computeInitialDt() 2 0.001036 0.001036 0.001036 0.12% Gravity::update_max_rhs() 11 0.0009901 0.0009901 0.0009901 0.11% FabArrayBase::getFB() 3893 0.0007247 0.0007247 0.0007247 0.08% FabArrayBase::CPC::define() 454 0.0006743 0.0006743 0.0006743 0.08% Castro::finalize_advance() 10 0.000612 0.000612 0.000612 0.07% Castro::Castro() 1 0.0005838 0.0005838 0.0005838 0.07% Amr::InitAmr() 1 0.0005432 0.0005432 0.0005432 0.06% Gravity::swapTimeLevels() 10 0.0004708 0.0004708 0.0004708 0.05% MultiFab::max() 11 0.0003292 0.0003292 0.0003292 0.04% MLMG::MLResNormInf() 11 0.0003263 0.0003263 0.0003263 0.04% Castro::buildMetrics() 1 0.000283 0.000283 0.000283 0.03% MLLinOp::define() 11 0.0002551 0.0002551 0.0002551 0.03% MLLinOp::defineGrids() 11 0.0002396 0.0002396 0.0002396 0.03% MLMG::MLRhsNormInf() 11 0.0002285 0.0002285 0.0002285 0.03% Castro::create_source_corrector() 10 0.0001905 0.0001905 0.0001905 0.02% FabArrayBase::FB::FB() 56 8.526e-05 8.526e-05 8.526e-05 0.01% Castro::enforce_consistent_e() 1 6.642e-05 6.642e-05 6.642e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.983e-05 5.983e-05 5.983e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.867e-05 5.867e-05 5.867e-05 0.01% StateData::define() 4 4.632e-05 4.632e-05 4.632e-05 0.01% makeSFC 55 4.237e-05 4.237e-05 4.237e-05 0.00% Castro::swap_state_time_levels() 10 3.838e-05 3.838e-05 3.838e-05 0.00% Amr::writeSmallPlotFile() 1 3.683e-05 3.683e-05 3.683e-05 0.00% Castro::initMFs() 1 3.37e-05 3.37e-05 3.37e-05 0.00% DistributionMapping::Distribute() 56 1.557e-05 1.557e-05 1.557e-05 0.00% Amr::initSubcycle() 1 9.873e-06 9.873e-06 9.873e-06 0.00% Castro::retry_advance_ctu() 10 5.082e-06 5.082e-06 5.082e-06 0.00% AmrLevel::checkPointPost() 3 5.038e-06 5.038e-06 5.038e-06 0.00% Gravity::set_mass_offset() 11 4.519e-06 4.519e-06 4.519e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.905e-06 3.905e-06 3.905e-06 0.00% Castro::FluxRegCrseInit 10 3.03e-06 3.03e-06 3.03e-06 0.00% AmrLevel::checkPointPre() 3 2.762e-06 2.762e-06 2.762e-06 0.00% Castro::FluxRegFineAdd() 10 2.491e-06 2.491e-06 2.491e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.889e-06 1.889e-06 1.889e-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 5712 KiB 9037 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 1313 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1509 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 3589 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 284 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 235 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2157 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3173 B 480 KiB VisMF::Write(FabArray) 656 656 3442 B 320 KiB Castro::normalize_species() 62 62 7599 B 320 KiB amrex::average_down 1054 1054 1608 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1173 B 257 KiB amrex::Dot() 1343 1343 3458 B 160 KiB FabArray::norminf() 1129 1129 3370 B 160 KiB check_for_negative_density() 10 10 263 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3502 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 302 B 9648 B MLCellLinOp::applyBC() 8596 8596 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B StateData::FillBoundary(geom) 1992 1992 105 B 4576 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 577 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 744 744 407 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3502 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 302 B 9648 B MLCellLinOp::applyBC() 4298 4298 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B StateData::FillBoundary(geom) 1992 1992 106 B 4576 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (24.03-5-gba95d4cd8758) finalized Initializing AMReX (24.03-5-gba95d4cd8758)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-5-gba95d4cd8758) initialized Starting run at 09:05:03 UTC on 2024-03-11. Successfully read inputs file ... Castro git describe: 24.03-3-gfbd880fa0 AMReX git describe: 24.03-5-gba95d4cd8 Microphysics git describe: 24.03-6-g95cb860c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.488784693 Restart time = 0.070925957 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.071699129 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.051977174 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.069345242 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.074073903 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.071564988 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025893379 seconds Ending run at 09:05:04 UTC on 2024-03-11. Run time = 0.436509159 Run time without initialization = 0.364958798 Average number of zones advanced per microsecond: 3.591 Average number of zones advanced per microsecond per rank: 3.591 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4365 ... 0.4365 ... 0.4365 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1394 0.1394 0.1394 31.93% VisMF::Read() 3 0.05974 0.05974 0.05974 13.69% MLCellLinOp::applyBC() 1910 0.0353 0.0353 0.0353 8.09% VisMF::Write(FabArray) 1 0.02321 0.02321 0.02321 5.32% StateDataPhysBCFunct::() 20 0.0156 0.0156 0.0156 3.57% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.34% FillBoundary_nowait() 1730 0.01302 0.01302 0.01302 2.98% StateData::FillBoundary(geom) 160 0.01091 0.01091 0.01091 2.50% Castro::normalize_species() 30 0.009532 0.009532 0.009532 2.18% amrex::Dot() 484 0.008962 0.008962 0.008962 2.05% FabArray::norminf() 465 0.008502 0.008502 0.008502 1.95% Castro::computeTemp() 30 0.006694 0.006694 0.006694 1.53% FabArray::setVal() 501 0.006533 0.006533 0.006533 1.50% FabArray::ParallelCopy_nowait() 380 0.006187 0.006187 0.006187 1.42% FabArray::Saxpy() 597 0.005799 0.005799 0.005799 1.33% Castro::enforce_min_density() 30 0.005645 0.005645 0.005645 1.29% MLCellLinOp::defineAuxData() 6 0.005493 0.005493 0.005493 1.26% amrex::Copy() 221 0.005423 0.005423 0.005423 1.24% Gravity::fill_multipole_BCs() 6 0.004931 0.004931 0.004931 1.13% Amr::restart() 1 0.004804 0.004804 0.004804 1.10% MLPoisson::Fapply() 464 0.004428 0.004428 0.004428 1.01% FabArray::Xpay() 325 0.003449 0.003449 0.003449 0.79% MLMG::addInterpCorrection() 180 0.003116 0.003116 0.003116 0.71% Castro::estTimeStep() 10 0.003065 0.003065 0.003065 0.70% amrex::average_down 180 0.002745 0.002745 0.002745 0.63% Amr::writePlotFile() 1 0.002517 0.002517 0.002517 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002143 0.002143 0.002143 0.49% BndryData::define() 6 0.002128 0.002128 0.002128 0.49% Castro::construct_new_gravity_source() 5 0.001894 0.001894 0.001894 0.43% Castro::enforce_speed_limit() 30 0.00186 0.00186 0.00186 0.43% amrex::Add() 36 0.001547 0.001547 0.001547 0.35% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009465 0.0009465 0.0009465 0.22% MLCellLinOp::setLevelBC() 6 0.0008704 0.0008704 0.0008704 0.20% check_for_negative_density() 5 0.0008552 0.0008552 0.0008552 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008391 0.0008391 0.0008391 0.19% Castro::reset_internal_energy(Fab) 240 0.0007694 0.0007694 0.0007694 0.18% MLCGSolver::bicgstab 36 0.0007456 0.0007456 0.0007456 0.17% MLCellLinOp::prepareForSolve() 6 0.0007404 0.0007404 0.0007404 0.17% FabArray::mult() 22 0.0007103 0.0007103 0.0007103 0.16% FabArray::setDomainBndry() 20 0.0006967 0.0006967 0.0006967 0.16% MultiFab::contains_nan() 10 0.0006571 0.0006571 0.0006571 0.15% MLCellLinOp::compGrad() 6 0.0005882 0.0005882 0.0005882 0.13% MLMG::prepareForSolve() 6 0.0005697 0.0005697 0.0005697 0.13% MLCellLinOp::smooth() 720 0.0005493 0.0005493 0.0005493 0.13% Amr::InitAmr() 1 0.0004503 0.0004503 0.0004503 0.10% FabArrayBase::CPC::define() 244 0.0004283 0.0004283 0.0004283 0.10% FabArrayBase::getCPC() 632 0.0003785 0.0003785 0.0003785 0.09% FabArray::FillBoundary() 1730 0.0003375 0.0003375 0.0003375 0.08% Gravity::get_old_grav_vector() 5 0.0003237 0.0003237 0.0003237 0.07% main() 1 0.0002696 0.0002696 0.0002696 0.06% FabArrayBase::getFB() 1730 0.000269 0.000269 0.000269 0.06% Gravity::get_new_grav_vector() 5 0.0002665 0.0002665 0.0002665 0.06% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.05% AmrLevel::FillPatch() 20 0.0002041 0.0002041 0.0002041 0.05% MLCellLinOp::apply() 464 0.0001843 0.0001843 0.0001843 0.04% Amr::coarseTimeStep() 5 0.000157 0.000157 0.000157 0.04% MLCellLinOp::defineBC() 6 0.0001485 0.0001485 0.0001485 0.03% MLCGSolver::ParallelAllReduce 798 0.0001388 0.0001388 0.0001388 0.03% FabArray::ParallelCopy() 380 0.0001138 0.0001138 0.0001138 0.03% Castro::create_source_corrector() 5 0.0001135 0.0001135 0.0001135 0.03% FillPatchIterator::Initialize 20 0.0001086 0.0001086 0.0001086 0.02% MLLinOp::defineGrids() 6 0.0001061 0.0001061 0.0001061 0.02% Castro::construct_new_source() 25 0.0001045 0.0001045 0.0001045 0.02% Castro::subcycle_advance_ctu() 5 9.527e-05 9.527e-05 9.527e-05 0.02% Amr::timeStep() 5 9.145e-05 9.145e-05 9.145e-05 0.02% MLMG::mgVcycle() 36 8.885e-05 8.885e-05 8.885e-05 0.02% Castro::do_advance_ctu() 5 8.306e-05 8.306e-05 8.306e-05 0.02% MLCellLinOp::correctionResidual() 180 7.866e-05 7.866e-05 7.866e-05 0.02% AmrLevel::restart() 1 7.593e-05 7.593e-05 7.593e-05 0.02% StateData::restartDoit() 4 7.435e-05 7.435e-05 7.435e-05 0.02% Gravity::update_max_rhs() 6 6.877e-05 6.877e-05 6.877e-05 0.02% Castro::initialize_do_advance() 5 6.794e-05 6.794e-05 6.794e-05 0.02% Castro::post_timestep() 5 6.228e-05 6.228e-05 6.228e-05 0.01% FabArrayBase::FB::FB() 26 5.828e-05 5.828e-05 5.828e-05 0.01% MLMG:computeResOfCorrection() 180 5.309e-05 5.309e-05 5.309e-05 0.01% Gravity::solve_for_phi() 5 5.286e-05 5.286e-05 5.286e-05 0.01% Castro::finalize_do_advance() 5 4.446e-05 4.446e-05 4.446e-05 0.01% MLMG::mgVcycle_down::0 36 4.397e-05 4.397e-05 4.397e-05 0.01% MLMG::actualBottomSolve() 36 4.019e-05 4.019e-05 4.019e-05 0.01% Castro::finalize_advance() 5 3.847e-05 3.847e-05 3.847e-05 0.01% Castro::initialize_advance() 5 3.826e-05 3.826e-05 3.826e-05 0.01% MLMG::mgVcycle_down::1 36 3.778e-05 3.778e-05 3.778e-05 0.01% MLMG::mgVcycle_down::2 36 3.587e-05 3.587e-05 3.587e-05 0.01% MLMG::solve() 6 3.524e-05 3.524e-05 3.524e-05 0.01% Castro::advance() 5 3.449e-05 3.449e-05 3.449e-05 0.01% MLMG::mgVcycle_down::4 36 3.405e-05 3.405e-05 3.405e-05 0.01% MLMG::mgVcycle_down::3 36 3.316e-05 3.316e-05 3.316e-05 0.01% Castro::clean_state() 30 3.219e-05 3.219e-05 3.219e-05 0.01% MLMG::mgVcycle_up::4 36 2.987e-05 2.987e-05 2.987e-05 0.01% Castro::do_new_sources() 5 2.935e-05 2.935e-05 2.935e-05 0.01% Castro::buildMetrics() 1 2.93e-05 2.93e-05 2.93e-05 0.01% Castro::construct_old_source() 25 2.846e-05 2.846e-05 2.846e-05 0.01% Amr::writeSmallPlotFile() 1 2.84e-05 2.84e-05 2.84e-05 0.01% Castro::post_restart() 1 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::swap_state_time_levels() 5 2.651e-05 2.651e-05 2.651e-05 0.01% MLCellLinOp::solutionResidual() 42 2.503e-05 2.503e-05 2.503e-05 0.01% MLMG::mgVcycle_up::3 36 2.497e-05 2.497e-05 2.497e-05 0.01% MLMG::oneIter() 36 2.438e-05 2.438e-05 2.438e-05 0.01% Castro::initMFs() 1 2.346e-05 2.346e-05 2.346e-05 0.01% MLMG::mgVcycle_up::2 36 2.299e-05 2.299e-05 2.299e-05 0.01% MLMG::mgVcycle_up::0 36 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::1 36 2.207e-05 2.207e-05 2.207e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.182e-05 2.182e-05 2.182e-05 0.00% MLMG::ResNormInf() 42 1.802e-05 1.802e-05 1.802e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.741e-05 1.741e-05 1.741e-05 0.00% FillPatchSingleLevel 20 1.589e-05 1.589e-05 1.589e-05 0.00% MLMG::mgVcycle_bottom 36 1.533e-05 1.533e-05 1.533e-05 0.00% makeSFC 30 1.473e-05 1.473e-05 1.473e-05 0.00% MLPoisson::define() 6 1.437e-05 1.437e-05 1.437e-05 0.00% MLMG::computeResidual() 36 1.406e-05 1.406e-05 1.406e-05 0.00% MLLinOp::makeAgglomeratedDMap 6 1.349e-05 1.349e-05 1.349e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.333e-05 1.333e-05 1.333e-05 0.00% Castro::construct_new_gravity() 5 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::do_old_sources() 5 1.195e-05 1.195e-05 1.195e-05 0.00% MLMG::computeMLResidual() 6 9.619e-06 9.619e-06 9.619e-06 0.00% Amr::initSubcycle() 1 9.531e-06 9.531e-06 9.531e-06 0.00% DistributionMapping::Distribute() 31 9.213e-06 9.213e-06 9.213e-06 0.00% MLPoisson::prepareForSolve() 6 9.096e-06 9.096e-06 9.096e-06 0.00% Gravity::actual_multilevel_solve() 1 8.188e-06 8.188e-06 8.188e-06 0.00% Castro::check_for_nan() 10 7.751e-06 7.751e-06 7.751e-06 0.00% Castro::apply_source_to_state() 10 6.205e-06 6.205e-06 6.205e-06 0.00% MLLinOp::define() 6 6.024e-06 6.024e-06 6.024e-06 0.00% Castro::construct_old_gravity() 5 5.426e-06 5.426e-06 5.426e-06 0.00% Gravity::swapTimeLevels() 5 4.428e-06 4.428e-06 4.428e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.962e-06 3.962e-06 3.962e-06 0.00% Castro::computeNewDt() 5 3.901e-06 3.901e-06 3.901e-06 0.00% MLMG::getGradSolution() 6 3.29e-06 3.29e-06 3.29e-06 0.00% Castro::expand_state() 5 3.094e-06 3.094e-06 3.094e-06 0.00% MLMG::MLResNormInf() 6 2.495e-06 2.495e-06 2.495e-06 0.00% MLMG::MLRhsNormInf() 6 2.327e-06 2.327e-06 2.327e-06 0.00% Gravity::set_mass_offset() 6 2.321e-06 2.321e-06 2.321e-06 0.00% Castro::retry_advance_ctu() 5 1.948e-06 1.948e-06 1.948e-06 0.00% Castro::FluxRegFineAdd() 5 1.567e-06 1.567e-06 1.567e-06 0.00% Castro::FluxRegCrseInit 5 1.298e-06 1.298e-06 1.298e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.85e-07 9.85e-07 9.85e-07 0.00% Amr::init() 1 6.73e-07 6.73e-07 6.73e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4365 0.4365 0.4365 100.00% Amr::coarseTimeStep() 5 0.3388 0.3388 0.3388 77.61% Amr::timeStep() 5 0.3368 0.3368 0.3368 77.15% Castro::advance() 5 0.331 0.331 0.331 75.83% Castro::subcycle_advance_ctu() 5 0.3238 0.3238 0.3238 74.17% Castro::do_advance_ctu() 5 0.3237 0.3237 0.3237 74.14% Castro::construct_ctu_hydro_source() 5 0.1445 0.1445 0.1445 33.09% Castro::construct_new_gravity() 5 0.1371 0.1371 0.1371 31.40% Gravity::solve_phi_with_mlmg() 6 0.1312 0.1312 0.1312 30.06% Gravity::actual_solve_with_mlmg() 6 0.126 0.126 0.126 28.87% Gravity::solve_for_phi() 5 0.126 0.126 0.126 28.86% MLMG::solve() 6 0.1142 0.1142 0.1142 26.15% MLMG::oneIter() 36 0.1065 0.1065 0.1065 24.40% MLMG::mgVcycle() 36 0.1049 0.1049 0.1049 24.04% Amr::init() 1 0.07098 0.07098 0.07098 16.26% Amr::restart() 1 0.07097 0.07097 0.07097 16.26% AmrLevel::restart() 1 0.06013 0.06013 0.06013 13.77% StateData::restartDoit() 4 0.06005 0.06005 0.06005 13.76% VisMF::Read() 3 0.05974 0.05974 0.05974 13.69% MLCellLinOp::smooth() 720 0.05255 0.05255 0.05255 12.04% MLCellLinOp::applyBC() 1910 0.04898 0.04898 0.04898 11.22% AmrLevel::FillPatch() 20 0.03156 0.03156 0.03156 7.23% MLMG::mgVcycle_bottom 36 0.03104 0.03104 0.03104 7.11% MLMG::actualBottomSolve() 36 0.03102 0.03102 0.03102 7.11% MLCGSolver::bicgstab 36 0.03066 0.03066 0.03066 7.02% FillPatchIterator::Initialize 20 0.02946 0.02946 0.02946 6.75% FillPatchIterator::FillFromLevel0() 20 0.02865 0.02865 0.02865 6.56% FillPatchSingleLevel 20 0.02863 0.02863 0.02863 6.56% Castro::clean_state() 30 0.02668 0.02668 0.02668 6.11% StateDataPhysBCFunct::() 20 0.02651 0.02651 0.02651 6.07% Amr::writePlotFile() 1 0.02598 0.02598 0.02598 5.95% VisMF::Write(FabArray) 1 0.02321 0.02321 0.02321 5.32% MLCellLinOp::apply() 464 0.01587 0.01587 0.01587 3.63% MLMG::mgVcycle_down::0 36 0.01502 0.01502 0.01502 3.44% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.34% FabArray::FillBoundary() 1730 0.01368 0.01368 0.01368 3.13% FillBoundary_nowait() 1730 0.01334 0.01334 0.01334 3.06% Castro::initialize_do_advance() 5 0.01184 0.01184 0.01184 2.71% MLMG::mgVcycle_up::0 36 0.01128 0.01128 0.01128 2.58% Gravity::get_new_grav_vector() 5 0.01098 0.01098 0.01098 2.51% StateData::FillBoundary(geom) 160 0.01091 0.01091 0.01091 2.50% Castro::construct_old_gravity() 5 0.01081 0.01081 0.01081 2.48% Gravity::get_old_grav_vector() 5 0.01081 0.01081 0.01081 2.48% Castro::do_old_sources() 5 0.01063 0.01063 0.01063 2.43% Castro::computeTemp() 30 0.009607 0.009607 0.009607 2.20% Castro::normalize_species() 30 0.009532 0.009532 0.009532 2.18% MLPoisson::define() 6 0.009281 0.009281 0.009281 2.13% amrex::Dot() 484 0.008962 0.008962 0.008962 2.05% MLMG:computeResOfCorrection() 180 0.00884 0.00884 0.00884 2.02% MLCellLinOp::correctionResidual() 180 0.008787 0.008787 0.008787 2.01% FabArray::norminf() 465 0.008502 0.008502 0.008502 1.95% MLMG::mgVcycle_down::1 36 0.00729 0.00729 0.00729 1.67% Castro::do_new_sources() 5 0.007028 0.007028 0.007028 1.61% Castro::expand_state() 5 0.007024 0.007024 0.007024 1.61% Castro::initialize_advance() 5 0.006913 0.006913 0.006913 1.58% MLMG::mgVcycle_down::2 36 0.006711 0.006711 0.006711 1.54% FabArray::ParallelCopy() 380 0.006707 0.006707 0.006707 1.54% FabArray::ParallelCopy_nowait() 380 0.006593 0.006593 0.006593 1.51% FabArray::setVal() 501 0.006533 0.006533 0.006533 1.50% MLMG::mgVcycle_down::3 36 0.006526 0.006526 0.006526 1.49% MLMG::mgVcycle_down::4 36 0.006438 0.006438 0.006438 1.47% MLCellLinOp::defineAuxData() 6 0.006271 0.006271 0.006271 1.44% Castro::post_restart() 1 0.005851 0.005851 0.005851 1.34% FabArray::Saxpy() 597 0.005799 0.005799 0.005799 1.33% Castro::post_timestep() 5 0.005693 0.005693 0.005693 1.30% Castro::enforce_min_density() 30 0.005645 0.005645 0.005645 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.005461 0.005461 0.005461 1.25% Gravity::actual_multilevel_solve() 1 0.005444 0.005444 0.005444 1.25% MLCGSolver::ParallelAllReduce 798 0.005437 0.005437 0.005437 1.25% amrex::Copy() 221 0.005423 0.005423 0.005423 1.24% MLMG::addInterpCorrection() 180 0.005423 0.005423 0.005423 1.24% MLMG::mgVcycle_up::4 36 0.005221 0.005221 0.005221 1.20% MLMG::mgVcycle_up::1 36 0.005217 0.005217 0.005217 1.20% MLMG::mgVcycle_up::2 36 0.005099 0.005099 0.005099 1.17% Gravity::fill_multipole_BCs() 6 0.005056 0.005056 0.005056 1.16% amrex::average_down 180 0.005036 0.005036 0.005036 1.15% MLMG::mgVcycle_up::3 36 0.00502 0.00502 0.00502 1.15% MLPoisson::Fapply() 464 0.004428 0.004428 0.004428 1.01% MLCellLinOp::solutionResidual() 42 0.003611 0.003611 0.003611 0.83% FabArray::Xpay() 325 0.003449 0.003449 0.003449 0.79% Castro::estTimeStep() 10 0.003065 0.003065 0.003065 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002912 0.002912 0.002912 0.67% MLMG::prepareForSolve() 6 0.002864 0.002864 0.002864 0.66% MLCellLinOp::defineBC() 6 0.002847 0.002847 0.002847 0.65% MLMG::computeResidual() 36 0.0028 0.0028 0.0028 0.64% BndryData::define() 6 0.002698 0.002698 0.002698 0.62% Castro::construct_new_source() 25 0.001998 0.001998 0.001998 0.46% Castro::construct_new_gravity_source() 5 0.001894 0.001894 0.001894 0.43% Castro::enforce_speed_limit() 30 0.00186 0.00186 0.00186 0.43% Castro::computeNewDt() 5 0.001847 0.001847 0.001847 0.42% amrex::Add() 36 0.001547 0.001547 0.001547 0.35% Castro::construct_old_source() 25 0.001533 0.001533 0.001533 0.35% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.34% Castro::finalize_do_advance() 5 0.001267 0.001267 0.001267 0.29% MLMG::ResNormInf() 42 0.0009835 0.0009835 0.0009835 0.23% Castro::apply_source_to_state() 10 0.0009595 0.0009595 0.0009595 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009465 0.0009465 0.0009465 0.22% MLMG::getGradSolution() 6 0.0008747 0.0008747 0.0008747 0.20% MLCellLinOp::compGrad() 6 0.0008714 0.0008714 0.0008714 0.20% MLCellLinOp::setLevelBC() 6 0.0008704 0.0008704 0.0008704 0.20% check_for_negative_density() 5 0.0008552 0.0008552 0.0008552 0.20% MLMG::computeMLResidual() 6 0.0008343 0.0008343 0.0008343 0.19% FabArrayBase::getCPC() 632 0.0008069 0.0008069 0.0008069 0.18% Castro::reset_internal_energy(Fab) 240 0.0007694 0.0007694 0.0007694 0.18% MLPoisson::prepareForSolve() 6 0.0007495 0.0007495 0.0007495 0.17% MLCellLinOp::prepareForSolve() 6 0.0007404 0.0007404 0.0007404 0.17% Gravity::update_max_rhs() 6 0.0007369 0.0007369 0.0007369 0.17% FabArray::mult() 22 0.0007103 0.0007103 0.0007103 0.16% FabArray::setDomainBndry() 20 0.0006967 0.0006967 0.0006967 0.16% Castro::check_for_nan() 10 0.0006649 0.0006649 0.0006649 0.15% MultiFab::contains_nan() 10 0.0006571 0.0006571 0.0006571 0.15% Amr::InitAmr() 1 0.0004599 0.0004599 0.0004599 0.11% FabArrayBase::CPC::define() 244 0.0004283 0.0004283 0.0004283 0.10% FabArrayBase::getFB() 1730 0.0003273 0.0003273 0.0003273 0.07% Castro::finalize_advance() 5 0.0003096 0.0003096 0.0003096 0.07% Gravity::swapTimeLevels() 5 0.0002479 0.0002479 0.0002479 0.06% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.05% MLMG::MLResNormInf() 6 0.0001887 0.0001887 0.0001887 0.04% Castro::buildMetrics() 1 0.0001649 0.0001649 0.0001649 0.04% MLLinOp::define() 6 0.0001492 0.0001492 0.0001492 0.03% MLLinOp::defineGrids() 6 0.0001432 0.0001432 0.0001432 0.03% MLMG::MLRhsNormInf() 6 0.0001206 0.0001206 0.0001206 0.03% Castro::create_source_corrector() 5 0.0001135 0.0001135 0.0001135 0.03% FabArrayBase::FB::FB() 26 5.828e-05 5.828e-05 5.828e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.611e-05 3.611e-05 3.611e-05 0.01% Amr::writeSmallPlotFile() 1 2.84e-05 2.84e-05 2.84e-05 0.01% Castro::swap_state_time_levels() 5 2.651e-05 2.651e-05 2.651e-05 0.01% Castro::initMFs() 1 2.346e-05 2.346e-05 2.346e-05 0.01% makeSFC 30 2.262e-05 2.262e-05 2.262e-05 0.01% Amr::initSubcycle() 1 9.531e-06 9.531e-06 9.531e-06 0.00% DistributionMapping::Distribute() 31 9.213e-06 9.213e-06 9.213e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.285e-06 5.285e-06 5.285e-06 0.00% Gravity::set_mass_offset() 6 2.321e-06 2.321e-06 2.321e-06 0.00% Castro::retry_advance_ctu() 5 1.948e-06 1.948e-06 1.948e-06 0.00% Castro::FluxRegFineAdd() 5 1.567e-06 1.567e-06 1.567e-06 0.00% Castro::FluxRegCrseInit 5 1.298e-06 1.298e-06 1.298e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.85e-07 9.85e-07 9.85e-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 10 MiB 9037 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 1361 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1574 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 6439 KiB 14 MiB MLMG::prepareForSolve() 361 361 3209 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 256 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 257 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6425 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3349 B 2048 KiB Gravity::solve_for_phi() 40 40 589 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 296 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 190 KiB 671 KiB Castro::estTimeStep() 10 10 3319 B 480 KiB VisMF::Write(FabArray) 112 112 1232 B 320 KiB Castro::normalize_species() 30 30 7108 B 320 KiB amrex::average_down 469 469 1357 B 257 KiB MLMG::addInterpCorrection() 468 468 1056 B 257 KiB amrex::Dot() 592 592 3031 B 160 KiB FabArray::norminf() 501 501 3002 B 160 KiB check_for_negative_density() 5 5 313 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3109 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 113 B 4512 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 332 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1122 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 146 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3109 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 1910 1910 201 B 9328 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 114 B 4512 B Gravity::get_old_grav_vector() 3 3 2525 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 790 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (24.03-5-gba95d4cd8758) finalized