Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-3-g8515ea846f85) initialized Starting run at 08:32:34 UTC on 2023-10-02. Successfully read inputs file ... Castro git describe: 23.10 AMReX git describe: 23.10-3-g8515ea846 Microphysics git describe: 23.10 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.051688137 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.029275625 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.051654199 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.072273007 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.077828928 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.060733738 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.056691676 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.050365384 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.065966479 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.08015799 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.076283471 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057454912 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.060955758 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.049298597 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028671943 seconds Ending run at 08:32:34 UTC on 2023-10-02. Run time = 0.924880086 Run time without initialization = 0.789050783 Average number of zones advanced per microsecond: 3.322 Average number of zones advanced per microsecond per rank: 3.322 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9249 ... 0.9249 ... 0.9249 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2887 0.2887 0.2887 31.21% VisMF::Write(FabArray) 11 0.2014 0.2014 0.2014 21.77% MLCellLinOp::applyBC() 4433 0.07807 0.07807 0.07807 8.44% MLPoisson::Fsmooth() 3280 0.03306 0.03306 0.03306 3.57% FillBoundary_nowait() 4023 0.03052 0.03052 0.03052 3.30% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.84% amrex::Dot() 1114 0.02099 0.02099 0.02099 2.27% Castro::normalize_species() 62 0.02 0.02 0.02 2.16% Castro::computeTemp() 63 0.01706 0.01706 0.01706 1.84% amrex::Copy() 1029 0.01513 0.01513 0.01513 1.64% FabArray::norminf() 743 0.01465 0.01465 0.01465 1.58% FabArray::setVal() 1144 0.01342 0.01342 0.01342 1.45% FabArray::ParallelCopy_nowait() 861 0.0134 0.0134 0.0134 1.45% Castro::enforce_min_density() 62 0.01125 0.01125 0.01125 1.22% MLPoisson::Fapply() 1142 0.01065 0.01065 0.01065 1.15% StateDataPhysBCFunct::() 41 0.01036 0.01036 0.01036 1.12% MLCellLinOp::defineAuxData() 11 0.009927 0.009927 0.009927 1.07% Gravity::fill_multipole_BCs() 11 0.009051 0.009051 0.009051 0.98% FabArray::Saxpy() 813 0.008358 0.008358 0.008358 0.90% FabArray::Xpay() 821 0.008242 0.008242 0.008242 0.89% MLMG::addInterpCorrection() 410 0.006858 0.006858 0.006858 0.74% amrex::average_down 410 0.006161 0.006161 0.006161 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005554 0.005554 0.005554 0.60% Castro::estTimeStep() 21 0.005492 0.005492 0.005492 0.59% Amr::checkPoint() 3 0.00519 0.00519 0.00519 0.56% FabArray::LinComb() 557 0.004605 0.004605 0.004605 0.50% amrex::Add() 164 0.00443 0.00443 0.00443 0.48% BndryData::define() 11 0.003809 0.003809 0.003809 0.41% Castro::construct_new_gravity_source() 10 0.003268 0.003268 0.003268 0.35% Castro::construct_old_gravity_source() 10 0.002843 0.002843 0.002843 0.31% Amr::writePlotFile() 2 0.002283 0.002283 0.002283 0.25% MLCGSolver::bicgstab 82 0.002265 0.002265 0.002265 0.24% Castro::enforce_speed_limit() 62 0.001973 0.001973 0.001973 0.21% check_for_negative_density() 10 0.001898 0.001898 0.001898 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% Gravity::actual_solve_with_mlmg() 11 0.001564 0.001564 0.001564 0.17% Castro::initData() 1 0.001515 0.001515 0.001515 0.16% MLCellLinOp::setLevelBC() 11 0.001466 0.001466 0.001466 0.16% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001358 0.001358 0.001358 0.15% MLCellLinOp::prepareForSolve() 11 0.001288 0.001288 0.001288 0.14% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.14% MLCellLinOp::smooth() 1640 0.001095 0.001095 0.001095 0.12% MLCellLinOp::compGrad() 11 0.001073 0.001073 0.001073 0.12% MLMG::prepareForSolve() 11 0.0009515 0.0009515 0.0009515 0.10% FabArray::FillBoundary() 4023 0.0008095 0.0008095 0.0008095 0.09% FabArrayBase::getCPC() 1323 0.0007934 0.0007934 0.0007934 0.09% FabArrayBase::CPC::define() 454 0.0006679 0.0006679 0.0006679 0.07% FabArrayBase::getFB() 4023 0.0006164 0.0006164 0.0006164 0.07% Gravity::get_new_grav_vector() 11 0.0005942 0.0005942 0.0005942 0.06% Amr::InitAmr() 1 0.0004935 0.0004935 0.0004935 0.05% Gravity::get_old_grav_vector() 10 0.000478 0.000478 0.000478 0.05% MLCellLinOp::apply() 1142 0.0004727 0.0004727 0.0004727 0.05% Amr::coarseTimeStep() 10 0.0004153 0.0004153 0.0004153 0.04% AmrLevel::FillPatch() 41 0.0003429 0.0003429 0.0003429 0.04% MultiFab::max() 11 0.0003266 0.0003266 0.0003266 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002962 0.0002962 0.0002962 0.03% main() 1 0.0002684 0.0002684 0.0002684 0.03% FabArray::ParallelCopy() 861 0.0002524 0.0002524 0.0002524 0.03% MLCellLinOp::defineBC() 11 0.0002337 0.0002337 0.0002337 0.03% MLCellLinOp::correctionResidual() 492 0.000231 0.000231 0.000231 0.02% FillPatchIterator::Initialize 41 0.0002277 0.0002277 0.0002277 0.02% MLMG::mgVcycle() 82 0.0002022 0.0002022 0.0002022 0.02% Castro::subcycle_advance_ctu() 10 0.0001848 0.0001848 0.0001848 0.02% Castro::create_source_corrector() 10 0.0001581 0.0001581 0.0001581 0.02% MLLinOp::defineGrids() 11 0.0001561 0.0001561 0.0001561 0.02% Amr::timeStep() 10 0.0001474 0.0001474 0.0001474 0.02% Gravity::solve_for_phi() 10 0.0001447 0.0001447 0.0001447 0.02% StateData::checkPoint() 12 0.0001323 0.0001323 0.0001323 0.01% MLMG:computeResOfCorrection() 410 0.0001317 0.0001317 0.0001317 0.01% Gravity::update_max_rhs() 11 0.000125 0.000125 0.000125 0.01% Castro::Castro() 1 9.586e-05 9.586e-05 9.586e-05 0.01% FabArrayBase::FB::FB() 56 9.416e-05 9.416e-05 9.416e-05 0.01% MLMG::actualBottomSolve() 82 9.015e-05 9.015e-05 9.015e-05 0.01% Castro::advance() 10 8.856e-05 8.856e-05 8.856e-05 0.01% MLMG::mgVcycle_down::0 82 8.582e-05 8.582e-05 8.582e-05 0.01% MLMG::mgVcycle_down::4 82 8.013e-05 8.013e-05 8.013e-05 0.01% MLMG::mgVcycle_down::1 82 7.635e-05 7.635e-05 7.635e-05 0.01% MLMG::mgVcycle_down::2 82 7.541e-05 7.541e-05 7.541e-05 0.01% Castro::initialize_advance() 10 7.533e-05 7.533e-05 7.533e-05 0.01% MLMG::solve() 11 7.466e-05 7.466e-05 7.466e-05 0.01% Castro::clean_state() 62 7.132e-05 7.132e-05 7.132e-05 0.01% MLMG::mgVcycle_down::3 82 7.029e-05 7.029e-05 7.029e-05 0.01% Castro::enforce_consistent_e() 1 6.999e-05 6.999e-05 6.999e-05 0.01% Castro::finalize_advance() 10 6.605e-05 6.605e-05 6.605e-05 0.01% AmrLevel::checkPoint() 3 6.512e-05 6.512e-05 6.512e-05 0.01% MLMG::mgVcycle_up::4 82 6.033e-05 6.033e-05 6.033e-05 0.01% Castro::initialize_do_advance() 10 5.727e-05 5.727e-05 5.727e-05 0.01% MLMG::oneIter() 82 5.495e-05 5.495e-05 5.495e-05 0.01% MLMG::mgVcycle_up::0 82 5.383e-05 5.383e-05 5.383e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.332e-05 5.332e-05 5.332e-05 0.01% Castro::do_new_sources() 10 5.213e-05 5.213e-05 5.213e-05 0.01% MLMG::mgVcycle_up::3 82 5.073e-05 5.073e-05 5.073e-05 0.01% MLMG::mgVcycle_up::1 82 4.893e-05 4.893e-05 4.893e-05 0.01% MLCellLinOp::solutionResidual() 93 4.846e-05 4.846e-05 4.846e-05 0.01% MLMG::mgVcycle_up::2 82 4.801e-05 4.801e-05 4.801e-05 0.01% Castro::do_advance_ctu() 10 4.778e-05 4.778e-05 4.778e-05 0.01% Castro::post_timestep() 10 4.345e-05 4.345e-05 4.345e-05 0.00% StateData::define() 4 4.231e-05 4.231e-05 4.231e-05 0.00% Castro::finalize_do_advance() 10 4.113e-05 4.113e-05 4.113e-05 0.00% MLMG::mgVcycle_bottom 82 3.745e-05 3.745e-05 3.745e-05 0.00% Castro::swap_state_time_levels() 10 3.651e-05 3.651e-05 3.651e-05 0.00% MLMG::computeResidual() 82 3.565e-05 3.565e-05 3.565e-05 0.00% FillPatchSingleLevel 41 3.374e-05 3.374e-05 3.374e-05 0.00% MLMG::ResNormInf() 93 3.167e-05 3.167e-05 3.167e-05 0.00% Amr::defBaseLevel() 1 2.967e-05 2.967e-05 2.967e-05 0.00% Castro::initMFs() 1 2.899e-05 2.899e-05 2.899e-05 0.00% Castro::buildMetrics() 1 2.801e-05 2.801e-05 2.801e-05 0.00% Amr::writeSmallPlotFile() 1 2.772e-05 2.772e-05 2.772e-05 0.00% Castro::construct_new_gravity() 10 2.423e-05 2.423e-05 2.423e-05 0.00% makeSFC 55 2.373e-05 2.373e-05 2.373e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.348e-05 2.348e-05 2.348e-05 0.00% Castro::do_old_sources() 10 2.158e-05 2.158e-05 2.158e-05 0.00% MLPoisson::define() 11 2.034e-05 2.034e-05 2.034e-05 0.00% Castro::construct_old_source() 50 1.952e-05 1.952e-05 1.952e-05 0.00% Castro::construct_new_source() 50 1.872e-05 1.872e-05 1.872e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.854e-05 1.854e-05 1.854e-05 0.00% Amr::FinalizeInit() 1 1.853e-05 1.853e-05 1.853e-05 0.00% MLLinOp::define() 11 1.676e-05 1.676e-05 1.676e-05 0.00% DistributionMapping::Distribute() 56 1.594e-05 1.594e-05 1.594e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::check_for_nan() 20 1.272e-05 1.272e-05 1.272e-05 0.00% Castro::construct_old_gravity() 10 1.2e-05 1.2e-05 1.2e-05 0.00% Castro::apply_source_to_state() 20 1.129e-05 1.129e-05 1.129e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.042e-05 1.042e-05 1.042e-05 0.00% Amr::initSubcycle() 1 9.673e-06 9.673e-06 9.673e-06 0.00% Castro::post_init() 1 9.335e-06 9.335e-06 9.335e-06 0.00% Gravity::actual_multilevel_solve() 1 8.711e-06 8.711e-06 8.711e-06 0.00% Gravity::swapTimeLevels() 10 8.61e-06 8.61e-06 8.61e-06 0.00% MLMG::computeMLResidual() 11 8.339e-06 8.339e-06 8.339e-06 0.00% MLPoisson::prepareForSolve() 11 8.035e-06 8.035e-06 8.035e-06 0.00% Castro::computeNewDt() 9 8.008e-06 8.008e-06 8.008e-06 0.00% MLMG::getGradSolution() 11 5.921e-06 5.921e-06 5.921e-06 0.00% Castro::expand_state() 10 5.693e-06 5.693e-06 5.693e-06 0.00% Amr::InitializeInit() 1 5.284e-06 5.284e-06 5.284e-06 0.00% AmrLevel::checkPointPost() 3 5.017e-06 5.017e-06 5.017e-06 0.00% MLMG::MLRhsNormInf() 11 4.445e-06 4.445e-06 4.445e-06 0.00% Gravity::set_mass_offset() 11 4.268e-06 4.268e-06 4.268e-06 0.00% Amr::initialInit() 1 3.969e-06 3.969e-06 3.969e-06 0.00% Castro::retry_advance_ctu() 10 3.898e-06 3.898e-06 3.898e-06 0.00% Castro::computeInitialDt() 2 3.859e-06 3.859e-06 3.859e-06 0.00% MLMG::MLResNormInf() 11 3.835e-06 3.835e-06 3.835e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.286e-06 3.286e-06 3.286e-06 0.00% Castro::FluxRegCrseInit 10 2.857e-06 2.857e-06 2.857e-06 0.00% Amr::init() 1 2.59e-06 2.59e-06 2.59e-06 0.00% Castro::FluxRegFineAdd() 10 2.388e-06 2.388e-06 2.388e-06 0.00% AmrLevel::checkPointPre() 3 2.165e-06 2.165e-06 2.165e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.831e-06 1.831e-06 1.831e-06 0.00% Castro::post_regrid() 1 1.329e-06 1.329e-06 1.329e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9249 0.9249 0.9249 100.00% Amr::coarseTimeStep() 10 0.7602 0.7602 0.7602 82.19% Amr::timeStep() 10 0.6567 0.6567 0.6567 71.01% Castro::advance() 10 0.647 0.647 0.647 69.95% Castro::subcycle_advance_ctu() 10 0.6326 0.6326 0.6326 68.40% Castro::do_advance_ctu() 10 0.6324 0.6324 0.6324 68.38% Castro::construct_ctu_hydro_source() 10 0.2998 0.2998 0.2998 32.41% Gravity::solve_phi_with_mlmg() 11 0.2904 0.2904 0.2904 31.39% Gravity::actual_solve_with_mlmg() 11 0.2809 0.2809 0.2809 30.37% Castro::construct_new_gravity() 10 0.2613 0.2613 0.2613 28.26% MLMG::solve() 11 0.2597 0.2597 0.2597 28.08% Gravity::solve_for_phi() 10 0.2458 0.2458 0.2458 26.57% MLMG::oneIter() 82 0.2446 0.2446 0.2446 26.45% MLMG::mgVcycle() 82 0.241 0.241 0.241 26.05% VisMF::Write(FabArray) 11 0.2014 0.2014 0.2014 21.77% Amr::checkPoint() 3 0.1515 0.1515 0.1515 16.38% AmrLevel::checkPoint() 3 0.1463 0.1463 0.1463 15.82% StateData::checkPoint() 12 0.1462 0.1462 0.1462 15.81% Amr::init() 1 0.1352 0.1352 0.1352 14.62% MLCellLinOp::smooth() 1640 0.1178 0.1178 0.1178 12.74% MLCellLinOp::applyBC() 4433 0.1101 0.1101 0.1101 11.90% MLMG::mgVcycle_bottom 82 0.07533 0.07533 0.07533 8.15% MLMG::actualBottomSolve() 82 0.0753 0.0753 0.0753 8.14% MLCGSolver::bicgstab 82 0.07458 0.07458 0.07458 8.06% Amr::writePlotFile() 2 0.05807 0.05807 0.05807 6.28% Castro::clean_state() 62 0.05655 0.05655 0.05655 6.11% Amr::initialInit() 1 0.05413 0.05413 0.05413 5.85% Amr::FinalizeInit() 1 0.04893 0.04893 0.04893 5.29% Castro::post_init() 1 0.04739 0.04739 0.04739 5.12% AmrLevel::FillPatch() 41 0.0465 0.0465 0.0465 5.03% Gravity::multilevel_solve_for_new_phi() 1 0.04507 0.04507 0.04507 4.87% Gravity::actual_multilevel_solve() 1 0.04505 0.04505 0.04505 4.87% FillPatchIterator::Initialize 41 0.0423 0.0423 0.0423 4.57% FillPatchIterator::FillFromLevel0() 41 0.04071 0.04071 0.04071 4.40% FillPatchSingleLevel 41 0.04066 0.04066 0.04066 4.40% MLCellLinOp::apply() 1142 0.03705 0.03705 0.03705 4.01% StateDataPhysBCFunct::() 41 0.03664 0.03664 0.03664 3.96% MLMG::mgVcycle_down::0 82 0.03379 0.03379 0.03379 3.65% MLPoisson::Fsmooth() 3280 0.03306 0.03306 0.03306 3.57% FabArray::FillBoundary() 4023 0.03204 0.03204 0.03204 3.46% FillBoundary_nowait() 4023 0.03123 0.03123 0.03123 3.38% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.84% MLMG::mgVcycle_up::0 82 0.02538 0.02538 0.02538 2.74% Castro::computeTemp() 63 0.02428 0.02428 0.02428 2.62% MLCellLinOp::correctionResidual() 492 0.02246 0.02246 0.02246 2.43% amrex::Dot() 1114 0.02099 0.02099 0.02099 2.27% Castro::initialize_do_advance() 10 0.02051 0.02051 0.02051 2.22% Castro::normalize_species() 62 0.02 0.02 0.02 2.16% MLMG:computeResOfCorrection() 410 0.01979 0.01979 0.01979 2.14% Castro::do_old_sources() 10 0.0188 0.0188 0.0188 2.03% Gravity::get_new_grav_vector() 11 0.01746 0.01746 0.01746 1.89% MLPoisson::define() 11 0.01661 0.01661 0.01661 1.80% MLMG::mgVcycle_down::1 82 0.0162 0.0162 0.0162 1.75% amrex::Copy() 1029 0.01513 0.01513 0.01513 1.64% MLMG::mgVcycle_down::2 82 0.015 0.015 0.015 1.62% Castro::construct_old_gravity() 10 0.01488 0.01488 0.01488 1.61% Gravity::get_old_grav_vector() 10 0.01487 0.01487 0.01487 1.61% FabArray::norminf() 743 0.01465 0.01465 0.01465 1.58% MLMG::mgVcycle_down::3 82 0.01464 0.01464 0.01464 1.58% FabArray::ParallelCopy() 861 0.01448 0.01448 0.01448 1.57% MLMG::mgVcycle_down::4 82 0.01443 0.01443 0.01443 1.56% FabArray::ParallelCopy_nowait() 861 0.01423 0.01423 0.01423 1.54% Castro::do_new_sources() 10 0.01413 0.01413 0.01413 1.53% Castro::initialize_advance() 10 0.01365 0.01365 0.01365 1.48% FabArray::setVal() 1144 0.01342 0.01342 0.01342 1.45% MLCGSolver::ParallelAllReduce 1514 0.01256 0.01256 0.01256 1.36% MLMG::addInterpCorrection() 410 0.01206 0.01206 0.01206 1.30% MLMG::mgVcycle_up::4 82 0.01167 0.01167 0.01167 1.26% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.26% MLMG::mgVcycle_up::2 82 0.01151 0.01151 0.01151 1.24% Castro::expand_state() 10 0.01147 0.01147 0.01147 1.24% amrex::average_down 410 0.01145 0.01145 0.01145 1.24% MLCellLinOp::defineAuxData() 11 0.01132 0.01132 0.01132 1.22% Castro::enforce_min_density() 62 0.01125 0.01125 0.01125 1.22% MLMG::mgVcycle_up::3 82 0.01115 0.01115 0.01115 1.21% MLPoisson::Fapply() 1142 0.01065 0.01065 0.01065 1.15% Castro::post_timestep() 10 0.009638 0.009638 0.009638 1.04% Gravity::fill_multipole_BCs() 11 0.009289 0.009289 0.009289 1.00% FabArray::Saxpy() 813 0.008358 0.008358 0.008358 0.90% FabArray::Xpay() 821 0.008242 0.008242 0.008242 0.89% MLCellLinOp::solutionResidual() 93 0.007534 0.007534 0.007534 0.81% Castro::reset_internal_energy(MultiFab) 63 0.007219 0.007219 0.007219 0.78% MLMG::computeResidual() 82 0.006253 0.006253 0.006253 0.68% Castro::estTimeStep() 21 0.005492 0.005492 0.005492 0.59% Amr::InitializeInit() 1 0.005203 0.005203 0.005203 0.56% Amr::defBaseLevel() 1 0.005198 0.005198 0.005198 0.56% MLCellLinOp::defineBC() 11 0.005042 0.005042 0.005042 0.55% MLMG::prepareForSolve() 11 0.004999 0.004999 0.004999 0.54% BndryData::define() 11 0.004809 0.004809 0.004809 0.52% FabArray::LinComb() 557 0.004605 0.004605 0.004605 0.50% Castro::initData() 1 0.004539 0.004539 0.004539 0.49% amrex::Add() 164 0.00443 0.00443 0.00443 0.48% Castro::construct_new_source() 50 0.003287 0.003287 0.003287 0.36% Castro::construct_new_gravity_source() 10 0.003268 0.003268 0.003268 0.35% Castro::construct_old_source() 50 0.002863 0.002863 0.002863 0.31% Castro::construct_old_gravity_source() 10 0.002843 0.002843 0.002843 0.31% Castro::computeNewDt() 9 0.002469 0.002469 0.002469 0.27% MLMG::ResNormInf() 93 0.002163 0.002163 0.002163 0.23% Castro::finalize_do_advance() 10 0.002025 0.002025 0.002025 0.22% Castro::enforce_speed_limit() 62 0.001973 0.001973 0.001973 0.21% check_for_negative_density() 10 0.001898 0.001898 0.001898 0.21% Castro::apply_source_to_state() 20 0.001856 0.001856 0.001856 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% MLMG::getGradSolution() 11 0.001566 0.001566 0.001566 0.17% MLCellLinOp::compGrad() 11 0.00156 0.00156 0.00156 0.17% MLCellLinOp::setLevelBC() 11 0.001466 0.001466 0.001466 0.16% FabArrayBase::getCPC() 1323 0.001461 0.001461 0.001461 0.16% FabArray::mult() 43 0.001362 0.001362 0.001362 0.15% FabArray::setDomainBndry() 41 0.001358 0.001358 0.001358 0.15% MLMG::computeMLResidual() 11 0.001324 0.001324 0.001324 0.14% MLPoisson::prepareForSolve() 11 0.001296 0.001296 0.001296 0.14% MLCellLinOp::prepareForSolve() 11 0.001288 0.001288 0.001288 0.14% Castro::check_for_nan() 20 0.001271 0.001271 0.001271 0.14% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.14% Castro::post_regrid() 1 0.001234 0.001234 0.001234 0.13% Castro::computeInitialDt() 2 0.001051 0.001051 0.001051 0.11% Gravity::update_max_rhs() 11 0.0009739 0.0009739 0.0009739 0.11% FabArrayBase::getFB() 4023 0.0007105 0.0007105 0.0007105 0.08% FabArrayBase::CPC::define() 454 0.0006679 0.0006679 0.0006679 0.07% Castro::finalize_advance() 10 0.0005955 0.0005955 0.0005955 0.06% Castro::Castro() 1 0.0005715 0.0005715 0.0005715 0.06% Amr::InitAmr() 1 0.0005032 0.0005032 0.0005032 0.05% Gravity::swapTimeLevels() 10 0.0004417 0.0004417 0.0004417 0.05% MLMG::MLResNormInf() 11 0.000335 0.000335 0.000335 0.04% MultiFab::max() 11 0.0003266 0.0003266 0.0003266 0.04% Castro::buildMetrics() 1 0.0002754 0.0002754 0.0002754 0.03% MLLinOp::define() 11 0.0002261 0.0002261 0.0002261 0.02% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.02% MLLinOp::defineGrids() 11 0.0002093 0.0002093 0.0002093 0.02% Castro::create_source_corrector() 10 0.0001581 0.0001581 0.0001581 0.02% FabArrayBase::FB::FB() 56 9.416e-05 9.416e-05 9.416e-05 0.01% Castro::enforce_consistent_e() 1 6.999e-05 6.999e-05 6.999e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.273e-05 5.273e-05 5.273e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.145e-05 5.145e-05 5.145e-05 0.01% StateData::define() 4 4.231e-05 4.231e-05 4.231e-05 0.00% makeSFC 55 3.855e-05 3.855e-05 3.855e-05 0.00% Castro::swap_state_time_levels() 10 3.651e-05 3.651e-05 3.651e-05 0.00% Castro::initMFs() 1 2.899e-05 2.899e-05 2.899e-05 0.00% Amr::writeSmallPlotFile() 1 2.772e-05 2.772e-05 2.772e-05 0.00% DistributionMapping::Distribute() 56 1.594e-05 1.594e-05 1.594e-05 0.00% Amr::initSubcycle() 1 9.673e-06 9.673e-06 9.673e-06 0.00% AmrLevel::checkPointPost() 3 5.017e-06 5.017e-06 5.017e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.404e-06 4.404e-06 4.404e-06 0.00% Gravity::set_mass_offset() 11 4.268e-06 4.268e-06 4.268e-06 0.00% Castro::retry_advance_ctu() 10 3.898e-06 3.898e-06 3.898e-06 0.00% Castro::FluxRegCrseInit 10 2.857e-06 2.857e-06 2.857e-06 0.00% Castro::FluxRegFineAdd() 10 2.388e-06 2.388e-06 2.388e-06 0.00% AmrLevel::checkPointPre() 3 2.165e-06 2.165e-06 2.165e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.831e-06 1.831e-06 1.831e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 95 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 147 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 978 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1759 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3453 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 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 2039 B 2048 KiB Gravity::solve_for_phi() 80 80 543 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 2894 B 480 KiB VisMF::Write(FabArray) 656 656 3325 B 320 KiB Castro::normalize_species() 62 62 7041 B 320 KiB amrex::average_down 1067 1067 1248 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1113 B 257 KiB amrex::Dot() 1360 1360 3337 B 160 KiB FabArray::norminf() 907 907 2338 B 160 KiB check_for_negative_density() 10 10 307 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3371 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 8866 8866 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 355 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 541 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 497 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3371 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 40 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 287 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-3-g8515ea846f85) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-3-g8515ea846f85) initialized Starting run at 08:32:35 UTC on 2023-10-02. Successfully read inputs file ... Castro git describe: 23.10 AMReX git describe: 23.10-3-g8515ea846 Microphysics git describe: 23.10 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505412802 Restart time = 0.043261166 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.053369501 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047987394 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047526736 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.083833421 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.082813023 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.059146248 seconds Ending run at 08:32:36 UTC on 2023-10-02. Run time = 0.419010334 Run time without initialization = 0.375157693 Average number of zones advanced per microsecond: 3.494 Average number of zones advanced per microsecond per rank: 3.494 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.419 ... 0.419 ... 0.419 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1281 0.1281 0.1281 30.56% VisMF::Write(FabArray) 1 0.03584 0.03584 0.03584 8.55% MLCellLinOp::applyBC() 1946 0.03392 0.03392 0.03392 8.09% VisMF::Read() 3 0.03171 0.03171 0.03171 7.57% Amr::writePlotFile() 1 0.02313 0.02313 0.02313 5.52% MLPoisson::Fsmooth() 1440 0.0142 0.0142 0.0142 3.39% StateData::FillBoundary(geom) 160 0.01297 0.01297 0.01297 3.10% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 3.04% amrex::Dot() 484 0.008997 0.008997 0.008997 2.15% Castro::normalize_species() 30 0.008716 0.008716 0.008716 2.08% amrex::Copy() 463 0.00724 0.00724 0.00724 1.73% FabArray::setVal() 537 0.006537 0.006537 0.006537 1.56% FabArray::norminf() 326 0.006403 0.006403 0.006403 1.53% Castro::computeTemp() 30 0.006155 0.006155 0.006155 1.47% FabArray::ParallelCopy_nowait() 380 0.006116 0.006116 0.006116 1.46% Castro::enforce_min_density() 30 0.005974 0.005974 0.005974 1.43% Gravity::fill_multipole_BCs() 6 0.005561 0.005561 0.005561 1.33% MLCellLinOp::defineAuxData() 6 0.005485 0.005485 0.005485 1.31% StateDataPhysBCFunct::() 20 0.004858 0.004858 0.004858 1.16% Amr::restart() 1 0.004804 0.004804 0.004804 1.15% MLPoisson::Fapply() 500 0.004576 0.004576 0.004576 1.09% FabArray::Saxpy() 355 0.003764 0.003764 0.003764 0.90% FabArray::Xpay() 361 0.003595 0.003595 0.003595 0.86% MLMG::addInterpCorrection() 180 0.00305 0.00305 0.00305 0.73% Castro::estTimeStep() 10 0.002782 0.002782 0.002782 0.66% amrex::average_down 180 0.002674 0.002674 0.002674 0.64% FabArray::LinComb() 242 0.00223 0.00223 0.00223 0.53% BndryData::define() 6 0.00212 0.00212 0.00212 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002089 0.002089 0.002089 0.50% amrex::Add() 72 0.001883 0.001883 0.001883 0.45% Castro::construct_new_gravity_source() 5 0.001746 0.001746 0.001746 0.42% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.37% Castro::enforce_speed_limit() 30 0.001505 0.001505 0.001505 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009902 0.0009902 0.0009902 0.24% MLCGSolver::bicgstab 36 0.0009683 0.0009683 0.0009683 0.23% check_for_negative_density() 5 0.0009218 0.0009218 0.0009218 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008532 0.0008532 0.0008532 0.20% MLCellLinOp::setLevelBC() 6 0.0008126 0.0008126 0.0008126 0.19% Castro::reset_internal_energy(Fab) 240 0.0007698 0.0007698 0.0007698 0.18% MLCellLinOp::prepareForSolve() 6 0.0007138 0.0007138 0.0007138 0.17% FabArray::setDomainBndry() 20 0.0006936 0.0006936 0.0006936 0.17% MultiFab::contains_nan() 10 0.000681 0.000681 0.000681 0.16% FabArray::mult() 22 0.0006795 0.0006795 0.0006795 0.16% MLCellLinOp::compGrad() 6 0.0005908 0.0005908 0.0005908 0.14% MLMG::prepareForSolve() 6 0.0005444 0.0005444 0.0005444 0.13% MLCellLinOp::smooth() 720 0.0004773 0.0004773 0.0004773 0.11% FabArrayBase::CPC::define() 244 0.0004432 0.0004432 0.0004432 0.11% Amr::InitAmr() 1 0.0004288 0.0004288 0.0004288 0.10% FabArrayBase::getCPC() 632 0.0003863 0.0003863 0.0003863 0.09% FabArray::FillBoundary() 1766 0.00036 0.00036 0.00036 0.09% main() 1 0.0003235 0.0003235 0.0003235 0.08% Gravity::get_old_grav_vector() 5 0.0003172 0.0003172 0.0003172 0.08% Gravity::get_new_grav_vector() 5 0.0002594 0.0002594 0.0002594 0.06% FabArrayBase::getFB() 1766 0.0002585 0.0002585 0.0002585 0.06% MLCellLinOp::apply() 500 0.0002047 0.0002047 0.0002047 0.05% MultiFab::max() 6 0.0002043 0.0002043 0.0002043 0.05% AmrLevel::FillPatch() 20 0.0001676 0.0001676 0.0001676 0.04% Amr::coarseTimeStep() 5 0.0001513 0.0001513 0.0001513 0.04% MLCGSolver::ParallelAllReduce 659 0.0001222 0.0001222 0.0001222 0.03% Castro::subcycle_advance_ctu() 5 0.0001172 0.0001172 0.0001172 0.03% MLCellLinOp::defineBC() 6 0.0001166 0.0001166 0.0001166 0.03% FabArray::ParallelCopy() 380 0.0001126 0.0001126 0.0001126 0.03% MLLinOp::defineGrids() 6 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.0001055 0.0001055 0.0001055 0.03% Castro::create_source_corrector() 5 0.000103 0.000103 0.000103 0.02% MLCellLinOp::correctionResidual() 216 9.969e-05 9.969e-05 9.969e-05 0.02% MLMG::mgVcycle() 36 9.295e-05 9.295e-05 9.295e-05 0.02% Amr::timeStep() 5 7.985e-05 7.985e-05 7.985e-05 0.02% Castro::construct_new_source() 25 7.693e-05 7.693e-05 7.693e-05 0.02% Castro::advance() 5 7.598e-05 7.598e-05 7.598e-05 0.02% Castro::finalize_do_advance() 5 7.118e-05 7.118e-05 7.118e-05 0.02% Gravity::solve_for_phi() 5 6.831e-05 6.831e-05 6.831e-05 0.02% AmrLevel::restart() 1 6.695e-05 6.695e-05 6.695e-05 0.02% StateData::restartDoit() 4 6.673e-05 6.673e-05 6.673e-05 0.02% Castro::do_advance_ctu() 5 6.547e-05 6.547e-05 6.547e-05 0.02% Castro::initialize_do_advance() 5 6.464e-05 6.464e-05 6.464e-05 0.02% Gravity::update_max_rhs() 6 6.353e-05 6.353e-05 6.353e-05 0.02% Castro::do_new_sources() 5 6.22e-05 6.22e-05 6.22e-05 0.01% FabArrayBase::FB::FB() 26 6.124e-05 6.124e-05 6.124e-05 0.01% Castro::initialize_advance() 5 5.837e-05 5.837e-05 5.837e-05 0.01% MLMG:computeResOfCorrection() 180 5.379e-05 5.379e-05 5.379e-05 0.01% MLMG::actualBottomSolve() 36 4.124e-05 4.124e-05 4.124e-05 0.01% MLMG::mgVcycle_down::0 36 3.808e-05 3.808e-05 3.808e-05 0.01% Amr::writeSmallPlotFile() 1 3.697e-05 3.697e-05 3.697e-05 0.01% MLMG::solve() 6 3.459e-05 3.459e-05 3.459e-05 0.01% MLMG::mgVcycle_down::1 36 3.448e-05 3.448e-05 3.448e-05 0.01% Castro::clean_state() 30 3.434e-05 3.434e-05 3.434e-05 0.01% MLMG::mgVcycle_down::2 36 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::4 36 3.169e-05 3.169e-05 3.169e-05 0.01% Castro::buildMetrics() 1 3.044e-05 3.044e-05 3.044e-05 0.01% MLMG::mgVcycle_down::3 36 3.026e-05 3.026e-05 3.026e-05 0.01% Castro::post_restart() 1 2.97e-05 2.97e-05 2.97e-05 0.01% MLMG::mgVcycle_up::4 36 2.888e-05 2.888e-05 2.888e-05 0.01% MLMG::mgVcycle_up::3 36 2.855e-05 2.855e-05 2.855e-05 0.01% Castro::finalize_advance() 5 2.853e-05 2.853e-05 2.853e-05 0.01% Castro::initMFs() 1 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::construct_old_source() 25 2.681e-05 2.681e-05 2.681e-05 0.01% MLMG::oneIter() 36 2.522e-05 2.522e-05 2.522e-05 0.01% MLMG::mgVcycle_up::0 36 2.333e-05 2.333e-05 2.333e-05 0.01% Castro::swap_state_time_levels() 5 2.33e-05 2.33e-05 2.33e-05 0.01% MLCellLinOp::solutionResidual() 42 2.23e-05 2.23e-05 2.23e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.192e-05 2.192e-05 2.192e-05 0.01% MLMG::mgVcycle_up::2 36 2.175e-05 2.175e-05 2.175e-05 0.01% MLMG::mgVcycle_up::1 36 2.071e-05 2.071e-05 2.071e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.737e-05 1.737e-05 1.737e-05 0.00% MLMG::mgVcycle_bottom 36 1.706e-05 1.706e-05 1.706e-05 0.00% MLMG::ResNormInf() 42 1.704e-05 1.704e-05 1.704e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.602e-05 1.602e-05 1.602e-05 0.00% MLMG::computeResidual() 36 1.532e-05 1.532e-05 1.532e-05 0.00% FillPatchSingleLevel 20 1.502e-05 1.502e-05 1.502e-05 0.00% MLPoisson::define() 6 1.298e-05 1.298e-05 1.298e-05 0.00% makeSFC 30 1.26e-05 1.26e-05 1.26e-05 0.00% Castro::construct_new_gravity() 5 1.227e-05 1.227e-05 1.227e-05 0.00% Castro::do_old_sources() 5 1.171e-05 1.171e-05 1.171e-05 0.00% MLLinOp::define() 6 1.057e-05 1.057e-05 1.057e-05 0.00% Amr::initSubcycle() 1 9.467e-06 9.467e-06 9.467e-06 0.00% DistributionMapping::Distribute() 31 9.353e-06 9.353e-06 9.353e-06 0.00% Gravity::actual_multilevel_solve() 1 8.503e-06 8.503e-06 8.503e-06 0.00% Castro::check_for_nan() 10 7.452e-06 7.452e-06 7.452e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.034e-06 7.034e-06 7.034e-06 0.00% Castro::apply_source_to_state() 10 6.936e-06 6.936e-06 6.936e-06 0.00% Castro::construct_old_gravity() 5 6.834e-06 6.834e-06 6.834e-06 0.00% Castro::post_timestep() 5 4.923e-06 4.923e-06 4.923e-06 0.00% MLPoisson::prepareForSolve() 6 3.991e-06 3.991e-06 3.991e-06 0.00% MLMG::computeMLResidual() 6 3.93e-06 3.93e-06 3.93e-06 0.00% Gravity::swapTimeLevels() 5 3.929e-06 3.929e-06 3.929e-06 0.00% Castro::computeNewDt() 5 3.755e-06 3.755e-06 3.755e-06 0.00% MLMG::getGradSolution() 6 3.065e-06 3.065e-06 3.065e-06 0.00% Castro::expand_state() 5 2.996e-06 2.996e-06 2.996e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.989e-06 2.989e-06 2.989e-06 0.00% MLMG::MLResNormInf() 6 2.283e-06 2.283e-06 2.283e-06 0.00% MLMG::MLRhsNormInf() 6 2.261e-06 2.261e-06 2.261e-06 0.00% Gravity::set_mass_offset() 6 1.993e-06 1.993e-06 1.993e-06 0.00% Castro::retry_advance_ctu() 5 1.903e-06 1.903e-06 1.903e-06 0.00% Castro::FluxRegCrseInit 5 1.326e-06 1.326e-06 1.326e-06 0.00% Castro::FluxRegFineAdd() 5 1.309e-06 1.309e-06 1.309e-06 0.00% Amr::init() 1 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.179e-06 1.179e-06 1.179e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.419 0.419 0.419 100.00% Amr::coarseTimeStep() 5 0.3157 0.3157 0.3157 75.33% Amr::timeStep() 5 0.3137 0.3137 0.3137 74.87% Castro::advance() 5 0.3086 0.3086 0.3086 73.65% Castro::subcycle_advance_ctu() 5 0.3013 0.3013 0.3013 71.91% Castro::do_advance_ctu() 5 0.3012 0.3012 0.3012 71.88% Castro::construct_ctu_hydro_source() 5 0.1333 0.1333 0.1333 31.80% Castro::construct_new_gravity() 5 0.1326 0.1326 0.1326 31.64% Gravity::solve_phi_with_mlmg() 6 0.1304 0.1304 0.1304 31.13% Gravity::solve_for_phi() 5 0.1248 0.1248 0.1248 29.79% Gravity::actual_solve_with_mlmg() 6 0.1246 0.1246 0.1246 29.74% MLMG::solve() 6 0.1128 0.1128 0.1128 26.92% MLMG::oneIter() 36 0.1054 0.1054 0.1054 25.15% MLMG::mgVcycle() 36 0.1039 0.1039 0.1039 24.79% Amr::writePlotFile() 1 0.05924 0.05924 0.05924 14.14% MLCellLinOp::smooth() 720 0.05044 0.05044 0.05044 12.04% MLCellLinOp::applyBC() 1946 0.04735 0.04735 0.04735 11.30% Amr::init() 1 0.04331 0.04331 0.04331 10.34% Amr::restart() 1 0.04331 0.04331 0.04331 10.34% VisMF::Write(FabArray) 1 0.03584 0.03584 0.03584 8.55% MLMG::mgVcycle_bottom 36 0.03259 0.03259 0.03259 7.78% MLMG::actualBottomSolve() 36 0.03257 0.03257 0.03257 7.77% MLCGSolver::bicgstab 36 0.03226 0.03226 0.03226 7.70% AmrLevel::restart() 1 0.03205 0.03205 0.03205 7.65% StateData::restartDoit() 4 0.03198 0.03198 0.03198 7.63% VisMF::Read() 3 0.03171 0.03171 0.03171 7.57% Castro::clean_state() 30 0.02524 0.02524 0.02524 6.02% AmrLevel::FillPatch() 20 0.02276 0.02276 0.02276 5.43% FillPatchIterator::Initialize 20 0.02068 0.02068 0.02068 4.94% FillPatchIterator::FillFromLevel0() 20 0.01988 0.01988 0.01988 4.74% FillPatchSingleLevel 20 0.01986 0.01986 0.01986 4.74% StateDataPhysBCFunct::() 20 0.01783 0.01783 0.01783 4.26% MLCellLinOp::apply() 500 0.0161 0.0161 0.0161 3.84% MLMG::mgVcycle_down::0 36 0.01446 0.01446 0.01446 3.45% MLPoisson::Fsmooth() 1440 0.0142 0.0142 0.0142 3.39% FabArray::FillBoundary() 1766 0.01343 0.01343 0.01343 3.21% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.12% StateData::FillBoundary(geom) 160 0.01297 0.01297 0.01297 3.10% Castro::initialize_do_advance() 5 0.0112 0.0112 0.0112 2.67% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.58% MLCellLinOp::correctionResidual() 216 0.009679 0.009679 0.009679 2.31% Castro::do_old_sources() 5 0.00937 0.00937 0.00937 2.24% MLPoisson::define() 6 0.009294 0.009294 0.009294 2.22% Castro::computeTemp() 30 0.009014 0.009014 0.009014 2.15% amrex::Dot() 484 0.008997 0.008997 0.008997 2.15% Castro::normalize_species() 30 0.008716 0.008716 0.008716 2.08% MLMG:computeResOfCorrection() 180 0.008514 0.008514 0.008514 2.03% Gravity::get_new_grav_vector() 5 0.007671 0.007671 0.007671 1.83% Castro::construct_old_gravity() 5 0.007581 0.007581 0.007581 1.81% Gravity::get_old_grav_vector() 5 0.007574 0.007574 0.007574 1.81% amrex::Copy() 463 0.00724 0.00724 0.00724 1.73% MLMG::mgVcycle_down::1 36 0.007065 0.007065 0.007065 1.69% Castro::initialize_advance() 5 0.006929 0.006929 0.006929 1.65% FabArray::ParallelCopy() 380 0.006639 0.006639 0.006639 1.58% FabArray::setVal() 537 0.006537 0.006537 0.006537 1.56% FabArray::ParallelCopy_nowait() 380 0.006526 0.006526 0.006526 1.56% MLMG::mgVcycle_down::2 36 0.006462 0.006462 0.006462 1.54% FabArray::norminf() 326 0.006403 0.006403 0.006403 1.53% MLCellLinOp::defineAuxData() 6 0.0063 0.0063 0.0063 1.50% MLMG::mgVcycle_down::3 36 0.006273 0.006273 0.006273 1.50% Castro::post_restart() 1 0.006268 0.006268 0.006268 1.50% MLMG::mgVcycle_down::4 36 0.006207 0.006207 0.006207 1.48% Castro::expand_state() 5 0.006182 0.006182 0.006182 1.48% Castro::enforce_min_density() 30 0.005974 0.005974 0.005974 1.43% Gravity::multilevel_solve_for_new_phi() 1 0.005884 0.005884 0.005884 1.40% Gravity::actual_multilevel_solve() 1 0.005866 0.005866 0.005866 1.40% Gravity::fill_multipole_BCs() 6 0.005686 0.005686 0.005686 1.36% Castro::do_new_sources() 5 0.005577 0.005577 0.005577 1.33% MLCGSolver::ParallelAllReduce 659 0.005431 0.005431 0.005431 1.30% MLMG::addInterpCorrection() 180 0.005343 0.005343 0.005343 1.28% MLMG::mgVcycle_up::4 36 0.005069 0.005069 0.005069 1.21% Castro::post_timestep() 5 0.005038 0.005038 0.005038 1.20% MLMG::mgVcycle_up::1 36 0.005026 0.005026 0.005026 1.20% amrex::average_down 180 0.005004 0.005004 0.005004 1.19% MLMG::mgVcycle_up::2 36 0.004958 0.004958 0.004958 1.18% MLMG::mgVcycle_up::3 36 0.004862 0.004862 0.004862 1.16% MLPoisson::Fapply() 500 0.004576 0.004576 0.004576 1.09% FabArray::Saxpy() 355 0.003764 0.003764 0.003764 0.90% FabArray::Xpay() 361 0.003595 0.003595 0.003595 0.86% MLCellLinOp::solutionResidual() 42 0.003478 0.003478 0.003478 0.83% Castro::reset_internal_energy(MultiFab) 30 0.002858 0.002858 0.002858 0.68% MLCellLinOp::defineBC() 6 0.002831 0.002831 0.002831 0.68% Castro::estTimeStep() 10 0.002782 0.002782 0.002782 0.66% MLMG::prepareForSolve() 6 0.002767 0.002767 0.002767 0.66% BndryData::define() 6 0.002715 0.002715 0.002715 0.65% MLMG::computeResidual() 36 0.002696 0.002696 0.002696 0.64% FabArray::LinComb() 242 0.00223 0.00223 0.00223 0.53% amrex::Add() 72 0.001883 0.001883 0.001883 0.45% Castro::construct_new_source() 25 0.001823 0.001823 0.001823 0.44% Castro::computeNewDt() 5 0.001777 0.001777 0.001777 0.42% Castro::construct_new_gravity_source() 5 0.001746 0.001746 0.001746 0.42% Castro::construct_old_source() 25 0.001562 0.001562 0.001562 0.37% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.37% Castro::enforce_speed_limit() 30 0.001505 0.001505 0.001505 0.36% Castro::finalize_do_advance() 5 0.00108 0.00108 0.00108 0.26% MLMG::ResNormInf() 42 0.0009916 0.0009916 0.0009916 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009902 0.0009902 0.0009902 0.24% Castro::apply_source_to_state() 10 0.0009658 0.0009658 0.0009658 0.23% check_for_negative_density() 5 0.0009218 0.0009218 0.0009218 0.22% MLMG::getGradSolution() 6 0.0008691 0.0008691 0.0008691 0.21% MLCellLinOp::compGrad() 6 0.000866 0.000866 0.000866 0.21% FabArrayBase::getCPC() 632 0.0008295 0.0008295 0.0008295 0.20% MLCellLinOp::setLevelBC() 6 0.0008126 0.0008126 0.0008126 0.19% MLMG::computeMLResidual() 6 0.000801 0.000801 0.000801 0.19% Castro::reset_internal_energy(Fab) 240 0.0007698 0.0007698 0.0007698 0.18% Gravity::update_max_rhs() 6 0.0007212 0.0007212 0.0007212 0.17% MLPoisson::prepareForSolve() 6 0.0007178 0.0007178 0.0007178 0.17% MLCellLinOp::prepareForSolve() 6 0.0007138 0.0007138 0.0007138 0.17% FabArray::setDomainBndry() 20 0.0006936 0.0006936 0.0006936 0.17% Castro::check_for_nan() 10 0.0006885 0.0006885 0.0006885 0.16% MultiFab::contains_nan() 10 0.000681 0.000681 0.000681 0.16% FabArray::mult() 22 0.0006795 0.0006795 0.0006795 0.16% FabArrayBase::CPC::define() 244 0.0004432 0.0004432 0.0004432 0.11% Amr::InitAmr() 1 0.0004383 0.0004383 0.0004383 0.10% FabArrayBase::getFB() 1766 0.0003197 0.0003197 0.0003197 0.08% Castro::finalize_advance() 5 0.0002957 0.0002957 0.0002957 0.07% Gravity::swapTimeLevels() 5 0.000227 0.000227 0.000227 0.05% MultiFab::max() 6 0.0002043 0.0002043 0.0002043 0.05% MLMG::MLResNormInf() 6 0.0001899 0.0001899 0.0001899 0.05% Castro::buildMetrics() 1 0.0001577 0.0001577 0.0001577 0.04% MLLinOp::define() 6 0.0001498 0.0001498 0.0001498 0.04% MLLinOp::defineGrids() 6 0.0001393 0.0001393 0.0001393 0.03% MLMG::MLRhsNormInf() 6 0.0001178 0.0001178 0.0001178 0.03% Castro::create_source_corrector() 5 0.000103 0.000103 0.000103 0.02% FabArrayBase::FB::FB() 26 6.124e-05 6.124e-05 6.124e-05 0.01% Amr::writeSmallPlotFile() 1 3.697e-05 3.697e-05 3.697e-05 0.01% Castro::initMFs() 1 2.739e-05 2.739e-05 2.739e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.732e-05 2.732e-05 2.732e-05 0.01% Castro::swap_state_time_levels() 5 2.33e-05 2.33e-05 2.33e-05 0.01% makeSFC 30 2.029e-05 2.029e-05 2.029e-05 0.00% Amr::initSubcycle() 1 9.467e-06 9.467e-06 9.467e-06 0.00% DistributionMapping::Distribute() 31 9.353e-06 9.353e-06 9.353e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.654e-06 4.654e-06 4.654e-06 0.00% Gravity::set_mass_offset() 6 1.993e-06 1.993e-06 1.993e-06 0.00% Castro::retry_advance_ctu() 5 1.903e-06 1.903e-06 1.903e-06 0.00% Castro::FluxRegCrseInit 5 1.326e-06 1.326e-06 1.326e-06 0.00% Castro::FluxRegFineAdd() 5 1.309e-06 1.309e-06 1.309e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.179e-06 1.179e-06 1.179e-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 214 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 141 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1096 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2512 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6897 KiB 14 MiB MLMG::prepareForSolve() 361 361 3304 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6882 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3426 B 2048 KiB Gravity::solve_for_phi() 40 40 608 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 3174 B 480 KiB VisMF::Write(FabArray) 112 112 2570 B 320 KiB Castro::normalize_species() 30 30 6766 B 320 KiB amrex::average_down 469 469 1194 B 257 KiB MLMG::addInterpCorrection() 468 468 1082 B 257 KiB amrex::Dot() 592 592 3158 B 160 KiB FabArray::norminf() 398 398 2248 B 160 KiB check_for_negative_density() 5 5 352 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3202 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3892 3892 209 B 9344 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 342 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1221 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 245 KiB 3584 KiB VisMF::Read() 24 24 133 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3202 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1946 1946 207 B 9328 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2703 B 3072 B StateData::FillBoundary(geom) 960 960 42 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 519 B 1296 B amrex::average_down 37 37 228 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.10-3-g8515ea846f85) finalized