Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-22-g82e38a8f5ebe) initialized Starting run at 09:18:08 UTC on 2023-03-23. Successfully read inputs file ... Castro git describe: 23.03-14-g7e0f49884 AMReX git describe: 23.03-22-g82e38a8f5 Microphysics git describe: 23.03-20-g47547e7e 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.05672804 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032600676 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047218368 [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.049933661 [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.056806267 [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.055721098 [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.069710036 [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.056123542 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.060495956 [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.045670907 [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.04625776 [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.054326931 [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.057483869 [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.05598076 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032454925 seconds Ending run at 09:18:09 UTC on 2023-03-23. Run time = 0.823409126 Run time without initialization = 0.688817917 Average number of zones advanced per microsecond: 3.806 Average number of zones advanced per microsecond per rank: 3.806 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8234 ... 0.8234 ... 0.8234 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2269 0.2269 0.2269 27.56% Castro::construct_ctu_hydro_source() 10 0.193 0.193 0.193 23.44% MLCellLinOp::applyBC() 4379 0.07511 0.07511 0.07511 9.12% MLPoisson::Fsmooth() 3240 0.03129 0.03129 0.03129 3.80% FillBoundary_nowait() 3974 0.03055 0.03055 0.03055 3.71% StateData::FillBoundary(geom) 328 0.02488 0.02488 0.02488 3.02% amrex::Dot() 1100 0.01992 0.01992 0.01992 2.42% Castro::normalize_species() 62 0.01501 0.01501 0.01501 1.82% amrex::Copy() 1019 0.01457 0.01457 0.01457 1.77% FabArray::norminf() 734 0.01385 0.01385 0.01385 1.68% Castro::computeTemp() 63 0.01333 0.01333 0.01333 1.62% FabArray::ParallelCopy_nowait() 851 0.01312 0.01312 0.01312 1.59% FabArray::setVal() 1135 0.01281 0.01281 0.01281 1.56% StateDataPhysBCFunct::() 41 0.01185 0.01185 0.01185 1.44% MLPoisson::Fapply() 1128 0.009974 0.009974 0.009974 1.21% MLCellLinOp::defineAuxData() 11 0.009809 0.009809 0.009809 1.19% FabArray::Saxpy() 803 0.007916 0.007916 0.007916 0.96% FabArray::Xpay() 811 0.007774 0.007774 0.007774 0.94% Castro::enforce_min_density() 62 0.007017 0.007017 0.007017 0.85% MLMG::addInterpCorrection() 405 0.006645 0.006645 0.006645 0.81% Gravity::fill_multipole_BCs() 11 0.00625 0.00625 0.00625 0.76% amrex::average_down 405 0.005824 0.005824 0.005824 0.71% Castro::estTimeStep() 21 0.004763 0.004763 0.004763 0.58% FabArray::LinComb() 550 0.004325 0.004325 0.004325 0.53% amrex::Add() 162 0.004253 0.004253 0.004253 0.52% Amr::checkPoint() 3 0.004079 0.004079 0.004079 0.50% Castro::reset_internal_energy(MultiFab) 63 0.004068 0.004068 0.004068 0.49% BndryData::define() 11 0.003582 0.003582 0.003582 0.43% Castro::construct_new_gravity_source() 10 0.00328 0.00328 0.00328 0.40% Castro::construct_old_gravity_source() 10 0.002648 0.002648 0.002648 0.32% Castro::do_advance_ctu() 10 0.00248 0.00248 0.00248 0.30% Amr::writePlotFile() 2 0.002415 0.002415 0.002415 0.29% MLCGSolver::bicgstab 81 0.002158 0.002158 0.002158 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001666 0.001666 0.001666 0.20% Castro::reset_internal_energy(Fab) 504 0.00155 0.00155 0.00155 0.19% Gravity::actual_solve_with_mlmg() 11 0.001475 0.001475 0.001475 0.18% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.16% FabArray::setDomainBndry() 41 0.001271 0.001271 0.001271 0.15% Castro::initData() 1 0.001236 0.001236 0.001236 0.15% Castro::enforce_speed_limit() 62 0.001197 0.001197 0.001197 0.15% MultiFab::contains_nan() 20 0.001192 0.001192 0.001192 0.14% MLCellLinOp::prepareForSolve() 11 0.001115 0.001115 0.001115 0.14% MLCellLinOp::smooth() 1620 0.001095 0.001095 0.001095 0.13% MLCellLinOp::compGrad() 11 0.0008925 0.0008925 0.0008925 0.11% MLMG::prepareForSolve() 11 0.0008787 0.0008787 0.0008787 0.11% FabArray::FillBoundary() 3974 0.0007863 0.0007863 0.0007863 0.10% Castro::subcycle_advance_ctu() 10 0.0007794 0.0007794 0.0007794 0.09% FabArrayBase::getCPC() 1313 0.0007405 0.0007405 0.0007405 0.09% FabArrayBase::CPC::define() 454 0.0006733 0.0006733 0.0006733 0.08% Gravity::get_new_grav_vector() 11 0.0006298 0.0006298 0.0006298 0.08% FabArrayBase::getFB() 3974 0.0006053 0.0006053 0.0006053 0.07% Gravity::get_old_grav_vector() 10 0.000551 0.000551 0.000551 0.07% Amr::InitAmr() 1 0.0004972 0.0004972 0.0004972 0.06% MLCellLinOp::apply() 1128 0.0004725 0.0004725 0.0004725 0.06% MLMG::mgVcycle() 81 0.0003861 0.0003861 0.0003861 0.05% MLLinOp::defineGrids() 11 0.0003651 0.0003651 0.0003651 0.04% Amr::coarseTimeStep() 10 0.000336 0.000336 0.000336 0.04% main() 1 0.0003102 0.0003102 0.0003102 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002875 0.0002875 0.0002875 0.03% MultiFab::max() 11 0.000259 0.000259 0.000259 0.03% FillPatchIterator::Initialize 41 0.0002531 0.0002531 0.0002531 0.03% FabArray::ParallelCopy() 851 0.0002427 0.0002427 0.0002427 0.03% MLCellLinOp::correctionResidual() 486 0.000228 0.000228 0.000228 0.03% MLCellLinOp::defineBC() 11 0.0002137 0.0002137 0.0002137 0.03% Amr::timeStep() 10 0.0001809 0.0001809 0.0001809 0.02% StateData::checkPoint() 12 0.0001366 0.0001366 0.0001366 0.02% Castro::finalize_advance() 10 0.0001363 0.0001363 0.0001363 0.02% Gravity::update_max_rhs() 11 0.0001253 0.0001253 0.0001253 0.02% Gravity::solve_for_phi() 10 0.0001128 0.0001128 0.0001128 0.01% MLMG:computeResOfCorrection() 405 0.0001109 0.0001109 0.0001109 0.01% Castro::advance() 10 9.452e-05 9.452e-05 9.452e-05 0.01% MLMG::mgVcycle_down::0 81 9.065e-05 9.065e-05 9.065e-05 0.01% MLMG::actualBottomSolve() 81 8.895e-05 8.895e-05 8.895e-05 0.01% FabArrayBase::FB::FB() 56 8.705e-05 8.705e-05 8.705e-05 0.01% Castro::Castro() 1 8.57e-05 8.57e-05 8.57e-05 0.01% Castro::expand_state() 10 8.043e-05 8.043e-05 8.043e-05 0.01% MLMG::mgVcycle_down::1 81 7.774e-05 7.774e-05 7.774e-05 0.01% AmrLevel::checkPoint() 3 7.726e-05 7.726e-05 7.726e-05 0.01% MLMG::mgVcycle_down::2 81 7.675e-05 7.675e-05 7.675e-05 0.01% Castro::initialize_advance() 10 7.478e-05 7.478e-05 7.478e-05 0.01% Castro::clean_state() 62 7.338e-05 7.338e-05 7.338e-05 0.01% MLMG::mgVcycle_down::4 81 7.215e-05 7.215e-05 7.215e-05 0.01% MLMG::mgVcycle_down::3 81 7.19e-05 7.19e-05 7.19e-05 0.01% MLMG::solve() 11 7.124e-05 7.124e-05 7.124e-05 0.01% MLMG::mgVcycle_up::4 81 5.987e-05 5.987e-05 5.987e-05 0.01% MLMG::oneIter() 81 5.414e-05 5.414e-05 5.414e-05 0.01% Castro::initialize_do_advance() 10 5.293e-05 5.293e-05 5.293e-05 0.01% MLCellLinOp::solutionResidual() 92 4.983e-05 4.983e-05 4.983e-05 0.01% MLMG::mgVcycle_up::1 81 4.966e-05 4.966e-05 4.966e-05 0.01% MLMG::mgVcycle_up::0 81 4.947e-05 4.947e-05 4.947e-05 0.01% MLMG::mgVcycle_up::3 81 4.842e-05 4.842e-05 4.842e-05 0.01% MLMG::mgVcycle_up::2 81 4.8e-05 4.8e-05 4.8e-05 0.01% Castro::swap_state_time_levels() 10 3.876e-05 3.876e-05 3.876e-05 0.00% Castro::finalize_do_advance() 10 3.786e-05 3.786e-05 3.786e-05 0.00% StateData::define() 4 3.591e-05 3.591e-05 3.591e-05 0.00% Castro::enforce_consistent_e() 1 3.54e-05 3.54e-05 3.54e-05 0.00% MLMG::ResNormInf() 92 3.367e-05 3.367e-05 3.367e-05 0.00% MLMG::mgVcycle_bottom 81 3.365e-05 3.365e-05 3.365e-05 0.00% MLMG::computeResidual() 81 3.149e-05 3.149e-05 3.149e-05 0.00% FillPatchSingleLevel 41 2.937e-05 2.937e-05 2.937e-05 0.00% makeSFC 55 2.709e-05 2.709e-05 2.709e-05 0.00% Castro::initMFs() 1 2.58e-05 2.58e-05 2.58e-05 0.00% Castro::construct_new_gravity() 10 2.536e-05 2.536e-05 2.536e-05 0.00% Amr::writeSmallPlotFile() 1 2.499e-05 2.499e-05 2.499e-05 0.00% MLPoisson::define() 11 2.289e-05 2.289e-05 2.289e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.204e-05 2.204e-05 2.204e-05 0.00% Amr::FinalizeInit() 1 2.185e-05 2.185e-05 2.185e-05 0.00% Amr::defBaseLevel() 1 2.049e-05 2.049e-05 2.049e-05 0.00% Castro::construct_new_source() 50 1.9e-05 1.9e-05 1.9e-05 0.00% Castro::buildMetrics() 1 1.886e-05 1.886e-05 1.886e-05 0.00% Castro::construct_old_source() 50 1.882e-05 1.882e-05 1.882e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.809e-05 1.809e-05 1.809e-05 0.00% Castro::do_new_sources() 10 1.706e-05 1.706e-05 1.706e-05 0.00% DistributionMapping::Distribute() 56 1.58e-05 1.58e-05 1.58e-05 0.00% Castro::do_old_sources() 10 1.572e-05 1.572e-05 1.572e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.447e-05 1.447e-05 1.447e-05 0.00% MLPoisson::prepareForSolve() 11 1.428e-05 1.428e-05 1.428e-05 0.00% MLLinOp::define() 11 1.182e-05 1.182e-05 1.182e-05 0.00% Castro::check_for_nan() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::construct_old_gravity() 10 1.083e-05 1.083e-05 1.083e-05 0.00% Castro::apply_source_to_state() 20 1.082e-05 1.082e-05 1.082e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.053e-05 1.053e-05 1.053e-05 0.00% Gravity::swapTimeLevels() 10 9.914e-06 9.914e-06 9.914e-06 0.00% Amr::initSubcycle() 1 8.874e-06 8.874e-06 8.874e-06 0.00% Gravity::actual_multilevel_solve() 1 8.647e-06 8.647e-06 8.647e-06 0.00% Castro::post_timestep() 10 8.247e-06 8.247e-06 8.247e-06 0.00% MLMG::computeMLResidual() 11 8.085e-06 8.085e-06 8.085e-06 0.00% Castro::computeNewDt() 9 6.905e-06 6.905e-06 6.905e-06 0.00% MLMG::getGradSolution() 11 5.759e-06 5.759e-06 5.759e-06 0.00% AmrLevel::checkPointPost() 3 5.097e-06 5.097e-06 5.097e-06 0.00% Amr::InitializeInit() 1 5.022e-06 5.022e-06 5.022e-06 0.00% Castro::retry_advance_ctu() 10 4.844e-06 4.844e-06 4.844e-06 0.00% Castro::post_init() 1 4.773e-06 4.773e-06 4.773e-06 0.00% Gravity::set_mass_offset() 11 4.477e-06 4.477e-06 4.477e-06 0.00% MLMG::MLRhsNormInf() 11 3.772e-06 3.772e-06 3.772e-06 0.00% Castro::FluxRegCrseInit 10 3.661e-06 3.661e-06 3.661e-06 0.00% MLMG::MLResNormInf() 11 3.637e-06 3.637e-06 3.637e-06 0.00% Castro::create_source_corrector() 10 3.489e-06 3.489e-06 3.489e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.286e-06 3.286e-06 3.286e-06 0.00% Castro::computeInitialDt() 2 3.224e-06 3.224e-06 3.224e-06 0.00% Amr::init() 1 2.508e-06 2.508e-06 2.508e-06 0.00% Castro::FluxRegFineAdd() 10 2.487e-06 2.487e-06 2.487e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.428e-06 2.428e-06 2.428e-06 0.00% AmrLevel::checkPointPre() 3 1.771e-06 1.771e-06 1.771e-06 0.00% Amr::initialInit() 1 1.526e-06 1.526e-06 1.526e-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.8234 0.8234 0.8234 100.00% Amr::coarseTimeStep() 10 0.6561 0.6561 0.6561 79.68% Amr::timeStep() 10 0.5405 0.5405 0.5405 65.64% Castro::advance() 10 0.5332 0.5332 0.5332 64.75% Castro::subcycle_advance_ctu() 10 0.5216 0.5216 0.5216 63.34% Castro::do_advance_ctu() 10 0.5208 0.5208 0.5208 63.25% Gravity::solve_phi_with_mlmg() 11 0.2763 0.2763 0.2763 33.56% Gravity::actual_solve_with_mlmg() 11 0.2695 0.2695 0.2695 32.73% Castro::construct_new_gravity() 10 0.2551 0.2551 0.2551 30.98% MLMG::solve() 11 0.249 0.249 0.249 30.24% Gravity::solve_for_phi() 10 0.2394 0.2394 0.2394 29.08% MLMG::oneIter() 81 0.235 0.235 0.235 28.54% MLMG::mgVcycle() 81 0.2314 0.2314 0.2314 28.10% VisMF::Write(FabArray) 11 0.2269 0.2269 0.2269 27.56% Castro::construct_ctu_hydro_source() 10 0.193 0.193 0.193 23.44% Amr::checkPoint() 3 0.169 0.169 0.169 20.52% AmrLevel::checkPoint() 3 0.1649 0.1649 0.1649 20.02% StateData::checkPoint() 12 0.1648 0.1648 0.1648 20.01% Amr::init() 1 0.1339 0.1339 0.1339 16.27% MLCellLinOp::smooth() 1620 0.1141 0.1141 0.1141 13.86% MLCellLinOp::applyBC() 4379 0.1071 0.1071 0.1071 13.01% MLMG::mgVcycle_bottom 81 0.07116 0.07116 0.07116 8.64% MLMG::actualBottomSolve() 81 0.07113 0.07113 0.07113 8.64% MLCGSolver::bicgstab 81 0.07045 0.07045 0.07045 8.56% Amr::writePlotFile() 2 0.06518 0.06518 0.06518 7.92% Amr::initialInit() 1 0.04449 0.04449 0.04449 5.40% FillPatchIterator::Initialize 41 0.04235 0.04235 0.04235 5.14% Castro::clean_state() 62 0.04155 0.04155 0.04155 5.05% FillPatchSingleLevel 41 0.04082 0.04082 0.04082 4.96% Amr::FinalizeInit() 1 0.04047 0.04047 0.04047 4.91% Castro::post_init() 1 0.03923 0.03923 0.03923 4.76% Gravity::multilevel_solve_for_new_phi() 1 0.03731 0.03731 0.03731 4.53% Gravity::actual_multilevel_solve() 1 0.03729 0.03729 0.03729 4.53% StateDataPhysBCFunct::() 41 0.03673 0.03673 0.03673 4.46% MLCellLinOp::apply() 1128 0.03538 0.03538 0.03538 4.30% MLMG::mgVcycle_down::0 81 0.03316 0.03316 0.03316 4.03% FabArray::FillBoundary() 3974 0.03203 0.03203 0.03203 3.89% MLPoisson::Fsmooth() 3240 0.03129 0.03129 0.03129 3.80% FillBoundary_nowait() 3974 0.03124 0.03124 0.03124 3.79% MLMG::mgVcycle_up::0 81 0.02506 0.02506 0.02506 3.04% StateData::FillBoundary(geom) 328 0.02488 0.02488 0.02488 3.02% MLCellLinOp::correctionResidual() 486 0.02162 0.02162 0.02162 2.63% amrex::Dot() 1100 0.01992 0.01992 0.01992 2.42% MLMG:computeResOfCorrection() 405 0.01904 0.01904 0.01904 2.31% Castro::computeTemp() 63 0.01894 0.01894 0.01894 2.30% Castro::initialize_do_advance() 10 0.01792 0.01792 0.01792 2.18% Gravity::get_new_grav_vector() 11 0.01731 0.01731 0.01731 2.10% MLPoisson::define() 11 0.01634 0.01634 0.01634 1.98% MLMG::mgVcycle_down::1 81 0.01539 0.01539 0.01539 1.87% Castro::normalize_species() 62 0.01501 0.01501 0.01501 1.82% Castro::construct_old_gravity() 10 0.01497 0.01497 0.01497 1.82% Gravity::get_old_grav_vector() 10 0.01496 0.01496 0.01496 1.82% amrex::Copy() 1019 0.01457 0.01457 0.01457 1.77% MLMG::mgVcycle_down::2 81 0.01434 0.01434 0.01434 1.74% FabArray::ParallelCopy() 851 0.01417 0.01417 0.01417 1.72% MLMG::mgVcycle_down::3 81 0.014 0.014 0.014 1.70% FabArray::ParallelCopy_nowait() 851 0.01392 0.01392 0.01392 1.69% MLMG::mgVcycle_down::4 81 0.01387 0.01387 0.01387 1.68% FabArray::norminf() 734 0.01385 0.01385 0.01385 1.68% FabArray::setVal() 1135 0.01281 0.01281 0.01281 1.56% Castro::do_new_sources() 10 0.01202 0.01202 0.01202 1.46% MLCGSolver::ParallelAllReduce 1495 0.01194 0.01194 0.01194 1.45% MLMG::addInterpCorrection() 405 0.01166 0.01166 0.01166 1.42% Castro::expand_state() 10 0.01146 0.01146 0.01146 1.39% MLMG::mgVcycle_up::4 81 0.01125 0.01125 0.01125 1.37% MLMG::mgVcycle_up::1 81 0.01118 0.01118 0.01118 1.36% MLCellLinOp::defineAuxData() 11 0.01113 0.01113 0.01113 1.35% MLMG::mgVcycle_up::2 81 0.01092 0.01092 0.01092 1.33% amrex::average_down 405 0.01091 0.01091 0.01091 1.32% Castro::initialize_advance() 10 0.01084 0.01084 0.01084 1.32% MLMG::mgVcycle_up::3 81 0.0107 0.0107 0.0107 1.30% Castro::do_old_sources() 10 0.01007 0.01007 0.01007 1.22% MLPoisson::Fapply() 1128 0.009974 0.009974 0.009974 1.21% FabArray::Saxpy() 803 0.007916 0.007916 0.007916 0.96% FabArray::Xpay() 811 0.007774 0.007774 0.007774 0.94% Castro::post_timestep() 10 0.007127 0.007127 0.007127 0.87% MLCellLinOp::solutionResidual() 92 0.00702 0.00702 0.00702 0.85% Castro::enforce_min_density() 62 0.007017 0.007017 0.007017 0.85% Gravity::fill_multipole_BCs() 11 0.006542 0.006542 0.006542 0.79% MLMG::computeResidual() 81 0.006032 0.006032 0.006032 0.73% Castro::reset_internal_energy(MultiFab) 63 0.005618 0.005618 0.005618 0.68% Castro::estTimeStep() 21 0.004763 0.004763 0.004763 0.58% MLCellLinOp::defineBC() 11 0.004751 0.004751 0.004751 0.58% MLMG::prepareForSolve() 11 0.004615 0.004615 0.004615 0.56% BndryData::define() 11 0.004537 0.004537 0.004537 0.55% FabArray::LinComb() 550 0.004325 0.004325 0.004325 0.53% amrex::Add() 162 0.004253 0.004253 0.004253 0.52% Amr::InitializeInit() 1 0.00402 0.00402 0.00402 0.49% Amr::defBaseLevel() 1 0.004015 0.004015 0.004015 0.49% Castro::initData() 1 0.003508 0.003508 0.003508 0.43% Castro::construct_new_source() 50 0.003299 0.003299 0.003299 0.40% Castro::construct_new_gravity_source() 10 0.00328 0.00328 0.00328 0.40% Castro::construct_old_source() 50 0.002667 0.002667 0.002667 0.32% Castro::construct_old_gravity_source() 10 0.002648 0.002648 0.002648 0.32% Castro::computeNewDt() 9 0.002365 0.002365 0.002365 0.29% MLMG::ResNormInf() 92 0.002036 0.002036 0.002036 0.25% Castro::apply_source_to_state() 20 0.00182 0.00182 0.00182 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001666 0.001666 0.001666 0.20% Castro::reset_internal_energy(Fab) 504 0.00155 0.00155 0.00155 0.19% FabArrayBase::getCPC() 1313 0.001414 0.001414 0.001414 0.17% MLMG::getGradSolution() 11 0.001372 0.001372 0.001372 0.17% MLCellLinOp::compGrad() 11 0.001366 0.001366 0.001366 0.17% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.16% FabArray::setDomainBndry() 41 0.001271 0.001271 0.001271 0.15% Castro::check_for_nan() 20 0.001203 0.001203 0.001203 0.15% Castro::enforce_speed_limit() 62 0.001197 0.001197 0.001197 0.15% MultiFab::contains_nan() 20 0.001192 0.001192 0.001192 0.14% MLPoisson::prepareForSolve() 11 0.001129 0.001129 0.001129 0.14% MLCellLinOp::prepareForSolve() 11 0.001115 0.001115 0.001115 0.14% Castro::post_regrid() 1 0.001063 0.001063 0.001063 0.13% MLMG::computeMLResidual() 11 0.001028 0.001028 0.001028 0.12% Castro::computeInitialDt() 2 0.0009136 0.0009136 0.0009136 0.11% Gravity::update_max_rhs() 11 0.00082 0.00082 0.00082 0.10% FabArrayBase::getFB() 3974 0.0006924 0.0006924 0.0006924 0.08% FabArrayBase::CPC::define() 454 0.0006733 0.0006733 0.0006733 0.08% Castro::finalize_advance() 10 0.000668 0.000668 0.000668 0.08% Amr::InitAmr() 1 0.0005061 0.0005061 0.0005061 0.06% Castro::Castro() 1 0.0004358 0.0004358 0.0004358 0.05% MLLinOp::define() 11 0.0004352 0.0004352 0.0004352 0.05% Gravity::swapTimeLevels() 10 0.0004297 0.0004297 0.0004297 0.05% MLLinOp::defineGrids() 11 0.0004234 0.0004234 0.0004234 0.05% MLMG::MLResNormInf() 11 0.0002834 0.0002834 0.0002834 0.03% MultiFab::max() 11 0.000259 0.000259 0.000259 0.03% MLMG::MLRhsNormInf() 11 0.0002177 0.0002177 0.0002177 0.03% Castro::buildMetrics() 1 0.0001657 0.0001657 0.0001657 0.02% FabArrayBase::FB::FB() 56 8.705e-05 8.705e-05 8.705e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.593e-05 5.593e-05 5.593e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.644e-05 4.644e-05 4.644e-05 0.01% makeSFC 55 4.146e-05 4.146e-05 4.146e-05 0.01% Castro::swap_state_time_levels() 10 3.876e-05 3.876e-05 3.876e-05 0.00% Castro::finalize_do_advance() 10 3.786e-05 3.786e-05 3.786e-05 0.00% StateData::define() 4 3.591e-05 3.591e-05 3.591e-05 0.00% Castro::enforce_consistent_e() 1 3.54e-05 3.54e-05 3.54e-05 0.00% Castro::initMFs() 1 2.58e-05 2.58e-05 2.58e-05 0.00% Amr::writeSmallPlotFile() 1 2.499e-05 2.499e-05 2.499e-05 0.00% DistributionMapping::Distribute() 56 1.58e-05 1.58e-05 1.58e-05 0.00% Amr::initSubcycle() 1 8.874e-06 8.874e-06 8.874e-06 0.00% AmrLevel::checkPointPost() 3 5.097e-06 5.097e-06 5.097e-06 0.00% Castro::retry_advance_ctu() 10 4.844e-06 4.844e-06 4.844e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.713e-06 4.713e-06 4.713e-06 0.00% Gravity::set_mass_offset() 11 4.477e-06 4.477e-06 4.477e-06 0.00% Castro::FluxRegCrseInit 10 3.661e-06 3.661e-06 3.661e-06 0.00% Castro::create_source_corrector() 10 3.489e-06 3.489e-06 3.489e-06 0.00% Castro::FluxRegFineAdd() 10 2.487e-06 2.487e-06 2.487e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.428e-06 2.428e-06 2.428e-06 0.00% AmrLevel::checkPointPre() 3 1.771e-06 1.771e-06 1.771e-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 100 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 106 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 1098 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2221 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3720 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 218 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1900 B 2048 KiB Gravity::solve_for_phi() 80 80 594 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 216 KiB 671 KiB Castro::estTimeStep() 21 21 2334 B 480 KiB VisMF::Write(FabArray) 656 656 3587 B 320 KiB Castro::normalize_species() 62 62 5935 B 320 KiB amrex::average_down 1054 1054 1300 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1215 B 257 KiB amrex::Dot() 1343 1343 3553 B 160 KiB FabArray::norminf() 896 896 2483 B 160 KiB Castro::do_advance_ctu() 10 10 458 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB Castro::initData() 1 1 29 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3636 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 48 B 10 KiB FillBoundary_nowait() 751 751 325 B 9648 B MLCellLinOp::applyBC() 8758 8758 234 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3859 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 124 B 1472 B MLCellLinOp::defineBC() 66 66 382 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 654 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 53 KiB 8192 KiB VisMF::Write(FabArray) 744 744 637 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3636 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 48 B 10 KiB FillBoundary_nowait() 751 751 325 B 9648 B MLCellLinOp::applyBC() 4379 4379 233 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3859 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 50 B 2880 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 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 309 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 896 896 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-22-g82e38a8f5ebe) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-22-g82e38a8f5ebe) initialized Starting run at 09:18:10 UTC on 2023-03-23. Successfully read inputs file ... Castro git describe: 23.03-14-g7e0f49884 AMReX git describe: 23.03-22-g82e38a8f5 Microphysics git describe: 23.03-20-g47547e7e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.47009605 Restart time = 0.046059541 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047625217 [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.046060966 [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.05389344 [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.053845157 [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.059921972 [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.032191855 seconds Ending run at 09:18:10 UTC on 2023-03-23. Run time = 0.340596333 Run time without initialization = 0.293941944 Average number of zones advanced per microsecond: 4.459 Average number of zones advanced per microsecond per rank: 4.459 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3406 ... 0.3406 ... 0.3406 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0881 0.0881 0.0881 25.86% VisMF::Read() 3 0.03984 0.03984 0.03984 11.70% MLCellLinOp::applyBC() 1946 0.0323 0.0323 0.0323 9.48% VisMF::Write(FabArray) 1 0.03063 0.03063 0.03063 8.99% MLPoisson::Fsmooth() 1440 0.01351 0.01351 0.01351 3.97% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 3.75% StateData::FillBoundary(geom) 160 0.01172 0.01172 0.01172 3.44% amrex::Dot() 484 0.008496 0.008496 0.008496 2.49% Castro::normalize_species() 30 0.007158 0.007158 0.007158 2.10% amrex::Copy() 463 0.006777 0.006777 0.006777 1.99% FabArray::setVal() 537 0.006121 0.006121 0.006121 1.80% FabArray::norminf() 326 0.005975 0.005975 0.005975 1.75% FabArray::ParallelCopy_nowait() 380 0.005879 0.005879 0.005879 1.73% StateDataPhysBCFunct::() 20 0.005764 0.005764 0.005764 1.69% Castro::computeTemp() 30 0.005347 0.005347 0.005347 1.57% MLCellLinOp::defineAuxData() 6 0.005197 0.005197 0.005197 1.53% MLPoisson::Fapply() 500 0.004295 0.004295 0.004295 1.26% FabArray::Saxpy() 355 0.003557 0.003557 0.003557 1.04% FabArray::Xpay() 361 0.003376 0.003376 0.003376 0.99% Castro::enforce_min_density() 30 0.003322 0.003322 0.003322 0.98% Gravity::fill_multipole_BCs() 6 0.002947 0.002947 0.002947 0.87% MLMG::addInterpCorrection() 180 0.002871 0.002871 0.002871 0.84% Amr::restart() 1 0.002563 0.002563 0.002563 0.75% amrex::average_down 180 0.002531 0.002531 0.002531 0.74% Castro::estTimeStep() 10 0.002293 0.002293 0.002293 0.67% BndryData::define() 6 0.001925 0.001925 0.001925 0.57% Castro::reset_internal_energy(MultiFab) 30 0.001899 0.001899 0.001899 0.56% FabArray::LinComb() 242 0.001838 0.001838 0.001838 0.54% amrex::Add() 72 0.001835 0.001835 0.001835 0.54% Castro::construct_new_gravity_source() 5 0.001616 0.001616 0.001616 0.47% Amr::writePlotFile() 1 0.001403 0.001403 0.001403 0.41% Castro::construct_old_gravity_source() 5 0.001309 0.001309 0.001309 0.38% Castro::do_advance_ctu() 5 0.001204 0.001204 0.001204 0.35% MLCGSolver::bicgstab 36 0.0009793 0.0009793 0.0009793 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008737 0.0008737 0.0008737 0.26% Gravity::actual_solve_with_mlmg() 6 0.0008064 0.0008064 0.0008064 0.24% MLCellLinOp::setLevelBC() 6 0.0007185 0.0007185 0.0007185 0.21% Castro::reset_internal_energy(Fab) 240 0.0006783 0.0006783 0.0006783 0.20% FabArray::mult() 22 0.0006436 0.0006436 0.0006436 0.19% FabArray::setDomainBndry() 20 0.0006331 0.0006331 0.0006331 0.19% Castro::enforce_speed_limit() 30 0.0006243 0.0006243 0.0006243 0.18% MLCellLinOp::prepareForSolve() 6 0.0006051 0.0006051 0.0006051 0.18% MultiFab::contains_nan() 10 0.0005903 0.0005903 0.0005903 0.17% MLCellLinOp::compGrad() 6 0.0004787 0.0004787 0.0004787 0.14% MLMG::prepareForSolve() 6 0.0004738 0.0004738 0.0004738 0.14% MLCellLinOp::smooth() 720 0.0004632 0.0004632 0.0004632 0.14% FabArrayBase::CPC::define() 244 0.0004207 0.0004207 0.0004207 0.12% Amr::InitAmr() 1 0.0004006 0.0004006 0.0004006 0.12% FabArrayBase::getCPC() 632 0.0003513 0.0003513 0.0003513 0.10% FabArray::FillBoundary() 1766 0.0003488 0.0003488 0.0003488 0.10% Gravity::get_old_grav_vector() 5 0.0002987 0.0002987 0.0002987 0.09% main() 1 0.0002798 0.0002798 0.0002798 0.08% FabArrayBase::getFB() 1766 0.0002764 0.0002764 0.0002764 0.08% Gravity::get_new_grav_vector() 5 0.0002727 0.0002727 0.0002727 0.08% MLCellLinOp::apply() 500 0.0002057 0.0002057 0.0002057 0.06% MLMG::mgVcycle() 36 0.0001723 0.0001723 0.0001723 0.05% Amr::coarseTimeStep() 5 0.0001652 0.0001652 0.0001652 0.05% MLLinOp::defineGrids() 6 0.0001633 0.0001633 0.0001633 0.05% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.04% MLCGSolver::ParallelAllReduce 659 0.0001312 0.0001312 0.0001312 0.04% MLCellLinOp::defineBC() 6 0.0001223 0.0001223 0.0001223 0.04% FillPatchIterator::Initialize 20 0.0001187 0.0001187 0.0001187 0.03% FabArray::ParallelCopy() 380 0.0001135 0.0001135 0.0001135 0.03% MLCellLinOp::correctionResidual() 216 9.812e-05 9.812e-05 9.812e-05 0.03% Amr::timeStep() 5 8.3e-05 8.3e-05 8.3e-05 0.02% AmrLevel::restart() 1 7.706e-05 7.706e-05 7.706e-05 0.02% Castro::subcycle_advance_ctu() 5 6.861e-05 6.861e-05 6.861e-05 0.02% StateData::restartDoit() 4 6.455e-05 6.455e-05 6.455e-05 0.02% Gravity::update_max_rhs() 6 6.175e-05 6.175e-05 6.175e-05 0.02% FabArrayBase::FB::FB() 26 5.977e-05 5.977e-05 5.977e-05 0.02% Gravity::solve_for_phi() 5 5.936e-05 5.936e-05 5.936e-05 0.02% MLMG:computeResOfCorrection() 180 5.116e-05 5.116e-05 5.116e-05 0.02% Castro::expand_state() 5 4.806e-05 4.806e-05 4.806e-05 0.01% Castro::advance() 5 4.771e-05 4.771e-05 4.771e-05 0.01% MLMG::actualBottomSolve() 36 4.012e-05 4.012e-05 4.012e-05 0.01% MLMG::mgVcycle_down::0 36 3.921e-05 3.921e-05 3.921e-05 0.01% MLMG::mgVcycle_down::3 36 3.634e-05 3.634e-05 3.634e-05 0.01% Castro::clean_state() 30 3.629e-05 3.629e-05 3.629e-05 0.01% MLMG::mgVcycle_down::1 36 3.608e-05 3.608e-05 3.608e-05 0.01% Castro::initialize_advance() 5 3.509e-05 3.509e-05 3.509e-05 0.01% MLMG::mgVcycle_down::4 36 3.401e-05 3.401e-05 3.401e-05 0.01% MLMG::mgVcycle_down::2 36 3.328e-05 3.328e-05 3.328e-05 0.01% MLMG::solve() 6 3.282e-05 3.282e-05 3.282e-05 0.01% Castro::finalize_advance() 5 2.906e-05 2.906e-05 2.906e-05 0.01% Castro::buildMetrics() 1 2.851e-05 2.851e-05 2.851e-05 0.01% MLMG::mgVcycle_up::4 36 2.669e-05 2.669e-05 2.669e-05 0.01% Castro::initialize_do_advance() 5 2.659e-05 2.659e-05 2.659e-05 0.01% Castro::initMFs() 1 2.577e-05 2.577e-05 2.577e-05 0.01% Amr::writeSmallPlotFile() 1 2.511e-05 2.511e-05 2.511e-05 0.01% Castro::swap_state_time_levels() 5 2.387e-05 2.387e-05 2.387e-05 0.01% MLMG::oneIter() 36 2.333e-05 2.333e-05 2.333e-05 0.01% MLMG::mgVcycle_up::0 36 2.263e-05 2.263e-05 2.263e-05 0.01% MLCellLinOp::solutionResidual() 42 2.183e-05 2.183e-05 2.183e-05 0.01% Castro::create_source_corrector() 5 2.133e-05 2.133e-05 2.133e-05 0.01% MLMG::mgVcycle_up::3 36 2.082e-05 2.082e-05 2.082e-05 0.01% MLMG::mgVcycle_up::2 36 2.058e-05 2.058e-05 2.058e-05 0.01% MLMG::mgVcycle_up::1 36 2.007e-05 2.007e-05 2.007e-05 0.01% Castro::finalize_do_advance() 5 1.967e-05 1.967e-05 1.967e-05 0.01% Castro::post_restart() 1 1.904e-05 1.904e-05 1.904e-05 0.01% MLMG::ResNormInf() 42 1.691e-05 1.691e-05 1.691e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.572e-05 1.572e-05 1.572e-05 0.00% MLMG::mgVcycle_bottom 36 1.442e-05 1.442e-05 1.442e-05 0.00% FillPatchSingleLevel 20 1.421e-05 1.421e-05 1.421e-05 0.00% MLMG::computeResidual() 36 1.403e-05 1.403e-05 1.403e-05 0.00% MLPoisson::define() 6 1.396e-05 1.396e-05 1.396e-05 0.00% makeSFC 30 1.281e-05 1.281e-05 1.281e-05 0.00% Castro::construct_new_gravity() 5 1.262e-05 1.262e-05 1.262e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.196e-05 1.196e-05 1.196e-05 0.00% Castro::construct_old_source() 25 9.901e-06 9.901e-06 9.901e-06 0.00% Castro::construct_new_source() 25 9.752e-06 9.752e-06 9.752e-06 0.00% MLPoisson::prepareForSolve() 6 8.992e-06 8.992e-06 8.992e-06 0.00% Castro::do_new_sources() 5 8.574e-06 8.574e-06 8.574e-06 0.00% DistributionMapping::Distribute() 31 8.567e-06 8.567e-06 8.567e-06 0.00% Amr::initSubcycle() 1 8.517e-06 8.517e-06 8.517e-06 0.00% Castro::do_old_sources() 5 8.251e-06 8.251e-06 8.251e-06 0.00% Gravity::actual_multilevel_solve() 1 7.385e-06 7.385e-06 7.385e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.369e-06 7.369e-06 7.369e-06 0.00% Castro::check_for_nan() 10 6.006e-06 6.006e-06 6.006e-06 0.00% Castro::construct_old_gravity() 5 5.903e-06 5.903e-06 5.903e-06 0.00% MLLinOp::define() 6 5.58e-06 5.58e-06 5.58e-06 0.00% Castro::apply_source_to_state() 10 5.206e-06 5.206e-06 5.206e-06 0.00% Castro::post_timestep() 5 4.73e-06 4.73e-06 4.73e-06 0.00% Gravity::swapTimeLevels() 5 4.476e-06 4.476e-06 4.476e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.111e-06 4.111e-06 4.111e-06 0.00% MLMG::computeMLResidual() 6 3.777e-06 3.777e-06 3.777e-06 0.00% Castro::computeNewDt() 5 3.482e-06 3.482e-06 3.482e-06 0.00% MLMG::getGradSolution() 6 3.169e-06 3.169e-06 3.169e-06 0.00% MLMG::MLResNormInf() 6 2.299e-06 2.299e-06 2.299e-06 0.00% Gravity::set_mass_offset() 6 2.29e-06 2.29e-06 2.29e-06 0.00% MLMG::MLRhsNormInf() 6 2.102e-06 2.102e-06 2.102e-06 0.00% Castro::retry_advance_ctu() 5 1.761e-06 1.761e-06 1.761e-06 0.00% Castro::FluxRegCrseInit 5 1.537e-06 1.537e-06 1.537e-06 0.00% Castro::FluxRegFineAdd() 5 1.203e-06 1.203e-06 1.203e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.106e-06 1.106e-06 1.106e-06 0.00% Amr::init() 1 1.09e-06 1.09e-06 1.09e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3406 0.3406 0.3406 99.99% Amr::coarseTimeStep() 5 0.2615 0.2615 0.2615 76.77% Amr::timeStep() 5 0.2598 0.2598 0.2598 76.26% Castro::advance() 5 0.2571 0.2571 0.2571 75.46% Castro::subcycle_advance_ctu() 5 0.251 0.251 0.251 73.69% Castro::do_advance_ctu() 5 0.2509 0.2509 0.2509 73.67% Castro::construct_new_gravity() 5 0.1261 0.1261 0.1261 37.02% Gravity::solve_phi_with_mlmg() 6 0.1216 0.1216 0.1216 35.69% Gravity::solve_for_phi() 5 0.1186 0.1186 0.1186 34.81% Gravity::actual_solve_with_mlmg() 6 0.1184 0.1184 0.1184 34.75% MLMG::solve() 6 0.1074 0.1074 0.1074 31.53% MLMG::oneIter() 36 0.1007 0.1007 0.1007 29.55% MLMG::mgVcycle() 36 0.09912 0.09912 0.09912 29.10% Castro::construct_ctu_hydro_source() 5 0.0881 0.0881 0.0881 25.86% MLCellLinOp::smooth() 720 0.04873 0.04873 0.04873 14.30% Amr::init() 1 0.04611 0.04611 0.04611 13.54% Amr::restart() 1 0.04611 0.04611 0.04611 13.54% MLCellLinOp::applyBC() 1946 0.04577 0.04577 0.04577 13.44% AmrLevel::restart() 1 0.04005 0.04005 0.04005 11.76% StateData::restartDoit() 4 0.03996 0.03996 0.03996 11.73% VisMF::Read() 3 0.03984 0.03984 0.03984 11.70% Amr::writePlotFile() 1 0.03228 0.03228 0.03228 9.48% VisMF::Write(FabArray) 1 0.03063 0.03063 0.03063 8.99% MLMG::mgVcycle_bottom 36 0.03053 0.03053 0.03053 8.96% MLMG::actualBottomSolve() 36 0.03052 0.03052 0.03052 8.96% MLCGSolver::bicgstab 36 0.03023 0.03023 0.03023 8.87% FillPatchIterator::Initialize 20 0.02028 0.02028 0.02028 5.95% FillPatchSingleLevel 20 0.01953 0.01953 0.01953 5.73% Castro::clean_state() 30 0.01907 0.01907 0.01907 5.60% StateDataPhysBCFunct::() 20 0.01748 0.01748 0.01748 5.13% MLCellLinOp::apply() 500 0.01526 0.01526 0.01526 4.48% MLMG::mgVcycle_down::0 36 0.01405 0.01405 0.01405 4.12% MLPoisson::Fsmooth() 1440 0.01351 0.01351 0.01351 3.97% FabArray::FillBoundary() 1766 0.01347 0.01347 0.01347 3.95% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.85% StateData::FillBoundary(geom) 160 0.01172 0.01172 0.01172 3.44% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 3.13% Castro::initialize_do_advance() 5 0.009512 0.009512 0.009512 2.79% MLCellLinOp::correctionResidual() 216 0.009247 0.009247 0.009247 2.71% MLPoisson::define() 6 0.008717 0.008717 0.008717 2.56% amrex::Dot() 484 0.008496 0.008496 0.008496 2.49% MLMG:computeResOfCorrection() 180 0.008132 0.008132 0.008132 2.39% Castro::computeTemp() 30 0.007924 0.007924 0.007924 2.33% Castro::construct_old_gravity() 5 0.007615 0.007615 0.007615 2.24% Gravity::get_old_grav_vector() 5 0.007609 0.007609 0.007609 2.23% Gravity::get_new_grav_vector() 5 0.007395 0.007395 0.007395 2.17% Castro::normalize_species() 30 0.007158 0.007158 0.007158 2.10% Castro::do_new_sources() 5 0.006945 0.006945 0.006945 2.04% amrex::Copy() 463 0.006777 0.006777 0.006777 1.99% MLMG::mgVcycle_down::1 36 0.006608 0.006608 0.006608 1.94% FabArray::ParallelCopy() 380 0.006378 0.006378 0.006378 1.87% FabArray::ParallelCopy_nowait() 380 0.006264 0.006264 0.006264 1.84% MLMG::mgVcycle_down::2 36 0.00617 0.00617 0.00617 1.81% FabArray::setVal() 537 0.006121 0.006121 0.006121 1.80% MLMG::mgVcycle_down::3 36 0.006012 0.006012 0.006012 1.76% FabArray::norminf() 326 0.005975 0.005975 0.005975 1.75% MLMG::mgVcycle_down::4 36 0.005956 0.005956 0.005956 1.75% MLCellLinOp::defineAuxData() 6 0.005918 0.005918 0.005918 1.74% Castro::expand_state() 5 0.005877 0.005877 0.005877 1.73% Castro::initialize_advance() 5 0.005719 0.005719 0.005719 1.68% MLCGSolver::ParallelAllReduce 659 0.005133 0.005133 0.005133 1.51% MLMG::addInterpCorrection() 180 0.005026 0.005026 0.005026 1.48% MLMG::mgVcycle_up::4 36 0.004836 0.004836 0.004836 1.42% MLMG::mgVcycle_up::1 36 0.004791 0.004791 0.004791 1.41% amrex::average_down 180 0.004721 0.004721 0.004721 1.39% MLMG::mgVcycle_up::2 36 0.004716 0.004716 0.004716 1.38% MLMG::mgVcycle_up::3 36 0.004602 0.004602 0.004602 1.35% MLPoisson::Fapply() 500 0.004295 0.004295 0.004295 1.26% Castro::do_old_sources() 5 0.004107 0.004107 0.004107 1.21% FabArray::Saxpy() 355 0.003557 0.003557 0.003557 1.04% FabArray::Xpay() 361 0.003376 0.003376 0.003376 0.99% Castro::post_restart() 1 0.003328 0.003328 0.003328 0.98% Castro::enforce_min_density() 30 0.003322 0.003322 0.003322 0.98% Gravity::multilevel_solve_for_new_phi() 1 0.003219 0.003219 0.003219 0.94% Gravity::actual_multilevel_solve() 1 0.003203 0.003203 0.003203 0.94% MLCellLinOp::solutionResidual() 42 0.003174 0.003174 0.003174 0.93% Gravity::fill_multipole_BCs() 6 0.003074 0.003074 0.003074 0.90% MLMG::computeResidual() 36 0.00263 0.00263 0.00263 0.77% Castro::post_timestep() 5 0.002626 0.002626 0.002626 0.77% MLCellLinOp::defineBC() 6 0.002587 0.002587 0.002587 0.76% Castro::reset_internal_energy(MultiFab) 30 0.002577 0.002577 0.002577 0.76% MLMG::prepareForSolve() 6 0.002483 0.002483 0.002483 0.73% BndryData::define() 6 0.002465 0.002465 0.002465 0.72% Castro::estTimeStep() 10 0.002293 0.002293 0.002293 0.67% FabArray::LinComb() 242 0.001838 0.001838 0.001838 0.54% amrex::Add() 72 0.001835 0.001835 0.001835 0.54% Castro::construct_new_source() 25 0.001626 0.001626 0.001626 0.48% Castro::construct_new_gravity_source() 5 0.001616 0.001616 0.001616 0.47% Castro::computeNewDt() 5 0.001572 0.001572 0.001572 0.46% Castro::construct_old_source() 25 0.001319 0.001319 0.001319 0.39% Castro::construct_old_gravity_source() 5 0.001309 0.001309 0.001309 0.38% Castro::apply_source_to_state() 10 0.0009201 0.0009201 0.0009201 0.27% MLMG::ResNormInf() 42 0.0009047 0.0009047 0.0009047 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008737 0.0008737 0.0008737 0.26% FabArrayBase::getCPC() 632 0.000772 0.000772 0.000772 0.23% MLMG::getGradSolution() 6 0.0007406 0.0007406 0.0007406 0.22% MLCellLinOp::compGrad() 6 0.0007374 0.0007374 0.0007374 0.22% MLCellLinOp::setLevelBC() 6 0.0007185 0.0007185 0.0007185 0.21% Castro::reset_internal_energy(Fab) 240 0.0006783 0.0006783 0.0006783 0.20% FabArray::mult() 22 0.0006436 0.0006436 0.0006436 0.19% FabArray::setDomainBndry() 20 0.0006331 0.0006331 0.0006331 0.19% Castro::enforce_speed_limit() 30 0.0006243 0.0006243 0.0006243 0.18% MLPoisson::prepareForSolve() 6 0.0006141 0.0006141 0.0006141 0.18% MLCellLinOp::prepareForSolve() 6 0.0006051 0.0006051 0.0006051 0.18% Castro::check_for_nan() 10 0.0005963 0.0005963 0.0005963 0.18% MultiFab::contains_nan() 10 0.0005903 0.0005903 0.0005903 0.17% MLMG::computeMLResidual() 6 0.0005616 0.0005616 0.0005616 0.16% Gravity::update_max_rhs() 6 0.000437 0.000437 0.000437 0.13% FabArrayBase::CPC::define() 244 0.0004207 0.0004207 0.0004207 0.12% Amr::InitAmr() 1 0.0004091 0.0004091 0.0004091 0.12% FabArrayBase::getFB() 1766 0.0003361 0.0003361 0.0003361 0.10% Castro::finalize_advance() 5 0.0002841 0.0002841 0.0002841 0.08% Gravity::swapTimeLevels() 5 0.0002294 0.0002294 0.0002294 0.07% MLLinOp::define() 6 0.0001975 0.0001975 0.0001975 0.06% MLLinOp::defineGrids() 6 0.0001919 0.0001919 0.0001919 0.06% MLMG::MLResNormInf() 6 0.0001492 0.0001492 0.0001492 0.04% Castro::buildMetrics() 1 0.000147 0.000147 0.000147 0.04% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.04% MLMG::MLRhsNormInf() 6 0.0001148 0.0001148 0.0001148 0.03% FabArrayBase::FB::FB() 26 5.977e-05 5.977e-05 5.977e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.752e-05 2.752e-05 2.752e-05 0.01% Castro::initMFs() 1 2.577e-05 2.577e-05 2.577e-05 0.01% Amr::writeSmallPlotFile() 1 2.511e-05 2.511e-05 2.511e-05 0.01% Castro::swap_state_time_levels() 5 2.387e-05 2.387e-05 2.387e-05 0.01% Castro::create_source_corrector() 5 2.133e-05 2.133e-05 2.133e-05 0.01% makeSFC 30 2.015e-05 2.015e-05 2.015e-05 0.01% Castro::finalize_do_advance() 5 1.967e-05 1.967e-05 1.967e-05 0.01% DistributionMapping::Distribute() 31 8.567e-06 8.567e-06 8.567e-06 0.00% Amr::initSubcycle() 1 8.517e-06 8.517e-06 8.517e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.337e-06 5.337e-06 5.337e-06 0.00% Gravity::set_mass_offset() 6 2.29e-06 2.29e-06 2.29e-06 0.00% Castro::retry_advance_ctu() 5 1.761e-06 1.761e-06 1.761e-06 0.00% Castro::FluxRegCrseInit 5 1.537e-06 1.537e-06 1.537e-06 0.00% Castro::FluxRegFineAdd() 5 1.203e-06 1.203e-06 1.203e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.106e-06 1.106e-06 1.106e-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 114 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 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1308 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2646 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 6608 KiB 14 MiB MLMG::prepareForSolve() 361 361 3870 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 231 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 222 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6603 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2472 B 2048 KiB Gravity::solve_for_phi() 40 40 711 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 356 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 228 KiB 671 KiB Castro::estTimeStep() 10 10 3182 B 480 KiB VisMF::Write(FabArray) 112 112 1417 B 320 KiB Castro::normalize_species() 30 30 6829 B 320 KiB amrex::average_down 469 469 1324 B 257 KiB MLMG::addInterpCorrection() 468 468 1257 B 257 KiB amrex::Dot() 592 592 3670 B 160 KiB FabArray::norminf() 398 398 2584 B 160 KiB Castro::do_advance_ctu() 5 5 533 B 160 KiB MultiFab::max() 6 6 61 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3764 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 326 B 9648 B MLCellLinOp::applyBC() 3892 3892 246 B 9344 B amrex::Copy() 56 56 5916 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 55 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 128 B 1472 B MLCellLinOp::defineBC() 36 36 400 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1604 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 128 KiB 8192 KiB VisMF::Write(FabArray) 120 120 275 KiB 3584 KiB VisMF::Read() 24 24 226 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3764 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 326 B 9648 B MLCellLinOp::applyBC() 1946 1946 244 B 9328 B amrex::Copy() 56 56 5916 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2599 B 3072 B StateData::FillBoundary(geom) 960 960 56 B 2976 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 557 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-22-g82e38a8f5ebe) finalized