Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-37-ga6e89ecc1175) initialized Starting run at 07:42:47 UTC on 2023-04-27. Successfully read inputs file ... Castro git describe: 23.04-17-gf9272dfba AMReX git describe: 23.04-37-ga6e89ecc1 Microphysics git describe: 23.04-6-gfc4258c6 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.057226317 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.03273656 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.04627401 [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.047138654 [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.047080268 [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.05935614 [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.07176339 [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.056368932 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.0691608 [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.064748643 [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.063447244 [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.057534185 [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.051556332 [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.05647124 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032617729 seconds Ending run at 07:42:48 UTC on 2023-04-27. Run time = 0.861431492 Run time without initialization = 0.724124991 Average number of zones advanced per microsecond: 3.620 Average number of zones advanced per microsecond per rank: 3.620 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8615 ... 0.8615 ... 0.8615 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2297 0.2297 0.2297 26.67% VisMF::Write(FabArray) 11 0.2293 0.2293 0.2293 26.61% MLCellLinOp::applyBC() 4433 0.07467 0.07467 0.07467 8.67% FillBoundary_nowait() 4023 0.0315 0.0315 0.0315 3.66% MLPoisson::Fsmooth() 3280 0.03124 0.03124 0.03124 3.63% StateData::FillBoundary(geom) 328 0.02436 0.02436 0.02436 2.83% amrex::Dot() 1114 0.01967 0.01967 0.01967 2.28% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.68% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.61% Castro::normalize_species() 62 0.01333 0.01333 0.01333 1.55% FabArray::ParallelCopy_nowait() 861 0.01289 0.01289 0.01289 1.50% Castro::computeTemp() 63 0.01278 0.01278 0.01278 1.48% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.47% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.37% StateDataPhysBCFunct::() 41 0.01115 0.01115 0.01115 1.29% MLPoisson::Fapply() 1142 0.00999 0.00999 0.00999 1.16% MLCellLinOp::defineAuxData() 11 0.009471 0.009471 0.009471 1.10% FabArray::Saxpy() 813 0.007919 0.007919 0.007919 0.92% FabArray::Xpay() 821 0.007751 0.007751 0.007751 0.90% MLMG::addInterpCorrection() 410 0.006405 0.006405 0.006405 0.74% Gravity::fill_multipole_BCs() 11 0.006039 0.006039 0.006039 0.70% amrex::average_down 410 0.005758 0.005758 0.005758 0.67% Castro::estTimeStep() 21 0.004907 0.004907 0.004907 0.57% FabArray::LinComb() 557 0.004354 0.004354 0.004354 0.51% amrex::Add() 164 0.004325 0.004325 0.004325 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004019 0.004019 0.004019 0.47% Amr::checkPoint() 3 0.003571 0.003571 0.003571 0.41% BndryData::define() 11 0.00348 0.00348 0.00348 0.40% Castro::construct_new_gravity_source() 10 0.003266 0.003266 0.003266 0.38% Castro::do_advance_ctu() 10 0.002853 0.002853 0.002853 0.33% Castro::construct_old_gravity_source() 10 0.002724 0.002724 0.002724 0.32% MLCGSolver::bicgstab 82 0.002108 0.002108 0.002108 0.24% Amr::writePlotFile() 2 0.002086 0.002086 0.002086 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001684 0.001684 0.001684 0.20% Gravity::actual_solve_with_mlmg() 11 0.001471 0.001471 0.001471 0.17% Castro::reset_internal_energy(Fab) 504 0.001432 0.001432 0.001432 0.17% MLCellLinOp::setLevelBC() 11 0.001348 0.001348 0.001348 0.16% FabArray::mult() 43 0.001305 0.001305 0.001305 0.15% FabArray::setDomainBndry() 41 0.00127 0.00127 0.00127 0.15% Castro::initData() 1 0.00123 0.00123 0.00123 0.14% MultiFab::contains_nan() 20 0.001217 0.001217 0.001217 0.14% Castro::enforce_speed_limit() 62 0.001153 0.001153 0.001153 0.13% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.13% MLCellLinOp::smooth() 1640 0.001017 0.001017 0.001017 0.12% MLCellLinOp::compGrad() 11 0.0008839 0.0008839 0.0008839 0.10% MLMG::prepareForSolve() 11 0.0008631 0.0008631 0.0008631 0.10% FabArray::FillBoundary() 4023 0.0007868 0.0007868 0.0007868 0.09% FabArrayBase::getCPC() 1323 0.0007232 0.0007232 0.0007232 0.08% FabArrayBase::CPC::define() 454 0.0006791 0.0006791 0.0006791 0.08% Gravity::get_new_grav_vector() 11 0.0006265 0.0006265 0.0006265 0.07% FabArrayBase::getFB() 4023 0.0006258 0.0006258 0.0006258 0.07% Gravity::get_old_grav_vector() 10 0.0005411 0.0005411 0.0005411 0.06% Amr::InitAmr() 1 0.0004643 0.0004643 0.0004643 0.05% MLCellLinOp::apply() 1142 0.0004386 0.0004386 0.0004386 0.05% MLLinOp::defineGrids() 11 0.0003923 0.0003923 0.0003923 0.05% MLMG::mgVcycle() 82 0.0003325 0.0003325 0.0003325 0.04% Amr::coarseTimeStep() 10 0.0003252 0.0003252 0.0003252 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002959 0.0002959 0.0002959 0.03% main() 1 0.0002826 0.0002826 0.0002826 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% FillPatchIterator::Initialize 41 0.0002342 0.0002342 0.0002342 0.03% FabArray::ParallelCopy() 861 0.0002329 0.0002329 0.0002329 0.03% MLCellLinOp::defineBC() 11 0.0002177 0.0002177 0.0002177 0.03% MLCellLinOp::correctionResidual() 492 0.0002173 0.0002173 0.0002173 0.03% Castro::create_source_corrector() 10 0.0001687 0.0001687 0.0001687 0.02% Amr::timeStep() 10 0.0001565 0.0001565 0.0001565 0.02% Castro::subcycle_advance_ctu() 10 0.0001425 0.0001425 0.0001425 0.02% StateData::checkPoint() 12 0.0001382 0.0001382 0.0001382 0.02% Gravity::update_max_rhs() 11 0.0001218 0.0001218 0.0001218 0.01% MLMG:computeResOfCorrection() 410 0.0001135 0.0001135 0.0001135 0.01% Castro::construct_new_source() 50 0.0001097 0.0001097 0.0001097 0.01% Gravity::solve_for_phi() 10 0.0001081 0.0001081 0.0001081 0.01% FabArrayBase::FB::FB() 56 8.719e-05 8.719e-05 8.719e-05 0.01% MLMG::mgVcycle_down::0 82 8.712e-05 8.712e-05 8.712e-05 0.01% MLMG::actualBottomSolve() 82 8.625e-05 8.625e-05 8.625e-05 0.01% Castro::Castro() 1 8.623e-05 8.623e-05 8.623e-05 0.01% Castro::expand_state() 10 8.047e-05 8.047e-05 8.047e-05 0.01% Castro::clean_state() 62 8.033e-05 8.033e-05 8.033e-05 0.01% AmrLevel::checkPoint() 3 7.818e-05 7.818e-05 7.818e-05 0.01% MLMG::mgVcycle_down::1 82 7.631e-05 7.631e-05 7.631e-05 0.01% MLMG::mgVcycle_down::2 82 7.605e-05 7.605e-05 7.605e-05 0.01% Castro::initialize_advance() 10 7.221e-05 7.221e-05 7.221e-05 0.01% MLMG::solve() 11 7.134e-05 7.134e-05 7.134e-05 0.01% MLMG::mgVcycle_down::3 82 7.094e-05 7.094e-05 7.094e-05 0.01% MLMG::mgVcycle_down::4 82 7.038e-05 7.038e-05 7.038e-05 0.01% Castro::finalize_advance() 10 6.056e-05 6.056e-05 6.056e-05 0.01% MLMG::mgVcycle_up::4 82 5.931e-05 5.931e-05 5.931e-05 0.01% MLMG::oneIter() 82 5.485e-05 5.485e-05 5.485e-05 0.01% Castro::initialize_do_advance() 10 5.236e-05 5.236e-05 5.236e-05 0.01% MLMG::mgVcycle_up::0 82 4.908e-05 4.908e-05 4.908e-05 0.01% MLMG::mgVcycle_up::1 82 4.883e-05 4.883e-05 4.883e-05 0.01% MLCellLinOp::solutionResidual() 93 4.84e-05 4.84e-05 4.84e-05 0.01% MLMG::mgVcycle_up::3 82 4.784e-05 4.784e-05 4.784e-05 0.01% MLMG::mgVcycle_up::2 82 4.63e-05 4.63e-05 4.63e-05 0.01% Castro::advance() 10 4.382e-05 4.382e-05 4.382e-05 0.01% Castro::swap_state_time_levels() 10 3.84e-05 3.84e-05 3.84e-05 0.00% Castro::finalize_do_advance() 10 3.664e-05 3.664e-05 3.664e-05 0.00% StateData::define() 4 3.396e-05 3.396e-05 3.396e-05 0.00% Castro::enforce_consistent_e() 1 3.264e-05 3.264e-05 3.264e-05 0.00% MLMG::ResNormInf() 93 3.258e-05 3.258e-05 3.258e-05 0.00% MLMG::mgVcycle_bottom 82 3.109e-05 3.109e-05 3.109e-05 0.00% Castro::post_timestep() 10 3.07e-05 3.07e-05 3.07e-05 0.00% MLMG::computeResidual() 82 3.026e-05 3.026e-05 3.026e-05 0.00% FillPatchSingleLevel 41 3.021e-05 3.021e-05 3.021e-05 0.00% makeSFC 55 2.473e-05 2.473e-05 2.473e-05 0.00% Amr::writeSmallPlotFile() 1 2.463e-05 2.463e-05 2.463e-05 0.00% Castro::construct_new_gravity() 10 2.442e-05 2.442e-05 2.442e-05 0.00% Castro::initMFs() 1 2.36e-05 2.36e-05 2.36e-05 0.00% MLPoisson::define() 11 2.335e-05 2.335e-05 2.335e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.211e-05 2.211e-05 2.211e-05 0.00% Amr::FinalizeInit() 1 2.136e-05 2.136e-05 2.136e-05 0.00% Amr::defBaseLevel() 1 1.996e-05 1.996e-05 1.996e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.82e-05 1.82e-05 1.82e-05 0.00% Castro::construct_old_source() 50 1.786e-05 1.786e-05 1.786e-05 0.00% Castro::buildMetrics() 1 1.711e-05 1.711e-05 1.711e-05 0.00% Castro::do_new_sources() 10 1.678e-05 1.678e-05 1.678e-05 0.00% Castro::do_old_sources() 10 1.543e-05 1.543e-05 1.543e-05 0.00% DistributionMapping::Distribute() 56 1.52e-05 1.52e-05 1.52e-05 0.00% MLMG::computeMLResidual() 11 1.478e-05 1.478e-05 1.478e-05 0.00% MLPoisson::prepareForSolve() 11 1.455e-05 1.455e-05 1.455e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.413e-05 1.413e-05 1.413e-05 0.00% Castro::apply_source_to_state() 20 1.117e-05 1.117e-05 1.117e-05 0.00% MLLinOp::define() 11 1.059e-05 1.059e-05 1.059e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.045e-05 1.045e-05 1.045e-05 0.00% Castro::check_for_nan() 20 1.031e-05 1.031e-05 1.031e-05 0.00% Castro::construct_old_gravity() 10 9.818e-06 9.818e-06 9.818e-06 0.00% Gravity::swapTimeLevels() 10 9.113e-06 9.113e-06 9.113e-06 0.00% Amr::initSubcycle() 1 8.637e-06 8.637e-06 8.637e-06 0.00% Gravity::actual_multilevel_solve() 1 8.508e-06 8.508e-06 8.508e-06 0.00% Castro::computeNewDt() 9 6.822e-06 6.822e-06 6.822e-06 0.00% MLMG::getGradSolution() 11 5.832e-06 5.832e-06 5.832e-06 0.00% AmrLevel::checkPointPost() 3 5.109e-06 5.109e-06 5.109e-06 0.00% Amr::InitializeInit() 1 4.736e-06 4.736e-06 4.736e-06 0.00% Gravity::set_mass_offset() 11 4.603e-06 4.603e-06 4.603e-06 0.00% Castro::post_init() 1 4.201e-06 4.201e-06 4.201e-06 0.00% Castro::retry_advance_ctu() 10 3.846e-06 3.846e-06 3.846e-06 0.00% MLMG::MLRhsNormInf() 11 3.786e-06 3.786e-06 3.786e-06 0.00% MLMG::MLResNormInf() 11 3.626e-06 3.626e-06 3.626e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.059e-06 3.059e-06 3.059e-06 0.00% Amr::init() 1 2.963e-06 2.963e-06 2.963e-06 0.00% Castro::computeInitialDt() 2 2.873e-06 2.873e-06 2.873e-06 0.00% Castro::FluxRegCrseInit 10 2.648e-06 2.648e-06 2.648e-06 0.00% Castro::FluxRegFineAdd() 10 2.118e-06 2.118e-06 2.118e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.955e-06 1.955e-06 1.955e-06 0.00% AmrLevel::checkPointPre() 3 1.785e-06 1.785e-06 1.785e-06 0.00% Amr::initialInit() 1 1.169e-06 1.169e-06 1.169e-06 0.00% Castro::post_regrid() 1 1.075e-06 1.075e-06 1.075e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8614 0.8614 0.8614 100.00% Amr::coarseTimeStep() 10 0.6913 0.6913 0.6913 80.25% Amr::timeStep() 10 0.5747 0.5747 0.5747 66.71% Castro::advance() 10 0.5682 0.5682 0.5682 65.96% Castro::subcycle_advance_ctu() 10 0.5562 0.5562 0.5562 64.57% Castro::do_advance_ctu() 10 0.5561 0.5561 0.5561 64.55% Gravity::solve_phi_with_mlmg() 11 0.2751 0.2751 0.2751 31.94% Gravity::actual_solve_with_mlmg() 11 0.2686 0.2686 0.2686 31.18% Castro::construct_new_gravity() 10 0.2512 0.2512 0.2512 29.16% MLMG::solve() 11 0.2485 0.2485 0.2485 28.84% Gravity::solve_for_phi() 10 0.236 0.236 0.236 27.39% MLMG::oneIter() 82 0.2345 0.2345 0.2345 27.23% MLMG::mgVcycle() 82 0.2309 0.2309 0.2309 26.80% Castro::construct_ctu_hydro_source() 10 0.2297 0.2297 0.2297 26.67% VisMF::Write(FabArray) 11 0.2293 0.2293 0.2293 26.61% Amr::checkPoint() 3 0.1702 0.1702 0.1702 19.76% AmrLevel::checkPoint() 3 0.1666 0.1666 0.1666 19.34% StateData::checkPoint() 12 0.1665 0.1665 0.1665 19.33% Amr::init() 1 0.1367 0.1367 0.1367 15.87% MLCellLinOp::smooth() 1640 0.1147 0.1147 0.1147 13.32% MLCellLinOp::applyBC() 4433 0.1077 0.1077 0.1077 12.50% MLMG::mgVcycle_bottom 82 0.07072 0.07072 0.07072 8.21% MLMG::actualBottomSolve() 82 0.07068 0.07068 0.07068 8.21% MLCGSolver::bicgstab 82 0.07001 0.07001 0.07001 8.13% Amr::writePlotFile() 2 0.06547 0.06547 0.06547 7.60% Amr::initialInit() 1 0.04663 0.04663 0.04663 5.41% Castro::clean_state() 62 0.04397 0.04397 0.04397 5.10% Amr::FinalizeInit() 1 0.04278 0.04278 0.04278 4.97% Castro::post_init() 1 0.04149 0.04149 0.04149 4.82% FillPatchIterator::Initialize 41 0.04107 0.04107 0.04107 4.77% FillPatchSingleLevel 41 0.03957 0.03957 0.03957 4.59% Gravity::multilevel_solve_for_new_phi() 1 0.03955 0.03955 0.03955 4.59% Gravity::actual_multilevel_solve() 1 0.03953 0.03953 0.03953 4.59% StateDataPhysBCFunct::() 41 0.03551 0.03551 0.03551 4.12% MLCellLinOp::apply() 1142 0.03515 0.03515 0.03515 4.08% MLMG::mgVcycle_down::0 82 0.03347 0.03347 0.03347 3.89% FabArray::FillBoundary() 4023 0.033 0.033 0.033 3.83% FillBoundary_nowait() 4023 0.03222 0.03222 0.03222 3.74% MLPoisson::Fsmooth() 3280 0.03124 0.03124 0.03124 3.63% MLMG::mgVcycle_up::0 82 0.02555 0.02555 0.02555 2.97% StateData::FillBoundary(geom) 328 0.02436 0.02436 0.02436 2.83% MLCellLinOp::correctionResidual() 492 0.02153 0.02153 0.02153 2.50% amrex::Dot() 1114 0.01967 0.01967 0.01967 2.28% MLMG:computeResOfCorrection() 410 0.01899 0.01899 0.01899 2.20% Castro::initialize_do_advance() 10 0.01871 0.01871 0.01871 2.17% Castro::computeTemp() 63 0.01823 0.01823 0.01823 2.12% Gravity::get_new_grav_vector() 11 0.01685 0.01685 0.01685 1.96% MLPoisson::define() 11 0.01594 0.01594 0.01594 1.85% MLMG::mgVcycle_down::1 82 0.01524 0.01524 0.01524 1.77% Castro::construct_old_gravity() 10 0.01466 0.01466 0.01466 1.70% Gravity::get_old_grav_vector() 10 0.01465 0.01465 0.01465 1.70% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.68% MLMG::mgVcycle_down::2 82 0.01426 0.01426 0.01426 1.66% FabArray::ParallelCopy() 861 0.01392 0.01392 0.01392 1.62% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.61% MLMG::mgVcycle_down::3 82 0.01386 0.01386 0.01386 1.61% MLMG::mgVcycle_down::4 82 0.01378 0.01378 0.01378 1.60% FabArray::ParallelCopy_nowait() 861 0.01369 0.01369 0.01369 1.59% Castro::normalize_species() 62 0.01333 0.01333 0.01333 1.55% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.47% Castro::do_new_sources() 10 0.01256 0.01256 0.01256 1.46% MLCGSolver::ParallelAllReduce 1514 0.01183 0.01183 0.01183 1.37% Castro::enforce_min_density() 62 0.01178 0.01178 0.01178 1.37% Castro::initialize_advance() 10 0.01135 0.01135 0.01135 1.32% MLMG::addInterpCorrection() 410 0.01132 0.01132 0.01132 1.31% MLMG::mgVcycle_up::1 82 0.01115 0.01115 0.01115 1.29% MLMG::mgVcycle_up::4 82 0.01103 0.01103 0.01103 1.28% Castro::expand_state() 10 0.01099 0.01099 0.01099 1.28% MLMG::mgVcycle_up::2 82 0.01086 0.01086 0.01086 1.26% MLCellLinOp::defineAuxData() 11 0.01082 0.01082 0.01082 1.26% amrex::average_down 410 0.01073 0.01073 0.01073 1.25% MLMG::mgVcycle_up::3 82 0.01063 0.01063 0.01063 1.23% Castro::do_old_sources() 10 0.01039 0.01039 0.01039 1.21% MLPoisson::Fapply() 1142 0.00999 0.00999 0.00999 1.16% FabArray::Saxpy() 813 0.007919 0.007919 0.007919 0.92% FabArray::Xpay() 821 0.007751 0.007751 0.007751 0.90% MLCellLinOp::solutionResidual() 93 0.007003 0.007003 0.007003 0.81% Castro::post_timestep() 10 0.006314 0.006314 0.006314 0.73% Gravity::fill_multipole_BCs() 11 0.006299 0.006299 0.006299 0.73% MLMG::computeResidual() 82 0.006036 0.006036 0.006036 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005451 0.005451 0.005451 0.63% Castro::estTimeStep() 21 0.004907 0.004907 0.004907 0.57% MLCellLinOp::defineBC() 11 0.004639 0.004639 0.004639 0.54% MLMG::prepareForSolve() 11 0.004535 0.004535 0.004535 0.53% BndryData::define() 11 0.004421 0.004421 0.004421 0.51% FabArray::LinComb() 557 0.004354 0.004354 0.004354 0.51% amrex::Add() 164 0.004325 0.004325 0.004325 0.50% Amr::InitializeInit() 1 0.003849 0.003849 0.003849 0.45% Amr::defBaseLevel() 1 0.003844 0.003844 0.003844 0.45% Castro::construct_new_source() 50 0.003376 0.003376 0.003376 0.39% Castro::initData() 1 0.003349 0.003349 0.003349 0.39% Castro::construct_new_gravity_source() 10 0.003266 0.003266 0.003266 0.38% Castro::construct_old_source() 50 0.002742 0.002742 0.002742 0.32% Castro::construct_old_gravity_source() 10 0.002724 0.002724 0.002724 0.32% Castro::computeNewDt() 9 0.002596 0.002596 0.002596 0.30% MLMG::ResNormInf() 93 0.002065 0.002065 0.002065 0.24% Castro::apply_source_to_state() 20 0.001824 0.001824 0.001824 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001684 0.001684 0.001684 0.20% Castro::reset_internal_energy(Fab) 504 0.001432 0.001432 0.001432 0.17% FabArrayBase::getCPC() 1323 0.001402 0.001402 0.001402 0.16% MLMG::getGradSolution() 11 0.001357 0.001357 0.001357 0.16% MLCellLinOp::compGrad() 11 0.001351 0.001351 0.001351 0.16% MLCellLinOp::setLevelBC() 11 0.001348 0.001348 0.001348 0.16% FabArray::mult() 43 0.001305 0.001305 0.001305 0.15% FabArray::setDomainBndry() 41 0.00127 0.00127 0.00127 0.15% Castro::check_for_nan() 20 0.001227 0.001227 0.001227 0.14% MultiFab::contains_nan() 20 0.001217 0.001217 0.001217 0.14% Castro::enforce_speed_limit() 62 0.001153 0.001153 0.001153 0.13% MLPoisson::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.13% Castro::post_regrid() 1 0.001058 0.001058 0.001058 0.12% MLMG::computeMLResidual() 11 0.001013 0.001013 0.001013 0.12% Castro::computeInitialDt() 2 0.0009771 0.0009771 0.0009771 0.11% Gravity::update_max_rhs() 11 0.000813 0.000813 0.000813 0.09% FabArrayBase::getFB() 4023 0.000713 0.000713 0.000713 0.08% FabArrayBase::CPC::define() 454 0.0006791 0.0006791 0.0006791 0.08% Castro::finalize_advance() 10 0.0005765 0.0005765 0.0005765 0.07% Amr::InitAmr() 1 0.0004729 0.0004729 0.0004729 0.05% MLLinOp::define() 11 0.0004576 0.0004576 0.0004576 0.05% MLLinOp::defineGrids() 11 0.000447 0.000447 0.000447 0.05% Gravity::swapTimeLevels() 10 0.0004285 0.0004285 0.0004285 0.05% Castro::Castro() 1 0.000427 0.000427 0.000427 0.05% MLMG::MLResNormInf() 11 0.0002821 0.0002821 0.0002821 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% MLMG::MLRhsNormInf() 11 0.000215 0.000215 0.000215 0.02% Castro::create_source_corrector() 10 0.0001687 0.0001687 0.0001687 0.02% Castro::buildMetrics() 1 0.0001591 0.0001591 0.0001591 0.02% FabArrayBase::FB::FB() 56 8.719e-05 8.719e-05 8.719e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.271e-05 5.271e-05 5.271e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.44e-05 4.44e-05 4.44e-05 0.01% makeSFC 55 3.858e-05 3.858e-05 3.858e-05 0.00% Castro::swap_state_time_levels() 10 3.84e-05 3.84e-05 3.84e-05 0.00% Castro::finalize_do_advance() 10 3.664e-05 3.664e-05 3.664e-05 0.00% StateData::define() 4 3.396e-05 3.396e-05 3.396e-05 0.00% Castro::enforce_consistent_e() 1 3.264e-05 3.264e-05 3.264e-05 0.00% Amr::writeSmallPlotFile() 1 2.463e-05 2.463e-05 2.463e-05 0.00% Castro::initMFs() 1 2.36e-05 2.36e-05 2.36e-05 0.00% DistributionMapping::Distribute() 56 1.52e-05 1.52e-05 1.52e-05 0.00% Amr::initSubcycle() 1 8.637e-06 8.637e-06 8.637e-06 0.00% AmrLevel::checkPointPost() 3 5.109e-06 5.109e-06 5.109e-06 0.00% Gravity::set_mass_offset() 11 4.603e-06 4.603e-06 4.603e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.412e-06 4.412e-06 4.412e-06 0.00% Castro::retry_advance_ctu() 10 3.846e-06 3.846e-06 3.846e-06 0.00% Castro::FluxRegCrseInit 10 2.648e-06 2.648e-06 2.648e-06 0.00% Castro::FluxRegFineAdd() 10 2.118e-06 2.118e-06 2.118e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.955e-06 1.955e-06 1.955e-06 0.00% AmrLevel::checkPointPre() 3 1.785e-06 1.785e-06 1.785e-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 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 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 1016 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2144 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3549 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 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 1803 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2414 B 480 KiB VisMF::Write(FabArray) 656 656 3409 B 320 KiB Castro::normalize_species() 62 62 5034 B 320 KiB amrex::average_down 1067 1067 1247 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1137 B 257 KiB amrex::Dot() 1360 1360 3367 B 160 KiB FabArray::norminf() 907 907 2384 B 160 KiB Castro::do_advance_ctu() 10 10 496 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3470 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 320 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 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 365 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 634 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 614 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3470 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 320 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 295 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.04-37-ga6e89ecc1175) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-37-ga6e89ecc1175) initialized Starting run at 07:42:49 UTC on 2023-04-27. Successfully read inputs file ... Castro git describe: 23.04-17-gf9272dfba AMReX git describe: 23.04-37-ga6e89ecc1 Microphysics git describe: 23.04-6-gfc4258c6 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.465295979 Restart time = 0.045823363 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048515351 [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.046142918 [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.046328778 [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.057746841 [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.058898499 [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.032476744 seconds Ending run at 07:42:50 UTC on 2023-04-27. Run time = 0.33692949 Run time without initialization = 0.29051677 Average number of zones advanced per microsecond: 4.512 Average number of zones advanced per microsecond per rank: 4.512 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.337 ... 0.337 ... 0.337 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0805 0.0805 0.0805 23.89% VisMF::Read() 3 0.0396 0.0396 0.0396 11.75% MLCellLinOp::applyBC() 1946 0.03258 0.03258 0.03258 9.67% VisMF::Write(FabArray) 1 0.03111 0.03111 0.03111 9.23% MLPoisson::Fsmooth() 1440 0.01354 0.01354 0.01354 4.02% FillBoundary_nowait() 1766 0.01271 0.01271 0.01271 3.77% StateData::FillBoundary(geom) 160 0.01184 0.01184 0.01184 3.51% amrex::Dot() 484 0.008486 0.008486 0.008486 2.52% amrex::Copy() 463 0.006826 0.006826 0.006826 2.03% FabArray::setVal() 537 0.006113 0.006113 0.006113 1.81% FabArray::norminf() 326 0.00605 0.00605 0.00605 1.80% Castro::normalize_species() 30 0.005897 0.005897 0.005897 1.75% FabArray::ParallelCopy_nowait() 380 0.00586 0.00586 0.00586 1.74% Castro::computeTemp() 30 0.005646 0.005646 0.005646 1.68% StateDataPhysBCFunct::() 20 0.005261 0.005261 0.005261 1.56% Castro::enforce_min_density() 30 0.00517 0.00517 0.00517 1.53% MLCellLinOp::defineAuxData() 6 0.005149 0.005149 0.005149 1.53% MLPoisson::Fapply() 500 0.004313 0.004313 0.004313 1.28% Castro::estTimeStep() 10 0.003639 0.003639 0.003639 1.08% FabArray::Saxpy() 355 0.003544 0.003544 0.003544 1.05% FabArray::Xpay() 361 0.003384 0.003384 0.003384 1.00% Gravity::fill_multipole_BCs() 6 0.003295 0.003295 0.003295 0.98% MLMG::addInterpCorrection() 180 0.00281 0.00281 0.00281 0.83% amrex::average_down 180 0.002516 0.002516 0.002516 0.75% Amr::restart() 1 0.002506 0.002506 0.002506 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002415 0.002415 0.002415 0.72% BndryData::define() 6 0.001917 0.001917 0.001917 0.57% FabArray::LinComb() 242 0.001855 0.001855 0.001855 0.55% amrex::Add() 72 0.001839 0.001839 0.001839 0.55% Castro::construct_new_gravity_source() 5 0.001704 0.001704 0.001704 0.51% Castro::construct_old_gravity_source() 5 0.001385 0.001385 0.001385 0.41% Castro::do_advance_ctu() 5 0.00128 0.00128 0.00128 0.38% Amr::writePlotFile() 1 0.001195 0.001195 0.001195 0.35% MLCGSolver::bicgstab 36 0.0009269 0.0009269 0.0009269 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009196 0.0009196 0.0009196 0.27% Castro::subcycle_advance_ctu() 5 0.0008517 0.0008517 0.0008517 0.25% Gravity::actual_solve_with_mlmg() 6 0.0007816 0.0007816 0.0007816 0.23% MLCellLinOp::setLevelBC() 6 0.0007274 0.0007274 0.0007274 0.22% Castro::reset_internal_energy(Fab) 240 0.0007194 0.0007194 0.0007194 0.21% FabArray::mult() 22 0.0006556 0.0006556 0.0006556 0.19% FabArray::setDomainBndry() 20 0.0006262 0.0006262 0.0006262 0.19% MultiFab::contains_nan() 10 0.0005973 0.0005973 0.0005973 0.18% MLCellLinOp::prepareForSolve() 6 0.0005918 0.0005918 0.0005918 0.18% Castro::enforce_speed_limit() 30 0.000525 0.000525 0.000525 0.16% MLCellLinOp::compGrad() 6 0.0005023 0.0005023 0.0005023 0.15% MLMG::prepareForSolve() 6 0.000476 0.000476 0.000476 0.14% MLCellLinOp::smooth() 720 0.0004386 0.0004386 0.0004386 0.13% FabArrayBase::CPC::define() 244 0.0004181 0.0004181 0.0004181 0.12% Amr::InitAmr() 1 0.000379 0.000379 0.000379 0.11% FabArray::FillBoundary() 1766 0.0003504 0.0003504 0.0003504 0.10% FabArrayBase::getCPC() 632 0.0003445 0.0003445 0.0003445 0.10% Gravity::get_old_grav_vector() 5 0.00031 0.00031 0.00031 0.09% main() 1 0.0003099 0.0003099 0.0003099 0.09% Gravity::get_new_grav_vector() 5 0.0002729 0.0002729 0.0002729 0.08% FabArrayBase::getFB() 1766 0.0002488 0.0002488 0.0002488 0.07% MLCellLinOp::apply() 500 0.0001832 0.0001832 0.0001832 0.05% MLLinOp::defineGrids() 6 0.0001754 0.0001754 0.0001754 0.05% Amr::coarseTimeStep() 5 0.0001647 0.0001647 0.0001647 0.05% MLMG::mgVcycle() 36 0.0001504 0.0001504 0.0001504 0.04% MultiFab::max() 6 0.0001429 0.0001429 0.0001429 0.04% Castro::create_source_corrector() 5 0.0001206 0.0001206 0.0001206 0.04% MLCGSolver::ParallelAllReduce 659 0.00012 0.00012 0.00012 0.04% MLCellLinOp::defineBC() 6 0.0001185 0.0001185 0.0001185 0.04% FillPatchIterator::Initialize 20 0.0001146 0.0001146 0.0001146 0.03% Amr::timeStep() 5 0.00011 0.00011 0.00011 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.03% MLCellLinOp::correctionResidual() 216 9.466e-05 9.466e-05 9.466e-05 0.03% AmrLevel::restart() 1 8.095e-05 8.095e-05 8.095e-05 0.02% Gravity::update_max_rhs() 6 8.039e-05 8.039e-05 8.039e-05 0.02% StateData::restartDoit() 4 6.783e-05 6.783e-05 6.783e-05 0.02% Gravity::solve_for_phi() 5 6.278e-05 6.278e-05 6.278e-05 0.02% FabArrayBase::FB::FB() 26 5.946e-05 5.946e-05 5.946e-05 0.02% MLMG:computeResOfCorrection() 180 5.019e-05 5.019e-05 5.019e-05 0.01% Castro::expand_state() 5 5.017e-05 5.017e-05 5.017e-05 0.01% Castro::initialize_advance() 5 4.231e-05 4.231e-05 4.231e-05 0.01% MLMG::actualBottomSolve() 36 3.886e-05 3.886e-05 3.886e-05 0.01% Castro::finalize_advance() 5 3.802e-05 3.802e-05 3.802e-05 0.01% MLMG::mgVcycle_down::0 36 3.802e-05 3.802e-05 3.802e-05 0.01% Castro::clean_state() 30 3.658e-05 3.658e-05 3.658e-05 0.01% MLMG::mgVcycle_down::1 36 3.38e-05 3.38e-05 3.38e-05 0.01% MLMG::mgVcycle_down::2 36 3.228e-05 3.228e-05 3.228e-05 0.01% MLMG::mgVcycle_down::4 36 3.207e-05 3.207e-05 3.207e-05 0.01% MLMG::solve() 6 3.2e-05 3.2e-05 3.2e-05 0.01% MLMG::mgVcycle_down::3 36 3.102e-05 3.102e-05 3.102e-05 0.01% MLMG::mgVcycle_up::4 36 2.751e-05 2.751e-05 2.751e-05 0.01% Amr::writeSmallPlotFile() 1 2.701e-05 2.701e-05 2.701e-05 0.01% Castro::initialize_do_advance() 5 2.683e-05 2.683e-05 2.683e-05 0.01% Castro::construct_new_source() 25 2.668e-05 2.668e-05 2.668e-05 0.01% Castro::initMFs() 1 2.579e-05 2.579e-05 2.579e-05 0.01% Castro::buildMetrics() 1 2.531e-05 2.531e-05 2.531e-05 0.01% MLMG::mgVcycle_up::2 36 2.493e-05 2.493e-05 2.493e-05 0.01% Castro::swap_state_time_levels() 5 2.413e-05 2.413e-05 2.413e-05 0.01% MLMG::oneIter() 36 2.379e-05 2.379e-05 2.379e-05 0.01% MLCellLinOp::solutionResidual() 42 2.094e-05 2.094e-05 2.094e-05 0.01% MLMG::mgVcycle_up::3 36 2.092e-05 2.092e-05 2.092e-05 0.01% MLMG::mgVcycle_up::0 36 2.05e-05 2.05e-05 2.05e-05 0.01% MLMG::mgVcycle_up::1 36 1.959e-05 1.959e-05 1.959e-05 0.01% Castro::finalize_do_advance() 5 1.921e-05 1.921e-05 1.921e-05 0.01% Castro::post_restart() 1 1.912e-05 1.912e-05 1.912e-05 0.01% Castro::advance() 5 1.676e-05 1.676e-05 1.676e-05 0.00% MLMG::ResNormInf() 42 1.675e-05 1.675e-05 1.675e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.561e-05 1.561e-05 1.561e-05 0.00% MLPoisson::define() 6 1.554e-05 1.554e-05 1.554e-05 0.00% FillPatchSingleLevel 20 1.407e-05 1.407e-05 1.407e-05 0.00% MLMG::mgVcycle_bottom 36 1.383e-05 1.383e-05 1.383e-05 0.00% makeSFC 30 1.35e-05 1.35e-05 1.35e-05 0.00% MLMG::computeResidual() 36 1.3e-05 1.3e-05 1.3e-05 0.00% Castro::construct_new_gravity() 5 1.25e-05 1.25e-05 1.25e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.213e-05 1.213e-05 1.213e-05 0.00% MLPoisson::prepareForSolve() 6 1.026e-05 1.026e-05 1.026e-05 0.00% Castro::construct_old_source() 25 1.025e-05 1.025e-05 1.025e-05 0.00% MLMG::computeMLResidual() 6 9.917e-06 9.917e-06 9.917e-06 0.00% DistributionMapping::Distribute() 31 9.241e-06 9.241e-06 9.241e-06 0.00% Amr::initSubcycle() 1 8.823e-06 8.823e-06 8.823e-06 0.00% Castro::do_new_sources() 5 8.272e-06 8.272e-06 8.272e-06 0.00% Castro::do_old_sources() 5 8.175e-06 8.175e-06 8.175e-06 0.00% Gravity::actual_multilevel_solve() 1 7.519e-06 7.519e-06 7.519e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.514e-06 7.514e-06 7.514e-06 0.00% Castro::check_for_nan() 10 6.038e-06 6.038e-06 6.038e-06 0.00% Castro::apply_source_to_state() 10 5.795e-06 5.795e-06 5.795e-06 0.00% MLLinOp::define() 6 5.757e-06 5.757e-06 5.757e-06 0.00% Castro::construct_old_gravity() 5 5.406e-06 5.406e-06 5.406e-06 0.00% Castro::post_timestep() 5 5.276e-06 5.276e-06 5.276e-06 0.00% Gravity::swapTimeLevels() 5 4.018e-06 4.018e-06 4.018e-06 0.00% Castro::computeNewDt() 5 3.98e-06 3.98e-06 3.98e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.33e-06 3.33e-06 3.33e-06 0.00% MLMG::getGradSolution() 6 3.065e-06 3.065e-06 3.065e-06 0.00% Castro::retry_advance_ctu() 5 2.663e-06 2.663e-06 2.663e-06 0.00% MLMG::MLResNormInf() 6 2.185e-06 2.185e-06 2.185e-06 0.00% MLMG::MLRhsNormInf() 6 2.114e-06 2.114e-06 2.114e-06 0.00% Castro::FluxRegCrseInit 5 2.11e-06 2.11e-06 2.11e-06 0.00% Gravity::set_mass_offset() 6 2.091e-06 2.091e-06 2.091e-06 0.00% Castro::FluxRegFineAdd() 5 1.575e-06 1.575e-06 1.575e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-06 0.00% Amr::init() 1 1.004e-06 1.004e-06 1.004e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3369 0.3369 0.3369 99.99% Amr::coarseTimeStep() 5 0.2578 0.2578 0.2578 76.50% Amr::timeStep() 5 0.2547 0.2547 0.2547 75.59% Castro::advance() 5 0.2517 0.2517 0.2517 74.71% Castro::subcycle_advance_ctu() 5 0.2455 0.2455 0.2455 72.87% Castro::do_advance_ctu() 5 0.2447 0.2447 0.2447 72.61% Castro::construct_new_gravity() 5 0.1267 0.1267 0.1267 37.59% Gravity::solve_phi_with_mlmg() 6 0.122 0.122 0.122 36.20% Gravity::solve_for_phi() 5 0.119 0.119 0.119 35.30% Gravity::actual_solve_with_mlmg() 6 0.1185 0.1185 0.1185 35.15% MLMG::solve() 6 0.1075 0.1075 0.1075 31.89% MLMG::oneIter() 36 0.1007 0.1007 0.1007 29.89% MLMG::mgVcycle() 36 0.09917 0.09917 0.09917 29.43% Castro::construct_ctu_hydro_source() 5 0.08048 0.08048 0.08048 23.89% MLCellLinOp::smooth() 720 0.04888 0.04888 0.04888 14.51% MLCellLinOp::applyBC() 1946 0.04595 0.04595 0.04595 13.64% Amr::init() 1 0.04587 0.04587 0.04587 13.61% Amr::restart() 1 0.04587 0.04587 0.04587 13.61% AmrLevel::restart() 1 0.03981 0.03981 0.03981 11.81% StateData::restartDoit() 4 0.03972 0.03972 0.03972 11.79% VisMF::Read() 3 0.0396 0.0396 0.0396 11.75% Amr::writePlotFile() 1 0.03256 0.03256 0.03256 9.66% VisMF::Write(FabArray) 1 0.03111 0.03111 0.03111 9.23% MLMG::mgVcycle_bottom 36 0.03057 0.03057 0.03057 9.07% MLMG::actualBottomSolve() 36 0.03056 0.03056 0.03056 9.07% MLCGSolver::bicgstab 36 0.03026 0.03026 0.03026 8.98% Castro::clean_state() 30 0.02041 0.02041 0.02041 6.06% FillPatchIterator::Initialize 20 0.01988 0.01988 0.01988 5.90% FillPatchSingleLevel 20 0.01914 0.01914 0.01914 5.68% StateDataPhysBCFunct::() 20 0.0171 0.0171 0.0171 5.08% MLCellLinOp::apply() 500 0.01529 0.01529 0.01529 4.54% MLMG::mgVcycle_down::0 36 0.0141 0.0141 0.0141 4.18% MLPoisson::Fsmooth() 1440 0.01354 0.01354 0.01354 4.02% FabArray::FillBoundary() 1766 0.01337 0.01337 0.01337 3.97% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.86% StateData::FillBoundary(geom) 160 0.01184 0.01184 0.01184 3.51% MLMG::mgVcycle_up::0 36 0.01063 0.01063 0.01063 3.15% Castro::initialize_do_advance() 5 0.009349 0.009349 0.009349 2.77% MLCellLinOp::correctionResidual() 216 0.009269 0.009269 0.009269 2.75% Castro::computeTemp() 30 0.008781 0.008781 0.008781 2.61% MLPoisson::define() 6 0.008718 0.008718 0.008718 2.59% amrex::Dot() 484 0.008486 0.008486 0.008486 2.52% MLMG:computeResOfCorrection() 180 0.008153 0.008153 0.008153 2.42% Gravity::get_new_grav_vector() 5 0.007585 0.007585 0.007585 2.25% Castro::construct_old_gravity() 5 0.007315 0.007315 0.007315 2.17% Gravity::get_old_grav_vector() 5 0.007309 0.007309 0.007309 2.17% amrex::Copy() 463 0.006826 0.006826 0.006826 2.03% Castro::do_new_sources() 5 0.006826 0.006826 0.006826 2.03% MLMG::mgVcycle_down::1 36 0.006607 0.006607 0.006607 1.96% FabArray::ParallelCopy() 380 0.006344 0.006344 0.006344 1.88% FabArray::ParallelCopy_nowait() 380 0.006235 0.006235 0.006235 1.85% MLMG::mgVcycle_down::2 36 0.006167 0.006167 0.006167 1.83% FabArray::setVal() 537 0.006113 0.006113 0.006113 1.81% FabArray::norminf() 326 0.00605 0.00605 0.00605 1.80% MLMG::mgVcycle_down::3 36 0.006022 0.006022 0.006022 1.79% MLMG::mgVcycle_down::4 36 0.005963 0.005963 0.005963 1.77% MLCellLinOp::defineAuxData() 6 0.005908 0.005908 0.005908 1.75% Castro::normalize_species() 30 0.005897 0.005897 0.005897 1.75% Castro::initialize_advance() 5 0.005863 0.005863 0.005863 1.74% Castro::expand_state() 5 0.00558 0.00558 0.00558 1.66% Castro::enforce_min_density() 30 0.00517 0.00517 0.00517 1.53% MLCGSolver::ParallelAllReduce 659 0.005104 0.005104 0.005104 1.51% MLMG::addInterpCorrection() 180 0.004955 0.004955 0.004955 1.47% MLMG::mgVcycle_up::1 36 0.004841 0.004841 0.004841 1.44% MLMG::mgVcycle_up::4 36 0.004796 0.004796 0.004796 1.42% Castro::do_old_sources() 5 0.004781 0.004781 0.004781 1.42% MLMG::mgVcycle_up::2 36 0.004712 0.004712 0.004712 1.40% amrex::average_down 180 0.004691 0.004691 0.004691 1.39% MLMG::mgVcycle_up::3 36 0.004616 0.004616 0.004616 1.37% MLPoisson::Fapply() 500 0.004313 0.004313 0.004313 1.28% Castro::estTimeStep() 10 0.003639 0.003639 0.003639 1.08% FabArray::Saxpy() 355 0.003544 0.003544 0.003544 1.05% Gravity::fill_multipole_BCs() 6 0.003415 0.003415 0.003415 1.01% FabArray::Xpay() 361 0.003384 0.003384 0.003384 1.00% Castro::post_restart() 1 0.003377 0.003377 0.003377 1.00% Gravity::multilevel_solve_for_new_phi() 1 0.003271 0.003271 0.003271 0.97% Gravity::actual_multilevel_solve() 1 0.003256 0.003256 0.003256 0.97% MLCellLinOp::solutionResidual() 42 0.003172 0.003172 0.003172 0.94% Castro::reset_internal_energy(MultiFab) 30 0.003134 0.003134 0.003134 0.93% Castro::computeNewDt() 5 0.002907 0.002907 0.002907 0.86% Castro::post_timestep() 5 0.002878 0.002878 0.002878 0.85% MLMG::computeResidual() 36 0.002631 0.002631 0.002631 0.78% MLCellLinOp::defineBC() 6 0.002583 0.002583 0.002583 0.77% MLMG::prepareForSolve() 6 0.00247 0.00247 0.00247 0.73% BndryData::define() 6 0.002465 0.002465 0.002465 0.73% FabArray::LinComb() 242 0.001855 0.001855 0.001855 0.55% amrex::Add() 72 0.001839 0.001839 0.001839 0.55% Castro::construct_new_source() 25 0.00173 0.00173 0.00173 0.51% Castro::construct_new_gravity_source() 5 0.001704 0.001704 0.001704 0.51% Castro::construct_old_source() 25 0.001395 0.001395 0.001395 0.41% Castro::construct_old_gravity_source() 5 0.001385 0.001385 0.001385 0.41% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009196 0.0009196 0.0009196 0.27% Castro::apply_source_to_state() 10 0.0009187 0.0009187 0.0009187 0.27% MLMG::ResNormInf() 42 0.0009175 0.0009175 0.0009175 0.27% MLMG::getGradSolution() 6 0.000769 0.000769 0.000769 0.23% MLCellLinOp::compGrad() 6 0.000766 0.000766 0.000766 0.23% FabArrayBase::getCPC() 632 0.0007626 0.0007626 0.0007626 0.23% MLCellLinOp::setLevelBC() 6 0.0007274 0.0007274 0.0007274 0.22% Castro::reset_internal_energy(Fab) 240 0.0007194 0.0007194 0.0007194 0.21% FabArray::mult() 22 0.0006556 0.0006556 0.0006556 0.19% FabArray::setDomainBndry() 20 0.0006262 0.0006262 0.0006262 0.19% Castro::check_for_nan() 10 0.0006033 0.0006033 0.0006033 0.18% MLPoisson::prepareForSolve() 6 0.000602 0.000602 0.000602 0.18% MultiFab::contains_nan() 10 0.0005973 0.0005973 0.0005973 0.18% MLCellLinOp::prepareForSolve() 6 0.0005918 0.0005918 0.0005918 0.18% MLMG::computeMLResidual() 6 0.000564 0.000564 0.000564 0.17% Castro::enforce_speed_limit() 30 0.000525 0.000525 0.000525 0.16% Gravity::update_max_rhs() 6 0.0004836 0.0004836 0.0004836 0.14% FabArrayBase::CPC::define() 244 0.0004181 0.0004181 0.0004181 0.12% Amr::InitAmr() 1 0.0003878 0.0003878 0.0003878 0.12% Castro::finalize_advance() 5 0.0003137 0.0003137 0.0003137 0.09% FabArrayBase::getFB() 1766 0.0003082 0.0003082 0.0003082 0.09% Gravity::swapTimeLevels() 5 0.0002226 0.0002226 0.0002226 0.07% MLLinOp::define() 6 0.0002113 0.0002113 0.0002113 0.06% MLLinOp::defineGrids() 6 0.0002056 0.0002056 0.0002056 0.06% MLMG::MLResNormInf() 6 0.0001513 0.0001513 0.0001513 0.04% Castro::buildMetrics() 1 0.0001501 0.0001501 0.0001501 0.04% MultiFab::max() 6 0.0001429 0.0001429 0.0001429 0.04% Castro::create_source_corrector() 5 0.0001206 0.0001206 0.0001206 0.04% MLMG::MLRhsNormInf() 6 0.0001164 0.0001164 0.0001164 0.03% FabArrayBase::FB::FB() 26 5.946e-05 5.946e-05 5.946e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.904e-05 2.904e-05 2.904e-05 0.01% Amr::writeSmallPlotFile() 1 2.701e-05 2.701e-05 2.701e-05 0.01% Castro::initMFs() 1 2.579e-05 2.579e-05 2.579e-05 0.01% Castro::swap_state_time_levels() 5 2.413e-05 2.413e-05 2.413e-05 0.01% makeSFC 30 2.153e-05 2.153e-05 2.153e-05 0.01% Castro::finalize_do_advance() 5 1.921e-05 1.921e-05 1.921e-05 0.01% DistributionMapping::Distribute() 31 9.241e-06 9.241e-06 9.241e-06 0.00% Amr::initSubcycle() 1 8.823e-06 8.823e-06 8.823e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.541e-06 4.541e-06 4.541e-06 0.00% Castro::retry_advance_ctu() 5 2.663e-06 2.663e-06 2.663e-06 0.00% Castro::FluxRegCrseInit 5 2.11e-06 2.11e-06 2.11e-06 0.00% Gravity::set_mass_offset() 6 2.091e-06 2.091e-06 2.091e-06 0.00% Castro::FluxRegFineAdd() 5 1.575e-06 1.575e-06 1.575e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-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 240 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 111 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1285 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2715 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6604 KiB 14 MiB MLMG::prepareForSolve() 361 361 3916 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 224 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 230 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6599 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2718 B 2048 KiB Gravity::solve_for_phi() 40 40 721 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 360 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 231 KiB 671 KiB Castro::estTimeStep() 10 10 2863 B 480 KiB VisMF::Write(FabArray) 112 112 1438 B 320 KiB Castro::normalize_species() 30 30 5679 B 320 KiB amrex::average_down 469 469 1320 B 257 KiB MLMG::addInterpCorrection() 468 468 1268 B 257 KiB amrex::Dot() 592 592 3709 B 160 KiB FabArray::norminf() 398 398 2652 B 160 KiB Castro::do_advance_ctu() 5 5 584 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 35 B 20 KiB MLPoisson::Fsmooth() 60 60 3808 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 57 B 10 KiB FillBoundary_nowait() 336 336 328 B 9648 B MLCellLinOp::applyBC() 3892 3892 250 B 9344 B amrex::Copy() 56 56 5906 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 54 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 130 B 1472 B MLCellLinOp::defineBC() 36 36 404 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1618 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 129 KiB 8192 KiB VisMF::Write(FabArray) 120 120 283 KiB 3584 KiB VisMF::Read() 24 24 228 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3808 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 57 B 10 KiB FillBoundary_nowait() 336 336 327 B 9648 B MLCellLinOp::applyBC() 1946 1946 248 B 9328 B amrex::Copy() 56 56 5906 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2597 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 54 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 561 B 1296 B amrex::average_down 37 37 218 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 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.04-37-ga6e89ecc1175) finalized