Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-14-g7c7a8fb1fff5) initialized Starting run at 08:15:32 UTC on 2023-06-08. Successfully read inputs file ... Castro git describe: 23.06-14-g0c09f1d99 AMReX git describe: 23.06-14-g7c7a8fb1f Microphysics git describe: 23.06-7-g4ad49d9a 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.05932611 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034256943 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046789517 [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.050566799 [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.074871094 [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.076774636 [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.048474453 [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.059929253 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.060379711 [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.077303393 [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.079493444 [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.051158975 [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.048974371 [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.059038811 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033961038 seconds Ending run at 08:15:33 UTC on 2023-06-08. Run time = 0.911211547 Run time without initialization = 0.76836322 Average number of zones advanced per microsecond: 3.412 Average number of zones advanced per microsecond per rank: 3.412 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9112 ... 0.9112 ... 0.9112 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2470 0.2470 0.2470 27.11% VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 26.20% MLCellLinOp::applyBC() 4433 0.07667 0.07667 0.07667 8.41% MLPoisson::Fsmooth() 3280 0.03218 0.03218 0.03218 3.53% FillBoundary_nowait() 4023 0.03106 0.03106 0.03106 3.41% StateData::FillBoundary(geom) 328 0.0251 0.0251 0.0251 2.75% amrex::Dot() 1114 0.02063 0.02063 0.02063 2.26% Castro::normalize_species() 62 0.0191 0.0191 0.0191 2.10% Castro::computeTemp() 63 0.01575 0.01575 0.01575 1.73% amrex::Copy() 1029 0.01481 0.01481 0.01481 1.63% FabArray::norminf() 743 0.0143 0.0143 0.0143 1.57% FabArray::ParallelCopy_nowait() 861 0.01331 0.01331 0.01331 1.46% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.44% Castro::enforce_min_density() 62 0.01198 0.01198 0.01198 1.31% StateDataPhysBCFunct::() 41 0.01191 0.01191 0.01191 1.31% MLPoisson::Fapply() 1142 0.01038 0.01038 0.01038 1.14% MLCellLinOp::defineAuxData() 11 0.009741 0.009741 0.009741 1.07% FabArray::Saxpy() 813 0.008118 0.008118 0.008118 0.89% FabArray::Xpay() 821 0.008011 0.008011 0.008011 0.88% MLMG::addInterpCorrection() 410 0.006689 0.006689 0.006689 0.73% Gravity::fill_multipole_BCs() 11 0.00664 0.00664 0.00664 0.73% amrex::average_down 410 0.005969 0.005969 0.005969 0.66% Castro::estTimeStep() 21 0.005645 0.005645 0.005645 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005002 0.005002 0.005002 0.55% Amr::checkPoint() 3 0.004894 0.004894 0.004894 0.54% FabArray::LinComb() 557 0.004536 0.004536 0.004536 0.50% amrex::Add() 164 0.004377 0.004377 0.004377 0.48% BndryData::define() 11 0.003713 0.003713 0.003713 0.41% Castro::construct_new_gravity_source() 10 0.003163 0.003163 0.003163 0.35% Castro::enforce_speed_limit() 62 0.00291 0.00291 0.00291 0.32% Castro::construct_old_gravity_source() 10 0.002702 0.002702 0.002702 0.30% Amr::writePlotFile() 2 0.002393 0.002393 0.002393 0.26% MLCGSolver::bicgstab 82 0.002199 0.002199 0.002199 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.19% check_for_negative_density() 10 0.001647 0.001647 0.001647 0.18% Castro::reset_internal_energy(Fab) 504 0.001551 0.001551 0.001551 0.17% Gravity::actual_solve_with_mlmg() 11 0.001474 0.001474 0.001474 0.16% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% FabArray::mult() 43 0.001308 0.001308 0.001308 0.14% Castro::initData() 1 0.001253 0.001253 0.001253 0.14% MultiFab::contains_nan() 20 0.001194 0.001194 0.001194 0.13% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.12% MLCellLinOp::smooth() 1640 0.00112 0.00112 0.00112 0.12% MLCellLinOp::compGrad() 11 0.0009325 0.0009325 0.0009325 0.10% MLMG::prepareForSolve() 11 0.0009013 0.0009013 0.0009013 0.10% FabArray::FillBoundary() 4023 0.000825 0.000825 0.000825 0.09% FabArrayBase::CPC::define() 454 0.0007118 0.0007118 0.0007118 0.08% FabArrayBase::getCPC() 1323 0.0007067 0.0007067 0.0007067 0.08% Gravity::get_new_grav_vector() 11 0.0006373 0.0006373 0.0006373 0.07% Gravity::get_old_grav_vector() 10 0.0005915 0.0005915 0.0005915 0.06% FabArrayBase::getFB() 4023 0.000591 0.000591 0.000591 0.06% Amr::InitAmr() 1 0.000472 0.000472 0.000472 0.05% MLCellLinOp::apply() 1142 0.0004624 0.0004624 0.0004624 0.05% MLMG::mgVcycle() 82 0.000387 0.000387 0.000387 0.04% MLLinOp::defineGrids() 11 0.000365 0.000365 0.000365 0.04% Amr::coarseTimeStep() 10 0.0003266 0.0003266 0.0003266 0.04% main() 1 0.0003149 0.0003149 0.0003149 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002812 0.0002812 0.0002812 0.03% MultiFab::max() 11 0.0002607 0.0002607 0.0002607 0.03% FabArray::ParallelCopy() 861 0.000236 0.000236 0.000236 0.03% Castro::subcycle_advance_ctu() 10 0.0002307 0.0002307 0.0002307 0.03% FillPatchIterator::Initialize 41 0.0002269 0.0002269 0.0002269 0.02% MLCellLinOp::defineBC() 11 0.0002228 0.0002228 0.0002228 0.02% MLCellLinOp::correctionResidual() 492 0.000216 0.000216 0.000216 0.02% Amr::timeStep() 10 0.0001473 0.0001473 0.0001473 0.02% StateData::checkPoint() 12 0.0001305 0.0001305 0.0001305 0.01% Castro::create_source_corrector() 10 0.0001304 0.0001304 0.0001304 0.01% Gravity::update_max_rhs() 11 0.000116 0.000116 0.000116 0.01% MLMG:computeResOfCorrection() 410 0.0001159 0.0001159 0.0001159 0.01% Castro::advance() 10 0.0001155 0.0001155 0.0001155 0.01% Castro::construct_new_source() 50 0.0001153 0.0001153 0.0001153 0.01% Gravity::solve_for_phi() 10 0.0001125 0.0001125 0.0001125 0.01% Castro::do_old_sources() 10 9.225e-05 9.225e-05 9.225e-05 0.01% MLMG::actualBottomSolve() 82 9.193e-05 9.193e-05 9.193e-05 0.01% MLMG::mgVcycle_down::0 82 9.037e-05 9.037e-05 9.037e-05 0.01% Castro::Castro() 1 8.591e-05 8.591e-05 8.591e-05 0.01% FabArrayBase::FB::FB() 56 8.47e-05 8.47e-05 8.47e-05 0.01% MLMG::mgVcycle_down::2 82 8.156e-05 8.156e-05 8.156e-05 0.01% MLMG::mgVcycle_down::1 82 8.128e-05 8.128e-05 8.128e-05 0.01% AmrLevel::checkPoint() 3 8.032e-05 8.032e-05 8.032e-05 0.01% MLMG::mgVcycle_down::4 82 8.017e-05 8.017e-05 8.017e-05 0.01% Castro::expand_state() 10 7.996e-05 7.996e-05 7.996e-05 0.01% MLMG::mgVcycle_down::3 82 7.703e-05 7.703e-05 7.703e-05 0.01% Castro::clean_state() 62 6.982e-05 6.982e-05 6.982e-05 0.01% Castro::initialize_advance() 10 6.912e-05 6.912e-05 6.912e-05 0.01% MLMG::solve() 11 6.89e-05 6.89e-05 6.89e-05 0.01% Castro::finalize_advance() 10 6.188e-05 6.188e-05 6.188e-05 0.01% Castro::initialize_do_advance() 10 5.963e-05 5.963e-05 5.963e-05 0.01% MLMG::mgVcycle_up::4 82 5.701e-05 5.701e-05 5.701e-05 0.01% MLMG::mgVcycle_up::0 82 5.611e-05 5.611e-05 5.611e-05 0.01% MLMG::oneIter() 82 5.318e-05 5.318e-05 5.318e-05 0.01% Castro::finalize_do_advance() 10 5.261e-05 5.261e-05 5.261e-05 0.01% MLCellLinOp::solutionResidual() 93 5.138e-05 5.138e-05 5.138e-05 0.01% MLMG::mgVcycle_up::1 82 4.941e-05 4.941e-05 4.941e-05 0.01% MLMG::mgVcycle_up::3 82 4.814e-05 4.814e-05 4.814e-05 0.01% MLMG::mgVcycle_up::2 82 4.767e-05 4.767e-05 4.767e-05 0.01% Castro::do_advance_ctu() 10 4.548e-05 4.548e-05 4.548e-05 0.00% Castro::do_new_sources() 10 4.387e-05 4.387e-05 4.387e-05 0.00% Castro::swap_state_time_levels() 10 3.816e-05 3.816e-05 3.816e-05 0.00% StateData::define() 4 3.808e-05 3.808e-05 3.808e-05 0.00% Castro::post_timestep() 10 3.465e-05 3.465e-05 3.465e-05 0.00% Castro::enforce_consistent_e() 1 3.438e-05 3.438e-05 3.438e-05 0.00% MLMG::mgVcycle_bottom 82 3.275e-05 3.275e-05 3.275e-05 0.00% MLMG::ResNormInf() 93 3.188e-05 3.188e-05 3.188e-05 0.00% MLMG::computeResidual() 82 2.953e-05 2.953e-05 2.953e-05 0.00% FillPatchSingleLevel 41 2.94e-05 2.94e-05 2.94e-05 0.00% Castro::construct_new_gravity() 10 2.841e-05 2.841e-05 2.841e-05 0.00% Amr::writeSmallPlotFile() 1 2.602e-05 2.602e-05 2.602e-05 0.00% MLPoisson::define() 11 2.582e-05 2.582e-05 2.582e-05 0.00% Castro::initMFs() 1 2.559e-05 2.559e-05 2.559e-05 0.00% makeSFC 55 2.387e-05 2.387e-05 2.387e-05 0.00% Amr::defBaseLevel() 1 2.38e-05 2.38e-05 2.38e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.136e-05 2.136e-05 2.136e-05 0.00% Castro::apply_source_to_state() 20 2.111e-05 2.111e-05 2.111e-05 0.00% Castro::buildMetrics() 1 1.927e-05 1.927e-05 1.927e-05 0.00% Castro::construct_old_source() 50 1.878e-05 1.878e-05 1.878e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.815e-05 1.815e-05 1.815e-05 0.00% Amr::FinalizeInit() 1 1.795e-05 1.795e-05 1.795e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.527e-05 1.527e-05 1.527e-05 0.00% DistributionMapping::Distribute() 56 1.474e-05 1.474e-05 1.474e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.456e-05 1.456e-05 1.456e-05 0.00% MLPoisson::prepareForSolve() 11 1.437e-05 1.437e-05 1.437e-05 0.00% Castro::check_for_nan() 20 1.075e-05 1.075e-05 1.075e-05 0.00% Castro::post_init() 1 9.981e-06 9.981e-06 9.981e-06 0.00% MLLinOp::define() 11 9.466e-06 9.466e-06 9.466e-06 0.00% Castro::construct_old_gravity() 10 9.405e-06 9.405e-06 9.405e-06 0.00% Gravity::swapTimeLevels() 10 8.456e-06 8.456e-06 8.456e-06 0.00% Amr::initSubcycle() 1 8.451e-06 8.451e-06 8.451e-06 0.00% Gravity::actual_multilevel_solve() 1 8.266e-06 8.266e-06 8.266e-06 0.00% MLMG::computeMLResidual() 11 7.557e-06 7.557e-06 7.557e-06 0.00% Castro::computeNewDt() 9 6.61e-06 6.61e-06 6.61e-06 0.00% MLMG::getGradSolution() 11 5.605e-06 5.605e-06 5.605e-06 0.00% Amr::InitializeInit() 1 5.004e-06 5.004e-06 5.004e-06 0.00% AmrLevel::checkPointPost() 3 4.534e-06 4.534e-06 4.534e-06 0.00% Castro::retry_advance_ctu() 10 4.152e-06 4.152e-06 4.152e-06 0.00% Gravity::set_mass_offset() 11 3.873e-06 3.873e-06 3.873e-06 0.00% MLMG::MLRhsNormInf() 11 3.682e-06 3.682e-06 3.682e-06 0.00% MLMG::MLResNormInf() 11 3.354e-06 3.354e-06 3.354e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.028e-06 3.028e-06 3.028e-06 0.00% Castro::FluxRegCrseInit 10 2.906e-06 2.906e-06 2.906e-06 0.00% Amr::init() 1 2.617e-06 2.617e-06 2.617e-06 0.00% Castro::computeInitialDt() 2 2.556e-06 2.556e-06 2.556e-06 0.00% Castro::FluxRegFineAdd() 10 2.08e-06 2.08e-06 2.08e-06 0.00% AmrLevel::checkPointPre() 3 1.826e-06 1.826e-06 1.826e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.788e-06 1.788e-06 1.788e-06 0.00% Amr::initialInit() 1 1.089e-06 1.089e-06 1.089e-06 0.00% Castro::post_regrid() 1 9.6e-07 9.6e-07 9.6e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9112 0.9112 0.9112 100.00% Amr::coarseTimeStep() 10 0.7342 0.7342 0.7342 80.57% Amr::timeStep() 10 0.6114 0.6114 0.6114 67.09% Castro::advance() 10 0.6003 0.6003 0.6003 65.87% Castro::subcycle_advance_ctu() 10 0.5859 0.5859 0.5859 64.29% Castro::do_advance_ctu() 10 0.5856 0.5856 0.5856 64.27% Gravity::solve_phi_with_mlmg() 11 0.2832 0.2832 0.2832 31.07% Gravity::actual_solve_with_mlmg() 11 0.276 0.276 0.276 30.29% Castro::construct_new_gravity() 10 0.2581 0.2581 0.2581 28.32% MLMG::solve() 11 0.2553 0.2553 0.2553 28.02% Castro::construct_ctu_hydro_source() 10 0.247 0.247 0.247 27.11% Gravity::solve_for_phi() 10 0.2424 0.2424 0.2424 26.60% MLMG::oneIter() 82 0.241 0.241 0.241 26.44% VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 26.20% MLMG::mgVcycle() 82 0.2373 0.2373 0.2373 26.04% Amr::checkPoint() 3 0.1784 0.1784 0.1784 19.58% AmrLevel::checkPoint() 3 0.1735 0.1735 0.1735 19.04% StateData::checkPoint() 12 0.1734 0.1734 0.1734 19.03% Amr::init() 1 0.1422 0.1422 0.1422 15.61% MLCellLinOp::smooth() 1640 0.1167 0.1167 0.1167 12.80% MLCellLinOp::applyBC() 4433 0.1092 0.1092 0.1092 11.99% MLMG::mgVcycle_bottom 82 0.0735 0.0735 0.0735 8.07% MLMG::actualBottomSolve() 82 0.07347 0.07347 0.07347 8.06% MLCGSolver::bicgstab 82 0.07277 0.07277 0.07277 7.99% Amr::writePlotFile() 2 0.06838 0.06838 0.06838 7.50% Castro::clean_state() 62 0.05566 0.05566 0.05566 6.11% Amr::initialInit() 1 0.0485 0.0485 0.0485 5.32% Amr::FinalizeInit() 1 0.04463 0.04463 0.04463 4.90% Castro::post_init() 1 0.04333 0.04333 0.04333 4.75% FillPatchIterator::Initialize 41 0.04262 0.04262 0.04262 4.68% Gravity::multilevel_solve_for_new_phi() 1 0.04123 0.04123 0.04123 4.52% Gravity::actual_multilevel_solve() 1 0.04121 0.04121 0.04121 4.52% FillPatchSingleLevel 41 0.04107 0.04107 0.04107 4.51% StateDataPhysBCFunct::() 41 0.03701 0.03701 0.03701 4.06% MLCellLinOp::apply() 1142 0.03622 0.03622 0.03622 3.97% MLMG::mgVcycle_down::0 82 0.03371 0.03371 0.03371 3.70% FabArray::FillBoundary() 4023 0.03256 0.03256 0.03256 3.57% MLPoisson::Fsmooth() 3280 0.03218 0.03218 0.03218 3.53% FillBoundary_nowait() 4023 0.03174 0.03174 0.03174 3.48% MLMG::mgVcycle_up::0 82 0.02562 0.02562 0.02562 2.81% StateData::FillBoundary(geom) 328 0.0251 0.0251 0.0251 2.75% Castro::computeTemp() 63 0.0223 0.0223 0.0223 2.45% MLCellLinOp::correctionResidual() 492 0.02211 0.02211 0.02211 2.43% amrex::Dot() 1114 0.02063 0.02063 0.02063 2.26% Castro::initialize_do_advance() 10 0.02052 0.02052 0.02052 2.25% MLMG:computeResOfCorrection() 410 0.01948 0.01948 0.01948 2.14% Castro::normalize_species() 62 0.0191 0.0191 0.0191 2.10% Castro::do_old_sources() 10 0.01818 0.01818 0.01818 1.99% Gravity::get_new_grav_vector() 11 0.01747 0.01747 0.01747 1.92% MLPoisson::define() 11 0.01646 0.01646 0.01646 1.81% MLMG::mgVcycle_down::1 82 0.01575 0.01575 0.01575 1.73% Castro::construct_old_gravity() 10 0.01495 0.01495 0.01495 1.64% Gravity::get_old_grav_vector() 10 0.01494 0.01494 0.01494 1.64% amrex::Copy() 1029 0.01481 0.01481 0.01481 1.63% MLMG::mgVcycle_down::2 82 0.01475 0.01475 0.01475 1.62% FabArray::ParallelCopy() 861 0.01433 0.01433 0.01433 1.57% MLMG::mgVcycle_down::3 82 0.01433 0.01433 0.01433 1.57% FabArray::norminf() 743 0.0143 0.0143 0.0143 1.57% MLMG::mgVcycle_down::4 82 0.0142 0.0142 0.0142 1.56% FabArray::ParallelCopy_nowait() 861 0.01409 0.01409 0.01409 1.55% Castro::initialize_advance() 10 0.0137 0.0137 0.0137 1.50% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.44% Castro::do_new_sources() 10 0.01249 0.01249 0.01249 1.37% MLCGSolver::ParallelAllReduce 1514 0.01237 0.01237 0.01237 1.36% Castro::enforce_min_density() 62 0.01198 0.01198 0.01198 1.31% MLMG::addInterpCorrection() 410 0.01183 0.01183 0.01183 1.30% Castro::expand_state() 10 0.0116 0.0116 0.0116 1.27% MLMG::mgVcycle_up::4 82 0.01152 0.01152 0.01152 1.26% MLMG::mgVcycle_up::1 82 0.01145 0.01145 0.01145 1.26% MLMG::mgVcycle_up::2 82 0.01119 0.01119 0.01119 1.23% amrex::average_down 410 0.01112 0.01112 0.01112 1.22% MLCellLinOp::defineAuxData() 11 0.01109 0.01109 0.01109 1.22% Castro::post_timestep() 10 0.01096 0.01096 0.01096 1.20% MLMG::mgVcycle_up::3 82 0.01089 0.01089 0.01089 1.19% MLPoisson::Fapply() 1142 0.01038 0.01038 0.01038 1.14% FabArray::Saxpy() 813 0.008118 0.008118 0.008118 0.89% FabArray::Xpay() 821 0.008011 0.008011 0.008011 0.88% MLCellLinOp::solutionResidual() 93 0.007229 0.007229 0.007229 0.79% Gravity::fill_multipole_BCs() 11 0.006887 0.006887 0.006887 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006552 0.006552 0.006552 0.72% MLMG::computeResidual() 82 0.006217 0.006217 0.006217 0.68% Castro::estTimeStep() 21 0.005645 0.005645 0.005645 0.62% MLCellLinOp::defineBC() 11 0.004916 0.004916 0.004916 0.54% MLMG::prepareForSolve() 11 0.004695 0.004695 0.004695 0.52% BndryData::define() 11 0.004693 0.004693 0.004693 0.52% FabArray::LinComb() 557 0.004536 0.004536 0.004536 0.50% amrex::Add() 164 0.004377 0.004377 0.004377 0.48% Amr::InitializeInit() 1 0.003871 0.003871 0.003871 0.42% Amr::defBaseLevel() 1 0.003866 0.003866 0.003866 0.42% Castro::initData() 1 0.003333 0.003333 0.003333 0.37% Castro::construct_new_source() 50 0.003278 0.003278 0.003278 0.36% Castro::construct_new_gravity_source() 10 0.003163 0.003163 0.003163 0.35% Castro::enforce_speed_limit() 62 0.00291 0.00291 0.00291 0.32% Castro::construct_old_source() 50 0.002721 0.002721 0.002721 0.30% Castro::computeNewDt() 9 0.002706 0.002706 0.002706 0.30% Castro::construct_old_gravity_source() 10 0.002702 0.002702 0.002702 0.30% Castro::finalize_do_advance() 10 0.00215 0.00215 0.00215 0.24% MLMG::ResNormInf() 93 0.00209 0.00209 0.00209 0.23% Castro::apply_source_to_state() 20 0.001849 0.001849 0.001849 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.19% check_for_negative_density() 10 0.001647 0.001647 0.001647 0.18% Castro::reset_internal_energy(Fab) 504 0.001551 0.001551 0.001551 0.17% FabArrayBase::getCPC() 1323 0.001419 0.001419 0.001419 0.16% MLMG::getGradSolution() 11 0.001412 0.001412 0.001412 0.15% MLCellLinOp::compGrad() 11 0.001407 0.001407 0.001407 0.15% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% FabArray::mult() 43 0.001308 0.001308 0.001308 0.14% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.13% MultiFab::contains_nan() 20 0.001194 0.001194 0.001194 0.13% MLPoisson::prepareForSolve() 11 0.001143 0.001143 0.001143 0.13% Castro::post_regrid() 1 0.001134 0.001134 0.001134 0.12% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.12% MLMG::computeMLResidual() 11 0.00105 0.00105 0.00105 0.12% Castro::computeInitialDt() 2 0.0008506 0.0008506 0.0008506 0.09% Gravity::update_max_rhs() 11 0.0008232 0.0008232 0.0008232 0.09% FabArrayBase::CPC::define() 454 0.0007118 0.0007118 0.0007118 0.08% FabArrayBase::getFB() 4023 0.0006757 0.0006757 0.0006757 0.07% Castro::finalize_advance() 10 0.0005886 0.0005886 0.0005886 0.06% Amr::InitAmr() 1 0.0004804 0.0004804 0.0004804 0.05% Castro::Castro() 1 0.0004521 0.0004521 0.0004521 0.05% Gravity::swapTimeLevels() 10 0.0004338 0.0004338 0.0004338 0.05% MLLinOp::define() 11 0.0004286 0.0004286 0.0004286 0.05% MLLinOp::defineGrids() 11 0.0004191 0.0004191 0.0004191 0.05% MLMG::MLResNormInf() 11 0.000288 0.000288 0.000288 0.03% MultiFab::max() 11 0.0002607 0.0002607 0.0002607 0.03% MLMG::MLRhsNormInf() 11 0.0002192 0.0002192 0.0002192 0.02% Castro::buildMetrics() 1 0.0001764 0.0001764 0.0001764 0.02% Castro::create_source_corrector() 10 0.0001304 0.0001304 0.0001304 0.01% FabArrayBase::FB::FB() 56 8.47e-05 8.47e-05 8.47e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.264e-05 5.264e-05 5.264e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.234e-05 5.234e-05 5.234e-05 0.01% Castro::swap_state_time_levels() 10 3.816e-05 3.816e-05 3.816e-05 0.00% StateData::define() 4 3.808e-05 3.808e-05 3.808e-05 0.00% makeSFC 55 3.707e-05 3.707e-05 3.707e-05 0.00% Castro::enforce_consistent_e() 1 3.438e-05 3.438e-05 3.438e-05 0.00% Amr::writeSmallPlotFile() 1 2.602e-05 2.602e-05 2.602e-05 0.00% Castro::initMFs() 1 2.559e-05 2.559e-05 2.559e-05 0.00% DistributionMapping::Distribute() 56 1.474e-05 1.474e-05 1.474e-05 0.00% Amr::initSubcycle() 1 8.451e-06 8.451e-06 8.451e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.566e-06 4.566e-06 4.566e-06 0.00% AmrLevel::checkPointPost() 3 4.534e-06 4.534e-06 4.534e-06 0.00% Castro::retry_advance_ctu() 10 4.152e-06 4.152e-06 4.152e-06 0.00% Gravity::set_mass_offset() 11 3.873e-06 3.873e-06 3.873e-06 0.00% Castro::FluxRegCrseInit 10 2.906e-06 2.906e-06 2.906e-06 0.00% Castro::FluxRegFineAdd() 10 2.08e-06 2.08e-06 2.08e-06 0.00% AmrLevel::checkPointPre() 3 1.826e-06 1.826e-06 1.826e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.788e-06 1.788e-06 1.788e-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 91 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 127 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1000 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2108 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3447 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1735 B 2048 KiB Gravity::solve_for_phi() 80 80 544 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 3023 B 480 KiB VisMF::Write(FabArray) 656 656 3300 B 320 KiB Castro::normalize_species() 62 62 6830 B 320 KiB amrex::average_down 1067 1067 1231 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1114 B 257 KiB amrex::Dot() 1360 1360 3331 B 160 KiB FabArray::norminf() 907 907 2320 B 160 KiB check_for_negative_density() 10 10 285 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3369 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8866 8866 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3849 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 116 B 1472 B MLCellLinOp::defineBC() 66 66 354 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 588 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 609 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3369 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4433 4433 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3849 B 6144 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2880 B Gravity::fill_multipole_BCs() 33 33 3 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 287 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.06-14-g7c7a8fb1fff5) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-14-g7c7a8fb1fff5) initialized Starting run at 08:15:34 UTC on 2023-06-08. Successfully read inputs file ... Castro git describe: 23.06-14-g0c09f1d99 AMReX git describe: 23.06-14-g7c7a8fb1f Microphysics git describe: 23.06-7-g4ad49d9a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500257709 Restart time = 0.045170401 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049493022 [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.054763991 [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.080597566 [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.081619324 [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.054426095 [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.033806538 seconds Ending run at 08:15:35 UTC on 2023-06-08. Run time = 0.400844174 Run time without initialization = 0.355116403 Average number of zones advanced per microsecond: 3.691 Average number of zones advanced per microsecond per rank: 3.691 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4009 ... 0.4009 ... 0.4009 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1365 0.1365 0.1365 34.06% VisMF::Read() 3 0.03889 0.03889 0.03889 9.70% MLCellLinOp::applyBC() 1946 0.03336 0.03336 0.03336 8.32% VisMF::Write(FabArray) 1 0.03221 0.03221 0.03221 8.04% MLPoisson::Fsmooth() 1440 0.01388 0.01388 0.01388 3.46% FillBoundary_nowait() 1766 0.01273 0.01273 0.01273 3.18% StateData::FillBoundary(geom) 160 0.01231 0.01231 0.01231 3.07% Castro::normalize_species() 30 0.009231 0.009231 0.009231 2.30% amrex::Dot() 484 0.008812 0.008812 0.008812 2.20% amrex::Copy() 463 0.006967 0.006967 0.006967 1.74% Castro::computeTemp() 30 0.006459 0.006459 0.006459 1.61% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.56% FabArray::norminf() 326 0.006186 0.006186 0.006186 1.54% FabArray::ParallelCopy_nowait() 380 0.006088 0.006088 0.006088 1.52% MLCellLinOp::defineAuxData() 6 0.005362 0.005362 0.005362 1.34% StateDataPhysBCFunct::() 20 0.004791 0.004791 0.004791 1.20% Castro::enforce_min_density() 30 0.004661 0.004661 0.004661 1.16% MLPoisson::Fapply() 500 0.004454 0.004454 0.004454 1.11% FabArray::Saxpy() 355 0.003609 0.003609 0.003609 0.90% Gravity::fill_multipole_BCs() 6 0.003483 0.003483 0.003483 0.87% FabArray::Xpay() 361 0.003471 0.003471 0.003471 0.87% Castro::estTimeStep() 10 0.003373 0.003373 0.003373 0.84% MLMG::addInterpCorrection() 180 0.002942 0.002942 0.002942 0.73% amrex::average_down 180 0.002607 0.002607 0.002607 0.65% Amr::restart() 1 0.002536 0.002536 0.002536 0.63% BndryData::define() 6 0.00206 0.00206 0.00206 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002049 0.002049 0.002049 0.51% FabArray::LinComb() 242 0.001916 0.001916 0.001916 0.48% amrex::Add() 72 0.001848 0.001848 0.001848 0.46% Castro::construct_new_gravity_source() 5 0.001566 0.001566 0.001566 0.39% Amr::writePlotFile() 1 0.001437 0.001437 0.001437 0.36% Castro::construct_old_gravity_source() 5 0.001416 0.001416 0.001416 0.35% Castro::enforce_speed_limit() 30 0.001213 0.001213 0.001213 0.30% Castro::subcycle_advance_ctu() 5 0.001125 0.001125 0.001125 0.28% MLCGSolver::bicgstab 36 0.0009808 0.0009808 0.0009808 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00093 0.00093 0.00093 0.23% check_for_negative_density() 5 0.0007964 0.0007964 0.0007964 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007884 0.0007884 0.0007884 0.20% Castro::reset_internal_energy(Fab) 240 0.0007783 0.0007783 0.0007783 0.19% MLCellLinOp::setLevelBC() 6 0.0007609 0.0007609 0.0007609 0.19% FabArray::setDomainBndry() 20 0.0006427 0.0006427 0.0006427 0.16% FabArray::mult() 22 0.0006427 0.0006427 0.0006427 0.16% MLCellLinOp::prepareForSolve() 6 0.0006113 0.0006113 0.0006113 0.15% MultiFab::contains_nan() 10 0.0005887 0.0005887 0.0005887 0.15% MLCellLinOp::smooth() 720 0.0005133 0.0005133 0.0005133 0.13% MLCellLinOp::compGrad() 6 0.0004897 0.0004897 0.0004897 0.12% MLMG::prepareForSolve() 6 0.0004807 0.0004807 0.0004807 0.12% FabArrayBase::CPC::define() 244 0.0004449 0.0004449 0.0004449 0.11% Amr::InitAmr() 1 0.0003736 0.0003736 0.0003736 0.09% FabArrayBase::getCPC() 632 0.0003539 0.0003539 0.0003539 0.09% FabArray::FillBoundary() 1766 0.0003484 0.0003484 0.0003484 0.09% Gravity::get_old_grav_vector() 5 0.0003043 0.0003043 0.0003043 0.08% main() 1 0.0002885 0.0002885 0.0002885 0.07% Gravity::get_new_grav_vector() 5 0.0002761 0.0002761 0.0002761 0.07% FabArrayBase::getFB() 1766 0.000274 0.000274 0.000274 0.07% MLCellLinOp::apply() 500 0.0002026 0.0002026 0.0002026 0.05% MLMG::mgVcycle() 36 0.0001834 0.0001834 0.0001834 0.05% MLLinOp::defineGrids() 6 0.0001831 0.0001831 0.0001831 0.05% Amr::coarseTimeStep() 5 0.0001565 0.0001565 0.0001565 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.03% MLCGSolver::ParallelAllReduce 659 0.0001278 0.0001278 0.0001278 0.03% MLCellLinOp::defineBC() 6 0.0001237 0.0001237 0.0001237 0.03% Castro::construct_new_source() 25 0.0001171 0.0001171 0.0001171 0.03% FillPatchIterator::Initialize 20 0.000114 0.000114 0.000114 0.03% FabArray::ParallelCopy() 380 0.0001101 0.0001101 0.0001101 0.03% Amr::timeStep() 5 9.078e-05 9.078e-05 9.078e-05 0.02% MLCellLinOp::correctionResidual() 216 9.014e-05 9.014e-05 9.014e-05 0.02% Castro::create_source_corrector() 5 8.276e-05 8.276e-05 8.276e-05 0.02% AmrLevel::restart() 1 7.755e-05 7.755e-05 7.755e-05 0.02% StateData::restartDoit() 4 6.617e-05 6.617e-05 6.617e-05 0.02% Castro::do_new_sources() 5 6.379e-05 6.379e-05 6.379e-05 0.02% FabArrayBase::FB::FB() 26 6.216e-05 6.216e-05 6.216e-05 0.02% Gravity::update_max_rhs() 6 5.889e-05 5.889e-05 5.889e-05 0.01% MLMG:computeResOfCorrection() 180 5.229e-05 5.229e-05 5.229e-05 0.01% Gravity::solve_for_phi() 5 5.144e-05 5.144e-05 5.144e-05 0.01% Castro::advance() 5 5.115e-05 5.115e-05 5.115e-05 0.01% Castro::do_old_sources() 5 4.681e-05 4.681e-05 4.681e-05 0.01% MLMG::actualBottomSolve() 36 4.611e-05 4.611e-05 4.611e-05 0.01% Castro::finalize_do_advance() 5 4.268e-05 4.268e-05 4.268e-05 0.01% Castro::construct_old_source() 25 4.26e-05 4.26e-05 4.26e-05 0.01% Castro::expand_state() 5 4.173e-05 4.173e-05 4.173e-05 0.01% Castro::finalize_advance() 5 3.969e-05 3.969e-05 3.969e-05 0.01% MLMG::mgVcycle_down::0 36 3.924e-05 3.924e-05 3.924e-05 0.01% MLMG::mgVcycle_down::1 36 3.632e-05 3.632e-05 3.632e-05 0.01% Castro::clean_state() 30 3.51e-05 3.51e-05 3.51e-05 0.01% MLMG::mgVcycle_down::2 36 3.394e-05 3.394e-05 3.394e-05 0.01% MLMG::mgVcycle_down::4 36 3.385e-05 3.385e-05 3.385e-05 0.01% Castro::initialize_advance() 5 3.327e-05 3.327e-05 3.327e-05 0.01% MLMG::solve() 6 3.299e-05 3.299e-05 3.299e-05 0.01% MLMG::mgVcycle_down::3 36 3.269e-05 3.269e-05 3.269e-05 0.01% Castro::post_timestep() 5 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::initialize_do_advance() 5 3.001e-05 3.001e-05 3.001e-05 0.01% MLMG::mgVcycle_up::4 36 2.826e-05 2.826e-05 2.826e-05 0.01% Castro::buildMetrics() 1 2.768e-05 2.768e-05 2.768e-05 0.01% Castro::initMFs() 1 2.647e-05 2.647e-05 2.647e-05 0.01% Amr::writeSmallPlotFile() 1 2.571e-05 2.571e-05 2.571e-05 0.01% Castro::post_restart() 1 2.54e-05 2.54e-05 2.54e-05 0.01% MLMG::oneIter() 36 2.494e-05 2.494e-05 2.494e-05 0.01% Castro::swap_state_time_levels() 5 2.39e-05 2.39e-05 2.39e-05 0.01% MLCellLinOp::solutionResidual() 42 2.346e-05 2.346e-05 2.346e-05 0.01% MLMG::mgVcycle_up::0 36 2.302e-05 2.302e-05 2.302e-05 0.01% MLMG::mgVcycle_up::3 36 2.282e-05 2.282e-05 2.282e-05 0.01% MLMG::mgVcycle_up::2 36 2.228e-05 2.228e-05 2.228e-05 0.01% Castro::do_advance_ctu() 5 2.165e-05 2.165e-05 2.165e-05 0.01% MLMG::mgVcycle_up::1 36 2.165e-05 2.165e-05 2.165e-05 0.01% MLPoisson::define() 6 1.94e-05 1.94e-05 1.94e-05 0.00% MLMG::ResNormInf() 42 1.783e-05 1.783e-05 1.783e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.568e-05 1.568e-05 1.568e-05 0.00% MLMG::mgVcycle_bottom 36 1.48e-05 1.48e-05 1.48e-05 0.00% FillPatchSingleLevel 20 1.446e-05 1.446e-05 1.446e-05 0.00% MLMG::computeResidual() 36 1.411e-05 1.411e-05 1.411e-05 0.00% makeSFC 30 1.304e-05 1.304e-05 1.304e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::construct_new_gravity() 5 1.154e-05 1.154e-05 1.154e-05 0.00% MLPoisson::prepareForSolve() 6 9.777e-06 9.777e-06 9.777e-06 0.00% Amr::initSubcycle() 1 8.499e-06 8.499e-06 8.499e-06 0.00% DistributionMapping::Distribute() 31 8.469e-06 8.469e-06 8.469e-06 0.00% Gravity::actual_multilevel_solve() 1 8.256e-06 8.256e-06 8.256e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.531e-06 7.531e-06 7.531e-06 0.00% Castro::check_for_nan() 10 5.887e-06 5.887e-06 5.887e-06 0.00% Castro::apply_source_to_state() 10 5.766e-06 5.766e-06 5.766e-06 0.00% MLLinOp::define() 6 5.098e-06 5.098e-06 5.098e-06 0.00% Castro::construct_old_gravity() 5 4.985e-06 4.985e-06 4.985e-06 0.00% MLMG::computeMLResidual() 6 3.838e-06 3.838e-06 3.838e-06 0.00% Gravity::swapTimeLevels() 5 3.801e-06 3.801e-06 3.801e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.62e-06 3.62e-06 3.62e-06 0.00% Castro::computeNewDt() 5 3.071e-06 3.071e-06 3.071e-06 0.00% MLMG::getGradSolution() 6 2.896e-06 2.896e-06 2.896e-06 0.00% Castro::FluxRegFineAdd() 5 2.876e-06 2.876e-06 2.876e-06 0.00% Castro::retry_advance_ctu() 5 2.534e-06 2.534e-06 2.534e-06 0.00% MLMG::MLResNormInf() 6 2.274e-06 2.274e-06 2.274e-06 0.00% MLMG::MLRhsNormInf() 6 2.153e-06 2.153e-06 2.153e-06 0.00% Castro::FluxRegCrseInit 5 1.971e-06 1.971e-06 1.971e-06 0.00% Gravity::set_mass_offset() 6 1.966e-06 1.966e-06 1.966e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.83e-07 9.83e-07 9.83e-07 0.00% Amr::init() 1 8.86e-07 8.86e-07 8.86e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4009 0.4009 0.4009 100.00% Amr::coarseTimeStep() 5 0.3211 0.3211 0.3211 80.09% Amr::timeStep() 5 0.3183 0.3183 0.3183 79.41% Castro::advance() 5 0.3139 0.3139 0.3139 78.30% Castro::subcycle_advance_ctu() 5 0.3081 0.3081 0.3081 76.85% Castro::do_advance_ctu() 5 0.3069 0.3069 0.3069 76.57% Castro::construct_ctu_hydro_source() 5 0.1365 0.1365 0.1365 34.06% Castro::construct_new_gravity() 5 0.1302 0.1302 0.1302 32.48% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 31.32% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 30.55% Gravity::actual_solve_with_mlmg() 6 0.1218 0.1218 0.1218 30.39% MLMG::solve() 6 0.1104 0.1104 0.1104 27.54% MLMG::oneIter() 36 0.1035 0.1035 0.1035 25.83% MLMG::mgVcycle() 36 0.102 0.102 0.102 25.44% MLCellLinOp::smooth() 720 0.04987 0.04987 0.04987 12.44% MLCellLinOp::applyBC() 1946 0.04678 0.04678 0.04678 11.67% Amr::init() 1 0.04521 0.04521 0.04521 11.28% Amr::restart() 1 0.04521 0.04521 0.04521 11.28% AmrLevel::restart() 1 0.03909 0.03909 0.03909 9.75% StateData::restartDoit() 4 0.039 0.039 0.039 9.73% VisMF::Read() 3 0.03889 0.03889 0.03889 9.70% Amr::writePlotFile() 1 0.0339 0.0339 0.0339 8.46% VisMF::Write(FabArray) 1 0.03221 0.03221 0.03221 8.04% MLMG::mgVcycle_bottom 36 0.03159 0.03159 0.03159 7.88% MLMG::actualBottomSolve() 36 0.03158 0.03158 0.03158 7.88% MLCGSolver::bicgstab 36 0.03127 0.03127 0.03127 7.80% Castro::clean_state() 30 0.02443 0.02443 0.02443 6.09% FillPatchIterator::Initialize 20 0.01991 0.01991 0.01991 4.97% FillPatchSingleLevel 20 0.01915 0.01915 0.01915 4.78% StateDataPhysBCFunct::() 20 0.0171 0.0171 0.0171 4.26% MLCellLinOp::apply() 500 0.01569 0.01569 0.01569 3.91% MLMG::mgVcycle_down::0 36 0.01432 0.01432 0.01432 3.57% MLPoisson::Fsmooth() 1440 0.01388 0.01388 0.01388 3.46% FabArray::FillBoundary() 1766 0.01342 0.01342 0.01342 3.35% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.26% StateData::FillBoundary(geom) 160 0.01231 0.01231 0.01231 3.07% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.68% Castro::do_old_sources() 5 0.01032 0.01032 0.01032 2.57% Castro::initialize_do_advance() 5 0.009772 0.009772 0.009772 2.44% MLCellLinOp::correctionResidual() 216 0.00952 0.00952 0.00952 2.37% Castro::computeTemp() 30 0.009286 0.009286 0.009286 2.32% Castro::normalize_species() 30 0.009231 0.009231 0.009231 2.30% MLPoisson::define() 6 0.00911 0.00911 0.00911 2.27% amrex::Dot() 484 0.008812 0.008812 0.008812 2.20% MLMG:computeResOfCorrection() 180 0.00836 0.00836 0.00836 2.09% Castro::construct_old_gravity() 5 0.007693 0.007693 0.007693 1.92% Gravity::get_old_grav_vector() 5 0.007688 0.007688 0.007688 1.92% Gravity::get_new_grav_vector() 5 0.0076 0.0076 0.0076 1.90% amrex::Copy() 463 0.006967 0.006967 0.006967 1.74% MLMG::mgVcycle_down::1 36 0.00683 0.00683 0.00683 1.70% FabArray::ParallelCopy() 380 0.006599 0.006599 0.006599 1.65% FabArray::ParallelCopy_nowait() 380 0.006489 0.006489 0.006489 1.62% MLMG::mgVcycle_down::2 36 0.006332 0.006332 0.006332 1.58% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.56% MLMG::mgVcycle_down::3 36 0.006195 0.006195 0.006195 1.55% FabArray::norminf() 326 0.006186 0.006186 0.006186 1.54% MLMG::mgVcycle_down::4 36 0.00616 0.00616 0.00616 1.54% MLCellLinOp::defineAuxData() 6 0.006128 0.006128 0.006128 1.53% Castro::do_new_sources() 5 0.005989 0.005989 0.005989 1.49% Castro::initialize_advance() 5 0.005446 0.005446 0.005446 1.36% MLCGSolver::ParallelAllReduce 659 0.005319 0.005319 0.005319 1.33% Castro::expand_state() 5 0.005233 0.005233 0.005233 1.31% MLMG::addInterpCorrection() 180 0.005215 0.005215 0.005215 1.30% MLMG::mgVcycle_up::4 36 0.005027 0.005027 0.005027 1.25% MLMG::mgVcycle_up::1 36 0.004965 0.004965 0.004965 1.24% amrex::average_down 180 0.004891 0.004891 0.004891 1.22% MLMG::mgVcycle_up::2 36 0.004884 0.004884 0.004884 1.22% MLMG::mgVcycle_up::3 36 0.004763 0.004763 0.004763 1.19% Castro::enforce_min_density() 30 0.004661 0.004661 0.004661 1.16% MLPoisson::Fapply() 500 0.004454 0.004454 0.004454 1.11% Castro::post_timestep() 5 0.004375 0.004375 0.004375 1.09% Gravity::fill_multipole_BCs() 6 0.00362 0.00362 0.00362 0.90% FabArray::Saxpy() 355 0.003609 0.003609 0.003609 0.90% FabArray::Xpay() 361 0.003471 0.003471 0.003471 0.87% Castro::post_restart() 1 0.003417 0.003417 0.003417 0.85% Castro::estTimeStep() 10 0.003373 0.003373 0.003373 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.003304 0.003304 0.003304 0.82% Gravity::actual_multilevel_solve() 1 0.003288 0.003288 0.003288 0.82% MLCellLinOp::solutionResidual() 42 0.003212 0.003212 0.003212 0.80% Castro::reset_internal_energy(MultiFab) 30 0.002827 0.002827 0.002827 0.71% MLCellLinOp::defineBC() 6 0.002746 0.002746 0.002746 0.68% MLMG::computeResidual() 36 0.002659 0.002659 0.002659 0.66% BndryData::define() 6 0.002622 0.002622 0.002622 0.65% Castro::computeNewDt() 5 0.002543 0.002543 0.002543 0.63% MLMG::prepareForSolve() 6 0.002541 0.002541 0.002541 0.63% FabArray::LinComb() 242 0.001916 0.001916 0.001916 0.48% amrex::Add() 72 0.001848 0.001848 0.001848 0.46% Castro::construct_new_source() 25 0.001683 0.001683 0.001683 0.42% Castro::construct_new_gravity_source() 5 0.001566 0.001566 0.001566 0.39% Castro::construct_old_source() 25 0.001458 0.001458 0.001458 0.36% Castro::construct_old_gravity_source() 5 0.001416 0.001416 0.001416 0.35% Castro::enforce_speed_limit() 30 0.001213 0.001213 0.001213 0.30% MLMG::ResNormInf() 42 0.0009303 0.0009303 0.0009303 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00093 0.00093 0.00093 0.23% Castro::apply_source_to_state() 10 0.0009268 0.0009268 0.0009268 0.23% Castro::finalize_do_advance() 5 0.000875 0.000875 0.000875 0.22% FabArrayBase::getCPC() 632 0.0007987 0.0007987 0.0007987 0.20% check_for_negative_density() 5 0.0007964 0.0007964 0.0007964 0.20% Castro::reset_internal_energy(Fab) 240 0.0007783 0.0007783 0.0007783 0.19% MLCellLinOp::setLevelBC() 6 0.0007609 0.0007609 0.0007609 0.19% MLMG::getGradSolution() 6 0.000756 0.000756 0.000756 0.19% MLCellLinOp::compGrad() 6 0.0007531 0.0007531 0.0007531 0.19% FabArray::setDomainBndry() 20 0.0006427 0.0006427 0.0006427 0.16% FabArray::mult() 22 0.0006427 0.0006427 0.0006427 0.16% MLPoisson::prepareForSolve() 6 0.0006211 0.0006211 0.0006211 0.15% MLCellLinOp::prepareForSolve() 6 0.0006113 0.0006113 0.0006113 0.15% Castro::check_for_nan() 10 0.0005946 0.0005946 0.0005946 0.15% MultiFab::contains_nan() 10 0.0005887 0.0005887 0.0005887 0.15% MLMG::computeMLResidual() 6 0.0005703 0.0005703 0.0005703 0.14% FabArrayBase::CPC::define() 244 0.0004449 0.0004449 0.0004449 0.11% Gravity::update_max_rhs() 6 0.00044 0.00044 0.00044 0.11% Amr::InitAmr() 1 0.0003821 0.0003821 0.0003821 0.10% FabArrayBase::getFB() 1766 0.0003361 0.0003361 0.0003361 0.08% Castro::finalize_advance() 5 0.000316 0.000316 0.000316 0.08% Gravity::swapTimeLevels() 5 0.0002254 0.0002254 0.0002254 0.06% MLLinOp::define() 6 0.0002168 0.0002168 0.0002168 0.05% MLLinOp::defineGrids() 6 0.0002117 0.0002117 0.0002117 0.05% MLMG::MLResNormInf() 6 0.0001506 0.0001506 0.0001506 0.04% Castro::buildMetrics() 1 0.0001446 0.0001446 0.0001446 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.03% MLMG::MLRhsNormInf() 6 0.0001169 0.0001169 0.0001169 0.03% Castro::create_source_corrector() 5 8.276e-05 8.276e-05 8.276e-05 0.02% FabArrayBase::FB::FB() 26 6.216e-05 6.216e-05 6.216e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.766e-05 2.766e-05 2.766e-05 0.01% Castro::initMFs() 1 2.647e-05 2.647e-05 2.647e-05 0.01% Amr::writeSmallPlotFile() 1 2.571e-05 2.571e-05 2.571e-05 0.01% Castro::swap_state_time_levels() 5 2.39e-05 2.39e-05 2.39e-05 0.01% makeSFC 30 2.013e-05 2.013e-05 2.013e-05 0.01% Amr::initSubcycle() 1 8.499e-06 8.499e-06 8.499e-06 0.00% DistributionMapping::Distribute() 31 8.469e-06 8.469e-06 8.469e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.996e-06 4.996e-06 4.996e-06 0.00% Castro::FluxRegFineAdd() 5 2.876e-06 2.876e-06 2.876e-06 0.00% Castro::retry_advance_ctu() 5 2.534e-06 2.534e-06 2.534e-06 0.00% Castro::FluxRegCrseInit 5 1.971e-06 1.971e-06 1.971e-06 0.00% Gravity::set_mass_offset() 6 1.966e-06 1.966e-06 1.966e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.83e-07 9.83e-07 9.83e-07 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 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 145 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1057 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2366 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6773 KiB 14 MiB MLMG::prepareForSolve() 361 361 3381 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 198 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6769 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2121 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 3993 B 480 KiB VisMF::Write(FabArray) 112 112 1238 B 320 KiB Castro::normalize_species() 30 30 7492 B 320 KiB amrex::average_down 469 469 1204 B 257 KiB MLMG::addInterpCorrection() 468 468 1097 B 257 KiB amrex::Dot() 592 592 3234 B 160 KiB FabArray::norminf() 398 398 2276 B 160 KiB check_for_negative_density() 5 5 315 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 3892 3892 214 B 9344 B amrex::Copy() 56 56 6009 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1375 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 247 KiB 3584 KiB VisMF::Read() 24 24 188 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3288 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 1946 1946 212 B 9328 B amrex::Copy() 56 56 6009 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2677 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.06-14-g7c7a8fb1fff5) finalized