Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 09:30:53 UTC on 2024-03-06. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 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.045682706 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025202356 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.068874096 [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.071841316 [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.078213473 [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.076522529 [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.05883709 [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.045734348 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.052259251 [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.075538341 [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.070873628 [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.050066996 [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.062500749 [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.043666594 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02515648 seconds Ending run at 09:30:54 UTC on 2024-03-06. Run time = 0.903978709 Run time without initialization = 0.780765754 Average number of zones advanced per microsecond: 3.358 Average number of zones advanced per microsecond per rank: 3.358 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.904 ... 0.904 ... 0.904 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2744 0.2744 0.2744 30.35% VisMF::Write(FabArray) 11 0.177 0.177 0.177 19.58% MLCellLinOp::applyBC() 4298 0.08075 0.08075 0.08075 8.93% FillBoundary_nowait() 3893 0.03699 0.03699 0.03699 4.09% MLPoisson::Fsmooth() 3240 0.03321 0.03321 0.03321 3.67% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 3.03% Castro::normalize_species() 62 0.02232 0.02232 0.02232 2.47% amrex::Dot() 1100 0.02125 0.02125 0.02125 2.35% FabArray::norminf() 1048 0.01976 0.01976 0.01976 2.19% Castro::computeTemp() 63 0.01685 0.01685 0.01685 1.86% FabArray::ParallelCopy_nowait() 851 0.01369 0.01369 0.01369 1.51% FabArray::setVal() 1054 0.01347 0.01347 0.01347 1.49% Castro::enforce_min_density() 62 0.01333 0.01333 0.01333 1.47% FabArray::Saxpy() 1353 0.01307 0.01307 0.01307 1.45% amrex::Copy() 469 0.01082 0.01082 0.01082 1.20% StateDataPhysBCFunct::() 41 0.0105 0.0105 0.0105 1.16% MLCellLinOp::defineAuxData() 11 0.01043 0.01043 0.01043 1.15% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.13% Gravity::fill_multipole_BCs() 11 0.009077 0.009077 0.009077 1.00% FabArray::Xpay() 730 0.007828 0.007828 0.007828 0.87% MLMG::addInterpCorrection() 405 0.007125 0.007125 0.007125 0.79% Castro::estTimeStep() 21 0.006791 0.006791 0.006791 0.75% amrex::average_down 405 0.006264 0.006264 0.006264 0.69% Amr::checkPoint() 3 0.005887 0.005887 0.005887 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005599 0.005599 0.005599 0.62% BndryData::define() 11 0.004078 0.004078 0.004078 0.45% amrex::Add() 81 0.00355 0.00355 0.00355 0.39% Castro::construct_new_gravity_source() 10 0.003501 0.003501 0.003501 0.39% Castro::construct_old_gravity_source() 10 0.003019 0.003019 0.003019 0.33% Amr::writePlotFile() 2 0.002025 0.002025 0.002025 0.22% check_for_negative_density() 10 0.001809 0.001809 0.001809 0.20% Castro::enforce_speed_limit() 62 0.0018 0.0018 0.0018 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001784 0.001784 0.001784 0.20% Castro::reset_internal_energy(Fab) 504 0.001688 0.001688 0.001688 0.19% MLCGSolver::bicgstab 81 0.001618 0.001618 0.001618 0.18% Gravity::actual_solve_with_mlmg() 11 0.001607 0.001607 0.001607 0.18% MLCellLinOp::setLevelBC() 11 0.001598 0.001598 0.001598 0.18% Castro::initData() 1 0.00155 0.00155 0.00155 0.17% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.15% MLCellLinOp::prepareForSolve() 11 0.001348 0.001348 0.001348 0.15% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% MLCellLinOp::compGrad() 11 0.00111 0.00111 0.00111 0.12% MLCellLinOp::smooth() 1620 0.001087 0.001087 0.001087 0.12% MLMG::prepareForSolve() 11 0.0009998 0.0009998 0.0009998 0.11% FabArray::FillBoundary() 3893 0.0008041 0.0008041 0.0008041 0.09% FabArrayBase::getCPC() 1313 0.0007911 0.0007911 0.0007911 0.09% FabArrayBase::CPC::define() 454 0.0006722 0.0006722 0.0006722 0.07% Gravity::get_new_grav_vector() 11 0.0006239 0.0006239 0.0006239 0.07% FabArrayBase::getFB() 3893 0.0006075 0.0006075 0.0006075 0.07% Amr::InitAmr() 1 0.0005686 0.0005686 0.0005686 0.06% Gravity::get_old_grav_vector() 10 0.0004886 0.0004886 0.0004886 0.05% MLCellLinOp::apply() 1047 0.0004238 0.0004238 0.0004238 0.05% AmrLevel::FillPatch() 41 0.0004229 0.0004229 0.0004229 0.05% Amr::coarseTimeStep() 10 0.0003834 0.0003834 0.0003834 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003393 0.0003393 0.0003393 0.04% MultiFab::max() 11 0.0003304 0.0003304 0.0003304 0.04% main() 1 0.0003244 0.0003244 0.0003244 0.04% MLCellLinOp::defineBC() 11 0.0002861 0.0002861 0.0002861 0.03% FabArray::ParallelCopy() 851 0.0002394 0.0002394 0.0002394 0.03% FillPatchIterator::Initialize 41 0.0002247 0.0002247 0.0002247 0.02% Castro::subcycle_advance_ctu() 10 0.0002128 0.0002128 0.0002128 0.02% MLMG::mgVcycle() 81 0.0001889 0.0001889 0.0001889 0.02% Amr::timeStep() 10 0.0001651 0.0001651 0.0001651 0.02% MLLinOp::defineGrids() 11 0.0001632 0.0001632 0.0001632 0.02% MLCellLinOp::correctionResidual() 405 0.0001608 0.0001608 0.0001608 0.02% Castro::create_source_corrector() 10 0.0001573 0.0001573 0.0001573 0.02% Castro::advance() 10 0.0001407 0.0001407 0.0001407 0.02% StateData::checkPoint() 12 0.0001351 0.0001351 0.0001351 0.01% Gravity::update_max_rhs() 11 0.0001256 0.0001256 0.0001256 0.01% Gravity::solve_for_phi() 10 0.0001135 0.0001135 0.0001135 0.01% MLMG:computeResOfCorrection() 405 0.0001106 0.0001106 0.0001106 0.01% MLMG::actualBottomSolve() 81 9.827e-05 9.827e-05 9.827e-05 0.01% FabArrayBase::FB::FB() 56 9.339e-05 9.339e-05 9.339e-05 0.01% Castro::Castro() 1 9.051e-05 9.051e-05 9.051e-05 0.01% MLMG::mgVcycle_down::0 81 8.739e-05 8.739e-05 8.739e-05 0.01% MLMG::mgVcycle_down::1 81 8.278e-05 8.278e-05 8.278e-05 0.01% MLMG::mgVcycle_down::2 81 8.217e-05 8.217e-05 8.217e-05 0.01% Castro::initialize_advance() 10 7.947e-05 7.947e-05 7.947e-05 0.01% MLMG::mgVcycle_down::4 81 7.812e-05 7.812e-05 7.812e-05 0.01% AmrLevel::checkPoint() 3 7.584e-05 7.584e-05 7.584e-05 0.01% MLMG::mgVcycle_down::3 81 7.376e-05 7.376e-05 7.376e-05 0.01% MLMG::solve() 11 7.368e-05 7.368e-05 7.368e-05 0.01% Castro::initialize_do_advance() 10 7.199e-05 7.199e-05 7.199e-05 0.01% Castro::finalize_advance() 10 7.19e-05 7.19e-05 7.19e-05 0.01% Castro::enforce_consistent_e() 1 6.735e-05 6.735e-05 6.735e-05 0.01% Castro::clean_state() 62 6.526e-05 6.526e-05 6.526e-05 0.01% MLMG::oneIter() 81 5.959e-05 5.959e-05 5.959e-05 0.01% MLMG::mgVcycle_up::4 81 5.759e-05 5.759e-05 5.759e-05 0.01% MLMG::mgVcycle_up::0 81 5.322e-05 5.322e-05 5.322e-05 0.01% MLCellLinOp::solutionResidual() 92 5.075e-05 5.075e-05 5.075e-05 0.01% MLMG::mgVcycle_up::3 81 4.991e-05 4.991e-05 4.991e-05 0.01% MLMG::mgVcycle_up::1 81 4.862e-05 4.862e-05 4.862e-05 0.01% Castro::finalize_do_advance() 10 4.77e-05 4.77e-05 4.77e-05 0.01% MLMG::mgVcycle_up::2 81 4.729e-05 4.729e-05 4.729e-05 0.01% Castro::construct_new_source() 50 4.69e-05 4.69e-05 4.69e-05 0.01% Castro::do_advance_ctu() 10 4.688e-05 4.688e-05 4.688e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.679e-05 4.679e-05 4.679e-05 0.01% Castro::swap_state_time_levels() 10 4.447e-05 4.447e-05 4.447e-05 0.00% Castro::initMFs() 1 4.321e-05 4.321e-05 4.321e-05 0.00% StateData::define() 4 4e-05 4e-05 4e-05 0.00% MLMG::ResNormInf() 92 3.596e-05 3.596e-05 3.596e-05 0.00% FillPatchSingleLevel 41 3.455e-05 3.455e-05 3.455e-05 0.00% MLMG::mgVcycle_bottom 81 3.227e-05 3.227e-05 3.227e-05 0.00% MLMG::computeResidual() 81 3.146e-05 3.146e-05 3.146e-05 0.00% Amr::writeSmallPlotFile() 1 3.035e-05 3.035e-05 3.035e-05 0.00% Castro::construct_new_gravity() 10 2.72e-05 2.72e-05 2.72e-05 0.00% Castro::buildMetrics() 1 2.554e-05 2.554e-05 2.554e-05 0.00% makeSFC 55 2.399e-05 2.399e-05 2.399e-05 0.00% Amr::defBaseLevel() 1 2.388e-05 2.388e-05 2.388e-05 0.00% Castro::do_old_sources() 10 2.349e-05 2.349e-05 2.349e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.271e-05 2.271e-05 2.271e-05 0.00% MLPoisson::define() 11 2.182e-05 2.182e-05 2.182e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.049e-05 2.049e-05 2.049e-05 0.00% Castro::do_new_sources() 10 2.019e-05 2.019e-05 2.019e-05 0.00% Amr::FinalizeInit() 1 1.953e-05 1.953e-05 1.953e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.938e-05 1.938e-05 1.938e-05 0.00% Castro::construct_old_source() 50 1.888e-05 1.888e-05 1.888e-05 0.00% DistributionMapping::Distribute() 56 1.653e-05 1.653e-05 1.653e-05 0.00% MLPoisson::prepareForSolve() 11 1.52e-05 1.52e-05 1.52e-05 0.00% Castro::apply_source_to_state() 20 1.41e-05 1.41e-05 1.41e-05 0.00% MLLinOp::define() 11 1.353e-05 1.353e-05 1.353e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.307e-05 1.307e-05 1.307e-05 0.00% Castro::construct_old_gravity() 10 1.248e-05 1.248e-05 1.248e-05 0.00% Castro::check_for_nan() 20 1.218e-05 1.218e-05 1.218e-05 0.00% Amr::initSubcycle() 1 1.142e-05 1.142e-05 1.142e-05 0.00% Castro::post_init() 1 9.949e-06 9.949e-06 9.949e-06 0.00% Gravity::swapTimeLevels() 10 9.002e-06 9.002e-06 9.002e-06 0.00% MLMG::computeMLResidual() 11 8.917e-06 8.917e-06 8.917e-06 0.00% Castro::post_timestep() 10 8.189e-06 8.189e-06 8.189e-06 0.00% Gravity::actual_multilevel_solve() 1 8.097e-06 8.097e-06 8.097e-06 0.00% MLMG::getGradSolution() 11 6.632e-06 6.632e-06 6.632e-06 0.00% Castro::computeNewDt() 9 6.202e-06 6.202e-06 6.202e-06 0.00% Castro::expand_state() 10 6.046e-06 6.046e-06 6.046e-06 0.00% AmrLevel::checkPointPost() 3 5.079e-06 5.079e-06 5.079e-06 0.00% Amr::InitializeInit() 1 4.793e-06 4.793e-06 4.793e-06 0.00% Castro::retry_advance_ctu() 10 4.276e-06 4.276e-06 4.276e-06 0.00% MLMG::MLRhsNormInf() 11 4.155e-06 4.155e-06 4.155e-06 0.00% MLMG::MLResNormInf() 11 3.97e-06 3.97e-06 3.97e-06 0.00% Gravity::set_mass_offset() 11 3.723e-06 3.723e-06 3.723e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.514e-06 3.514e-06 3.514e-06 0.00% Castro::FluxRegCrseInit 10 2.957e-06 2.957e-06 2.957e-06 0.00% Castro::computeInitialDt() 2 2.808e-06 2.808e-06 2.808e-06 0.00% AmrLevel::checkPointPre() 3 2.469e-06 2.469e-06 2.469e-06 0.00% Amr::init() 1 2.388e-06 2.388e-06 2.388e-06 0.00% Castro::FluxRegFineAdd() 10 2.304e-06 2.304e-06 2.304e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.949e-06 1.949e-06 1.949e-06 0.00% Castro::post_regrid() 1 1.427e-06 1.427e-06 1.427e-06 0.00% Amr::initialInit() 1 9.56e-07 9.56e-07 9.56e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.904 0.904 0.904 100.00% Amr::coarseTimeStep() 10 0.7554 0.7554 0.7554 83.56% Amr::timeStep() 10 0.6617 0.6617 0.6617 73.20% Castro::advance() 10 0.6507 0.6507 0.6507 71.97% Castro::subcycle_advance_ctu() 10 0.6353 0.6353 0.6353 70.27% Castro::do_advance_ctu() 10 0.6351 0.6351 0.6351 70.25% Gravity::solve_phi_with_mlmg() 11 0.3 0.3 0.3 33.18% Gravity::actual_solve_with_mlmg() 11 0.2904 0.2904 0.2904 32.13% Castro::construct_ctu_hydro_source() 10 0.2856 0.2856 0.2856 31.59% Castro::construct_new_gravity() 10 0.2741 0.2741 0.2741 30.32% MLMG::solve() 11 0.2681 0.2681 0.2681 29.66% Gravity::solve_for_phi() 10 0.2577 0.2577 0.2577 28.51% MLMG::oneIter() 81 0.2527 0.2527 0.2527 27.95% MLMG::mgVcycle() 81 0.249 0.249 0.249 27.55% VisMF::Write(FabArray) 11 0.177 0.177 0.177 19.58% Amr::checkPoint() 3 0.1352 0.1352 0.1352 14.96% AmrLevel::checkPoint() 3 0.1293 0.1293 0.1293 14.30% StateData::checkPoint() 12 0.1292 0.1292 0.1292 14.30% Amr::init() 1 0.1225 0.1225 0.1225 13.55% MLCellLinOp::smooth() 1620 0.121 0.121 0.121 13.38% MLCellLinOp::applyBC() 4298 0.1193 0.1193 0.1193 13.19% MLMG::mgVcycle_bottom 81 0.07237 0.07237 0.07237 8.01% MLMG::actualBottomSolve() 81 0.07234 0.07234 0.07234 8.00% MLCGSolver::bicgstab 81 0.07149 0.07149 0.07149 7.91% Castro::clean_state() 62 0.0608 0.0608 0.0608 6.73% Amr::initialInit() 1 0.05148 0.05148 0.05148 5.70% Amr::writePlotFile() 2 0.05047 0.05047 0.05047 5.58% AmrLevel::FillPatch() 41 0.04802 0.04802 0.04802 5.31% Amr::FinalizeInit() 1 0.04653 0.04653 0.04653 5.15% Castro::post_init() 1 0.04502 0.04502 0.04502 4.98% FillPatchIterator::Initialize 41 0.04371 0.04371 0.04371 4.84% MLCellLinOp::apply() 1047 0.04273 0.04273 0.04273 4.73% Gravity::multilevel_solve_for_new_phi() 1 0.04266 0.04266 0.04266 4.72% Gravity::actual_multilevel_solve() 1 0.04264 0.04264 0.04264 4.72% FillPatchIterator::FillFromLevel0() 41 0.04211 0.04211 0.04211 4.66% FillPatchSingleLevel 41 0.04207 0.04207 0.04207 4.65% MLMG::mgVcycle_down::0 81 0.04105 0.04105 0.04105 4.54% FabArray::FillBoundary() 3893 0.0385 0.0385 0.0385 4.26% StateDataPhysBCFunct::() 41 0.03794 0.03794 0.03794 4.20% FillBoundary_nowait() 3893 0.0377 0.0377 0.0377 4.17% MLPoisson::Fsmooth() 3240 0.03321 0.03321 0.03321 3.67% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 3.03% MLMG:computeResOfCorrection() 405 0.02698 0.02698 0.02698 2.98% MLCellLinOp::correctionResidual() 405 0.02687 0.02687 0.02687 2.97% MLMG::mgVcycle_up::0 81 0.02618 0.02618 0.02618 2.90% Castro::computeTemp() 63 0.02414 0.02414 0.02414 2.67% Castro::normalize_species() 62 0.02232 0.02232 0.02232 2.47% Castro::initialize_do_advance() 10 0.02207 0.02207 0.02207 2.44% amrex::Dot() 1100 0.02125 0.02125 0.02125 2.35% FabArray::norminf() 1048 0.01976 0.01976 0.01976 2.19% Castro::do_old_sources() 10 0.01917 0.01917 0.01917 2.12% Gravity::get_new_grav_vector() 11 0.01829 0.01829 0.01829 2.02% MLPoisson::define() 11 0.01749 0.01749 0.01749 1.93% MLMG::mgVcycle_down::1 81 0.01664 0.01664 0.01664 1.84% Castro::construct_old_gravity() 10 0.01545 0.01545 0.01545 1.71% MLMG::mgVcycle_down::2 81 0.01544 0.01544 0.01544 1.71% Gravity::get_old_grav_vector() 10 0.01543 0.01543 0.01543 1.71% MLMG::mgVcycle_down::3 81 0.01508 0.01508 0.01508 1.67% Castro::do_new_sources() 10 0.01494 0.01494 0.01494 1.65% MLMG::mgVcycle_down::4 81 0.01492 0.01492 0.01492 1.65% FabArray::ParallelCopy() 851 0.01473 0.01473 0.01473 1.63% Castro::initialize_advance() 10 0.01462 0.01462 0.01462 1.62% FabArray::ParallelCopy_nowait() 851 0.01449 0.01449 0.01449 1.60% FabArray::setVal() 1054 0.01347 0.01347 0.01347 1.49% Castro::enforce_min_density() 62 0.01333 0.01333 0.01333 1.47% FabArray::Saxpy() 1353 0.01307 0.01307 0.01307 1.45% MLCGSolver::ParallelAllReduce 1809 0.01277 0.01277 0.01277 1.41% MLMG::addInterpCorrection() 405 0.01239 0.01239 0.01239 1.37% MLMG::mgVcycle_up::1 81 0.01201 0.01201 0.01201 1.33% MLMG::mgVcycle_up::4 81 0.01192 0.01192 0.01192 1.32% MLCellLinOp::defineAuxData() 11 0.01185 0.01185 0.01185 1.31% MLMG::mgVcycle_up::2 81 0.01173 0.01173 0.01173 1.30% amrex::average_down 405 0.01164 0.01164 0.01164 1.29% Castro::expand_state() 10 0.01154 0.01154 0.01154 1.28% MLMG::mgVcycle_up::3 81 0.01151 0.01151 0.01151 1.27% Castro::post_timestep() 10 0.01087 0.01087 0.01087 1.20% amrex::Copy() 469 0.01082 0.01082 0.01082 1.20% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.13% Gravity::fill_multipole_BCs() 11 0.009303 0.009303 0.009303 1.03% FabArray::Xpay() 730 0.007828 0.007828 0.007828 0.87% MLCellLinOp::solutionResidual() 92 0.007708 0.007708 0.007708 0.85% Castro::reset_internal_energy(MultiFab) 63 0.007287 0.007287 0.007287 0.81% Castro::estTimeStep() 21 0.006791 0.006791 0.006791 0.75% MLMG::computeResidual() 81 0.006401 0.006401 0.006401 0.71% MLCellLinOp::defineBC() 11 0.005388 0.005388 0.005388 0.60% MLMG::prepareForSolve() 11 0.005254 0.005254 0.005254 0.58% BndryData::define() 11 0.005102 0.005102 0.005102 0.56% Amr::InitializeInit() 1 0.004957 0.004957 0.004957 0.55% Amr::defBaseLevel() 1 0.004952 0.004952 0.004952 0.55% Castro::initData() 1 0.004266 0.004266 0.004266 0.47% amrex::Add() 81 0.00355 0.00355 0.00355 0.39% Castro::construct_new_source() 50 0.003548 0.003548 0.003548 0.39% Castro::construct_new_gravity_source() 10 0.003501 0.003501 0.003501 0.39% Castro::construct_old_source() 50 0.003038 0.003038 0.003038 0.34% Castro::computeNewDt() 9 0.003028 0.003028 0.003028 0.33% Castro::construct_old_gravity_source() 10 0.003019 0.003019 0.003019 0.33% Castro::finalize_do_advance() 10 0.00274 0.00274 0.00274 0.30% MLMG::ResNormInf() 92 0.002165 0.002165 0.002165 0.24% Castro::apply_source_to_state() 20 0.001876 0.001876 0.001876 0.21% check_for_negative_density() 10 0.001809 0.001809 0.001809 0.20% Castro::enforce_speed_limit() 62 0.0018 0.0018 0.0018 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001784 0.001784 0.001784 0.20% Castro::reset_internal_energy(Fab) 504 0.001688 0.001688 0.001688 0.19% MLMG::getGradSolution() 11 0.001618 0.001618 0.001618 0.18% MLCellLinOp::compGrad() 11 0.001611 0.001611 0.001611 0.18% MLCellLinOp::setLevelBC() 11 0.001598 0.001598 0.001598 0.18% FabArrayBase::getCPC() 1313 0.001463 0.001463 0.001463 0.16% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.15% MLPoisson::prepareForSolve() 11 0.001363 0.001363 0.001363 0.15% MLCellLinOp::prepareForSolve() 11 0.001348 0.001348 0.001348 0.15% MLMG::computeMLResidual() 11 0.001348 0.001348 0.001348 0.15% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.14% MultiFab::contains_nan() 20 0.001271 0.001271 0.001271 0.14% Castro::post_regrid() 1 0.001192 0.001192 0.001192 0.13% Castro::computeInitialDt() 2 0.00108 0.00108 0.00108 0.12% Gravity::update_max_rhs() 11 0.0009869 0.0009869 0.0009869 0.11% FabArrayBase::getFB() 3893 0.0007009 0.0007009 0.0007009 0.08% FabArrayBase::CPC::define() 454 0.0006722 0.0006722 0.0006722 0.07% Castro::finalize_advance() 10 0.0006201 0.0006201 0.0006201 0.07% Castro::Castro() 1 0.0005976 0.0005976 0.0005976 0.07% Amr::InitAmr() 1 0.00058 0.00058 0.00058 0.06% Gravity::swapTimeLevels() 10 0.0004629 0.0004629 0.0004629 0.05% MLMG::MLResNormInf() 11 0.0003336 0.0003336 0.0003336 0.04% MultiFab::max() 11 0.0003304 0.0003304 0.0003304 0.04% Castro::buildMetrics() 1 0.0002856 0.0002856 0.0002856 0.03% MLLinOp::define() 11 0.0002311 0.0002311 0.0002311 0.03% MLMG::MLRhsNormInf() 11 0.0002298 0.0002298 0.0002298 0.03% MLLinOp::defineGrids() 11 0.0002176 0.0002176 0.0002176 0.02% Castro::create_source_corrector() 10 0.0001573 0.0001573 0.0001573 0.02% FabArrayBase::FB::FB() 56 9.339e-05 9.339e-05 9.339e-05 0.01% Castro::enforce_consistent_e() 1 6.735e-05 6.735e-05 6.735e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.937e-05 5.937e-05 5.937e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.237e-05 5.237e-05 5.237e-05 0.01% Castro::swap_state_time_levels() 10 4.447e-05 4.447e-05 4.447e-05 0.00% Castro::initMFs() 1 4.321e-05 4.321e-05 4.321e-05 0.00% StateData::define() 4 4e-05 4e-05 4e-05 0.00% makeSFC 55 3.931e-05 3.931e-05 3.931e-05 0.00% Amr::writeSmallPlotFile() 1 3.035e-05 3.035e-05 3.035e-05 0.00% DistributionMapping::Distribute() 56 1.653e-05 1.653e-05 1.653e-05 0.00% Amr::initSubcycle() 1 1.142e-05 1.142e-05 1.142e-05 0.00% AmrLevel::checkPointPost() 3 5.079e-06 5.079e-06 5.079e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.723e-06 4.723e-06 4.723e-06 0.00% Castro::retry_advance_ctu() 10 4.276e-06 4.276e-06 4.276e-06 0.00% Gravity::set_mass_offset() 11 3.723e-06 3.723e-06 3.723e-06 0.00% Castro::FluxRegCrseInit 10 2.957e-06 2.957e-06 2.957e-06 0.00% AmrLevel::checkPointPre() 3 2.469e-06 2.469e-06 2.469e-06 0.00% Castro::FluxRegFineAdd() 10 2.304e-06 2.304e-06 2.304e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.949e-06 1.949e-06 1.949e-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 131 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 1020 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1561 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3648 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2116 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 333 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 3667 B 480 KiB VisMF::Write(FabArray) 656 656 3407 B 320 KiB Castro::normalize_species() 62 62 8048 B 320 KiB amrex::average_down 1054 1054 1617 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1176 B 257 KiB amrex::Dot() 1343 1343 3472 B 160 KiB FabArray::norminf() 1129 1129 3378 B 160 KiB check_for_negative_density() 10 10 321 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3561 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 364 B 9648 B MLCellLinOp::applyBC() 8596 8596 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3946 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2400 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 376 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 560 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 427 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3561 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 364 B 9648 B MLCellLinOp::applyBC() 4298 4298 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3946 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2400 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 304 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): 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-34-g3525b4a3f27e) finalized Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 09:30:54 UTC on 2024-03-06. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.523242686 Restart time = 0.072402557 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.068642531 [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.049212118 [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.072302153 [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.074946586 [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.063645892 [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.028611617 seconds Ending run at 09:30:55 UTC on 2024-03-06. Run time = 0.430960046 Run time without initialization = 0.357855829 Average number of zones advanced per microsecond: 3.663 Average number of zones advanced per microsecond per rank: 3.663 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.431 ... 0.431 ... 0.431 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1329 0.1329 0.1329 30.84% VisMF::Read() 3 0.06057 0.06057 0.06057 14.05% MLCellLinOp::applyBC() 1910 0.03572 0.03572 0.03572 8.29% VisMF::Write(FabArray) 1 0.02597 0.02597 0.02597 6.02% MLPoisson::Fsmooth() 1440 0.01464 0.01464 0.01464 3.40% StateData::FillBoundary(geom) 160 0.01359 0.01359 0.01359 3.15% FillBoundary_nowait() 1730 0.01296 0.01296 0.01296 3.01% Castro::normalize_species() 30 0.01058 0.01058 0.01058 2.46% amrex::Dot() 484 0.009274 0.009274 0.009274 2.15% FabArray::norminf() 465 0.008683 0.008683 0.008683 2.01% Castro::computeTemp() 30 0.007857 0.007857 0.007857 1.82% Castro::enforce_min_density() 30 0.006745 0.006745 0.006745 1.56% FabArray::setVal() 501 0.006633 0.006633 0.006633 1.54% FabArray::ParallelCopy_nowait() 380 0.006216 0.006216 0.006216 1.44% FabArray::Saxpy() 597 0.005889 0.005889 0.005889 1.37% MLCellLinOp::defineAuxData() 6 0.005683 0.005683 0.005683 1.32% Gravity::fill_multipole_BCs() 6 0.005627 0.005627 0.005627 1.31% amrex::Copy() 221 0.005462 0.005462 0.005462 1.27% StateDataPhysBCFunct::() 20 0.005083 0.005083 0.005083 1.18% Amr::restart() 1 0.004934 0.004934 0.004934 1.14% MLPoisson::Fapply() 464 0.004527 0.004527 0.004527 1.05% FabArray::Xpay() 325 0.003493 0.003493 0.003493 0.81% MLMG::addInterpCorrection() 180 0.00319 0.00319 0.00319 0.74% Castro::estTimeStep() 10 0.00305 0.00305 0.00305 0.71% amrex::average_down 180 0.003017 0.003017 0.003017 0.70% Amr::writePlotFile() 1 0.002506 0.002506 0.002506 0.58% BndryData::define() 6 0.002214 0.002214 0.002214 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002122 0.002122 0.002122 0.49% Castro::construct_new_gravity_source() 5 0.001599 0.001599 0.001599 0.37% amrex::Add() 36 0.001545 0.001545 0.001545 0.36% Castro::construct_old_gravity_source() 5 0.001257 0.001257 0.001257 0.29% Castro::enforce_speed_limit() 30 0.001126 0.001126 0.001126 0.26% check_for_negative_density() 5 0.0009826 0.0009826 0.0009826 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009808 0.0009808 0.0009808 0.23% MLCellLinOp::setLevelBC() 6 0.0008875 0.0008875 0.0008875 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008785 0.0008785 0.0008785 0.20% Castro::reset_internal_energy(Fab) 240 0.0008279 0.0008279 0.0008279 0.19% MLCellLinOp::prepareForSolve() 6 0.0007619 0.0007619 0.0007619 0.18% MLCGSolver::bicgstab 36 0.0007314 0.0007314 0.0007314 0.17% FabArray::setDomainBndry() 20 0.0007107 0.0007107 0.0007107 0.16% FabArray::mult() 22 0.0007001 0.0007001 0.0007001 0.16% MultiFab::contains_nan() 10 0.0006757 0.0006757 0.0006757 0.16% MLCellLinOp::compGrad() 6 0.0006215 0.0006215 0.0006215 0.14% MLMG::prepareForSolve() 6 0.0005908 0.0005908 0.0005908 0.14% MLCellLinOp::smooth() 720 0.0004992 0.0004992 0.0004992 0.12% Amr::InitAmr() 1 0.0004958 0.0004958 0.0004958 0.12% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::getCPC() 632 0.0003649 0.0003649 0.0003649 0.08% FabArray::FillBoundary() 1730 0.0003607 0.0003607 0.0003607 0.08% Gravity::get_old_grav_vector() 5 0.0003329 0.0003329 0.0003329 0.08% main() 1 0.0003088 0.0003088 0.0003088 0.07% Gravity::get_new_grav_vector() 5 0.0002689 0.0002689 0.0002689 0.06% FabArrayBase::getFB() 1730 0.000265 0.000265 0.000265 0.06% MultiFab::max() 6 0.0002077 0.0002077 0.0002077 0.05% AmrLevel::FillPatch() 20 0.0002064 0.0002064 0.0002064 0.05% MLCellLinOp::apply() 464 0.000195 0.000195 0.000195 0.05% Amr::coarseTimeStep() 5 0.000195 0.000195 0.000195 0.05% MLCGSolver::ParallelAllReduce 798 0.0001567 0.0001567 0.0001567 0.04% MLCellLinOp::defineBC() 6 0.0001442 0.0001442 0.0001442 0.03% FillPatchIterator::Initialize 20 0.0001092 0.0001092 0.0001092 0.03% Castro::create_source_corrector() 5 0.000109 0.000109 0.000109 0.03% FabArray::ParallelCopy() 380 0.0001087 0.0001087 0.0001087 0.03% Castro::construct_new_source() 25 0.0001032 0.0001032 0.0001032 0.02% Castro::subcycle_advance_ctu() 5 0.0001011 0.0001011 0.0001011 0.02% MLLinOp::defineGrids() 6 9.924e-05 9.924e-05 9.924e-05 0.02% Amr::timeStep() 5 9.657e-05 9.657e-05 9.657e-05 0.02% MLMG::mgVcycle() 36 8.301e-05 8.301e-05 8.301e-05 0.02% AmrLevel::restart() 1 8.093e-05 8.093e-05 8.093e-05 0.02% MLCellLinOp::correctionResidual() 180 7.306e-05 7.306e-05 7.306e-05 0.02% Castro::initialize_do_advance() 5 6.757e-05 6.757e-05 6.757e-05 0.02% StateData::restartDoit() 4 6.691e-05 6.691e-05 6.691e-05 0.02% Gravity::update_max_rhs() 6 6.608e-05 6.608e-05 6.608e-05 0.02% FabArrayBase::FB::FB() 26 6.523e-05 6.523e-05 6.523e-05 0.02% Castro::finalize_do_advance() 5 6.367e-05 6.367e-05 6.367e-05 0.01% Castro::advance() 5 5.888e-05 5.888e-05 5.888e-05 0.01% Gravity::solve_for_phi() 5 5.852e-05 5.852e-05 5.852e-05 0.01% MLMG:computeResOfCorrection() 180 4.781e-05 4.781e-05 4.781e-05 0.01% Castro::do_advance_ctu() 5 4.509e-05 4.509e-05 4.509e-05 0.01% MLMG::actualBottomSolve() 36 4.19e-05 4.19e-05 4.19e-05 0.01% MLMG::mgVcycle_down::0 36 3.911e-05 3.911e-05 3.911e-05 0.01% Castro::post_timestep() 5 3.685e-05 3.685e-05 3.685e-05 0.01% MLMG::mgVcycle_down::1 36 3.671e-05 3.671e-05 3.671e-05 0.01% Castro::initialize_advance() 5 3.613e-05 3.613e-05 3.613e-05 0.01% MLMG::mgVcycle_down::3 36 3.456e-05 3.456e-05 3.456e-05 0.01% MLMG::solve() 6 3.446e-05 3.446e-05 3.446e-05 0.01% MLMG::mgVcycle_down::2 36 3.409e-05 3.409e-05 3.409e-05 0.01% Castro::clean_state() 30 3.367e-05 3.367e-05 3.367e-05 0.01% Amr::writeSmallPlotFile() 1 3.319e-05 3.319e-05 3.319e-05 0.01% MLMG::mgVcycle_down::4 36 3.278e-05 3.278e-05 3.278e-05 0.01% Castro::finalize_advance() 5 3.162e-05 3.162e-05 3.162e-05 0.01% Castro::post_restart() 1 2.914e-05 2.914e-05 2.914e-05 0.01% Castro::do_new_sources() 5 2.896e-05 2.896e-05 2.896e-05 0.01% Castro::buildMetrics() 1 2.782e-05 2.782e-05 2.782e-05 0.01% MLMG::mgVcycle_up::4 36 2.768e-05 2.768e-05 2.768e-05 0.01% Castro::construct_old_source() 25 2.593e-05 2.593e-05 2.593e-05 0.01% Castro::swap_state_time_levels() 5 2.525e-05 2.525e-05 2.525e-05 0.01% MLMG::oneIter() 36 2.466e-05 2.466e-05 2.466e-05 0.01% Castro::initMFs() 1 2.361e-05 2.361e-05 2.361e-05 0.01% MLCellLinOp::solutionResidual() 42 2.337e-05 2.337e-05 2.337e-05 0.01% MLMG::mgVcycle_up::3 36 2.334e-05 2.334e-05 2.334e-05 0.01% MLMG::mgVcycle_up::0 36 2.282e-05 2.282e-05 2.282e-05 0.01% MLMG::mgVcycle_up::2 36 2.176e-05 2.176e-05 2.176e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.068e-05 2.068e-05 2.068e-05 0.00% MLMG::mgVcycle_up::1 36 2.059e-05 2.059e-05 2.059e-05 0.00% Castro::construct_new_gravity() 5 1.842e-05 1.842e-05 1.842e-05 0.00% MLMG::ResNormInf() 42 1.827e-05 1.827e-05 1.827e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.679e-05 1.679e-05 1.679e-05 0.00% FillPatchSingleLevel 20 1.567e-05 1.567e-05 1.567e-05 0.00% MLPoisson::define() 6 1.467e-05 1.467e-05 1.467e-05 0.00% makeSFC 30 1.456e-05 1.456e-05 1.456e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.429e-05 1.429e-05 1.429e-05 0.00% MLMG::mgVcycle_bottom 36 1.425e-05 1.425e-05 1.425e-05 0.00% MLMG::computeResidual() 36 1.364e-05 1.364e-05 1.364e-05 0.00% Castro::do_old_sources() 5 1.177e-05 1.177e-05 1.177e-05 0.00% MLPoisson::prepareForSolve() 6 1.141e-05 1.141e-05 1.141e-05 0.00% DistributionMapping::Distribute() 31 9.667e-06 9.667e-06 9.667e-06 0.00% Amr::initSubcycle() 1 9.284e-06 9.284e-06 9.284e-06 0.00% Gravity::actual_multilevel_solve() 1 8.888e-06 8.888e-06 8.888e-06 0.00% MLLinOp::define() 6 8.199e-06 8.199e-06 8.199e-06 0.00% Castro::check_for_nan() 10 7.651e-06 7.651e-06 7.651e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.283e-06 7.283e-06 7.283e-06 0.00% Castro::construct_old_gravity() 5 6.503e-06 6.503e-06 6.503e-06 0.00% Castro::apply_source_to_state() 10 6.417e-06 6.417e-06 6.417e-06 0.00% MLMG::computeMLResidual() 6 4.27e-06 4.27e-06 4.27e-06 0.00% Gravity::swapTimeLevels() 5 3.961e-06 3.961e-06 3.961e-06 0.00% MLMG::getGradSolution() 6 3.39e-06 3.39e-06 3.39e-06 0.00% Castro::computeNewDt() 5 3.348e-06 3.348e-06 3.348e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.143e-06 3.143e-06 3.143e-06 0.00% Castro::expand_state() 5 2.747e-06 2.747e-06 2.747e-06 0.00% MLMG::MLResNormInf() 6 2.523e-06 2.523e-06 2.523e-06 0.00% Gravity::set_mass_offset() 6 2.267e-06 2.267e-06 2.267e-06 0.00% MLMG::MLRhsNormInf() 6 2.233e-06 2.233e-06 2.233e-06 0.00% Castro::retry_advance_ctu() 5 1.966e-06 1.966e-06 1.966e-06 0.00% Castro::FluxRegCrseInit 5 1.522e-06 1.522e-06 1.522e-06 0.00% Amr::init() 1 1.503e-06 1.503e-06 1.503e-06 0.00% Castro::FluxRegFineAdd() 5 1.213e-06 1.213e-06 1.213e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.062e-06 1.062e-06 1.062e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.431 0.431 0.431 100.00% Amr::coarseTimeStep() 5 0.3289 0.3289 0.3289 76.32% Amr::timeStep() 5 0.3268 0.3268 0.3268 75.84% Castro::advance() 5 0.3213 0.3213 0.3213 74.55% Castro::subcycle_advance_ctu() 5 0.3139 0.3139 0.3139 72.84% Castro::do_advance_ctu() 5 0.3138 0.3138 0.3138 72.82% Castro::construct_ctu_hydro_source() 5 0.1386 0.1386 0.1386 32.15% Castro::construct_new_gravity() 5 0.1365 0.1365 0.1365 31.66% Gravity::solve_phi_with_mlmg() 6 0.134 0.134 0.134 31.08% Gravity::solve_for_phi() 5 0.1282 0.1282 0.1282 29.74% Gravity::actual_solve_with_mlmg() 6 0.1281 0.1281 0.1281 29.72% MLMG::solve() 6 0.1159 0.1159 0.1159 26.88% MLMG::oneIter() 36 0.1081 0.1081 0.1081 25.08% MLMG::mgVcycle() 36 0.1065 0.1065 0.1065 24.71% Amr::init() 1 0.07246 0.07246 0.07246 16.81% Amr::restart() 1 0.07246 0.07246 0.07246 16.81% AmrLevel::restart() 1 0.06094 0.06094 0.06094 14.14% StateData::restartDoit() 4 0.06086 0.06086 0.06086 14.12% VisMF::Read() 3 0.06057 0.06057 0.06057 14.05% MLCellLinOp::smooth() 720 0.05288 0.05288 0.05288 12.27% MLCellLinOp::applyBC() 1910 0.04937 0.04937 0.04937 11.46% MLMG::mgVcycle_bottom 36 0.03175 0.03175 0.03175 7.37% MLMG::actualBottomSolve() 36 0.03173 0.03173 0.03173 7.36% MLCGSolver::bicgstab 36 0.03136 0.03136 0.03136 7.28% Castro::clean_state() 30 0.0293 0.0293 0.0293 6.80% Amr::writePlotFile() 1 0.02873 0.02873 0.02873 6.67% VisMF::Write(FabArray) 1 0.02597 0.02597 0.02597 6.02% AmrLevel::FillPatch() 20 0.0237 0.0237 0.0237 5.50% FillPatchIterator::Initialize 20 0.02158 0.02158 0.02158 5.01% FillPatchIterator::FillFromLevel0() 20 0.02076 0.02076 0.02076 4.82% FillPatchSingleLevel 20 0.02074 0.02074 0.02074 4.81% StateDataPhysBCFunct::() 20 0.01867 0.01867 0.01867 4.33% MLCellLinOp::apply() 464 0.01607 0.01607 0.01607 3.73% MLMG::mgVcycle_down::0 36 0.01524 0.01524 0.01524 3.54% MLPoisson::Fsmooth() 1440 0.01464 0.01464 0.01464 3.40% FabArray::FillBoundary() 1730 0.01365 0.01365 0.01365 3.17% StateData::FillBoundary(geom) 160 0.01359 0.01359 0.01359 3.15% FillBoundary_nowait() 1730 0.01329 0.01329 0.01329 3.08% Castro::initialize_do_advance() 5 0.01191 0.01191 0.01191 2.76% MLMG::mgVcycle_up::0 36 0.01128 0.01128 0.01128 2.62% Castro::computeTemp() 30 0.01081 0.01081 0.01081 2.51% Castro::normalize_species() 30 0.01058 0.01058 0.01058 2.46% Castro::do_old_sources() 5 0.009697 0.009697 0.009697 2.25% MLPoisson::define() 6 0.009562 0.009562 0.009562 2.22% amrex::Dot() 484 0.009274 0.009274 0.009274 2.15% MLMG:computeResOfCorrection() 180 0.008938 0.008938 0.008938 2.07% MLCellLinOp::correctionResidual() 180 0.00889 0.00889 0.00889 2.06% FabArray::norminf() 465 0.008683 0.008683 0.008683 2.01% Gravity::get_new_grav_vector() 5 0.008146 0.008146 0.008146 1.89% Castro::construct_old_gravity() 5 0.007917 0.007917 0.007917 1.84% Gravity::get_old_grav_vector() 5 0.00791 0.00791 0.00791 1.84% Castro::do_new_sources() 5 0.007545 0.007545 0.007545 1.75% MLMG::mgVcycle_down::1 36 0.007444 0.007444 0.007444 1.73% Castro::initialize_advance() 5 0.007012 0.007012 0.007012 1.63% MLMG::mgVcycle_down::2 36 0.006795 0.006795 0.006795 1.58% Castro::enforce_min_density() 30 0.006745 0.006745 0.006745 1.56% FabArray::ParallelCopy() 380 0.006725 0.006725 0.006725 1.56% MLMG::mgVcycle_down::3 36 0.006633 0.006633 0.006633 1.54% FabArray::setVal() 501 0.006633 0.006633 0.006633 1.54% FabArray::ParallelCopy_nowait() 380 0.006616 0.006616 0.006616 1.54% MLMG::mgVcycle_down::4 36 0.006575 0.006575 0.006575 1.53% MLCellLinOp::defineAuxData() 6 0.006466 0.006466 0.006466 1.50% Castro::post_restart() 1 0.006406 0.006406 0.006406 1.49% Castro::expand_state() 5 0.006192 0.006192 0.006192 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.00603 0.00603 0.00603 1.40% Gravity::actual_multilevel_solve() 1 0.006013 0.006013 0.006013 1.40% FabArray::Saxpy() 597 0.005889 0.005889 0.005889 1.37% Gravity::fill_multipole_BCs() 6 0.00575 0.00575 0.00575 1.33% MLCGSolver::ParallelAllReduce 798 0.005649 0.005649 0.005649 1.31% MLMG::addInterpCorrection() 180 0.005496 0.005496 0.005496 1.28% amrex::Copy() 221 0.005462 0.005462 0.005462 1.27% Castro::post_timestep() 5 0.005446 0.005446 0.005446 1.26% amrex::average_down 180 0.00538 0.00538 0.00538 1.25% MLMG::mgVcycle_up::4 36 0.005273 0.005273 0.005273 1.22% MLMG::mgVcycle_up::1 36 0.005266 0.005266 0.005266 1.22% MLMG::mgVcycle_up::2 36 0.00513 0.00513 0.00513 1.19% MLMG::mgVcycle_up::3 36 0.005049 0.005049 0.005049 1.17% MLPoisson::Fapply() 464 0.004527 0.004527 0.004527 1.05% MLCellLinOp::solutionResidual() 42 0.003638 0.003638 0.003638 0.84% FabArray::Xpay() 325 0.003493 0.003493 0.003493 0.81% Castro::estTimeStep() 10 0.00305 0.00305 0.00305 0.71% MLMG::prepareForSolve() 6 0.002953 0.002953 0.002953 0.69% Castro::reset_internal_energy(MultiFab) 30 0.00295 0.00295 0.00295 0.68% MLCellLinOp::defineBC() 6 0.002943 0.002943 0.002943 0.68% MLMG::computeResidual() 36 0.002812 0.002812 0.002812 0.65% BndryData::define() 6 0.002799 0.002799 0.002799 0.65% Castro::computeNewDt() 5 0.001891 0.001891 0.001891 0.44% Castro::construct_new_source() 25 0.001703 0.001703 0.001703 0.40% Castro::construct_new_gravity_source() 5 0.001599 0.001599 0.001599 0.37% amrex::Add() 36 0.001545 0.001545 0.001545 0.36% Castro::construct_old_source() 25 0.001283 0.001283 0.001283 0.30% Castro::construct_old_gravity_source() 5 0.001257 0.001257 0.001257 0.29% Castro::finalize_do_advance() 5 0.001226 0.001226 0.001226 0.28% Castro::enforce_speed_limit() 30 0.001126 0.001126 0.001126 0.26% MLMG::ResNormInf() 42 0.0009969 0.0009969 0.0009969 0.23% check_for_negative_density() 5 0.0009826 0.0009826 0.0009826 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009808 0.0009808 0.0009808 0.23% Castro::apply_source_to_state() 10 0.0009654 0.0009654 0.0009654 0.22% MLMG::getGradSolution() 6 0.0009092 0.0009092 0.0009092 0.21% MLCellLinOp::compGrad() 6 0.0009058 0.0009058 0.0009058 0.21% MLCellLinOp::setLevelBC() 6 0.0008875 0.0008875 0.0008875 0.21% MLMG::computeMLResidual() 6 0.0008436 0.0008436 0.0008436 0.20% Castro::reset_internal_energy(Fab) 240 0.0008279 0.0008279 0.0008279 0.19% FabArrayBase::getCPC() 632 0.0007867 0.0007867 0.0007867 0.18% MLPoisson::prepareForSolve() 6 0.0007733 0.0007733 0.0007733 0.18% MLCellLinOp::prepareForSolve() 6 0.0007619 0.0007619 0.0007619 0.18% Gravity::update_max_rhs() 6 0.0007214 0.0007214 0.0007214 0.17% FabArray::setDomainBndry() 20 0.0007107 0.0007107 0.0007107 0.16% FabArray::mult() 22 0.0007001 0.0007001 0.0007001 0.16% Castro::check_for_nan() 10 0.0006833 0.0006833 0.0006833 0.16% MultiFab::contains_nan() 10 0.0006757 0.0006757 0.0006757 0.16% Amr::InitAmr() 1 0.0005051 0.0005051 0.0005051 0.12% FabArrayBase::CPC::define() 244 0.0004217 0.0004217 0.0004217 0.10% FabArrayBase::getFB() 1730 0.0003302 0.0003302 0.0003302 0.08% Castro::finalize_advance() 5 0.0003008 0.0003008 0.0003008 0.07% Gravity::swapTimeLevels() 5 0.0002446 0.0002446 0.0002446 0.06% MultiFab::max() 6 0.0002077 0.0002077 0.0002077 0.05% MLMG::MLResNormInf() 6 0.000198 0.000198 0.000198 0.05% Castro::buildMetrics() 1 0.0001535 0.0001535 0.0001535 0.04% MLLinOp::define() 6 0.0001386 0.0001386 0.0001386 0.03% MLLinOp::defineGrids() 6 0.0001304 0.0001304 0.0001304 0.03% MLMG::MLRhsNormInf() 6 0.0001221 0.0001221 0.0001221 0.03% Castro::create_source_corrector() 5 0.000109 0.000109 0.000109 0.03% FabArrayBase::FB::FB() 26 6.523e-05 6.523e-05 6.523e-05 0.02% Amr::writeSmallPlotFile() 1 3.319e-05 3.319e-05 3.319e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.008e-05 3.008e-05 3.008e-05 0.01% Castro::swap_state_time_levels() 5 2.525e-05 2.525e-05 2.525e-05 0.01% Castro::initMFs() 1 2.361e-05 2.361e-05 2.361e-05 0.01% makeSFC 30 2.28e-05 2.28e-05 2.28e-05 0.01% DistributionMapping::Distribute() 31 9.667e-06 9.667e-06 9.667e-06 0.00% Amr::initSubcycle() 1 9.284e-06 9.284e-06 9.284e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.571e-06 4.571e-06 4.571e-06 0.00% Gravity::set_mass_offset() 6 2.267e-06 2.267e-06 2.267e-06 0.00% Castro::retry_advance_ctu() 5 1.966e-06 1.966e-06 1.966e-06 0.00% Castro::FluxRegCrseInit 5 1.522e-06 1.522e-06 1.522e-06 0.00% Castro::FluxRegFineAdd() 5 1.213e-06 1.213e-06 1.213e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.062e-06 1.062e-06 1.062e-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 183 MiB 9042 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 1093 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1777 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6406 KiB 14 MiB MLMG::prepareForSolve() 361 361 3299 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6393 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3325 B 2048 KiB Gravity::solve_for_phi() 40 40 607 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3354 B 480 KiB VisMF::Write(FabArray) 112 112 2344 B 320 KiB Castro::normalize_species() 30 30 7989 B 320 KiB amrex::average_down 469 469 1540 B 257 KiB MLMG::addInterpCorrection() 468 468 1091 B 257 KiB amrex::Dot() 592 592 3167 B 160 KiB FabArray::norminf() 501 501 3109 B 160 KiB check_for_negative_density() 5 5 359 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3194 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 3820 3820 207 B 9344 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 342 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1161 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 158 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3194 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1910 1910 205 B 9328 B amrex::Copy() 56 56 5839 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2506 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 794 B 1648 B amrex::average_down 37 37 460 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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-34-g3525b4a3f27e) finalized