Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-1-g85a247b8a9d6) initialized Starting run at 07:34:19 UTC on 2023-05-02. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-1-g85a247b8a Microphysics git describe: 23.05 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.059694201 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034481468 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047954863 [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.050192916 [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.056703112 [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.067173891 [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.067929604 [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.059343315 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.065903874 [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.056476605 [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.04882331 [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.065206672 [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.071538852 [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.060599749 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034098599 seconds Ending run at 07:34:20 UTC on 2023-05-02. Run time = 0.895444682 Run time without initialization = 0.752578121 Average number of zones advanced per microsecond: 3.483 Average number of zones advanced per microsecond per rank: 3.483 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8955 ... 0.8955 ... 0.8955 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 26.95% Castro::construct_ctu_hydro_source() 10 0.2346 0.2346 0.2346 26.20% MLCellLinOp::applyBC() 4433 0.07742 0.07742 0.07742 8.65% MLPoisson::Fsmooth() 3280 0.03242 0.03242 0.03242 3.62% FillBoundary_nowait() 4023 0.031 0.031 0.031 3.46% StateData::FillBoundary(geom) 328 0.02486 0.02486 0.02486 2.78% amrex::Dot() 1114 0.02061 0.02061 0.02061 2.30% Castro::normalize_species() 62 0.01519 0.01519 0.01519 1.70% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.65% FabArray::norminf() 743 0.01444 0.01444 0.01444 1.61% Castro::computeTemp() 63 0.01417 0.01417 0.01417 1.58% Castro::enforce_min_density() 62 0.01364 0.01364 0.01364 1.52% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.50% FabArray::setVal() 1144 0.01313 0.01313 0.01313 1.47% StateDataPhysBCFunct::() 41 0.01117 0.01117 0.01117 1.25% MLPoisson::Fapply() 1142 0.01036 0.01036 0.01036 1.16% MLCellLinOp::defineAuxData() 11 0.009768 0.009768 0.009768 1.09% FabArray::Saxpy() 813 0.008205 0.008205 0.008205 0.92% FabArray::Xpay() 821 0.00806 0.00806 0.00806 0.90% MLMG::addInterpCorrection() 410 0.006658 0.006658 0.006658 0.74% Gravity::fill_multipole_BCs() 11 0.006407 0.006407 0.006407 0.72% amrex::average_down 410 0.006054 0.006054 0.006054 0.68% Castro::estTimeStep() 21 0.004919 0.004919 0.004919 0.55% FabArray::LinComb() 557 0.004542 0.004542 0.004542 0.51% amrex::Add() 164 0.004373 0.004373 0.004373 0.49% Castro::reset_internal_energy(MultiFab) 63 0.00416 0.00416 0.00416 0.46% Amr::checkPoint() 3 0.00403 0.00403 0.00403 0.45% BndryData::define() 11 0.003765 0.003765 0.003765 0.42% Castro::do_advance_ctu() 10 0.003604 0.003604 0.003604 0.40% Castro::construct_new_gravity_source() 10 0.003266 0.003266 0.003266 0.36% Castro::construct_old_gravity_source() 10 0.002711 0.002711 0.002711 0.30% Amr::writePlotFile() 2 0.002413 0.002413 0.002413 0.27% MLCGSolver::bicgstab 82 0.002139 0.002139 0.002139 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001709 0.001709 0.001709 0.19% Castro::reset_internal_energy(Fab) 504 0.001488 0.001488 0.001488 0.17% Gravity::actual_solve_with_mlmg() 11 0.001476 0.001476 0.001476 0.16% MLCellLinOp::setLevelBC() 11 0.001415 0.001415 0.001415 0.16% FabArray::mult() 43 0.001319 0.001319 0.001319 0.15% FabArray::setDomainBndry() 41 0.001296 0.001296 0.001296 0.14% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.13% Castro::initData() 1 0.001175 0.001175 0.001175 0.13% MLCellLinOp::prepareForSolve() 11 0.001147 0.001147 0.001147 0.13% Castro::enforce_speed_limit() 62 0.001033 0.001033 0.001033 0.12% MLCellLinOp::smooth() 1640 0.001007 0.001007 0.001007 0.11% MLCellLinOp::compGrad() 11 0.0009216 0.0009216 0.0009216 0.10% MLMG::prepareForSolve() 11 0.0008996 0.0008996 0.0008996 0.10% FabArray::FillBoundary() 4023 0.0008334 0.0008334 0.0008334 0.09% Castro::subcycle_advance_ctu() 10 0.0007567 0.0007567 0.0007567 0.08% FabArrayBase::getCPC() 1323 0.0007462 0.0007462 0.0007462 0.08% FabArrayBase::CPC::define() 454 0.0006634 0.0006634 0.0006634 0.07% Gravity::get_new_grav_vector() 11 0.0006334 0.0006334 0.0006334 0.07% FabArrayBase::getFB() 4023 0.0005729 0.0005729 0.0005729 0.06% Gravity::get_old_grav_vector() 10 0.0005497 0.0005497 0.0005497 0.06% Amr::InitAmr() 1 0.0004855 0.0004855 0.0004855 0.05% MLCellLinOp::apply() 1142 0.0004308 0.0004308 0.0004308 0.05% MLMG::mgVcycle() 82 0.0003918 0.0003918 0.0003918 0.04% MLLinOp::defineGrids() 11 0.0003549 0.0003549 0.0003549 0.04% Amr::coarseTimeStep() 10 0.0003346 0.0003346 0.0003346 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003062 0.0003062 0.0003062 0.03% main() 1 0.000284 0.000284 0.000284 0.03% MultiFab::max() 11 0.0002576 0.0002576 0.0002576 0.03% FabArray::ParallelCopy() 861 0.0002419 0.0002419 0.0002419 0.03% FillPatchIterator::Initialize 41 0.0002252 0.0002252 0.0002252 0.03% MLCellLinOp::correctionResidual() 492 0.0002157 0.0002157 0.0002157 0.02% MLCellLinOp::defineBC() 11 0.0002129 0.0002129 0.0002129 0.02% Castro::create_source_corrector() 10 0.0002047 0.0002047 0.0002047 0.02% Amr::timeStep() 10 0.0001524 0.0001524 0.0001524 0.02% StateData::checkPoint() 12 0.000135 0.000135 0.000135 0.02% Gravity::update_max_rhs() 11 0.0001194 0.0001194 0.0001194 0.01% MLMG:computeResOfCorrection() 410 0.0001121 0.0001121 0.0001121 0.01% Gravity::solve_for_phi() 10 0.0001055 0.0001055 0.0001055 0.01% MLMG::actualBottomSolve() 82 8.926e-05 8.926e-05 8.926e-05 0.01% FabArrayBase::FB::FB() 56 8.901e-05 8.901e-05 8.901e-05 0.01% Castro::Castro() 1 8.495e-05 8.495e-05 8.495e-05 0.01% MLMG::mgVcycle_down::0 82 8.398e-05 8.398e-05 8.398e-05 0.01% Castro::expand_state() 10 7.926e-05 7.926e-05 7.926e-05 0.01% AmrLevel::checkPoint() 3 7.608e-05 7.608e-05 7.608e-05 0.01% MLMG::mgVcycle_down::1 82 7.325e-05 7.325e-05 7.325e-05 0.01% Castro::construct_new_source() 50 7.284e-05 7.284e-05 7.284e-05 0.01% MLMG::mgVcycle_down::3 82 7.266e-05 7.266e-05 7.266e-05 0.01% Castro::clean_state() 62 7.15e-05 7.15e-05 7.15e-05 0.01% MLMG::mgVcycle_down::2 82 7.146e-05 7.146e-05 7.146e-05 0.01% Castro::initialize_advance() 10 7.046e-05 7.046e-05 7.046e-05 0.01% MLMG::solve() 11 6.915e-05 6.915e-05 6.915e-05 0.01% Castro::advance() 10 6.846e-05 6.846e-05 6.846e-05 0.01% MLMG::mgVcycle_down::4 82 6.804e-05 6.804e-05 6.804e-05 0.01% Castro::finalize_advance() 10 6.157e-05 6.157e-05 6.157e-05 0.01% MLMG::mgVcycle_up::4 82 5.928e-05 5.928e-05 5.928e-05 0.01% Castro::initialize_do_advance() 10 5.46e-05 5.46e-05 5.46e-05 0.01% MLMG::oneIter() 82 5.316e-05 5.316e-05 5.316e-05 0.01% MLCellLinOp::solutionResidual() 93 4.812e-05 4.812e-05 4.812e-05 0.01% MLMG::mgVcycle_up::3 82 4.658e-05 4.658e-05 4.658e-05 0.01% MLMG::mgVcycle_up::0 82 4.647e-05 4.647e-05 4.647e-05 0.01% MLMG::mgVcycle_up::1 82 4.6e-05 4.6e-05 4.6e-05 0.01% MLMG::mgVcycle_up::2 82 4.342e-05 4.342e-05 4.342e-05 0.00% Castro::swap_state_time_levels() 10 3.981e-05 3.981e-05 3.981e-05 0.00% Castro::finalize_do_advance() 10 3.802e-05 3.802e-05 3.802e-05 0.00% Castro::enforce_consistent_e() 1 3.328e-05 3.328e-05 3.328e-05 0.00% MLMG::ResNormInf() 93 3.309e-05 3.309e-05 3.309e-05 0.00% StateData::define() 4 3.262e-05 3.262e-05 3.262e-05 0.00% MLMG::computeResidual() 82 3.091e-05 3.091e-05 3.091e-05 0.00% MLMG::mgVcycle_bottom 82 3.087e-05 3.087e-05 3.087e-05 0.00% FillPatchSingleLevel 41 2.969e-05 2.969e-05 2.969e-05 0.00% Castro::construct_new_gravity() 10 2.656e-05 2.656e-05 2.656e-05 0.00% Castro::initMFs() 1 2.565e-05 2.565e-05 2.565e-05 0.00% Amr::writeSmallPlotFile() 1 2.437e-05 2.437e-05 2.437e-05 0.00% makeSFC 55 2.385e-05 2.385e-05 2.385e-05 0.00% MLPoisson::define() 11 2.256e-05 2.256e-05 2.256e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.242e-05 2.242e-05 2.242e-05 0.00% Amr::FinalizeInit() 1 1.986e-05 1.986e-05 1.986e-05 0.00% Amr::defBaseLevel() 1 1.948e-05 1.948e-05 1.948e-05 0.00% Castro::construct_old_source() 50 1.817e-05 1.817e-05 1.817e-05 0.00% Castro::buildMetrics() 1 1.781e-05 1.781e-05 1.781e-05 0.00% Castro::do_new_sources() 10 1.598e-05 1.598e-05 1.598e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.593e-05 1.593e-05 1.593e-05 0.00% DistributionMapping::Distribute() 56 1.511e-05 1.511e-05 1.511e-05 0.00% Castro::do_old_sources() 10 1.452e-05 1.452e-05 1.452e-05 0.00% MLPoisson::prepareForSolve() 11 1.403e-05 1.403e-05 1.403e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.381e-05 1.381e-05 1.381e-05 0.00% MLMG::computeMLResidual() 11 1.363e-05 1.363e-05 1.363e-05 0.00% Castro::check_for_nan() 20 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::apply_source_to_state() 20 9.845e-06 9.845e-06 9.845e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.642e-06 9.642e-06 9.642e-06 0.00% MLLinOp::define() 11 9.242e-06 9.242e-06 9.242e-06 0.00% Castro::construct_old_gravity() 10 8.752e-06 8.752e-06 8.752e-06 0.00% Gravity::swapTimeLevels() 10 8.522e-06 8.522e-06 8.522e-06 0.00% Castro::post_timestep() 10 8.328e-06 8.328e-06 8.328e-06 0.00% Amr::initSubcycle() 1 8.311e-06 8.311e-06 8.311e-06 0.00% Gravity::actual_multilevel_solve() 1 8.172e-06 8.172e-06 8.172e-06 0.00% Castro::computeNewDt() 9 6.693e-06 6.693e-06 6.693e-06 0.00% MLMG::getGradSolution() 11 5.738e-06 5.738e-06 5.738e-06 0.00% Amr::InitializeInit() 1 4.826e-06 4.826e-06 4.826e-06 0.00% AmrLevel::checkPointPost() 3 4.453e-06 4.453e-06 4.453e-06 0.00% Castro::post_init() 1 4.039e-06 4.039e-06 4.039e-06 0.00% Gravity::set_mass_offset() 11 4.018e-06 4.018e-06 4.018e-06 0.00% Castro::retry_advance_ctu() 10 3.915e-06 3.915e-06 3.915e-06 0.00% MLMG::MLRhsNormInf() 11 3.865e-06 3.865e-06 3.865e-06 0.00% MLMG::MLResNormInf() 11 3.851e-06 3.851e-06 3.851e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.067e-06 3.067e-06 3.067e-06 0.00% Amr::init() 1 2.972e-06 2.972e-06 2.972e-06 0.00% Castro::FluxRegCrseInit 10 2.842e-06 2.842e-06 2.842e-06 0.00% AmrLevel::checkPointPre() 3 2.34e-06 2.34e-06 2.34e-06 0.00% Castro::computeInitialDt() 2 2.228e-06 2.228e-06 2.228e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.951e-06 1.951e-06 1.951e-06 0.00% Castro::FluxRegFineAdd() 10 1.924e-06 1.924e-06 1.924e-06 0.00% Castro::post_regrid() 1 1.491e-06 1.491e-06 1.491e-06 0.00% Amr::initialInit() 1 1.073e-06 1.073e-06 1.073e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8955 0.8955 0.8955 100.00% Amr::coarseTimeStep() 10 0.7183 0.7183 0.7183 80.21% Amr::timeStep() 10 0.5949 0.5949 0.5949 66.44% Castro::advance() 10 0.5871 0.5871 0.5871 65.57% Castro::subcycle_advance_ctu() 10 0.5748 0.5748 0.5748 64.19% Castro::do_advance_ctu() 10 0.5741 0.5741 0.5741 64.11% Gravity::solve_phi_with_mlmg() 11 0.2842 0.2842 0.2842 31.74% Gravity::actual_solve_with_mlmg() 11 0.2773 0.2773 0.2773 30.97% Castro::construct_new_gravity() 10 0.2594 0.2594 0.2594 28.97% MLMG::solve() 11 0.2565 0.2565 0.2565 28.65% Gravity::solve_for_phi() 10 0.2441 0.2441 0.2441 27.26% MLMG::oneIter() 82 0.2422 0.2422 0.2422 27.04% VisMF::Write(FabArray) 11 0.2413 0.2413 0.2413 26.95% MLMG::mgVcycle() 82 0.2385 0.2385 0.2385 26.63% Castro::construct_ctu_hydro_source() 10 0.2346 0.2346 0.2346 26.20% Amr::checkPoint() 3 0.1798 0.1798 0.1798 20.08% AmrLevel::checkPoint() 3 0.1757 0.1757 0.1757 19.63% StateData::checkPoint() 12 0.1757 0.1757 0.1757 19.62% Amr::init() 1 0.1422 0.1422 0.1422 15.88% MLCellLinOp::smooth() 1640 0.1173 0.1173 0.1173 13.10% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 12.27% MLMG::mgVcycle_bottom 82 0.07388 0.07388 0.07388 8.25% MLMG::actualBottomSolve() 82 0.07385 0.07385 0.07385 8.25% MLCGSolver::bicgstab 82 0.07315 0.07315 0.07315 8.17% Amr::writePlotFile() 2 0.06872 0.06872 0.06872 7.67% Castro::clean_state() 62 0.04891 0.04891 0.04891 5.46% Amr::initialInit() 1 0.04792 0.04792 0.04792 5.35% Amr::FinalizeInit() 1 0.04388 0.04388 0.04388 4.90% Castro::post_init() 1 0.04254 0.04254 0.04254 4.75% FillPatchIterator::Initialize 41 0.0416 0.0416 0.0416 4.65% Gravity::multilevel_solve_for_new_phi() 1 0.04051 0.04051 0.04051 4.52% Gravity::actual_multilevel_solve() 1 0.04049 0.04049 0.04049 4.52% FillPatchSingleLevel 41 0.04008 0.04008 0.04008 4.48% MLCellLinOp::apply() 1142 0.03637 0.03637 0.03637 4.06% StateDataPhysBCFunct::() 41 0.03603 0.03603 0.03603 4.02% MLMG::mgVcycle_down::0 82 0.0338 0.0338 0.0338 3.77% FabArray::FillBoundary() 4023 0.0325 0.0325 0.0325 3.63% MLPoisson::Fsmooth() 3280 0.03242 0.03242 0.03242 3.62% FillBoundary_nowait() 4023 0.03167 0.03167 0.03167 3.54% MLMG::mgVcycle_up::0 82 0.02551 0.02551 0.02551 2.85% StateData::FillBoundary(geom) 328 0.02486 0.02486 0.02486 2.78% MLCellLinOp::correctionResidual() 492 0.02225 0.02225 0.02225 2.48% amrex::Dot() 1114 0.02061 0.02061 0.02061 2.30% Castro::computeTemp() 63 0.01982 0.01982 0.01982 2.21% Castro::initialize_do_advance() 10 0.01964 0.01964 0.01964 2.19% MLMG:computeResOfCorrection() 410 0.01959 0.01959 0.01959 2.19% Gravity::get_new_grav_vector() 11 0.01709 0.01709 0.01709 1.91% MLPoisson::define() 11 0.0165 0.0165 0.0165 1.84% MLMG::mgVcycle_down::1 82 0.01586 0.01586 0.01586 1.77% Castro::normalize_species() 62 0.01519 0.01519 0.01519 1.70% Castro::construct_old_gravity() 10 0.01493 0.01493 0.01493 1.67% Gravity::get_old_grav_vector() 10 0.01492 0.01492 0.01492 1.67% MLMG::mgVcycle_down::2 82 0.01486 0.01486 0.01486 1.66% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.65% MLMG::mgVcycle_down::3 82 0.01447 0.01447 0.01447 1.62% FabArray::ParallelCopy() 861 0.01445 0.01445 0.01445 1.61% FabArray::norminf() 743 0.01444 0.01444 0.01444 1.61% MLMG::mgVcycle_down::4 82 0.01434 0.01434 0.01434 1.60% FabArray::ParallelCopy_nowait() 861 0.01421 0.01421 0.01421 1.59% Castro::enforce_min_density() 62 0.01364 0.01364 0.01364 1.52% FabArray::setVal() 1144 0.01313 0.01313 0.01313 1.47% Castro::do_new_sources() 10 0.01311 0.01311 0.01311 1.46% MLCGSolver::ParallelAllReduce 1514 0.01239 0.01239 0.01239 1.38% MLMG::addInterpCorrection() 410 0.01183 0.01183 0.01183 1.32% Castro::initialize_advance() 10 0.01166 0.01166 0.01166 1.30% MLMG::mgVcycle_up::1 82 0.01161 0.01161 0.01161 1.30% MLMG::mgVcycle_up::4 82 0.01144 0.01144 0.01144 1.28% amrex::average_down 410 0.01132 0.01132 0.01132 1.26% MLMG::mgVcycle_up::2 82 0.01127 0.01127 0.01127 1.26% MLCellLinOp::defineAuxData() 11 0.01109 0.01109 0.01109 1.24% MLMG::mgVcycle_up::3 82 0.01104 0.01104 0.01104 1.23% Castro::expand_state() 10 0.01102 0.01102 0.01102 1.23% Castro::do_old_sources() 10 0.01102 0.01102 0.01102 1.23% MLPoisson::Fapply() 1142 0.01036 0.01036 0.01036 1.16% FabArray::Saxpy() 813 0.008205 0.008205 0.008205 0.92% FabArray::Xpay() 821 0.00806 0.00806 0.00806 0.90% Castro::post_timestep() 10 0.007623 0.007623 0.007623 0.85% MLCellLinOp::solutionResidual() 93 0.007156 0.007156 0.007156 0.80% Gravity::fill_multipole_BCs() 11 0.006642 0.006642 0.006642 0.74% MLMG::computeResidual() 82 0.006173 0.006173 0.006173 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005647 0.005647 0.005647 0.63% MLCellLinOp::defineBC() 11 0.004969 0.004969 0.004969 0.55% Castro::estTimeStep() 21 0.004919 0.004919 0.004919 0.55% BndryData::define() 11 0.004756 0.004756 0.004756 0.53% MLMG::prepareForSolve() 11 0.004753 0.004753 0.004753 0.53% FabArray::LinComb() 557 0.004542 0.004542 0.004542 0.51% amrex::Add() 164 0.004373 0.004373 0.004373 0.49% Amr::InitializeInit() 1 0.004043 0.004043 0.004043 0.45% Amr::defBaseLevel() 1 0.004038 0.004038 0.004038 0.45% Castro::initData() 1 0.00353 0.00353 0.00353 0.39% Castro::construct_new_source() 50 0.003339 0.003339 0.003339 0.37% Castro::construct_new_gravity_source() 10 0.003266 0.003266 0.003266 0.36% Castro::construct_old_source() 50 0.002729 0.002729 0.002729 0.30% Castro::construct_old_gravity_source() 10 0.002711 0.002711 0.002711 0.30% Castro::computeNewDt() 9 0.002287 0.002287 0.002287 0.26% MLMG::ResNormInf() 93 0.002115 0.002115 0.002115 0.24% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001709 0.001709 0.001709 0.19% Castro::reset_internal_energy(Fab) 504 0.001488 0.001488 0.001488 0.17% MLCellLinOp::setLevelBC() 11 0.001415 0.001415 0.001415 0.16% FabArrayBase::getCPC() 1323 0.00141 0.00141 0.00141 0.16% MLMG::getGradSolution() 11 0.001405 0.001405 0.001405 0.16% MLCellLinOp::compGrad() 11 0.001399 0.001399 0.001399 0.16% FabArray::mult() 43 0.001319 0.001319 0.001319 0.15% FabArray::setDomainBndry() 41 0.001296 0.001296 0.001296 0.14% Castro::check_for_nan() 20 0.001214 0.001214 0.001214 0.14% MultiFab::contains_nan() 20 0.001204 0.001204 0.001204 0.13% MLPoisson::prepareForSolve() 11 0.001161 0.001161 0.001161 0.13% MLCellLinOp::prepareForSolve() 11 0.001147 0.001147 0.001147 0.13% Castro::post_regrid() 1 0.001108 0.001108 0.001108 0.12% Castro::enforce_speed_limit() 62 0.001033 0.001033 0.001033 0.12% MLMG::computeMLResidual() 11 0.001027 0.001027 0.001027 0.11% Castro::computeInitialDt() 2 0.0008893 0.0008893 0.0008893 0.10% Gravity::update_max_rhs() 11 0.0008163 0.0008163 0.0008163 0.09% FabArrayBase::CPC::define() 454 0.0006634 0.0006634 0.0006634 0.07% FabArrayBase::getFB() 4023 0.0006619 0.0006619 0.0006619 0.07% Castro::finalize_advance() 10 0.0005864 0.0005864 0.0005864 0.07% Amr::InitAmr() 1 0.0004938 0.0004938 0.0004938 0.06% Castro::Castro() 1 0.0004418 0.0004418 0.0004418 0.05% Gravity::swapTimeLevels() 10 0.0004365 0.0004365 0.0004365 0.05% MLLinOp::define() 11 0.0004177 0.0004177 0.0004177 0.05% MLLinOp::defineGrids() 11 0.0004084 0.0004084 0.0004084 0.05% MLMG::MLResNormInf() 11 0.0002933 0.0002933 0.0002933 0.03% MultiFab::max() 11 0.0002576 0.0002576 0.0002576 0.03% MLMG::MLRhsNormInf() 11 0.0002203 0.0002203 0.0002203 0.02% Castro::create_source_corrector() 10 0.0002047 0.0002047 0.0002047 0.02% Castro::buildMetrics() 1 0.0001675 0.0001675 0.0001675 0.02% FabArrayBase::FB::FB() 56 8.901e-05 8.901e-05 8.901e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.158e-05 5.158e-05 5.158e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.226e-05 4.226e-05 4.226e-05 0.00% Castro::swap_state_time_levels() 10 3.981e-05 3.981e-05 3.981e-05 0.00% Castro::finalize_do_advance() 10 3.802e-05 3.802e-05 3.802e-05 0.00% makeSFC 55 3.777e-05 3.777e-05 3.777e-05 0.00% Castro::enforce_consistent_e() 1 3.328e-05 3.328e-05 3.328e-05 0.00% StateData::define() 4 3.262e-05 3.262e-05 3.262e-05 0.00% Castro::initMFs() 1 2.565e-05 2.565e-05 2.565e-05 0.00% Amr::writeSmallPlotFile() 1 2.437e-05 2.437e-05 2.437e-05 0.00% DistributionMapping::Distribute() 56 1.511e-05 1.511e-05 1.511e-05 0.00% Amr::initSubcycle() 1 8.311e-06 8.311e-06 8.311e-06 0.00% AmrLevel::checkPointPost() 3 4.453e-06 4.453e-06 4.453e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.263e-06 4.263e-06 4.263e-06 0.00% Gravity::set_mass_offset() 11 4.018e-06 4.018e-06 4.018e-06 0.00% Castro::retry_advance_ctu() 10 3.915e-06 3.915e-06 3.915e-06 0.00% Castro::FluxRegCrseInit 10 2.842e-06 2.842e-06 2.842e-06 0.00% AmrLevel::checkPointPre() 3 2.34e-06 2.34e-06 2.34e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.951e-06 1.951e-06 1.951e-06 0.00% Castro::FluxRegFineAdd() 10 1.924e-06 1.924e-06 1.924e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 124 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 986 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2156 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3524 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 198 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1744 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2624 B 480 KiB VisMF::Write(FabArray) 656 656 3335 B 320 KiB Castro::normalize_species() 62 62 5524 B 320 KiB amrex::average_down 1067 1067 1258 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1136 B 257 KiB amrex::Dot() 1360 1360 3392 B 160 KiB FabArray::norminf() 907 907 2389 B 160 KiB Castro::do_advance_ctu() 10 10 613 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3445 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 8866 8866 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3850 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 118 B 1472 B MLCellLinOp::defineBC() 66 66 362 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 603 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 626 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3445 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3850 B 6144 B Gravity::get_new_grav_vector() 3 3 2909 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 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 293 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 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): 2424 [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.05-1-g85a247b8a9d6) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-1-g85a247b8a9d6) initialized Starting run at 07:34:20 UTC on 2023-05-02. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-1-g85a247b8a Microphysics git describe: 23.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.492176294 Restart time = 0.045381205 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048545293 [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.047702098 [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.063348776 [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.065755113 [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.070136645 [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.033636771 seconds Ending run at 07:34:21 UTC on 2023-05-02. Run time = 0.37553041 Run time without initialization = 0.329524367 Average number of zones advanced per microsecond: 3.978 Average number of zones advanced per microsecond per rank: 3.978 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3756 ... 0.3756 ... 0.3756 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1155 0.1155 0.1155 30.75% VisMF::Read() 3 0.03908 0.03908 0.03908 10.40% MLCellLinOp::applyBC() 1946 0.03346 0.03346 0.03346 8.91% VisMF::Write(FabArray) 1 0.03203 0.03203 0.03203 8.53% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.72% FillBoundary_nowait() 1766 0.01276 0.01276 0.01276 3.40% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 3.24% amrex::Dot() 484 0.008761 0.008761 0.008761 2.33% amrex::Copy() 463 0.006922 0.006922 0.006922 1.84% Castro::normalize_species() 30 0.00634 0.00634 0.00634 1.69% FabArray::setVal() 537 0.006247 0.006247 0.006247 1.66% FabArray::norminf() 326 0.006229 0.006229 0.006229 1.66% FabArray::ParallelCopy_nowait() 380 0.006088 0.006088 0.006088 1.62% Castro::enforce_min_density() 30 0.00558 0.00558 0.00558 1.49% Castro::computeTemp() 30 0.005306 0.005306 0.005306 1.41% MLCellLinOp::defineAuxData() 6 0.005211 0.005211 0.005211 1.39% StateDataPhysBCFunct::() 20 0.005154 0.005154 0.005154 1.37% MLPoisson::Fapply() 500 0.004447 0.004447 0.004447 1.18% FabArray::Saxpy() 355 0.00362 0.00362 0.00362 0.96% FabArray::Xpay() 361 0.003481 0.003481 0.003481 0.93% Gravity::fill_multipole_BCs() 6 0.003427 0.003427 0.003427 0.91% Castro::estTimeStep() 10 0.003025 0.003025 0.003025 0.81% MLMG::addInterpCorrection() 180 0.002876 0.002876 0.002876 0.77% Amr::restart() 1 0.002615 0.002615 0.002615 0.70% amrex::average_down 180 0.002604 0.002604 0.002604 0.69% Castro::reset_internal_energy(MultiFab) 30 0.002592 0.002592 0.002592 0.69% BndryData::define() 6 0.002045 0.002045 0.002045 0.54% FabArray::LinComb() 242 0.001914 0.001914 0.001914 0.51% amrex::Add() 72 0.001856 0.001856 0.001856 0.49% Castro::construct_new_gravity_source() 5 0.001719 0.001719 0.001719 0.46% Castro::do_advance_ctu() 5 0.001503 0.001503 0.001503 0.40% Amr::writePlotFile() 1 0.001435 0.001435 0.001435 0.38% Castro::construct_old_gravity_source() 5 0.001379 0.001379 0.001379 0.37% MLCGSolver::bicgstab 36 0.0009209 0.0009209 0.0009209 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009141 0.0009141 0.0009141 0.24% Gravity::actual_solve_with_mlmg() 6 0.00078 0.00078 0.00078 0.21% MLCellLinOp::setLevelBC() 6 0.0007421 0.0007421 0.0007421 0.20% Castro::reset_internal_energy(Fab) 240 0.000698 0.000698 0.000698 0.19% Castro::enforce_speed_limit() 30 0.0006873 0.0006873 0.0006873 0.18% FabArray::setDomainBndry() 20 0.0006487 0.0006487 0.0006487 0.17% FabArray::mult() 22 0.000645 0.000645 0.000645 0.17% MLCellLinOp::prepareForSolve() 6 0.0006024 0.0006024 0.0006024 0.16% MultiFab::contains_nan() 10 0.0005987 0.0005987 0.0005987 0.16% MLCellLinOp::compGrad() 6 0.0004834 0.0004834 0.0004834 0.13% MLMG::prepareForSolve() 6 0.0004736 0.0004736 0.0004736 0.13% MLCellLinOp::smooth() 720 0.0004249 0.0004249 0.0004249 0.11% FabArrayBase::CPC::define() 244 0.0004133 0.0004133 0.0004133 0.11% Amr::InitAmr() 1 0.0004128 0.0004128 0.0004128 0.11% FabArray::FillBoundary() 1766 0.0003442 0.0003442 0.0003442 0.09% FabArrayBase::getCPC() 632 0.0003332 0.0003332 0.0003332 0.09% Gravity::get_old_grav_vector() 5 0.0002975 0.0002975 0.0002975 0.08% main() 1 0.0002854 0.0002854 0.0002854 0.08% Gravity::get_new_grav_vector() 5 0.0002779 0.0002779 0.0002779 0.07% FabArrayBase::getFB() 1766 0.0002436 0.0002436 0.0002436 0.06% MLCellLinOp::apply() 500 0.0001889 0.0001889 0.0001889 0.05% MLMG::mgVcycle() 36 0.000157 0.000157 0.000157 0.04% Amr::coarseTimeStep() 5 0.0001557 0.0001557 0.0001557 0.04% MLLinOp::defineGrids() 6 0.0001434 0.0001434 0.0001434 0.04% Castro::create_source_corrector() 5 0.0001389 0.0001389 0.0001389 0.04% MultiFab::max() 6 0.0001375 0.0001375 0.0001375 0.04% MLCGSolver::ParallelAllReduce 659 0.0001177 0.0001177 0.0001177 0.03% MLCellLinOp::defineBC() 6 0.0001142 0.0001142 0.0001142 0.03% FillPatchIterator::Initialize 20 0.0001117 0.0001117 0.0001117 0.03% FabArray::ParallelCopy() 380 0.0001061 0.0001061 0.0001061 0.03% MLCellLinOp::correctionResidual() 216 9.128e-05 9.128e-05 9.128e-05 0.02% Castro::subcycle_advance_ctu() 5 8.604e-05 8.604e-05 8.604e-05 0.02% Amr::timeStep() 5 7.669e-05 7.669e-05 7.669e-05 0.02% AmrLevel::restart() 1 7.641e-05 7.641e-05 7.641e-05 0.02% StateData::restartDoit() 4 6.4e-05 6.4e-05 6.4e-05 0.02% Gravity::solve_for_phi() 5 6.035e-05 6.035e-05 6.035e-05 0.02% Gravity::update_max_rhs() 6 5.958e-05 5.958e-05 5.958e-05 0.02% FabArrayBase::FB::FB() 26 5.871e-05 5.871e-05 5.871e-05 0.02% MLMG:computeResOfCorrection() 180 4.959e-05 4.959e-05 4.959e-05 0.01% Castro::expand_state() 5 4.828e-05 4.828e-05 4.828e-05 0.01% MLMG::actualBottomSolve() 36 3.852e-05 3.852e-05 3.852e-05 0.01% MLMG::mgVcycle_down::0 36 3.707e-05 3.707e-05 3.707e-05 0.01% Castro::clean_state() 30 3.584e-05 3.584e-05 3.584e-05 0.01% MLMG::mgVcycle_down::1 36 3.333e-05 3.333e-05 3.333e-05 0.01% Castro::initialize_advance() 5 3.275e-05 3.275e-05 3.275e-05 0.01% MLMG::mgVcycle_down::4 36 3.203e-05 3.203e-05 3.203e-05 0.01% MLMG::mgVcycle_down::2 36 3.181e-05 3.181e-05 3.181e-05 0.01% MLMG::solve() 6 3.146e-05 3.146e-05 3.146e-05 0.01% MLMG::mgVcycle_down::3 36 3.037e-05 3.037e-05 3.037e-05 0.01% Castro::finalize_advance() 5 2.944e-05 2.944e-05 2.944e-05 0.01% MLMG::mgVcycle_up::4 36 2.764e-05 2.764e-05 2.764e-05 0.01% Amr::writeSmallPlotFile() 1 2.684e-05 2.684e-05 2.684e-05 0.01% Castro::initialize_do_advance() 5 2.64e-05 2.64e-05 2.64e-05 0.01% Castro::initMFs() 1 2.592e-05 2.592e-05 2.592e-05 0.01% Castro::buildMetrics() 1 2.566e-05 2.566e-05 2.566e-05 0.01% MLMG::oneIter() 36 2.496e-05 2.496e-05 2.496e-05 0.01% Castro::swap_state_time_levels() 5 2.376e-05 2.376e-05 2.376e-05 0.01% MLCellLinOp::solutionResidual() 42 2.194e-05 2.194e-05 2.194e-05 0.01% MLMG::mgVcycle_up::3 36 2.106e-05 2.106e-05 2.106e-05 0.01% MLMG::mgVcycle_up::2 36 2.098e-05 2.098e-05 2.098e-05 0.01% MLMG::mgVcycle_up::0 36 2.096e-05 2.096e-05 2.096e-05 0.01% MLMG::mgVcycle_up::1 36 1.972e-05 1.972e-05 1.972e-05 0.01% Castro::finalize_do_advance() 5 1.919e-05 1.919e-05 1.919e-05 0.01% Castro::post_restart() 1 1.915e-05 1.915e-05 1.915e-05 0.01% MLMG::ResNormInf() 42 1.696e-05 1.696e-05 1.696e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.577e-05 1.577e-05 1.577e-05 0.00% Castro::advance() 5 1.512e-05 1.512e-05 1.512e-05 0.00% FillPatchSingleLevel 20 1.461e-05 1.461e-05 1.461e-05 0.00% Castro::do_new_sources() 5 1.42e-05 1.42e-05 1.42e-05 0.00% MLPoisson::define() 6 1.342e-05 1.342e-05 1.342e-05 0.00% MLMG::mgVcycle_bottom 36 1.327e-05 1.327e-05 1.327e-05 0.00% makeSFC 30 1.314e-05 1.314e-05 1.314e-05 0.00% MLMG::computeResidual() 36 1.272e-05 1.272e-05 1.272e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.214e-05 1.214e-05 1.214e-05 0.00% Castro::construct_new_gravity() 5 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::construct_new_source() 25 1.047e-05 1.047e-05 1.047e-05 0.00% Castro::construct_old_source() 25 9.751e-06 9.751e-06 9.751e-06 0.00% MLPoisson::prepareForSolve() 6 9.359e-06 9.359e-06 9.359e-06 0.00% Amr::initSubcycle() 1 9.01e-06 9.01e-06 9.01e-06 0.00% MLMG::computeMLResidual() 6 8.958e-06 8.958e-06 8.958e-06 0.00% DistributionMapping::Distribute() 31 8.627e-06 8.627e-06 8.627e-06 0.00% Gravity::actual_multilevel_solve() 1 7.816e-06 7.816e-06 7.816e-06 0.00% Castro::do_old_sources() 5 7.736e-06 7.736e-06 7.736e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.121e-06 7.121e-06 7.121e-06 0.00% Castro::apply_source_to_state() 10 5.684e-06 5.684e-06 5.684e-06 0.00% Castro::check_for_nan() 10 5.645e-06 5.645e-06 5.645e-06 0.00% Castro::construct_old_gravity() 5 5.005e-06 5.005e-06 5.005e-06 0.00% MLLinOp::define() 6 4.895e-06 4.895e-06 4.895e-06 0.00% Castro::post_timestep() 5 4.58e-06 4.58e-06 4.58e-06 0.00% Gravity::swapTimeLevels() 5 3.919e-06 3.919e-06 3.919e-06 0.00% Castro::computeNewDt() 5 3.379e-06 3.379e-06 3.379e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.039e-06 3.039e-06 3.039e-06 0.00% MLMG::getGradSolution() 6 2.911e-06 2.911e-06 2.911e-06 0.00% MLMG::MLResNormInf() 6 2.221e-06 2.221e-06 2.221e-06 0.00% MLMG::MLRhsNormInf() 6 2.207e-06 2.207e-06 2.207e-06 0.00% Gravity::set_mass_offset() 6 1.928e-06 1.928e-06 1.928e-06 0.00% Castro::retry_advance_ctu() 5 1.826e-06 1.826e-06 1.826e-06 0.00% Castro::FluxRegCrseInit 5 1.362e-06 1.362e-06 1.362e-06 0.00% Castro::FluxRegFineAdd() 5 1.222e-06 1.222e-06 1.222e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.02e-06 1.02e-06 1.02e-06 0.00% Amr::init() 1 9.57e-07 9.57e-07 9.57e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3755 0.3755 0.3755 99.99% Amr::coarseTimeStep() 5 0.2956 0.2956 0.2956 78.72% Amr::timeStep() 5 0.2932 0.2932 0.2932 78.08% Castro::advance() 5 0.2901 0.2901 0.2901 77.25% Castro::subcycle_advance_ctu() 5 0.2837 0.2837 0.2837 75.53% Castro::do_advance_ctu() 5 0.2836 0.2836 0.2836 75.51% Castro::construct_new_gravity() 5 0.1296 0.1296 0.1296 34.51% Gravity::solve_phi_with_mlmg() 6 0.125 0.125 0.125 33.28% Gravity::solve_for_phi() 5 0.1219 0.1219 0.1219 32.47% Gravity::actual_solve_with_mlmg() 6 0.1213 0.1213 0.1213 32.30% Castro::construct_ctu_hydro_source() 5 0.1155 0.1155 0.1155 30.75% MLMG::solve() 6 0.1102 0.1102 0.1102 29.34% MLMG::oneIter() 36 0.1034 0.1034 0.1034 27.52% MLMG::mgVcycle() 36 0.1018 0.1018 0.1018 27.11% MLCellLinOp::smooth() 720 0.04997 0.04997 0.04997 13.31% MLCellLinOp::applyBC() 1946 0.04686 0.04686 0.04686 12.48% Amr::init() 1 0.04545 0.04545 0.04545 12.10% Amr::restart() 1 0.04545 0.04545 0.04545 12.10% AmrLevel::restart() 1 0.03927 0.03927 0.03927 10.46% StateData::restartDoit() 4 0.03919 0.03919 0.03919 10.43% VisMF::Read() 3 0.03908 0.03908 0.03908 10.40% Amr::writePlotFile() 1 0.03372 0.03372 0.03372 8.98% VisMF::Write(FabArray) 1 0.03203 0.03203 0.03203 8.53% MLMG::mgVcycle_bottom 36 0.03153 0.03153 0.03153 8.40% MLMG::actualBottomSolve() 36 0.03152 0.03152 0.03152 8.39% MLCGSolver::bicgstab 36 0.03122 0.03122 0.03122 8.31% Castro::clean_state() 30 0.02124 0.02124 0.02124 5.66% FillPatchIterator::Initialize 20 0.02016 0.02016 0.02016 5.37% FillPatchSingleLevel 20 0.0194 0.0194 0.0194 5.17% StateDataPhysBCFunct::() 20 0.01734 0.01734 0.01734 4.62% MLCellLinOp::apply() 500 0.01565 0.01565 0.01565 4.17% MLMG::mgVcycle_down::0 36 0.01429 0.01429 0.01429 3.80% MLPoisson::Fsmooth() 1440 0.01396 0.01396 0.01396 3.72% FabArray::FillBoundary() 1766 0.0134 0.0134 0.0134 3.57% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.48% StateData::FillBoundary(geom) 160 0.01218 0.01218 0.01218 3.24% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.86% Castro::initialize_do_advance() 5 0.009713 0.009713 0.009713 2.59% MLCellLinOp::correctionResidual() 216 0.009475 0.009475 0.009475 2.52% MLPoisson::define() 6 0.008845 0.008845 0.008845 2.36% amrex::Dot() 484 0.008761 0.008761 0.008761 2.33% Castro::computeTemp() 30 0.008596 0.008596 0.008596 2.29% MLMG:computeResOfCorrection() 180 0.008324 0.008324 0.008324 2.22% Gravity::get_new_grav_vector() 5 0.007554 0.007554 0.007554 2.01% Castro::construct_old_gravity() 5 0.007458 0.007458 0.007458 1.99% Gravity::get_old_grav_vector() 5 0.007453 0.007453 0.007453 1.98% amrex::Copy() 463 0.006922 0.006922 0.006922 1.84% MLMG::mgVcycle_down::1 36 0.006849 0.006849 0.006849 1.82% FabArray::ParallelCopy() 380 0.00657 0.00657 0.00657 1.75% FabArray::ParallelCopy_nowait() 380 0.006464 0.006464 0.006464 1.72% Castro::do_new_sources() 5 0.006413 0.006413 0.006413 1.71% MLMG::mgVcycle_down::2 36 0.006341 0.006341 0.006341 1.69% Castro::normalize_species() 30 0.00634 0.00634 0.00634 1.69% FabArray::setVal() 537 0.006247 0.006247 0.006247 1.66% FabArray::norminf() 326 0.006229 0.006229 0.006229 1.66% MLMG::mgVcycle_down::3 36 0.006197 0.006197 0.006197 1.65% MLMG::mgVcycle_down::4 36 0.006173 0.006173 0.006173 1.64% Castro::initialize_advance() 5 0.006143 0.006143 0.006143 1.64% MLCellLinOp::defineAuxData() 6 0.005934 0.005934 0.005934 1.58% Castro::expand_state() 5 0.005806 0.005806 0.005806 1.55% Castro::enforce_min_density() 30 0.00558 0.00558 0.00558 1.49% MLCGSolver::ParallelAllReduce 659 0.005258 0.005258 0.005258 1.40% MLMG::addInterpCorrection() 180 0.005116 0.005116 0.005116 1.36% MLMG::mgVcycle_up::1 36 0.004973 0.004973 0.004973 1.32% MLMG::mgVcycle_up::4 36 0.004952 0.004952 0.004952 1.32% Castro::do_old_sources() 5 0.004934 0.004934 0.004934 1.31% amrex::average_down 180 0.004884 0.004884 0.004884 1.30% MLMG::mgVcycle_up::2 36 0.004871 0.004871 0.004871 1.30% MLMG::mgVcycle_up::3 36 0.004756 0.004756 0.004756 1.27% MLPoisson::Fapply() 500 0.004447 0.004447 0.004447 1.18% FabArray::Saxpy() 355 0.00362 0.00362 0.00362 0.96% Gravity::fill_multipole_BCs() 6 0.003555 0.003555 0.003555 0.95% FabArray::Xpay() 361 0.003481 0.003481 0.003481 0.93% Castro::post_restart() 1 0.00339 0.00339 0.00339 0.90% Castro::reset_internal_energy(MultiFab) 30 0.00329 0.00329 0.00329 0.88% Gravity::multilevel_solve_for_new_phi() 1 0.003281 0.003281 0.003281 0.87% Gravity::actual_multilevel_solve() 1 0.003265 0.003265 0.003265 0.87% MLCellLinOp::solutionResidual() 42 0.003213 0.003213 0.003213 0.86% Castro::post_timestep() 5 0.003041 0.003041 0.003041 0.81% Castro::estTimeStep() 10 0.003025 0.003025 0.003025 0.81% MLCellLinOp::defineBC() 6 0.00272 0.00272 0.00272 0.72% MLMG::computeResidual() 36 0.002659 0.002659 0.002659 0.71% BndryData::define() 6 0.002606 0.002606 0.002606 0.69% MLMG::prepareForSolve() 6 0.002517 0.002517 0.002517 0.67% Castro::computeNewDt() 5 0.00223 0.00223 0.00223 0.59% FabArray::LinComb() 242 0.001914 0.001914 0.001914 0.51% amrex::Add() 72 0.001856 0.001856 0.001856 0.49% Castro::construct_new_source() 25 0.001729 0.001729 0.001729 0.46% Castro::construct_new_gravity_source() 5 0.001719 0.001719 0.001719 0.46% Castro::construct_old_source() 25 0.001389 0.001389 0.001389 0.37% Castro::construct_old_gravity_source() 5 0.001379 0.001379 0.001379 0.37% MLMG::ResNormInf() 42 0.0009293 0.0009293 0.0009293 0.25% Castro::apply_source_to_state() 10 0.0009194 0.0009194 0.0009194 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009141 0.0009141 0.0009141 0.24% MLMG::getGradSolution() 6 0.000748 0.000748 0.000748 0.20% FabArrayBase::getCPC() 632 0.0007465 0.0007465 0.0007465 0.20% MLCellLinOp::compGrad() 6 0.0007451 0.0007451 0.0007451 0.20% MLCellLinOp::setLevelBC() 6 0.0007421 0.0007421 0.0007421 0.20% Castro::reset_internal_energy(Fab) 240 0.000698 0.000698 0.000698 0.19% Castro::enforce_speed_limit() 30 0.0006873 0.0006873 0.0006873 0.18% FabArray::setDomainBndry() 20 0.0006487 0.0006487 0.0006487 0.17% FabArray::mult() 22 0.000645 0.000645 0.000645 0.17% MLPoisson::prepareForSolve() 6 0.0006117 0.0006117 0.0006117 0.16% Castro::check_for_nan() 10 0.0006044 0.0006044 0.0006044 0.16% MLCellLinOp::prepareForSolve() 6 0.0006024 0.0006024 0.0006024 0.16% MultiFab::contains_nan() 10 0.0005987 0.0005987 0.0005987 0.16% MLMG::computeMLResidual() 6 0.0005754 0.0005754 0.0005754 0.15% Gravity::update_max_rhs() 6 0.0004407 0.0004407 0.0004407 0.12% Amr::InitAmr() 1 0.0004218 0.0004218 0.0004218 0.11% FabArrayBase::CPC::define() 244 0.0004133 0.0004133 0.0004133 0.11% FabArrayBase::getFB() 1766 0.0003024 0.0003024 0.0003024 0.08% Castro::finalize_advance() 5 0.0002889 0.0002889 0.0002889 0.08% Gravity::swapTimeLevels() 5 0.0002326 0.0002326 0.0002326 0.06% MLLinOp::define() 6 0.0001769 0.0001769 0.0001769 0.05% MLLinOp::defineGrids() 6 0.000172 0.000172 0.000172 0.05% MLMG::MLResNormInf() 6 0.0001516 0.0001516 0.0001516 0.04% Castro::buildMetrics() 1 0.0001456 0.0001456 0.0001456 0.04% Castro::create_source_corrector() 5 0.0001389 0.0001389 0.0001389 0.04% MultiFab::max() 6 0.0001375 0.0001375 0.0001375 0.04% MLMG::MLRhsNormInf() 6 0.0001198 0.0001198 0.0001198 0.03% FabArrayBase::FB::FB() 26 5.871e-05 5.871e-05 5.871e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.758e-05 2.758e-05 2.758e-05 0.01% Amr::writeSmallPlotFile() 1 2.684e-05 2.684e-05 2.684e-05 0.01% Castro::initMFs() 1 2.592e-05 2.592e-05 2.592e-05 0.01% Castro::swap_state_time_levels() 5 2.376e-05 2.376e-05 2.376e-05 0.01% makeSFC 30 2.046e-05 2.046e-05 2.046e-05 0.01% Castro::finalize_do_advance() 5 1.919e-05 1.919e-05 1.919e-05 0.01% Amr::initSubcycle() 1 9.01e-06 9.01e-06 9.01e-06 0.00% DistributionMapping::Distribute() 31 8.627e-06 8.627e-06 8.627e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.347e-06 4.347e-06 4.347e-06 0.00% Gravity::set_mass_offset() 6 1.928e-06 1.928e-06 1.928e-06 0.00% Castro::retry_advance_ctu() 5 1.826e-06 1.826e-06 1.826e-06 0.00% Castro::FluxRegCrseInit 5 1.362e-06 1.362e-06 1.362e-06 0.00% Castro::FluxRegFineAdd() 5 1.222e-06 1.222e-06 1.222e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.02e-06 1.02e-06 1.02e-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 216 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 138 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 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1177 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2511 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6712 KiB 14 MiB MLMG::prepareForSolve() 361 361 3602 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 205 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 205 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6708 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2268 B 2048 KiB Gravity::solve_for_phi() 40 40 663 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 212 KiB 671 KiB Castro::estTimeStep() 10 10 2705 B 480 KiB VisMF::Write(FabArray) 112 112 1313 B 320 KiB Castro::normalize_species() 30 30 5482 B 320 KiB amrex::average_down 469 469 1250 B 257 KiB MLMG::addInterpCorrection() 468 468 1168 B 257 KiB amrex::Dot() 592 592 3433 B 160 KiB FabArray::norminf() 398 398 2447 B 160 KiB Castro::do_advance_ctu() 5 5 617 B 160 KiB MultiFab::max() 6 6 56 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3503 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 3892 3892 229 B 9344 B amrex::Copy() 56 56 5984 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 120 B 1472 B MLCellLinOp::defineBC() 36 36 372 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1520 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 116 KiB 8192 KiB VisMF::Write(FabArray) 120 120 263 KiB 3584 KiB VisMF::Read() 24 24 202 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3503 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 1946 1946 227 B 9328 B amrex::Copy() 56 56 5984 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2647 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 47 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 539 B 1296 B amrex::average_down 37 37 224 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 17 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): 2424 [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.05-1-g85a247b8a9d6) finalized