Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-29-gb41c44166e12) initialized Starting run at 08:49:14 UTC on 2023-03-30. Successfully read inputs file ... Castro git describe: 23.03-18-g1be2962ce AMReX git describe: 23.03-29-gb41c44166 Microphysics git describe: 23.03-23-g27bca043 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.059073779 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033859297 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046349567 [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 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049130488 [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 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.05081992 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.052364142 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.07792146 [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.057790083 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.059088848 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.053615348 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.050994271 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.049787094 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062035706 [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.058435851 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.049700307 seconds Ending run at 08:49:14 UTC on 2023-03-30. Run time = 0.860720403 Run time without initialization = 0.718728925 Average number of zones advanced per microsecond: 3.647 Average number of zones advanced per microsecond per rank: 3.647 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8607 ... 0.8607 ... 0.8607 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2521 0.2521 0.2521 29.28% Castro::construct_ctu_hydro_source() 10 0.1898 0.1898 0.1898 22.06% MLCellLinOp::applyBC() 4433 0.07775 0.07775 0.07775 9.03% MLPoisson::Fsmooth() 3280 0.03266 0.03266 0.03266 3.79% FillBoundary_nowait() 4023 0.03086 0.03086 0.03086 3.59% StateData::FillBoundary(geom) 328 0.02565 0.02565 0.02565 2.98% amrex::Dot() 1114 0.02085 0.02085 0.02085 2.42% amrex::Copy() 1029 0.01496 0.01496 0.01496 1.74% Castro::normalize_species() 62 0.0149 0.0149 0.0149 1.73% FabArray::norminf() 743 0.01452 0.01452 0.01452 1.69% Castro::computeTemp() 63 0.01378 0.01378 0.01378 1.60% FabArray::ParallelCopy_nowait() 861 0.01363 0.01363 0.01363 1.58% StateDataPhysBCFunct::() 41 0.01345 0.01345 0.01345 1.56% FabArray::setVal() 1144 0.01332 0.01332 0.01332 1.55% MLPoisson::Fapply() 1142 0.01048 0.01048 0.01048 1.22% MLCellLinOp::defineAuxData() 11 0.01006 0.01006 0.01006 1.17% Castro::enforce_min_density() 62 0.008963 0.008963 0.008963 1.04% FabArray::Saxpy() 813 0.008259 0.008259 0.008259 0.96% FabArray::Xpay() 821 0.008138 0.008138 0.008138 0.95% MLMG::addInterpCorrection() 410 0.006865 0.006865 0.006865 0.80% Gravity::fill_multipole_BCs() 11 0.006543 0.006543 0.006543 0.76% amrex::average_down 410 0.006037 0.006037 0.006037 0.70% Castro::estTimeStep() 21 0.004758 0.004758 0.004758 0.55% FabArray::LinComb() 557 0.004579 0.004579 0.004579 0.53% amrex::Add() 164 0.004374 0.004374 0.004374 0.51% Castro::reset_internal_energy(MultiFab) 63 0.00434 0.00434 0.00434 0.50% Amr::checkPoint() 3 0.003885 0.003885 0.003885 0.45% BndryData::define() 11 0.003806 0.003806 0.003806 0.44% Castro::construct_new_gravity_source() 10 0.003273 0.003273 0.003273 0.38% Castro::do_advance_ctu() 10 0.002993 0.002993 0.002993 0.35% Castro::construct_old_gravity_source() 10 0.002564 0.002564 0.002564 0.30% Amr::writePlotFile() 2 0.002419 0.002419 0.002419 0.28% MLCGSolver::bicgstab 82 0.002195 0.002195 0.002195 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001741 0.001741 0.001741 0.20% Castro::reset_internal_energy(Fab) 504 0.001568 0.001568 0.001568 0.18% Gravity::actual_solve_with_mlmg() 11 0.00146 0.00146 0.00146 0.17% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.16% FabArray::mult() 43 0.001325 0.001325 0.001325 0.15% FabArray::setDomainBndry() 41 0.001324 0.001324 0.001324 0.15% Castro::enforce_speed_limit() 62 0.001268 0.001268 0.001268 0.15% Castro::initData() 1 0.001241 0.001241 0.001241 0.14% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.14% MLCellLinOp::prepareForSolve() 11 0.001124 0.001124 0.001124 0.13% MLCellLinOp::smooth() 1640 0.001086 0.001086 0.001086 0.13% MLCellLinOp::compGrad() 11 0.0009204 0.0009204 0.0009204 0.11% MLMG::prepareForSolve() 11 0.0008801 0.0008801 0.0008801 0.10% FabArray::FillBoundary() 4023 0.000814 0.000814 0.000814 0.09% FabArrayBase::getCPC() 1323 0.0007388 0.0007388 0.0007388 0.09% FabArrayBase::CPC::define() 454 0.0006928 0.0006928 0.0006928 0.08% Gravity::get_new_grav_vector() 11 0.0006321 0.0006321 0.0006321 0.07% FabArrayBase::getFB() 4023 0.0006229 0.0006229 0.0006229 0.07% Gravity::get_old_grav_vector() 10 0.0005594 0.0005594 0.0005594 0.06% Amr::InitAmr() 1 0.0005088 0.0005088 0.0005088 0.06% MLCellLinOp::apply() 1142 0.0004642 0.0004642 0.0004642 0.05% MLMG::mgVcycle() 82 0.0004372 0.0004372 0.0004372 0.05% MLLinOp::defineGrids() 11 0.0003956 0.0003956 0.0003956 0.05% Amr::coarseTimeStep() 10 0.000395 0.000395 0.000395 0.05% main() 1 0.0003121 0.0003121 0.0003121 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002959 0.0002959 0.0002959 0.03% MultiFab::max() 11 0.00026 0.00026 0.00026 0.03% FabArray::ParallelCopy() 861 0.0002463 0.0002463 0.0002463 0.03% FillPatchIterator::Initialize 41 0.0002453 0.0002453 0.0002453 0.03% MLCellLinOp::correctionResidual() 492 0.0002294 0.0002294 0.0002294 0.03% Castro::subcycle_advance_ctu() 10 0.0002226 0.0002226 0.0002226 0.03% MLCellLinOp::defineBC() 11 0.0002208 0.0002208 0.0002208 0.03% Amr::timeStep() 10 0.0001516 0.0001516 0.0001516 0.02% StateData::checkPoint() 12 0.0001334 0.0001334 0.0001334 0.02% Gravity::update_max_rhs() 11 0.0001233 0.0001233 0.0001233 0.01% Gravity::solve_for_phi() 10 0.0001173 0.0001173 0.0001173 0.01% MLMG:computeResOfCorrection() 410 0.0001115 0.0001115 0.0001115 0.01% Castro::Castro() 1 0.0001007 0.0001007 0.0001007 0.01% MLMG::mgVcycle_down::0 82 9.57e-05 9.57e-05 9.57e-05 0.01% FabArrayBase::FB::FB() 56 9.222e-05 9.222e-05 9.222e-05 0.01% MLMG::actualBottomSolve() 82 9.005e-05 9.005e-05 9.005e-05 0.01% MLMG::mgVcycle_down::1 82 8.734e-05 8.734e-05 8.734e-05 0.01% Castro::expand_state() 10 8.691e-05 8.691e-05 8.691e-05 0.01% MLMG::mgVcycle_down::2 82 8.292e-05 8.292e-05 8.292e-05 0.01% Castro::clean_state() 62 7.952e-05 7.952e-05 7.952e-05 0.01% MLMG::mgVcycle_down::3 82 7.937e-05 7.937e-05 7.937e-05 0.01% MLMG::mgVcycle_down::4 82 7.793e-05 7.793e-05 7.793e-05 0.01% AmrLevel::checkPoint() 3 7.774e-05 7.774e-05 7.774e-05 0.01% Castro::finalize_advance() 10 7.705e-05 7.705e-05 7.705e-05 0.01% MLMG::solve() 11 7.584e-05 7.584e-05 7.584e-05 0.01% Castro::initialize_advance() 10 7.354e-05 7.354e-05 7.354e-05 0.01% Castro::initialize_do_advance() 10 6.723e-05 6.723e-05 6.723e-05 0.01% MLMG::mgVcycle_up::4 82 6.237e-05 6.237e-05 6.237e-05 0.01% Castro::advance() 10 6.174e-05 6.174e-05 6.174e-05 0.01% MLMG::mgVcycle_up::1 82 5.624e-05 5.624e-05 5.624e-05 0.01% MLMG::mgVcycle_up::0 82 5.438e-05 5.438e-05 5.438e-05 0.01% MLMG::oneIter() 82 5.226e-05 5.226e-05 5.226e-05 0.01% MLMG::mgVcycle_up::3 82 5.215e-05 5.215e-05 5.215e-05 0.01% MLMG::mgVcycle_up::2 82 5.156e-05 5.156e-05 5.156e-05 0.01% MLCellLinOp::solutionResidual() 93 5.126e-05 5.126e-05 5.126e-05 0.01% Castro::swap_state_time_levels() 10 4.181e-05 4.181e-05 4.181e-05 0.00% Castro::construct_new_source() 50 4.174e-05 4.174e-05 4.174e-05 0.00% Castro::finalize_do_advance() 10 3.826e-05 3.826e-05 3.826e-05 0.00% StateData::define() 4 3.445e-05 3.445e-05 3.445e-05 0.00% MLMG::mgVcycle_bottom 82 3.375e-05 3.375e-05 3.375e-05 0.00% Castro::enforce_consistent_e() 1 3.346e-05 3.346e-05 3.346e-05 0.00% MLMG::ResNormInf() 93 3.158e-05 3.158e-05 3.158e-05 0.00% MLMG::computeResidual() 82 3.103e-05 3.103e-05 3.103e-05 0.00% FillPatchSingleLevel 41 2.926e-05 2.926e-05 2.926e-05 0.00% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.00% Castro::initMFs() 1 2.576e-05 2.576e-05 2.576e-05 0.00% Castro::construct_new_gravity() 10 2.528e-05 2.528e-05 2.528e-05 0.00% makeSFC 55 2.408e-05 2.408e-05 2.408e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.36e-05 2.36e-05 2.36e-05 0.00% MLPoisson::define() 11 2.263e-05 2.263e-05 2.263e-05 0.00% Amr::FinalizeInit() 1 2.04e-05 2.04e-05 2.04e-05 0.00% Amr::defBaseLevel() 1 1.94e-05 1.94e-05 1.94e-05 0.00% Castro::construct_old_source() 50 1.939e-05 1.939e-05 1.939e-05 0.00% Castro::buildMetrics() 1 1.877e-05 1.877e-05 1.877e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.811e-05 1.811e-05 1.811e-05 0.00% Castro::do_new_sources() 10 1.706e-05 1.706e-05 1.706e-05 0.00% Castro::do_old_sources() 10 1.626e-05 1.626e-05 1.626e-05 0.00% DistributionMapping::Distribute() 56 1.509e-05 1.509e-05 1.509e-05 0.00% MLPoisson::prepareForSolve() 11 1.414e-05 1.414e-05 1.414e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.394e-05 1.394e-05 1.394e-05 0.00% MLMG::computeMLResidual() 11 1.379e-05 1.379e-05 1.379e-05 0.00% MLLinOp::define() 11 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::apply_source_to_state() 20 1.086e-05 1.086e-05 1.086e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.067e-05 1.067e-05 1.067e-05 0.00% Castro::check_for_nan() 20 1.054e-05 1.054e-05 1.054e-05 0.00% Castro::construct_old_gravity() 10 1.053e-05 1.053e-05 1.053e-05 0.00% Gravity::swapTimeLevels() 10 9.599e-06 9.599e-06 9.599e-06 0.00% Amr::initSubcycle() 1 8.805e-06 8.805e-06 8.805e-06 0.00% Gravity::actual_multilevel_solve() 1 8.249e-06 8.249e-06 8.249e-06 0.00% Castro::post_timestep() 10 8.134e-06 8.134e-06 8.134e-06 0.00% Castro::computeNewDt() 9 7.969e-06 7.969e-06 7.969e-06 0.00% MLMG::getGradSolution() 11 5.269e-06 5.269e-06 5.269e-06 0.00% Gravity::set_mass_offset() 11 4.539e-06 4.539e-06 4.539e-06 0.00% Amr::InitializeInit() 1 4.526e-06 4.526e-06 4.526e-06 0.00% AmrLevel::checkPointPost() 3 4.192e-06 4.192e-06 4.192e-06 0.00% Castro::retry_advance_ctu() 10 4.034e-06 4.034e-06 4.034e-06 0.00% MLMG::MLRhsNormInf() 11 3.989e-06 3.989e-06 3.989e-06 0.00% Castro::create_source_corrector() 10 3.9e-06 3.9e-06 3.9e-06 0.00% MLMG::MLResNormInf() 11 3.823e-06 3.823e-06 3.823e-06 0.00% Castro::post_init() 1 3.766e-06 3.766e-06 3.766e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.877e-06 2.877e-06 2.877e-06 0.00% Castro::FluxRegCrseInit 10 2.768e-06 2.768e-06 2.768e-06 0.00% Castro::computeInitialDt() 2 2.487e-06 2.487e-06 2.487e-06 0.00% Amr::init() 1 2.419e-06 2.419e-06 2.419e-06 0.00% Castro::FluxRegFineAdd() 10 2.365e-06 2.365e-06 2.365e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.071e-06 2.071e-06 2.071e-06 0.00% AmrLevel::checkPointPre() 3 1.987e-06 1.987e-06 1.987e-06 0.00% Amr::initialInit() 1 1.351e-06 1.351e-06 1.351e-06 0.00% Castro::post_regrid() 1 9.62e-07 9.62e-07 9.62e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8607 0.8607 0.8607 100.00% Amr::coarseTimeStep() 10 0.6688 0.6688 0.6688 77.70% Amr::timeStep() 10 0.5495 0.5495 0.5495 63.84% Castro::advance() 10 0.5417 0.5417 0.5417 62.94% Castro::subcycle_advance_ctu() 10 0.5301 0.5301 0.5301 61.58% Castro::do_advance_ctu() 10 0.5298 0.5298 0.5298 61.56% Gravity::solve_phi_with_mlmg() 11 0.2866 0.2866 0.2866 33.30% Gravity::actual_solve_with_mlmg() 11 0.2796 0.2796 0.2796 32.48% Castro::construct_new_gravity() 10 0.2629 0.2629 0.2629 30.54% MLMG::solve() 11 0.2584 0.2584 0.2584 30.02% VisMF::Write(FabArray) 11 0.2521 0.2521 0.2521 29.28% Gravity::solve_for_phi() 10 0.246 0.246 0.246 28.58% MLMG::oneIter() 82 0.2441 0.2441 0.2441 28.35% MLMG::mgVcycle() 82 0.2404 0.2404 0.2404 27.93% Castro::construct_ctu_hydro_source() 10 0.1898 0.1898 0.1898 22.06% Amr::checkPoint() 3 0.1754 0.1754 0.1754 20.38% AmrLevel::checkPoint() 3 0.1715 0.1715 0.1715 19.93% StateData::checkPoint() 12 0.1714 0.1714 0.1714 19.92% Amr::init() 1 0.1413 0.1413 0.1413 16.42% MLCellLinOp::smooth() 1640 0.1177 0.1177 0.1177 13.67% MLCellLinOp::applyBC() 4433 0.1101 0.1101 0.1101 12.80% Amr::writePlotFile() 2 0.08369 0.08369 0.08369 9.72% MLMG::mgVcycle_bottom 82 0.07469 0.07469 0.07469 8.68% MLMG::actualBottomSolve() 82 0.07466 0.07466 0.07466 8.67% MLCGSolver::bicgstab 82 0.07394 0.07394 0.07394 8.59% Amr::initialInit() 1 0.04828 0.04828 0.04828 5.61% FillPatchIterator::Initialize 41 0.04479 0.04479 0.04479 5.20% Amr::FinalizeInit() 1 0.04427 0.04427 0.04427 5.14% Castro::clean_state() 62 0.04408 0.04408 0.04408 5.12% FillPatchSingleLevel 41 0.04322 0.04322 0.04322 5.02% Castro::post_init() 1 0.04293 0.04293 0.04293 4.99% Gravity::multilevel_solve_for_new_phi() 1 0.0411 0.0411 0.0411 4.78% Gravity::actual_multilevel_solve() 1 0.04108 0.04108 0.04108 4.77% StateDataPhysBCFunct::() 41 0.0391 0.0391 0.0391 4.54% MLCellLinOp::apply() 1142 0.03665 0.03665 0.03665 4.26% MLMG::mgVcycle_down::0 82 0.03382 0.03382 0.03382 3.93% MLPoisson::Fsmooth() 3280 0.03266 0.03266 0.03266 3.79% FabArray::FillBoundary() 4023 0.03239 0.03239 0.03239 3.76% FillBoundary_nowait() 4023 0.03158 0.03158 0.03158 3.67% MLMG::mgVcycle_up::0 82 0.02566 0.02566 0.02566 2.98% StateData::FillBoundary(geom) 328 0.02565 0.02565 0.02565 2.98% MLCellLinOp::correctionResidual() 492 0.02236 0.02236 0.02236 2.60% amrex::Dot() 1114 0.02085 0.02085 0.02085 2.42% Castro::initialize_do_advance() 10 0.0197 0.0197 0.0197 2.29% MLMG:computeResOfCorrection() 410 0.01969 0.01969 0.01969 2.29% Castro::computeTemp() 63 0.01969 0.01969 0.01969 2.29% Gravity::get_new_grav_vector() 11 0.01845 0.01845 0.01845 2.14% MLPoisson::define() 11 0.01694 0.01694 0.01694 1.97% MLMG::mgVcycle_down::1 82 0.01601 0.01601 0.01601 1.86% Castro::construct_old_gravity() 10 0.01553 0.01553 0.01553 1.80% Gravity::get_old_grav_vector() 10 0.01552 0.01552 0.01552 1.80% MLMG::mgVcycle_down::2 82 0.01496 0.01496 0.01496 1.74% amrex::Copy() 1029 0.01496 0.01496 0.01496 1.74% Castro::normalize_species() 62 0.0149 0.0149 0.0149 1.73% FabArray::ParallelCopy() 861 0.01468 0.01468 0.01468 1.71% MLMG::mgVcycle_down::3 82 0.0146 0.0146 0.0146 1.70% FabArray::norminf() 743 0.01452 0.01452 0.01452 1.69% FabArray::ParallelCopy_nowait() 861 0.01444 0.01444 0.01444 1.68% MLMG::mgVcycle_down::4 82 0.0144 0.0144 0.0144 1.67% FabArray::setVal() 1144 0.01332 0.01332 0.01332 1.55% MLCGSolver::ParallelAllReduce 1514 0.01252 0.01252 0.01252 1.45% MLMG::addInterpCorrection() 410 0.01215 0.01215 0.01215 1.41% Castro::expand_state() 10 0.01193 0.01193 0.01193 1.39% MLMG::mgVcycle_up::4 82 0.01169 0.01169 0.01169 1.36% MLMG::mgVcycle_up::1 82 0.01164 0.01164 0.01164 1.35% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.33% Castro::do_old_sources() 10 0.01137 0.01137 0.01137 1.32% MLMG::mgVcycle_up::2 82 0.01136 0.01136 0.01136 1.32% amrex::average_down 410 0.01134 0.01134 0.01134 1.32% MLMG::mgVcycle_up::3 82 0.01113 0.01113 0.01113 1.29% Castro::initialize_advance() 10 0.01102 0.01102 0.01102 1.28% Castro::do_new_sources() 10 0.01099 0.01099 0.01099 1.28% MLPoisson::Fapply() 1142 0.01048 0.01048 0.01048 1.22% Castro::enforce_min_density() 62 0.008963 0.008963 0.008963 1.04% FabArray::Saxpy() 813 0.008259 0.008259 0.008259 0.96% FabArray::Xpay() 821 0.008138 0.008138 0.008138 0.95% Castro::post_timestep() 10 0.007631 0.007631 0.007631 0.89% MLCellLinOp::solutionResidual() 93 0.007203 0.007203 0.007203 0.84% Gravity::fill_multipole_BCs() 11 0.006817 0.006817 0.006817 0.79% MLMG::computeResidual() 82 0.006214 0.006214 0.006214 0.72% Castro::reset_internal_energy(MultiFab) 63 0.005908 0.005908 0.005908 0.69% MLCellLinOp::defineBC() 11 0.005015 0.005015 0.005015 0.58% BndryData::define() 11 0.004794 0.004794 0.004794 0.56% Castro::estTimeStep() 21 0.004758 0.004758 0.004758 0.55% MLMG::prepareForSolve() 11 0.004691 0.004691 0.004691 0.55% FabArray::LinComb() 557 0.004579 0.004579 0.004579 0.53% amrex::Add() 164 0.004374 0.004374 0.004374 0.51% Amr::InitializeInit() 1 0.004001 0.004001 0.004001 0.46% Amr::defBaseLevel() 1 0.003997 0.003997 0.003997 0.46% Castro::initData() 1 0.003472 0.003472 0.003472 0.40% Castro::construct_new_source() 50 0.003315 0.003315 0.003315 0.39% Castro::construct_new_gravity_source() 10 0.003273 0.003273 0.003273 0.38% Castro::construct_old_source() 50 0.002584 0.002584 0.002584 0.30% Castro::construct_old_gravity_source() 10 0.002564 0.002564 0.002564 0.30% MLMG::ResNormInf() 93 0.002089 0.002089 0.002089 0.24% Castro::computeNewDt() 9 0.001834 0.001834 0.001834 0.21% Castro::apply_source_to_state() 20 0.001832 0.001832 0.001832 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001741 0.001741 0.001741 0.20% Castro::reset_internal_energy(Fab) 504 0.001568 0.001568 0.001568 0.18% FabArrayBase::getCPC() 1323 0.001432 0.001432 0.001432 0.17% MLMG::getGradSolution() 11 0.001402 0.001402 0.001402 0.16% MLCellLinOp::setLevelBC() 11 0.001398 0.001398 0.001398 0.16% MLCellLinOp::compGrad() 11 0.001396 0.001396 0.001396 0.16% FabArray::mult() 43 0.001325 0.001325 0.001325 0.15% FabArray::setDomainBndry() 41 0.001324 0.001324 0.001324 0.15% Castro::enforce_speed_limit() 62 0.001268 0.001268 0.001268 0.15% Castro::check_for_nan() 20 0.001214 0.001214 0.001214 0.14% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.14% Castro::post_regrid() 1 0.001156 0.001156 0.001156 0.13% MLPoisson::prepareForSolve() 11 0.001138 0.001138 0.001138 0.13% MLCellLinOp::prepareForSolve() 11 0.001124 0.001124 0.001124 0.13% MLMG::computeMLResidual() 11 0.001033 0.001033 0.001033 0.12% Castro::computeInitialDt() 2 0.0008881 0.0008881 0.0008881 0.10% Gravity::update_max_rhs() 11 0.0008276 0.0008276 0.0008276 0.10% FabArrayBase::getFB() 4023 0.0007151 0.0007151 0.0007151 0.08% FabArrayBase::CPC::define() 454 0.0006928 0.0006928 0.0006928 0.08% Castro::finalize_advance() 10 0.0006036 0.0006036 0.0006036 0.07% Amr::InitAmr() 1 0.0005176 0.0005176 0.0005176 0.06% MLLinOp::define() 11 0.000461 0.000461 0.000461 0.05% Castro::Castro() 1 0.0004564 0.0004564 0.0004564 0.05% Gravity::swapTimeLevels() 10 0.0004511 0.0004511 0.0004511 0.05% MLLinOp::defineGrids() 11 0.0004495 0.0004495 0.0004495 0.05% MLMG::MLResNormInf() 11 0.0002853 0.0002853 0.0002853 0.03% MultiFab::max() 11 0.00026 0.00026 0.00026 0.03% MLMG::MLRhsNormInf() 11 0.0002266 0.0002266 0.0002266 0.03% Castro::buildMetrics() 1 0.0001645 0.0001645 0.0001645 0.02% FabArrayBase::FB::FB() 56 9.222e-05 9.222e-05 9.222e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.188e-05 5.188e-05 5.188e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.513e-05 4.513e-05 4.513e-05 0.01% Castro::swap_state_time_levels() 10 4.181e-05 4.181e-05 4.181e-05 0.00% Castro::finalize_do_advance() 10 3.826e-05 3.826e-05 3.826e-05 0.00% makeSFC 55 3.794e-05 3.794e-05 3.794e-05 0.00% StateData::define() 4 3.445e-05 3.445e-05 3.445e-05 0.00% Castro::enforce_consistent_e() 1 3.346e-05 3.346e-05 3.346e-05 0.00% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.00% Castro::initMFs() 1 2.576e-05 2.576e-05 2.576e-05 0.00% DistributionMapping::Distribute() 56 1.509e-05 1.509e-05 1.509e-05 0.00% Amr::initSubcycle() 1 8.805e-06 8.805e-06 8.805e-06 0.00% Gravity::set_mass_offset() 11 4.539e-06 4.539e-06 4.539e-06 0.00% AmrLevel::checkPointPost() 3 4.192e-06 4.192e-06 4.192e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.11e-06 4.11e-06 4.11e-06 0.00% Castro::retry_advance_ctu() 10 4.034e-06 4.034e-06 4.034e-06 0.00% Castro::create_source_corrector() 10 3.9e-06 3.9e-06 3.9e-06 0.00% Castro::FluxRegCrseInit 10 2.768e-06 2.768e-06 2.768e-06 0.00% Castro::FluxRegFineAdd() 10 2.365e-06 2.365e-06 2.365e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.071e-06 2.071e-06 2.071e-06 0.00% AmrLevel::checkPointPre() 3 1.987e-06 1.987e-06 1.987e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 102 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1101 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2742 KiB 28 MiB Castro::initialize_advance() 80 80 14 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3693 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 222 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1839 B 2048 KiB Gravity::solve_for_phi() 80 80 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 2683 B 480 KiB VisMF::Write(FabArray) 656 656 3519 B 320 KiB Castro::normalize_species() 62 62 5628 B 320 KiB amrex::average_down 1067 1067 1302 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1210 B 257 KiB amrex::Dot() 1360 1360 3573 B 160 KiB FabArray::norminf() 907 907 2495 B 160 KiB Castro::do_advance_ctu() 10 10 541 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3611 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 8866 8866 232 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 125 B 1472 B MLCellLinOp::defineBC() 66 66 379 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 580 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 642 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3611 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 4433 4433 230 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3857 B 6144 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 49 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.03-29-gb41c44166e12) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-29-gb41c44166e12) initialized Starting run at 08:49:15 UTC on 2023-03-30. Successfully read inputs file ... Castro git describe: 23.03-18-g1be2962ce AMReX git describe: 23.03-29-gb41c44166 Microphysics git describe: 23.03-23-g27bca043 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.476365629 Restart time = 0.045341221 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050766966 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.057916006 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.060834601 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.060970156 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.055355183 [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.033123897 seconds Ending run at 08:49:16 UTC on 2023-03-30. Run time = 0.36531285 Run time without initialization = 0.319385282 Average number of zones advanced per microsecond: 4.104 Average number of zones advanced per microsecond per rank: 4.104 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3653 ... 0.3653 ... 0.3653 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0980 0.0980 0.0980 26.83% VisMF::Read() 3 0.03907 0.03907 0.03907 10.69% MLCellLinOp::applyBC() 1946 0.03352 0.03352 0.03352 9.18% VisMF::Write(FabArray) 1 0.03155 0.03155 0.03155 8.64% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.87% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 3.51% StateData::FillBoundary(geom) 160 0.01243 0.01243 0.01243 3.40% amrex::Dot() 484 0.008857 0.008857 0.008857 2.42% Castro::normalize_species() 30 0.008764 0.008764 0.008764 2.40% amrex::Copy() 463 0.006998 0.006998 0.006998 1.92% Castro::enforce_min_density() 30 0.0069 0.0069 0.0069 1.89% Castro::computeTemp() 30 0.006517 0.006517 0.006517 1.78% FabArray::setVal() 537 0.006328 0.006328 0.006328 1.73% FabArray::norminf() 326 0.006274 0.006274 0.006274 1.72% FabArray::ParallelCopy_nowait() 380 0.006152 0.006152 0.006152 1.68% StateDataPhysBCFunct::() 20 0.005432 0.005432 0.005432 1.49% MLCellLinOp::defineAuxData() 6 0.00542 0.00542 0.00542 1.48% MLPoisson::Fapply() 500 0.004475 0.004475 0.004475 1.22% FabArray::Saxpy() 355 0.003674 0.003674 0.003674 1.01% FabArray::Xpay() 361 0.003524 0.003524 0.003524 0.96% Castro::estTimeStep() 10 0.003415 0.003415 0.003415 0.93% MLMG::addInterpCorrection() 180 0.002975 0.002975 0.002975 0.81% amrex::average_down 180 0.00262 0.00262 0.00262 0.72% Amr::restart() 1 0.002572 0.002572 0.002572 0.70% Gravity::fill_multipole_BCs() 6 0.002556 0.002556 0.002556 0.70% BndryData::define() 6 0.002063 0.002063 0.002063 0.56% Castro::reset_internal_energy(MultiFab) 30 0.001935 0.001935 0.001935 0.53% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.53% Castro::do_advance_ctu() 5 0.001895 0.001895 0.001895 0.52% amrex::Add() 72 0.001856 0.001856 0.001856 0.51% Castro::construct_new_gravity_source() 5 0.0017 0.0017 0.0017 0.47% Castro::subcycle_advance_ctu() 5 0.001543 0.001543 0.001543 0.42% Amr::writePlotFile() 1 0.001411 0.001411 0.001411 0.39% Castro::construct_old_gravity_source() 5 0.001244 0.001244 0.001244 0.34% MLCGSolver::bicgstab 36 0.0009466 0.0009466 0.0009466 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009352 0.0009352 0.0009352 0.26% Castro::reset_internal_energy(Fab) 240 0.0008946 0.0008946 0.0008946 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007718 0.0007718 0.0007718 0.21% MLCellLinOp::setLevelBC() 6 0.0007497 0.0007497 0.0007497 0.21% FabArray::mult() 22 0.0006509 0.0006509 0.0006509 0.18% FabArray::setDomainBndry() 20 0.0006467 0.0006467 0.0006467 0.18% MLCellLinOp::prepareForSolve() 6 0.0006202 0.0006202 0.0006202 0.17% MultiFab::contains_nan() 10 0.0005933 0.0005933 0.0005933 0.16% Castro::enforce_speed_limit() 30 0.0005261 0.0005261 0.0005261 0.14% MLCellLinOp::compGrad() 6 0.0004908 0.0004908 0.0004908 0.13% MLMG::prepareForSolve() 6 0.000477 0.000477 0.000477 0.13% MLCellLinOp::smooth() 720 0.0004546 0.0004546 0.0004546 0.12% FabArrayBase::CPC::define() 244 0.0004175 0.0004175 0.0004175 0.11% Amr::InitAmr() 1 0.0003963 0.0003963 0.0003963 0.11% FabArrayBase::getCPC() 632 0.0003673 0.0003673 0.0003673 0.10% FabArray::FillBoundary() 1766 0.0003578 0.0003578 0.0003578 0.10% Gravity::get_old_grav_vector() 5 0.000348 0.000348 0.000348 0.10% Gravity::get_new_grav_vector() 5 0.0002718 0.0002718 0.0002718 0.07% FabArrayBase::getFB() 1766 0.0002672 0.0002672 0.0002672 0.07% main() 1 0.0002662 0.0002662 0.0002662 0.07% MLCellLinOp::apply() 500 0.0001898 0.0001898 0.0001898 0.05% Amr::coarseTimeStep() 5 0.0001858 0.0001858 0.0001858 0.05% MLMG::mgVcycle() 36 0.0001735 0.0001735 0.0001735 0.05% MLLinOp::defineGrids() 6 0.0001573 0.0001573 0.0001573 0.04% FillPatchIterator::Initialize 20 0.0001368 0.0001368 0.0001368 0.04% MultiFab::max() 6 0.0001362 0.0001362 0.0001362 0.04% MLCGSolver::ParallelAllReduce 659 0.000134 0.000134 0.000134 0.04% FabArray::ParallelCopy() 380 0.0001171 0.0001171 0.0001171 0.03% MLCellLinOp::defineBC() 6 0.0001147 0.0001147 0.0001147 0.03% MLCellLinOp::correctionResidual() 216 9.447e-05 9.447e-05 9.447e-05 0.03% Castro::construct_new_source() 25 8.894e-05 8.894e-05 8.894e-05 0.02% Castro::advance() 5 8.858e-05 8.858e-05 8.858e-05 0.02% Castro::create_source_corrector() 5 8.511e-05 8.511e-05 8.511e-05 0.02% Amr::timeStep() 5 7.957e-05 7.957e-05 7.957e-05 0.02% AmrLevel::restart() 1 7.537e-05 7.537e-05 7.537e-05 0.02% StateData::restartDoit() 4 6.912e-05 6.912e-05 6.912e-05 0.02% FabArrayBase::FB::FB() 26 6.212e-05 6.212e-05 6.212e-05 0.02% Gravity::update_max_rhs() 6 6.131e-05 6.131e-05 6.131e-05 0.02% Gravity::solve_for_phi() 5 5.845e-05 5.845e-05 5.845e-05 0.02% Castro::finalize_advance() 5 5.721e-05 5.721e-05 5.721e-05 0.02% Castro::post_timestep() 5 5.668e-05 5.668e-05 5.668e-05 0.02% Castro::construct_new_gravity() 5 5.152e-05 5.152e-05 5.152e-05 0.01% MLMG:computeResOfCorrection() 180 5.001e-05 5.001e-05 5.001e-05 0.01% Castro::expand_state() 5 4.942e-05 4.942e-05 4.942e-05 0.01% MLMG::actualBottomSolve() 36 4.111e-05 4.111e-05 4.111e-05 0.01% MLMG::mgVcycle_down::0 36 4.006e-05 4.006e-05 4.006e-05 0.01% Castro::initialize_advance() 5 3.991e-05 3.991e-05 3.991e-05 0.01% Castro::clean_state() 30 3.829e-05 3.829e-05 3.829e-05 0.01% MLMG::mgVcycle_down::1 36 3.586e-05 3.586e-05 3.586e-05 0.01% MLMG::solve() 6 3.444e-05 3.444e-05 3.444e-05 0.01% MLMG::mgVcycle_down::4 36 3.351e-05 3.351e-05 3.351e-05 0.01% MLMG::mgVcycle_down::2 36 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::mgVcycle_down::3 36 3.175e-05 3.175e-05 3.175e-05 0.01% MLMG::mgVcycle_up::4 36 2.864e-05 2.864e-05 2.864e-05 0.01% Castro::initMFs() 1 2.707e-05 2.707e-05 2.707e-05 0.01% Castro::buildMetrics() 1 2.68e-05 2.68e-05 2.68e-05 0.01% Castro::initialize_do_advance() 5 2.66e-05 2.66e-05 2.66e-05 0.01% Amr::writeSmallPlotFile() 1 2.481e-05 2.481e-05 2.481e-05 0.01% MLMG::mgVcycle_up::0 36 2.423e-05 2.423e-05 2.423e-05 0.01% Castro::swap_state_time_levels() 5 2.345e-05 2.345e-05 2.345e-05 0.01% MLMG::oneIter() 36 2.299e-05 2.299e-05 2.299e-05 0.01% Castro::computeNewDt() 5 2.123e-05 2.123e-05 2.123e-05 0.01% MLCellLinOp::solutionResidual() 42 2.12e-05 2.12e-05 2.12e-05 0.01% Castro::post_restart() 1 2.103e-05 2.103e-05 2.103e-05 0.01% MLMG::mgVcycle_up::3 36 2.063e-05 2.063e-05 2.063e-05 0.01% MLMG::ResNormInf() 42 2.036e-05 2.036e-05 2.036e-05 0.01% Castro::finalize_do_advance() 5 2.003e-05 2.003e-05 2.003e-05 0.01% MLMG::mgVcycle_up::2 36 1.968e-05 1.968e-05 1.968e-05 0.01% MLMG::mgVcycle_up::1 36 1.909e-05 1.909e-05 1.909e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.644e-05 1.644e-05 1.644e-05 0.00% MLPoisson::define() 6 1.465e-05 1.465e-05 1.465e-05 0.00% MLMG::mgVcycle_bottom 36 1.465e-05 1.465e-05 1.465e-05 0.00% FillPatchSingleLevel 20 1.374e-05 1.374e-05 1.374e-05 0.00% MLMG::computeResidual() 36 1.371e-05 1.371e-05 1.371e-05 0.00% makeSFC 30 1.293e-05 1.293e-05 1.293e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::construct_old_source() 25 1.066e-05 1.066e-05 1.066e-05 0.00% MLPoisson::prepareForSolve() 6 1.001e-05 1.001e-05 1.001e-05 0.00% DistributionMapping::Distribute() 31 9.49e-06 9.49e-06 9.49e-06 0.00% Castro::do_new_sources() 5 9.443e-06 9.443e-06 9.443e-06 0.00% MLMG::computeMLResidual() 6 9.351e-06 9.351e-06 9.351e-06 0.00% Castro::do_old_sources() 5 8.863e-06 8.863e-06 8.863e-06 0.00% Amr::initSubcycle() 1 8.218e-06 8.218e-06 8.218e-06 0.00% Gravity::actual_multilevel_solve() 1 7.992e-06 7.992e-06 7.992e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.643e-06 7.643e-06 7.643e-06 0.00% Castro::check_for_nan() 10 5.837e-06 5.837e-06 5.837e-06 0.00% Castro::construct_old_gravity() 5 5.657e-06 5.657e-06 5.657e-06 0.00% Castro::apply_source_to_state() 10 5.597e-06 5.597e-06 5.597e-06 0.00% MLLinOp::define() 6 5.481e-06 5.481e-06 5.481e-06 0.00% Gravity::swapTimeLevels() 5 4.136e-06 4.136e-06 4.136e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.341e-06 3.341e-06 3.341e-06 0.00% MLMG::getGradSolution() 6 2.82e-06 2.82e-06 2.82e-06 0.00% MLMG::MLResNormInf() 6 2.455e-06 2.455e-06 2.455e-06 0.00% Gravity::set_mass_offset() 6 2.254e-06 2.254e-06 2.254e-06 0.00% MLMG::MLRhsNormInf() 6 2.225e-06 2.225e-06 2.225e-06 0.00% Castro::retry_advance_ctu() 5 2.186e-06 2.186e-06 2.186e-06 0.00% Castro::FluxRegCrseInit 5 1.714e-06 1.714e-06 1.714e-06 0.00% Castro::FluxRegFineAdd() 5 1.208e-06 1.208e-06 1.208e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.126e-06 1.126e-06 1.126e-06 0.00% Amr::init() 1 1.094e-06 1.094e-06 1.094e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3653 0.3653 0.3653 100.00% Amr::coarseTimeStep() 5 0.286 0.286 0.286 78.29% Amr::timeStep() 5 0.2833 0.2833 0.2833 77.53% Castro::advance() 5 0.2782 0.2782 0.2782 76.15% Castro::subcycle_advance_ctu() 5 0.2713 0.2713 0.2713 74.27% Castro::do_advance_ctu() 5 0.2698 0.2698 0.2698 73.85% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 35.71% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 34.35% Gravity::actual_solve_with_mlmg() 6 0.1227 0.1227 0.1227 33.58% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 33.53% MLMG::solve() 6 0.1113 0.1113 0.1113 30.45% MLMG::oneIter() 36 0.1044 0.1044 0.1044 28.56% MLMG::mgVcycle() 36 0.1028 0.1028 0.1028 28.14% Castro::construct_ctu_hydro_source() 5 0.098 0.098 0.098 26.83% MLCellLinOp::smooth() 720 0.05029 0.05029 0.05029 13.77% MLCellLinOp::applyBC() 1946 0.04705 0.04705 0.04705 12.88% Amr::init() 1 0.0454 0.0454 0.0454 12.43% Amr::restart() 1 0.0454 0.0454 0.0454 12.43% AmrLevel::restart() 1 0.03927 0.03927 0.03927 10.75% StateData::restartDoit() 4 0.03919 0.03919 0.03919 10.73% VisMF::Read() 3 0.03907 0.03907 0.03907 10.69% Amr::writePlotFile() 1 0.03321 0.03321 0.03321 9.09% MLMG::mgVcycle_bottom 36 0.03187 0.03187 0.03187 8.72% MLMG::actualBottomSolve() 36 0.03185 0.03185 0.03185 8.72% VisMF::Write(FabArray) 1 0.03155 0.03155 0.03155 8.64% MLCGSolver::bicgstab 36 0.03155 0.03155 0.03155 8.63% Castro::clean_state() 30 0.02557 0.02557 0.02557 7.00% FillPatchIterator::Initialize 20 0.02069 0.02069 0.02069 5.66% FillPatchSingleLevel 20 0.01991 0.01991 0.01991 5.45% StateDataPhysBCFunct::() 20 0.01786 0.01786 0.01786 4.89% MLCellLinOp::apply() 500 0.01575 0.01575 0.01575 4.31% MLMG::mgVcycle_down::0 36 0.0144 0.0144 0.0144 3.94% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.87% FabArray::FillBoundary() 1766 0.01353 0.01353 0.01353 3.70% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.61% StateData::FillBoundary(geom) 160 0.01243 0.01243 0.01243 3.40% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 2.96% MLCellLinOp::correctionResidual() 216 0.009561 0.009561 0.009561 2.62% Castro::initialize_do_advance() 5 0.009455 0.009455 0.009455 2.59% Castro::computeTemp() 30 0.009346 0.009346 0.009346 2.56% MLPoisson::define() 6 0.009141 0.009141 0.009141 2.50% amrex::Dot() 484 0.008857 0.008857 0.008857 2.42% Castro::normalize_species() 30 0.008764 0.008764 0.008764 2.40% MLMG:computeResOfCorrection() 180 0.008395 0.008395 0.008395 2.30% Gravity::get_new_grav_vector() 5 0.007826 0.007826 0.007826 2.14% Castro::construct_old_gravity() 5 0.007789 0.007789 0.007789 2.13% Gravity::get_old_grav_vector() 5 0.007783 0.007783 0.007783 2.13% Castro::do_new_sources() 5 0.007552 0.007552 0.007552 2.07% amrex::Copy() 463 0.006998 0.006998 0.006998 1.92% Castro::enforce_min_density() 30 0.0069 0.0069 0.0069 1.89% MLMG::mgVcycle_down::1 36 0.00685 0.00685 0.00685 1.87% FabArray::ParallelCopy() 380 0.006654 0.006654 0.006654 1.82% FabArray::ParallelCopy_nowait() 380 0.006537 0.006537 0.006537 1.79% Castro::initialize_advance() 5 0.00645 0.00645 0.00645 1.77% MLMG::mgVcycle_down::2 36 0.006441 0.006441 0.006441 1.76% FabArray::setVal() 537 0.006328 0.006328 0.006328 1.73% FabArray::norminf() 326 0.006274 0.006274 0.006274 1.72% MLMG::mgVcycle_down::3 36 0.00627 0.00627 0.00627 1.72% MLMG::mgVcycle_down::4 36 0.006267 0.006267 0.006267 1.72% MLCellLinOp::defineAuxData() 6 0.006186 0.006186 0.006186 1.69% Castro::expand_state() 5 0.005666 0.005666 0.005666 1.55% Castro::do_old_sources() 5 0.005626 0.005626 0.005626 1.54% MLCGSolver::ParallelAllReduce 659 0.005336 0.005336 0.005336 1.46% MLMG::addInterpCorrection() 180 0.005264 0.005264 0.005264 1.44% MLMG::mgVcycle_up::4 36 0.005061 0.005061 0.005061 1.39% MLMG::mgVcycle_up::1 36 0.004981 0.004981 0.004981 1.36% Castro::post_timestep() 5 0.00498 0.00498 0.00498 1.36% amrex::average_down 180 0.004945 0.004945 0.004945 1.35% MLMG::mgVcycle_up::2 36 0.004879 0.004879 0.004879 1.34% MLMG::mgVcycle_up::3 36 0.004801 0.004801 0.004801 1.31% MLPoisson::Fapply() 500 0.004475 0.004475 0.004475 1.22% FabArray::Saxpy() 355 0.003674 0.003674 0.003674 1.01% FabArray::Xpay() 361 0.003524 0.003524 0.003524 0.96% Castro::estTimeStep() 10 0.003415 0.003415 0.003415 0.93% Castro::post_restart() 1 0.003381 0.003381 0.003381 0.93% Gravity::multilevel_solve_for_new_phi() 1 0.003264 0.003264 0.003264 0.89% Gravity::actual_multilevel_solve() 1 0.003248 0.003248 0.003248 0.89% MLCellLinOp::solutionResidual() 42 0.003232 0.003232 0.003232 0.88% Castro::reset_internal_energy(MultiFab) 30 0.00283 0.00283 0.00283 0.77% MLCellLinOp::defineBC() 6 0.002747 0.002747 0.002747 0.75% Gravity::fill_multipole_BCs() 6 0.002711 0.002711 0.002711 0.74% MLMG::computeResidual() 36 0.002676 0.002676 0.002676 0.73% BndryData::define() 6 0.002632 0.002632 0.002632 0.72% Castro::computeNewDt() 5 0.002568 0.002568 0.002568 0.70% MLMG::prepareForSolve() 6 0.002563 0.002563 0.002563 0.70% FabArray::LinComb() 242 0.001931 0.001931 0.001931 0.53% amrex::Add() 72 0.001856 0.001856 0.001856 0.51% Castro::construct_new_source() 25 0.001789 0.001789 0.001789 0.49% Castro::construct_new_gravity_source() 5 0.0017 0.0017 0.0017 0.47% Castro::construct_old_source() 25 0.001255 0.001255 0.001255 0.34% Castro::construct_old_gravity_source() 5 0.001244 0.001244 0.001244 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009352 0.0009352 0.0009352 0.26% MLMG::ResNormInf() 42 0.0009323 0.0009323 0.0009323 0.26% Castro::apply_source_to_state() 10 0.0009278 0.0009278 0.0009278 0.25% Castro::reset_internal_energy(Fab) 240 0.0008946 0.0008946 0.0008946 0.24% FabArrayBase::getCPC() 632 0.0007848 0.0007848 0.0007848 0.21% MLMG::getGradSolution() 6 0.0007587 0.0007587 0.0007587 0.21% MLCellLinOp::compGrad() 6 0.0007559 0.0007559 0.0007559 0.21% MLCellLinOp::setLevelBC() 6 0.0007497 0.0007497 0.0007497 0.21% FabArray::mult() 22 0.0006509 0.0006509 0.0006509 0.18% FabArray::setDomainBndry() 20 0.0006467 0.0006467 0.0006467 0.18% MLPoisson::prepareForSolve() 6 0.0006302 0.0006302 0.0006302 0.17% MLCellLinOp::prepareForSolve() 6 0.0006202 0.0006202 0.0006202 0.17% Castro::check_for_nan() 10 0.0005991 0.0005991 0.0005991 0.16% MultiFab::contains_nan() 10 0.0005933 0.0005933 0.0005933 0.16% MLMG::computeMLResidual() 6 0.0005799 0.0005799 0.0005799 0.16% Castro::enforce_speed_limit() 30 0.0005261 0.0005261 0.0005261 0.14% Gravity::update_max_rhs() 6 0.0004585 0.0004585 0.0004585 0.13% FabArrayBase::CPC::define() 244 0.0004175 0.0004175 0.0004175 0.11% Amr::InitAmr() 1 0.0004045 0.0004045 0.0004045 0.11% FabArrayBase::getFB() 1766 0.0003293 0.0003293 0.0003293 0.09% Castro::finalize_advance() 5 0.000323 0.000323 0.000323 0.09% Gravity::swapTimeLevels() 5 0.000228 0.000228 0.000228 0.06% MLLinOp::define() 6 0.0001926 0.0001926 0.0001926 0.05% MLLinOp::defineGrids() 6 0.0001871 0.0001871 0.0001871 0.05% MLMG::MLResNormInf() 6 0.0001573 0.0001573 0.0001573 0.04% Castro::buildMetrics() 1 0.000149 0.000149 0.000149 0.04% MultiFab::max() 6 0.0001362 0.0001362 0.0001362 0.04% MLMG::MLRhsNormInf() 6 0.0001177 0.0001177 0.0001177 0.03% Castro::create_source_corrector() 5 8.511e-05 8.511e-05 8.511e-05 0.02% FabArrayBase::FB::FB() 26 6.212e-05 6.212e-05 6.212e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.868e-05 2.868e-05 2.868e-05 0.01% Castro::initMFs() 1 2.707e-05 2.707e-05 2.707e-05 0.01% Amr::writeSmallPlotFile() 1 2.481e-05 2.481e-05 2.481e-05 0.01% Castro::swap_state_time_levels() 5 2.345e-05 2.345e-05 2.345e-05 0.01% makeSFC 30 2.104e-05 2.104e-05 2.104e-05 0.01% Castro::finalize_do_advance() 5 2.003e-05 2.003e-05 2.003e-05 0.01% DistributionMapping::Distribute() 31 9.49e-06 9.49e-06 9.49e-06 0.00% Amr::initSubcycle() 1 8.218e-06 8.218e-06 8.218e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.721e-06 4.721e-06 4.721e-06 0.00% Gravity::set_mass_offset() 6 2.254e-06 2.254e-06 2.254e-06 0.00% Castro::retry_advance_ctu() 5 2.186e-06 2.186e-06 2.186e-06 0.00% Castro::FluxRegCrseInit 5 1.714e-06 1.714e-06 1.714e-06 0.00% Castro::FluxRegFineAdd() 5 1.208e-06 1.208e-06 1.208e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.126e-06 1.126e-06 1.126e-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 226 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 115 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1218 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2544 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 6690 KiB 14 MiB MLMG::prepareForSolve() 361 361 3738 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 219 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 219 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6685 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2428 B 2048 KiB Gravity::solve_for_phi() 40 40 685 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 343 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 221 KiB 671 KiB Castro::estTimeStep() 10 10 4389 B 480 KiB VisMF::Write(FabArray) 112 112 1357 B 320 KiB Castro::normalize_species() 30 30 7804 B 320 KiB amrex::average_down 469 469 1292 B 257 KiB MLMG::addInterpCorrection() 468 468 1224 B 257 KiB amrex::Dot() 592 592 3563 B 160 KiB FabArray::norminf() 398 398 2529 B 160 KiB Castro::do_advance_ctu() 5 5 748 B 160 KiB MultiFab::max() 6 6 57 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3634 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 303 B 9648 B MLCellLinOp::applyBC() 3892 3892 235 B 9344 B amrex::Copy() 56 56 5954 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 53 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 125 B 1472 B MLCellLinOp::defineBC() 36 36 386 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1321 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 121 KiB 8192 KiB VisMF::Write(FabArray) 120 120 267 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3634 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 53 B 10 KiB FillBoundary_nowait() 336 336 304 B 9648 B MLCellLinOp::applyBC() 1946 1946 234 B 9328 B amrex::Copy() 56 56 5954 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2635 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 54 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 549 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.03-29-gb41c44166e12) finalized