Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:32:39 UTC on 2024-02-27. Successfully read inputs file ... Castro git describe: 24.02-23-g9a07326d4 AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-27-gf336cab4 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.045433079 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025231711 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.066308181 [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.072362021 [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.076750494 [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.064909703 [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.063339139 [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.044832526 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.074046499 [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.077035792 [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.062307942 [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.059577478 [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.077007894 [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.043813053 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.037125901 seconds Ending run at 09:32:40 UTC on 2024-02-27. Run time = 0.946412744 Run time without initialization = 0.820057623 Average number of zones advanced per microsecond: 3.197 Average number of zones advanced per microsecond per rank: 3.197 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9465 ... 0.9465 ... 0.9465 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3063 0.3063 0.3063 32.36% VisMF::Write(FabArray) 11 0.1763 0.1763 0.1763 18.63% MLCellLinOp::applyBC() 4351 0.08269 0.08269 0.08269 8.74% MLPoisson::Fsmooth() 3280 0.03412 0.03412 0.03412 3.61% FillBoundary_nowait() 3941 0.03126 0.03126 0.03126 3.30% StateData::FillBoundary(geom) 328 0.02776 0.02776 0.02776 2.93% amrex::Dot() 1114 0.02194 0.02194 0.02194 2.32% FabArray::norminf() 1061 0.02032 0.02032 0.02032 2.15% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.14% Castro::computeTemp() 63 0.01628 0.01628 0.01628 1.72% Amr::writePlotFile() 2 0.01405 0.01405 0.01405 1.48% FabArray::ParallelCopy_nowait() 861 0.01396 0.01396 0.01396 1.48% Castro::enforce_min_density() 62 0.01372 0.01372 0.01372 1.45% FabArray::setVal() 1062 0.01362 0.01362 0.01362 1.44% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.40% amrex::Copy() 472 0.01104 0.01104 0.01104 1.17% StateDataPhysBCFunct::() 41 0.0106 0.0106 0.0106 1.12% MLCellLinOp::defineAuxData() 11 0.01055 0.01055 0.01055 1.11% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.10% Gravity::fill_multipole_BCs() 11 0.009354 0.009354 0.009354 0.99% FabArray::Xpay() 739 0.007986 0.007986 0.007986 0.84% MLMG::addInterpCorrection() 410 0.007265 0.007265 0.007265 0.77% amrex::average_down 410 0.006368 0.006368 0.006368 0.67% Castro::estTimeStep() 21 0.006027 0.006027 0.006027 0.64% Amr::checkPoint() 3 0.005467 0.005467 0.005467 0.58% Castro::reset_internal_energy(MultiFab) 63 0.00512 0.00512 0.00512 0.54% BndryData::define() 11 0.004111 0.004111 0.004111 0.43% amrex::Add() 82 0.003611 0.003611 0.003611 0.38% Castro::construct_new_gravity_source() 10 0.003543 0.003543 0.003543 0.37% Castro::enforce_speed_limit() 62 0.002957 0.002957 0.002957 0.31% Castro::construct_old_gravity_source() 10 0.002899 0.002899 0.002899 0.31% check_for_negative_density() 10 0.002214 0.002214 0.002214 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001817 0.001817 0.001817 0.19% MLCGSolver::bicgstab 82 0.001722 0.001722 0.001722 0.18% Castro::reset_internal_energy(Fab) 504 0.001716 0.001716 0.001716 0.18% MLCellLinOp::setLevelBC() 11 0.001629 0.001629 0.001629 0.17% Gravity::actual_solve_with_mlmg() 11 0.001624 0.001624 0.001624 0.17% Castro::initData() 1 0.001567 0.001567 0.001567 0.17% FabArray::setDomainBndry() 41 0.001397 0.001397 0.001397 0.15% FabArray::mult() 43 0.001394 0.001394 0.001394 0.15% MLCellLinOp::prepareForSolve() 11 0.001392 0.001392 0.001392 0.15% MultiFab::contains_nan() 20 0.0013 0.0013 0.0013 0.14% MLCellLinOp::smooth() 1640 0.001239 0.001239 0.001239 0.13% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.12% MLMG::prepareForSolve() 11 0.001021 0.001021 0.001021 0.11% FabArray::FillBoundary() 3941 0.000896 0.000896 0.000896 0.09% FabArrayBase::getCPC() 1323 0.0008221 0.0008221 0.0008221 0.09% FabArrayBase::CPC::define() 454 0.000707 0.000707 0.000707 0.07% FabArrayBase::getFB() 3941 0.0006273 0.0006273 0.0006273 0.07% Gravity::get_new_grav_vector() 11 0.0006245 0.0006245 0.0006245 0.07% Amr::InitAmr() 1 0.0005421 0.0005421 0.0005421 0.06% Gravity::get_old_grav_vector() 10 0.0004939 0.0004939 0.0004939 0.05% MLCellLinOp::apply() 1060 0.0004686 0.0004686 0.0004686 0.05% AmrLevel::FillPatch() 41 0.0004312 0.0004312 0.0004312 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003836 0.0003836 0.0003836 0.04% Amr::coarseTimeStep() 10 0.0003428 0.0003428 0.0003428 0.04% MultiFab::max() 11 0.0003321 0.0003321 0.0003321 0.04% main() 1 0.0003049 0.0003049 0.0003049 0.03% MLCellLinOp::defineBC() 11 0.000282 0.000282 0.000282 0.03% FabArray::ParallelCopy() 861 0.0002549 0.0002549 0.0002549 0.03% FillPatchIterator::Initialize 41 0.0002264 0.0002264 0.0002264 0.02% MLMG::mgVcycle() 82 0.0002172 0.0002172 0.0002172 0.02% MLCellLinOp::correctionResidual() 410 0.0001876 0.0001876 0.0001876 0.02% MLLinOp::defineGrids() 11 0.0001853 0.0001853 0.0001853 0.02% Castro::subcycle_advance_ctu() 10 0.0001778 0.0001778 0.0001778 0.02% Amr::timeStep() 10 0.0001769 0.0001769 0.0001769 0.02% Castro::create_source_corrector() 10 0.0001619 0.0001619 0.0001619 0.02% Gravity::update_max_rhs() 11 0.0001346 0.0001346 0.0001346 0.01% StateData::checkPoint() 12 0.0001343 0.0001343 0.0001343 0.01% Gravity::solve_for_phi() 10 0.0001254 0.0001254 0.0001254 0.01% MLMG:computeResOfCorrection() 410 0.0001243 0.0001243 0.0001243 0.01% FabArrayBase::FB::FB() 56 9.521e-05 9.521e-05 9.521e-05 0.01% MLMG::actualBottomSolve() 82 9.168e-05 9.168e-05 9.168e-05 0.01% MLMG::mgVcycle_down::0 82 9.091e-05 9.091e-05 9.091e-05 0.01% Castro::Castro() 1 8.716e-05 8.716e-05 8.716e-05 0.01% Castro::initialize_advance() 10 8.388e-05 8.388e-05 8.388e-05 0.01% MLMG::mgVcycle_down::1 82 8.301e-05 8.301e-05 8.301e-05 0.01% MLMG::mgVcycle_down::2 82 8.139e-05 8.139e-05 8.139e-05 0.01% MLMG::mgVcycle_down::4 82 7.821e-05 7.821e-05 7.821e-05 0.01% AmrLevel::checkPoint() 3 7.738e-05 7.738e-05 7.738e-05 0.01% Castro::clean_state() 62 7.703e-05 7.703e-05 7.703e-05 0.01% MLMG::mgVcycle_down::3 82 7.461e-05 7.461e-05 7.461e-05 0.01% Castro::construct_new_source() 50 7.351e-05 7.351e-05 7.351e-05 0.01% Castro::post_timestep() 10 7.017e-05 7.017e-05 7.017e-05 0.01% MLMG::solve() 11 6.902e-05 6.902e-05 6.902e-05 0.01% Castro::finalize_advance() 10 6.897e-05 6.897e-05 6.897e-05 0.01% Castro::advance() 10 6.77e-05 6.77e-05 6.77e-05 0.01% Castro::enforce_consistent_e() 1 6.521e-05 6.521e-05 6.521e-05 0.01% MLMG::mgVcycle_up::4 82 6.251e-05 6.251e-05 6.251e-05 0.01% Castro::initialize_do_advance() 10 6.218e-05 6.218e-05 6.218e-05 0.01% MLMG::oneIter() 82 5.934e-05 5.934e-05 5.934e-05 0.01% MLCellLinOp::solutionResidual() 93 5.704e-05 5.704e-05 5.704e-05 0.01% MLMG::mgVcycle_up::0 82 5.56e-05 5.56e-05 5.56e-05 0.01% MLMG::mgVcycle_up::3 82 5.294e-05 5.294e-05 5.294e-05 0.01% MLMG::mgVcycle_up::1 82 5.151e-05 5.151e-05 5.151e-05 0.01% MLMG::mgVcycle_up::2 82 5.025e-05 5.025e-05 5.025e-05 0.01% Castro::do_advance_ctu() 10 4.983e-05 4.983e-05 4.983e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.828e-05 4.828e-05 4.828e-05 0.01% Castro::finalize_do_advance() 10 4.472e-05 4.472e-05 4.472e-05 0.00% Castro::swap_state_time_levels() 10 3.901e-05 3.901e-05 3.901e-05 0.00% StateData::define() 4 3.603e-05 3.603e-05 3.603e-05 0.00% FillPatchSingleLevel 41 3.557e-05 3.557e-05 3.557e-05 0.00% Castro::initMFs() 1 3.51e-05 3.51e-05 3.51e-05 0.00% MLMG::ResNormInf() 93 3.486e-05 3.486e-05 3.486e-05 0.00% Castro::construct_new_gravity() 10 3.297e-05 3.297e-05 3.297e-05 0.00% MLMG::computeResidual() 82 3.279e-05 3.279e-05 3.279e-05 0.00% MLMG::mgVcycle_bottom 82 3.267e-05 3.267e-05 3.267e-05 0.00% Amr::writeSmallPlotFile() 1 3.217e-05 3.217e-05 3.217e-05 0.00% Amr::defBaseLevel() 1 2.599e-05 2.599e-05 2.599e-05 0.00% makeSFC 55 2.537e-05 2.537e-05 2.537e-05 0.00% Castro::buildMetrics() 1 2.449e-05 2.449e-05 2.449e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.43e-05 2.43e-05 2.43e-05 0.00% Castro::do_old_sources() 10 2.267e-05 2.267e-05 2.267e-05 0.00% Amr::FinalizeInit() 1 1.987e-05 1.987e-05 1.987e-05 0.00% MLPoisson::define() 11 1.983e-05 1.983e-05 1.983e-05 0.00% MLLinOp::define() 11 1.967e-05 1.967e-05 1.967e-05 0.00% Castro::do_new_sources() 10 1.94e-05 1.94e-05 1.94e-05 0.00% Castro::construct_old_source() 50 1.909e-05 1.909e-05 1.909e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.882e-05 1.882e-05 1.882e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.793e-05 1.793e-05 1.793e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.698e-05 1.698e-05 1.698e-05 0.00% DistributionMapping::Distribute() 56 1.644e-05 1.644e-05 1.644e-05 0.00% MLPoisson::prepareForSolve() 11 1.48e-05 1.48e-05 1.48e-05 0.00% Castro::construct_old_gravity() 10 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::check_for_nan() 20 1.261e-05 1.261e-05 1.261e-05 0.00% Castro::apply_source_to_state() 20 1.228e-05 1.228e-05 1.228e-05 0.00% Castro::post_init() 1 9.902e-06 9.902e-06 9.902e-06 0.00% MLMG::computeMLResidual() 11 9.735e-06 9.735e-06 9.735e-06 0.00% Gravity::swapTimeLevels() 10 9.389e-06 9.389e-06 9.389e-06 0.00% Amr::initSubcycle() 1 8.535e-06 8.535e-06 8.535e-06 0.00% Gravity::actual_multilevel_solve() 1 8.17e-06 8.17e-06 8.17e-06 0.00% MLMG::getGradSolution() 11 6.812e-06 6.812e-06 6.812e-06 0.00% Castro::computeNewDt() 9 6.498e-06 6.498e-06 6.498e-06 0.00% Castro::expand_state() 10 5.92e-06 5.92e-06 5.92e-06 0.00% AmrLevel::checkPointPost() 3 4.698e-06 4.698e-06 4.698e-06 0.00% MLMG::MLRhsNormInf() 11 4.464e-06 4.464e-06 4.464e-06 0.00% Gravity::set_mass_offset() 11 4.357e-06 4.357e-06 4.357e-06 0.00% Castro::retry_advance_ctu() 10 4.277e-06 4.277e-06 4.277e-06 0.00% Amr::InitializeInit() 1 4.222e-06 4.222e-06 4.222e-06 0.00% MLMG::MLResNormInf() 11 3.738e-06 3.738e-06 3.738e-06 0.00% Castro::computeInitialDt() 2 3.154e-06 3.154e-06 3.154e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.974e-06 2.974e-06 2.974e-06 0.00% Castro::FluxRegCrseInit 10 2.931e-06 2.931e-06 2.931e-06 0.00% Castro::FluxRegFineAdd() 10 2.262e-06 2.262e-06 2.262e-06 0.00% AmrLevel::checkPointPre() 3 2.251e-06 2.251e-06 2.251e-06 0.00% Amr::init() 1 2.176e-06 2.176e-06 2.176e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.903e-06 1.903e-06 1.903e-06 0.00% Castro::post_regrid() 1 1.024e-06 1.024e-06 1.024e-06 0.00% Amr::initialInit() 1 9.1e-07 9.1e-07 9.1e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9464 0.9464 0.9464 100.00% Amr::coarseTimeStep() 10 0.7827 0.7827 0.7827 82.70% Amr::timeStep() 10 0.6902 0.6902 0.6902 72.93% Castro::advance() 10 0.6785 0.6785 0.6785 71.69% Castro::subcycle_advance_ctu() 10 0.6635 0.6635 0.6635 70.11% Castro::do_advance_ctu() 10 0.6633 0.6633 0.6633 70.09% Castro::construct_ctu_hydro_source() 10 0.3184 0.3184 0.3184 33.64% Gravity::solve_phi_with_mlmg() 11 0.301 0.301 0.301 31.80% Gravity::actual_solve_with_mlmg() 11 0.2911 0.2911 0.2911 30.76% Castro::construct_new_gravity() 10 0.2719 0.2719 0.2719 28.73% MLMG::solve() 11 0.2685 0.2685 0.2685 28.37% Gravity::solve_for_phi() 10 0.2553 0.2553 0.2553 26.97% MLMG::oneIter() 82 0.2526 0.2526 0.2526 26.69% MLMG::mgVcycle() 82 0.249 0.249 0.249 26.31% VisMF::Write(FabArray) 11 0.1763 0.1763 0.1763 18.63% Amr::checkPoint() 3 0.1342 0.1342 0.1342 14.18% AmrLevel::checkPoint() 3 0.1287 0.1287 0.1287 13.60% StateData::checkPoint() 12 0.1286 0.1286 0.1286 13.59% Amr::init() 1 0.1257 0.1257 0.1257 13.28% MLCellLinOp::smooth() 1640 0.1242 0.1242 0.1242 13.12% MLCellLinOp::applyBC() 4351 0.1156 0.1156 0.1156 12.21% MLMG::mgVcycle_bottom 82 0.0745 0.0745 0.0745 7.87% MLMG::actualBottomSolve() 82 0.07447 0.07447 0.07447 7.87% MLCGSolver::bicgstab 82 0.07361 0.07361 0.07361 7.78% Amr::writePlotFile() 2 0.06247 0.06247 0.06247 6.60% Castro::clean_state() 62 0.05916 0.05916 0.05916 6.25% Amr::initialInit() 1 0.0549 0.0549 0.0549 5.80% Amr::FinalizeInit() 1 0.04991 0.04991 0.04991 5.27% AmrLevel::FillPatch() 41 0.0485 0.0485 0.0485 5.12% Castro::post_init() 1 0.04849 0.04849 0.04849 5.12% Gravity::multilevel_solve_for_new_phi() 1 0.04613 0.04613 0.04613 4.87% Gravity::actual_multilevel_solve() 1 0.04612 0.04612 0.04612 4.87% FillPatchIterator::Initialize 41 0.04416 0.04416 0.04416 4.67% FillPatchIterator::FillFromLevel0() 41 0.04254 0.04254 0.04254 4.49% FillPatchSingleLevel 41 0.04249 0.04249 0.04249 4.49% StateDataPhysBCFunct::() 41 0.03836 0.03836 0.03836 4.05% MLCellLinOp::apply() 1060 0.03715 0.03715 0.03715 3.93% MLMG::mgVcycle_down::0 82 0.03528 0.03528 0.03528 3.73% MLPoisson::Fsmooth() 3280 0.03412 0.03412 0.03412 3.61% FabArray::FillBoundary() 3941 0.03288 0.03288 0.03288 3.47% FillBoundary_nowait() 3941 0.03198 0.03198 0.03198 3.38% StateData::FillBoundary(geom) 328 0.02776 0.02776 0.02776 2.93% MLMG::mgVcycle_up::0 82 0.02665 0.02665 0.02665 2.82% Castro::computeTemp() 63 0.02312 0.02312 0.02312 2.44% amrex::Dot() 1114 0.02194 0.02194 0.02194 2.32% Castro::initialize_do_advance() 10 0.02133 0.02133 0.02133 2.25% MLMG:computeResOfCorrection() 410 0.02092 0.02092 0.02092 2.21% MLCellLinOp::correctionResidual() 410 0.0208 0.0208 0.0208 2.20% FabArray::norminf() 1061 0.02032 0.02032 0.02032 2.15% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.14% Castro::do_old_sources() 10 0.01891 0.01891 0.01891 2.00% Gravity::get_new_grav_vector() 11 0.01852 0.01852 0.01852 1.96% MLPoisson::define() 11 0.01776 0.01776 0.01776 1.88% MLMG::mgVcycle_down::1 82 0.01712 0.01712 0.01712 1.81% Castro::construct_old_gravity() 10 0.01593 0.01593 0.01593 1.68% Gravity::get_old_grav_vector() 10 0.01592 0.01592 0.01592 1.68% MLMG::mgVcycle_down::2 82 0.01584 0.01584 0.01584 1.67% MLMG::mgVcycle_down::3 82 0.01547 0.01547 0.01547 1.63% MLMG::mgVcycle_down::4 82 0.01533 0.01533 0.01533 1.62% FabArray::ParallelCopy() 861 0.01503 0.01503 0.01503 1.59% FabArray::ParallelCopy_nowait() 861 0.01478 0.01478 0.01478 1.56% Castro::initialize_advance() 10 0.0143 0.0143 0.0143 1.51% Castro::enforce_min_density() 62 0.01372 0.01372 0.01372 1.45% FabArray::setVal() 1062 0.01362 0.01362 0.01362 1.44% Castro::do_new_sources() 10 0.01342 0.01342 0.01342 1.42% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.40% MLCGSolver::ParallelAllReduce 1832 0.01324 0.01324 0.01324 1.40% MLMG::addInterpCorrection() 410 0.01271 0.01271 0.01271 1.34% MLMG::mgVcycle_up::1 82 0.01237 0.01237 0.01237 1.31% MLMG::mgVcycle_up::4 82 0.01225 0.01225 0.01225 1.29% MLMG::mgVcycle_up::2 82 0.01209 0.01209 0.01209 1.28% MLCellLinOp::defineAuxData() 11 0.01204 0.01204 0.01204 1.27% amrex::average_down 410 0.01186 0.01186 0.01186 1.25% MLMG::mgVcycle_up::3 82 0.01185 0.01185 0.01185 1.25% Castro::post_timestep() 10 0.01154 0.01154 0.01154 1.22% Castro::expand_state() 10 0.01154 0.01154 0.01154 1.22% amrex::Copy() 472 0.01104 0.01104 0.01104 1.17% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.10% Gravity::fill_multipole_BCs() 11 0.009594 0.009594 0.009594 1.01% FabArray::Xpay() 739 0.007986 0.007986 0.007986 0.84% MLCellLinOp::solutionResidual() 93 0.007898 0.007898 0.007898 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006837 0.006837 0.006837 0.72% MLMG::computeResidual() 82 0.006544 0.006544 0.006544 0.69% Castro::estTimeStep() 21 0.006027 0.006027 0.006027 0.64% MLCellLinOp::defineBC() 11 0.00543 0.00543 0.00543 0.57% MLMG::prepareForSolve() 11 0.005374 0.005374 0.005374 0.57% BndryData::define() 11 0.005148 0.005148 0.005148 0.54% Amr::InitializeInit() 1 0.004988 0.004988 0.004988 0.53% Amr::defBaseLevel() 1 0.004984 0.004984 0.004984 0.53% Castro::initData() 1 0.004318 0.004318 0.004318 0.46% Castro::construct_new_source() 50 0.003616 0.003616 0.003616 0.38% amrex::Add() 82 0.003611 0.003611 0.003611 0.38% Castro::construct_new_gravity_source() 10 0.003543 0.003543 0.003543 0.37% Castro::enforce_speed_limit() 62 0.002957 0.002957 0.002957 0.31% Castro::construct_old_source() 50 0.002918 0.002918 0.002918 0.31% Castro::construct_old_gravity_source() 10 0.002899 0.002899 0.002899 0.31% Castro::computeNewDt() 9 0.002583 0.002583 0.002583 0.27% Castro::finalize_do_advance() 10 0.002412 0.002412 0.002412 0.25% check_for_negative_density() 10 0.002214 0.002214 0.002214 0.23% MLMG::ResNormInf() 93 0.002213 0.002213 0.002213 0.23% Castro::apply_source_to_state() 20 0.001889 0.001889 0.001889 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001817 0.001817 0.001817 0.19% Castro::reset_internal_energy(Fab) 504 0.001716 0.001716 0.001716 0.18% MLMG::getGradSolution() 11 0.001629 0.001629 0.001629 0.17% MLCellLinOp::setLevelBC() 11 0.001629 0.001629 0.001629 0.17% MLCellLinOp::compGrad() 11 0.001623 0.001623 0.001623 0.17% FabArrayBase::getCPC() 1323 0.001529 0.001529 0.001529 0.16% MLPoisson::prepareForSolve() 11 0.001406 0.001406 0.001406 0.15% FabArray::setDomainBndry() 41 0.001397 0.001397 0.001397 0.15% MLMG::computeMLResidual() 11 0.001396 0.001396 0.001396 0.15% FabArray::mult() 43 0.001394 0.001394 0.001394 0.15% MLCellLinOp::prepareForSolve() 11 0.001392 0.001392 0.001392 0.15% Castro::check_for_nan() 20 0.001313 0.001313 0.001313 0.14% MultiFab::contains_nan() 20 0.0013 0.0013 0.0013 0.14% Castro::post_regrid() 1 0.001122 0.001122 0.001122 0.12% Castro::computeInitialDt() 2 0.001087 0.001087 0.001087 0.11% Gravity::update_max_rhs() 11 0.001013 0.001013 0.001013 0.11% FabArrayBase::getFB() 3941 0.0007225 0.0007225 0.0007225 0.08% FabArrayBase::CPC::define() 454 0.000707 0.000707 0.000707 0.07% Castro::finalize_advance() 10 0.0006223 0.0006223 0.0006223 0.07% Castro::Castro() 1 0.000581 0.000581 0.000581 0.06% Amr::InitAmr() 1 0.0005506 0.0005506 0.0005506 0.06% Gravity::swapTimeLevels() 10 0.0004699 0.0004699 0.0004699 0.05% MLMG::MLResNormInf() 11 0.0003427 0.0003427 0.0003427 0.04% MultiFab::max() 11 0.0003321 0.0003321 0.0003321 0.04% Castro::buildMetrics() 1 0.0002845 0.0002845 0.0002845 0.03% MLLinOp::define() 11 0.0002656 0.0002656 0.0002656 0.03% MLLinOp::defineGrids() 11 0.000246 0.000246 0.000246 0.03% MLMG::MLRhsNormInf() 11 0.0002365 0.0002365 0.0002365 0.02% Castro::create_source_corrector() 10 0.0001619 0.0001619 0.0001619 0.02% FabArrayBase::FB::FB() 56 9.521e-05 9.521e-05 9.521e-05 0.01% Castro::enforce_consistent_e() 1 6.521e-05 6.521e-05 6.521e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.874e-05 5.874e-05 5.874e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.485e-05 5.485e-05 5.485e-05 0.01% makeSFC 55 4.082e-05 4.082e-05 4.082e-05 0.00% Castro::swap_state_time_levels() 10 3.901e-05 3.901e-05 3.901e-05 0.00% StateData::define() 4 3.603e-05 3.603e-05 3.603e-05 0.00% Castro::initMFs() 1 3.51e-05 3.51e-05 3.51e-05 0.00% Amr::writeSmallPlotFile() 1 3.217e-05 3.217e-05 3.217e-05 0.00% DistributionMapping::Distribute() 56 1.644e-05 1.644e-05 1.644e-05 0.00% Amr::initSubcycle() 1 8.535e-06 8.535e-06 8.535e-06 0.00% AmrLevel::checkPointPost() 3 4.698e-06 4.698e-06 4.698e-06 0.00% Gravity::set_mass_offset() 11 4.357e-06 4.357e-06 4.357e-06 0.00% Castro::retry_advance_ctu() 10 4.277e-06 4.277e-06 4.277e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.966e-06 3.966e-06 3.966e-06 0.00% Castro::FluxRegCrseInit 10 2.931e-06 2.931e-06 2.931e-06 0.00% Castro::FluxRegFineAdd() 10 2.262e-06 2.262e-06 2.262e-06 0.00% AmrLevel::checkPointPre() 3 2.251e-06 2.251e-06 2.251e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.903e-06 1.903e-06 1.903e-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 85 MiB 9042 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 976 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1491 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3488 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2062 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 3105 B 480 KiB VisMF::Write(FabArray) 656 656 3266 B 320 KiB Castro::normalize_species() 62 62 6963 B 320 KiB amrex::average_down 1067 1067 1594 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1154 B 257 KiB amrex::Dot() 1360 1360 3417 B 160 KiB FabArray::norminf() 1143 1143 3313 B 160 KiB check_for_negative_density() 10 10 368 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3404 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 8702 8702 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B StateData::FillBoundary(geom) 1992 1992 36 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 359 B 1248 B MLCGSolver::bicgstab 410 410 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 564 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 408 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3404 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4351 4351 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2544 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 290 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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): 2167 [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 (24.02-30-g2ecafcff4013) finalized Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:32:41 UTC on 2024-02-27. Successfully read inputs file ... Castro git describe: 24.02-23-g9a07326d4 AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-27-gf336cab4 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514889583 Restart time = 0.113760278 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.071434897 [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.0477838 [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.078032008 [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.078387703 [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.061180537 [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.345536135 seconds Ending run at 09:32:41 UTC on 2024-02-27. Run time = 0.79725034 Run time without initialization = 0.682798578 Average number of zones advanced per microsecond: 1.920 Average number of zones advanced per microsecond per rank: 1.920 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.7973 ... 0.7973 ... 0.7973 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Amr::writePlotFile() 1 0.3177 0.3177 0.3177 39.85% Castro::construct_ctu_hydro_source() 5 0.1437 0.1437 0.1437 18.03% VisMF::Read() 3 0.06112 0.06112 0.06112 7.67% Amr::restart() 1 0.04573 0.04573 0.04573 5.74% MLCellLinOp::applyBC() 1910 0.03601 0.03601 0.03601 4.52% VisMF::Write(FabArray) 1 0.02761 0.02761 0.02761 3.46% MLPoisson::Fsmooth() 1440 0.01473 0.01473 0.01473 1.85% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 1.64% FillBoundary_nowait() 1730 0.01289 0.01289 0.01289 1.62% Castro::normalize_species() 30 0.01092 0.01092 0.01092 1.37% amrex::Dot() 484 0.009338 0.009338 0.009338 1.17% FabArray::norminf() 465 0.008777 0.008777 0.008777 1.10% Castro::computeTemp() 30 0.006723 0.006723 0.006723 0.84% FabArray::setVal() 501 0.006632 0.006632 0.006632 0.83% FabArray::ParallelCopy_nowait() 380 0.006241 0.006241 0.006241 0.78% FabArray::Saxpy() 597 0.005864 0.005864 0.005864 0.74% MLCellLinOp::defineAuxData() 6 0.005734 0.005734 0.005734 0.72% Gravity::fill_multipole_BCs() 6 0.00564 0.00564 0.00564 0.71% amrex::Copy() 221 0.00551 0.00551 0.00551 0.69% Castro::enforce_min_density() 30 0.004959 0.004959 0.004959 0.62% StateDataPhysBCFunct::() 20 0.004753 0.004753 0.004753 0.60% MLPoisson::Fapply() 464 0.004528 0.004528 0.004528 0.57% FabArray::Xpay() 325 0.003504 0.003504 0.003504 0.44% MLMG::addInterpCorrection() 180 0.003171 0.003171 0.003171 0.40% amrex::average_down 180 0.002996 0.002996 0.002996 0.38% Castro::estTimeStep() 10 0.002723 0.002723 0.002723 0.34% BndryData::define() 6 0.00224 0.00224 0.00224 0.28% Castro::construct_new_gravity_source() 5 0.001903 0.001903 0.001903 0.24% Castro::reset_internal_energy(MultiFab) 30 0.001621 0.001621 0.001621 0.20% amrex::Add() 36 0.001545 0.001545 0.001545 0.19% Castro::enforce_speed_limit() 30 0.001512 0.001512 0.001512 0.19% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.19% check_for_negative_density() 5 0.001032 0.001032 0.001032 0.13% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009927 0.0009927 0.0009927 0.12% MLCellLinOp::setLevelBC() 6 0.0008888 0.0008888 0.0008888 0.11% Gravity::actual_solve_with_mlmg() 6 0.0008598 0.0008598 0.0008598 0.11% Castro::reset_internal_energy(Fab) 240 0.0007978 0.0007978 0.0007978 0.10% MLCellLinOp::prepareForSolve() 6 0.0007711 0.0007711 0.0007711 0.10% MLCGSolver::bicgstab 36 0.0007168 0.0007168 0.0007168 0.09% FabArray::setDomainBndry() 20 0.0007078 0.0007078 0.0007078 0.09% FabArray::mult() 22 0.0007042 0.0007042 0.0007042 0.09% MultiFab::contains_nan() 10 0.0006793 0.0006793 0.0006793 0.09% MLCellLinOp::compGrad() 6 0.0006121 0.0006121 0.0006121 0.08% MLMG::prepareForSolve() 6 0.0005662 0.0005662 0.0005662 0.07% Amr::InitAmr() 1 0.0005056 0.0005056 0.0005056 0.06% MLCellLinOp::smooth() 720 0.0005045 0.0005045 0.0005045 0.06% FabArrayBase::CPC::define() 244 0.000417 0.000417 0.000417 0.05% FabArray::FillBoundary() 1730 0.0003858 0.0003858 0.0003858 0.05% FabArrayBase::getCPC() 632 0.0003568 0.0003568 0.0003568 0.04% Gravity::get_old_grav_vector() 5 0.0003254 0.0003254 0.0003254 0.04% main() 1 0.0002974 0.0002974 0.0002974 0.04% FabArrayBase::getFB() 1730 0.0002702 0.0002702 0.0002702 0.03% Gravity::get_new_grav_vector() 5 0.0002695 0.0002695 0.0002695 0.03% MultiFab::max() 6 0.0002131 0.0002131 0.0002131 0.03% AmrLevel::FillPatch() 20 0.0002041 0.0002041 0.0002041 0.03% MLCellLinOp::apply() 464 0.000196 0.000196 0.000196 0.02% Amr::coarseTimeStep() 5 0.0001627 0.0001627 0.0001627 0.02% MLCGSolver::ParallelAllReduce 798 0.0001572 0.0001572 0.0001572 0.02% Castro::construct_new_source() 25 0.0001515 0.0001515 0.0001515 0.02% MLCellLinOp::defineBC() 6 0.0001496 0.0001496 0.0001496 0.02% Castro::subcycle_advance_ctu() 5 0.0001172 0.0001172 0.0001172 0.01% MLLinOp::defineGrids() 6 0.0001102 0.0001102 0.0001102 0.01% FabArray::ParallelCopy() 380 0.0001096 0.0001096 0.0001096 0.01% FillPatchIterator::Initialize 20 0.000107 0.000107 0.000107 0.01% Castro::create_source_corrector() 5 0.0001046 0.0001046 0.0001046 0.01% MLMG::mgVcycle() 36 8.944e-05 8.944e-05 8.944e-05 0.01% Amr::timeStep() 5 8.839e-05 8.839e-05 8.839e-05 0.01% MLCellLinOp::correctionResidual() 180 7.794e-05 7.794e-05 7.794e-05 0.01% AmrLevel::restart() 1 7.692e-05 7.692e-05 7.692e-05 0.01% StateData::restartDoit() 4 6.618e-05 6.618e-05 6.618e-05 0.01% Castro::do_advance_ctu() 5 6.595e-05 6.595e-05 6.595e-05 0.01% Gravity::update_max_rhs() 6 6.356e-05 6.356e-05 6.356e-05 0.01% Castro::finalize_do_advance() 5 6.236e-05 6.236e-05 6.236e-05 0.01% Gravity::solve_for_phi() 5 6.141e-05 6.141e-05 6.141e-05 0.01% FabArrayBase::FB::FB() 26 6.062e-05 6.062e-05 6.062e-05 0.01% MLMG:computeResOfCorrection() 180 5.031e-05 5.031e-05 5.031e-05 0.01% MLMG::actualBottomSolve() 36 4.324e-05 4.324e-05 4.324e-05 0.01% Castro::clean_state() 30 3.901e-05 3.901e-05 3.901e-05 0.00% MLMG::mgVcycle_down::0 36 3.836e-05 3.836e-05 3.836e-05 0.00% Castro::initialize_advance() 5 3.722e-05 3.722e-05 3.722e-05 0.00% MLMG::mgVcycle_down::1 36 3.637e-05 3.637e-05 3.637e-05 0.00% MLMG::mgVcycle_down::2 36 3.343e-05 3.343e-05 3.343e-05 0.00% Castro::advance() 5 3.268e-05 3.268e-05 3.268e-05 0.00% MLMG::solve() 6 3.219e-05 3.219e-05 3.219e-05 0.00% MLMG::mgVcycle_down::4 36 3.204e-05 3.204e-05 3.204e-05 0.00% Amr::writeSmallPlotFile() 1 3.157e-05 3.157e-05 3.157e-05 0.00% Castro::finalize_advance() 5 3.13e-05 3.13e-05 3.13e-05 0.00% MLMG::mgVcycle_down::3 36 3.062e-05 3.062e-05 3.062e-05 0.00% Castro::initialize_do_advance() 5 3.061e-05 3.061e-05 3.061e-05 0.00% Castro::post_restart() 1 2.999e-05 2.999e-05 2.999e-05 0.00% Castro::buildMetrics() 1 2.956e-05 2.956e-05 2.956e-05 0.00% Castro::do_new_sources() 5 2.92e-05 2.92e-05 2.92e-05 0.00% Castro::construct_old_source() 25 2.873e-05 2.873e-05 2.873e-05 0.00% Castro::post_timestep() 5 2.831e-05 2.831e-05 2.831e-05 0.00% MLMG::mgVcycle_up::4 36 2.802e-05 2.802e-05 2.802e-05 0.00% MLMG::oneIter() 36 2.626e-05 2.626e-05 2.626e-05 0.00% Castro::swap_state_time_levels() 5 2.514e-05 2.514e-05 2.514e-05 0.00% Castro::initMFs() 1 2.388e-05 2.388e-05 2.388e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.33e-05 2.33e-05 2.33e-05 0.00% MLMG::mgVcycle_up::3 36 2.327e-05 2.327e-05 2.327e-05 0.00% MLCellLinOp::solutionResidual() 42 2.262e-05 2.262e-05 2.262e-05 0.00% MLMG::mgVcycle_up::0 36 2.233e-05 2.233e-05 2.233e-05 0.00% MLMG::mgVcycle_up::2 36 2.19e-05 2.19e-05 2.19e-05 0.00% MLMG::mgVcycle_up::1 36 2.077e-05 2.077e-05 2.077e-05 0.00% Castro::construct_new_gravity() 5 1.928e-05 1.928e-05 1.928e-05 0.00% MLMG::ResNormInf() 42 1.783e-05 1.783e-05 1.783e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.645e-05 1.645e-05 1.645e-05 0.00% FillPatchSingleLevel 20 1.555e-05 1.555e-05 1.555e-05 0.00% makeSFC 30 1.428e-05 1.428e-05 1.428e-05 0.00% MLMG::computeResidual() 36 1.401e-05 1.401e-05 1.401e-05 0.00% MLPoisson::define() 6 1.362e-05 1.362e-05 1.362e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.341e-05 1.341e-05 1.341e-05 0.00% MLMG::mgVcycle_bottom 36 1.326e-05 1.326e-05 1.326e-05 0.00% MLPoisson::prepareForSolve() 6 1.096e-05 1.096e-05 1.096e-05 0.00% Castro::do_old_sources() 5 1.069e-05 1.069e-05 1.069e-05 0.00% DistributionMapping::Distribute() 31 9.786e-06 9.786e-06 9.786e-06 0.00% Amr::initSubcycle() 1 8.835e-06 8.835e-06 8.835e-06 0.00% Gravity::actual_multilevel_solve() 1 8.236e-06 8.236e-06 8.236e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.773e-06 7.773e-06 7.773e-06 0.00% Castro::check_for_nan() 10 7.035e-06 7.035e-06 7.035e-06 0.00% MLLinOp::define() 6 6.498e-06 6.498e-06 6.498e-06 0.00% Castro::construct_old_gravity() 5 6.238e-06 6.238e-06 6.238e-06 0.00% Castro::apply_source_to_state() 10 5.992e-06 5.992e-06 5.992e-06 0.00% Castro::FluxRegFineAdd() 5 5.105e-06 5.105e-06 5.105e-06 0.00% Gravity::swapTimeLevels() 5 4.06e-06 4.06e-06 4.06e-06 0.00% MLMG::computeMLResidual() 6 3.975e-06 3.975e-06 3.975e-06 0.00% Castro::computeNewDt() 5 3.867e-06 3.867e-06 3.867e-06 0.00% MLMG::getGradSolution() 6 3.257e-06 3.257e-06 3.257e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.061e-06 3.061e-06 3.061e-06 0.00% Castro::expand_state() 5 2.844e-06 2.844e-06 2.844e-06 0.00% MLMG::MLResNormInf() 6 2.644e-06 2.644e-06 2.644e-06 0.00% MLMG::MLRhsNormInf() 6 2.351e-06 2.351e-06 2.351e-06 0.00% Castro::retry_advance_ctu() 5 2.348e-06 2.348e-06 2.348e-06 0.00% Gravity::set_mass_offset() 6 2.092e-06 2.092e-06 2.092e-06 0.00% Castro::FluxRegCrseInit 5 1.557e-06 1.557e-06 1.557e-06 0.00% Amr::init() 1 1.195e-06 1.195e-06 1.195e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.104e-06 1.104e-06 1.104e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.7973 0.7973 0.7973 100.00% Amr::writePlotFile() 1 0.3456 0.3456 0.3456 43.35% Amr::coarseTimeStep() 5 0.337 0.337 0.337 42.27% Amr::timeStep() 5 0.3351 0.3351 0.3351 42.03% Castro::advance() 5 0.33 0.33 0.33 41.39% Castro::subcycle_advance_ctu() 5 0.3227 0.3227 0.3227 40.47% Castro::do_advance_ctu() 5 0.3225 0.3225 0.3225 40.46% Castro::construct_ctu_hydro_source() 5 0.1494 0.1494 0.1494 18.74% Castro::construct_new_gravity() 5 0.1369 0.1369 0.1369 17.18% Gravity::solve_phi_with_mlmg() 6 0.1345 0.1345 0.1345 16.87% Gravity::solve_for_phi() 5 0.1288 0.1288 0.1288 16.15% Gravity::actual_solve_with_mlmg() 6 0.1286 0.1286 0.1286 16.13% MLMG::solve() 6 0.1163 0.1163 0.1163 14.59% Amr::init() 1 0.1138 0.1138 0.1138 14.27% Amr::restart() 1 0.1138 0.1138 0.1138 14.27% MLMG::oneIter() 36 0.1086 0.1086 0.1086 13.62% MLMG::mgVcycle() 36 0.107 0.107 0.107 13.42% AmrLevel::restart() 1 0.06149 0.06149 0.06149 7.71% StateData::restartDoit() 4 0.06141 0.06141 0.06141 7.70% VisMF::Read() 3 0.06112 0.06112 0.06112 7.67% MLCellLinOp::smooth() 720 0.05313 0.05313 0.05313 6.66% MLCellLinOp::applyBC() 1910 0.04962 0.04962 0.04962 6.22% MLMG::mgVcycle_bottom 36 0.03196 0.03196 0.03196 4.01% MLMG::actualBottomSolve() 36 0.03195 0.03195 0.03195 4.01% MLCGSolver::bicgstab 36 0.03158 0.03158 0.03158 3.96% VisMF::Write(FabArray) 1 0.02761 0.02761 0.02761 3.46% Castro::clean_state() 30 0.02657 0.02657 0.02657 3.33% AmrLevel::FillPatch() 20 0.02285 0.02285 0.02285 2.87% FillPatchIterator::Initialize 20 0.02074 0.02074 0.02074 2.60% FillPatchIterator::FillFromLevel0() 20 0.01992 0.01992 0.01992 2.50% FillPatchSingleLevel 20 0.0199 0.0199 0.0199 2.50% StateDataPhysBCFunct::() 20 0.01783 0.01783 0.01783 2.24% MLCellLinOp::apply() 464 0.01617 0.01617 0.01617 2.03% MLMG::mgVcycle_down::0 36 0.01519 0.01519 0.01519 1.91% MLPoisson::Fsmooth() 1440 0.01473 0.01473 0.01473 1.85% FabArray::FillBoundary() 1730 0.01361 0.01361 0.01361 1.71% FillBoundary_nowait() 1730 0.01322 0.01322 0.01322 1.66% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 1.64% MLMG::mgVcycle_up::0 36 0.01126 0.01126 0.01126 1.41% Castro::normalize_species() 30 0.01092 0.01092 0.01092 1.37% Castro::initialize_do_advance() 5 0.0106 0.0106 0.0106 1.33% MLPoisson::define() 6 0.009665 0.009665 0.009665 1.21% amrex::Dot() 484 0.009338 0.009338 0.009338 1.17% Castro::do_old_sources() 5 0.009297 0.009297 0.009297 1.17% Castro::computeTemp() 30 0.009142 0.009142 0.009142 1.15% MLMG:computeResOfCorrection() 180 0.008972 0.008972 0.008972 1.13% MLCellLinOp::correctionResidual() 180 0.008921 0.008921 0.008921 1.12% FabArray::norminf() 465 0.008777 0.008777 0.008777 1.10% Gravity::get_new_grav_vector() 5 0.008051 0.008051 0.008051 1.01% Castro::construct_old_gravity() 5 0.007609 0.007609 0.007609 0.95% Gravity::get_old_grav_vector() 5 0.007603 0.007603 0.007603 0.95% MLMG::mgVcycle_down::1 36 0.007492 0.007492 0.007492 0.94% Castro::do_new_sources() 5 0.007106 0.007106 0.007106 0.89% Castro::initialize_advance() 5 0.007024 0.007024 0.007024 0.88% MLMG::mgVcycle_down::2 36 0.006834 0.006834 0.006834 0.86% FabArray::ParallelCopy() 380 0.006737 0.006737 0.006737 0.85% MLMG::mgVcycle_down::3 36 0.006661 0.006661 0.006661 0.84% FabArray::setVal() 501 0.006632 0.006632 0.006632 0.83% FabArray::ParallelCopy_nowait() 380 0.006628 0.006628 0.006628 0.83% MLMG::mgVcycle_down::4 36 0.006586 0.006586 0.006586 0.83% MLCellLinOp::defineAuxData() 6 0.006524 0.006524 0.006524 0.82% Castro::post_restart() 1 0.006399 0.006399 0.006399 0.80% Gravity::multilevel_solve_for_new_phi() 1 0.006016 0.006016 0.006016 0.75% Gravity::actual_multilevel_solve() 1 0.005999 0.005999 0.005999 0.75% Castro::expand_state() 5 0.005932 0.005932 0.005932 0.74% FabArray::Saxpy() 597 0.005864 0.005864 0.005864 0.74% Gravity::fill_multipole_BCs() 6 0.005777 0.005777 0.005777 0.72% MLCGSolver::ParallelAllReduce 798 0.005675 0.005675 0.005675 0.71% amrex::Copy() 221 0.00551 0.00551 0.00551 0.69% MLMG::addInterpCorrection() 180 0.00549 0.00549 0.00549 0.69% amrex::average_down 180 0.005362 0.005362 0.005362 0.67% MLMG::mgVcycle_up::1 36 0.005315 0.005315 0.005315 0.67% MLMG::mgVcycle_up::4 36 0.005309 0.005309 0.005309 0.67% MLMG::mgVcycle_up::2 36 0.005196 0.005196 0.005196 0.65% MLMG::mgVcycle_up::3 36 0.005082 0.005082 0.005082 0.64% Castro::post_timestep() 5 0.004964 0.004964 0.004964 0.62% Castro::enforce_min_density() 30 0.004959 0.004959 0.004959 0.62% MLPoisson::Fapply() 464 0.004528 0.004528 0.004528 0.57% MLCellLinOp::solutionResidual() 42 0.003652 0.003652 0.003652 0.46% FabArray::Xpay() 325 0.003504 0.003504 0.003504 0.44% MLCellLinOp::defineBC() 6 0.002979 0.002979 0.002979 0.37% MLMG::prepareForSolve() 6 0.002923 0.002923 0.002923 0.37% MLMG::computeResidual() 36 0.002841 0.002841 0.002841 0.36% BndryData::define() 6 0.00283 0.00283 0.00283 0.35% Castro::estTimeStep() 10 0.002723 0.002723 0.002723 0.34% Castro::reset_internal_energy(MultiFab) 30 0.002419 0.002419 0.002419 0.30% Castro::construct_new_source() 25 0.002055 0.002055 0.002055 0.26% Castro::construct_new_gravity_source() 5 0.001903 0.001903 0.001903 0.24% Castro::computeNewDt() 5 0.001726 0.001726 0.001726 0.22% amrex::Add() 36 0.001545 0.001545 0.001545 0.19% Castro::construct_old_source() 25 0.001524 0.001524 0.001524 0.19% Castro::enforce_speed_limit() 30 0.001512 0.001512 0.001512 0.19% Castro::construct_old_gravity_source() 5 0.001495 0.001495 0.001495 0.19% Castro::finalize_do_advance() 5 0.001063 0.001063 0.001063 0.13% check_for_negative_density() 5 0.001032 0.001032 0.001032 0.13% MLMG::ResNormInf() 42 0.001 0.001 0.001 0.13% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009927 0.0009927 0.0009927 0.12% Castro::apply_source_to_state() 10 0.0009665 0.0009665 0.0009665 0.12% MLMG::getGradSolution() 6 0.000897 0.000897 0.000897 0.11% MLCellLinOp::compGrad() 6 0.0008937 0.0008937 0.0008937 0.11% MLCellLinOp::setLevelBC() 6 0.0008888 0.0008888 0.0008888 0.11% MLMG::computeMLResidual() 6 0.0008295 0.0008295 0.0008295 0.10% Castro::reset_internal_energy(Fab) 240 0.0007978 0.0007978 0.0007978 0.10% MLPoisson::prepareForSolve() 6 0.0007821 0.0007821 0.0007821 0.10% FabArrayBase::getCPC() 632 0.0007738 0.0007738 0.0007738 0.10% MLCellLinOp::prepareForSolve() 6 0.0007711 0.0007711 0.0007711 0.10% Gravity::update_max_rhs() 6 0.0007312 0.0007312 0.0007312 0.09% FabArray::setDomainBndry() 20 0.0007078 0.0007078 0.0007078 0.09% FabArray::mult() 22 0.0007042 0.0007042 0.0007042 0.09% Castro::check_for_nan() 10 0.0006864 0.0006864 0.0006864 0.09% MultiFab::contains_nan() 10 0.0006793 0.0006793 0.0006793 0.09% Amr::InitAmr() 1 0.0005144 0.0005144 0.0005144 0.06% FabArrayBase::CPC::define() 244 0.000417 0.000417 0.000417 0.05% FabArrayBase::getFB() 1730 0.0003308 0.0003308 0.0003308 0.04% Castro::finalize_advance() 5 0.0003053 0.0003053 0.0003053 0.04% Gravity::swapTimeLevels() 5 0.0002538 0.0002538 0.0002538 0.03% MultiFab::max() 6 0.0002131 0.0002131 0.0002131 0.03% MLMG::MLResNormInf() 6 0.0001942 0.0001942 0.0001942 0.02% Castro::buildMetrics() 1 0.0001612 0.0001612 0.0001612 0.02% MLLinOp::define() 6 0.0001483 0.0001483 0.0001483 0.02% MLLinOp::defineGrids() 6 0.0001418 0.0001418 0.0001418 0.02% MLMG::MLRhsNormInf() 6 0.0001225 0.0001225 0.0001225 0.02% Castro::create_source_corrector() 5 0.0001046 0.0001046 0.0001046 0.01% FabArrayBase::FB::FB() 26 6.062e-05 6.062e-05 6.062e-05 0.01% Amr::writeSmallPlotFile() 1 3.157e-05 3.157e-05 3.157e-05 0.00% MLLinOp::makeAgglomeratedDMap 6 3.045e-05 3.045e-05 3.045e-05 0.00% Castro::swap_state_time_levels() 5 2.514e-05 2.514e-05 2.514e-05 0.00% Castro::initMFs() 1 2.388e-05 2.388e-05 2.388e-05 0.00% makeSFC 30 2.268e-05 2.268e-05 2.268e-05 0.00% DistributionMapping::Distribute() 31 9.786e-06 9.786e-06 9.786e-06 0.00% Amr::initSubcycle() 1 8.835e-06 8.835e-06 8.835e-06 0.00% Castro::FluxRegFineAdd() 5 5.105e-06 5.105e-06 5.105e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.447e-06 4.447e-06 4.447e-06 0.00% Castro::retry_advance_ctu() 5 2.348e-06 2.348e-06 2.348e-06 0.00% Gravity::set_mass_offset() 6 2.092e-06 2.092e-06 2.092e-06 0.00% Castro::FluxRegCrseInit 5 1.557e-06 1.557e-06 1.557e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.104e-06 1.104e-06 1.104e-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 99 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 51 MiB 55 MiB FillPatchIterator::Initialize 160 160 567 KiB 39 MiB Castro::initialize_do_advance() 40 40 15 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1023 KiB 28 MiB Castro::initialize_advance() 40 40 9915 KiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6554 KiB 14 MiB MLMG::prepareForSolve() 361 361 1791 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 100 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 103 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6547 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 12 KiB 2053 KiB Gravity::update_max_rhs() 48 48 1828 B 2048 KiB Gravity::solve_for_phi() 40 40 330 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 165 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 106 KiB 671 KiB Castro::estTimeStep() 10 10 1632 B 480 KiB VisMF::Write(FabArray) 112 112 1329 B 320 KiB Castro::normalize_species() 30 30 4457 B 320 KiB amrex::average_down 469 469 1086 B 257 KiB MLMG::addInterpCorrection() 468 468 592 B 257 KiB amrex::Dot() 592 592 1730 B 160 KiB FabArray::norminf() 501 501 1699 B 160 KiB check_for_negative_density() 5 5 201 B 160 KiB MultiFab::max() 6 6 41 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 16 B 20 KiB MLPoisson::Fsmooth() 60 60 1735 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 24 B 10 KiB FillBoundary_nowait() 336 336 140 B 9648 B MLCellLinOp::applyBC() 3820 3820 112 B 9344 B amrex::Copy() 56 56 5501 B 8816 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B StateData::FillBoundary(geom) 960 960 19 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 185 B 1248 B MLCGSolver::bicgstab 180 180 47 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 609 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 46 KiB 8192 KiB VisMF::Write(FabArray) 120 120 90 KiB 3584 KiB VisMF::Read() 24 24 115 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 1735 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 24 B 10 KiB FillBoundary_nowait() 336 336 140 B 9648 B MLCellLinOp::applyBC() 1910 1910 111 B 9328 B amrex::Copy() 56 56 5501 B 8816 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B Gravity::get_old_grav_vector() 3 3 2606 B 3072 B Gravity::fill_multipole_BCs() 18 18 3 B 2832 B StateData::FillBoundary(geom) 960 960 20 B 2544 B MLMG::prepareForSolve() 7 7 684 B 1648 B amrex::average_down 37 37 500 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 1 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 12 B 400 B FabArray::norminf() 501 501 4 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): 2167 [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 (24.02-30-g2ecafcff4013) finalized