Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-9-g078905a16294) initialized Starting run at 08:28:17 UTC on 2023-09-15. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-9-g078905a16 Microphysics git describe: 23.09-9-gdfc865b7 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.051726103 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028679312 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.051490676 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051165235 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.051121716 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.076384278 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.081676554 [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.050276698 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067919257 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049345498 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.072816596 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.07274642 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.063757665 [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.048956058 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02813588 seconds Ending run at 08:28:18 UTC on 2023-09-15. Run time = 0.900661615 Run time without initialization = 0.766509405 Average number of zones advanced per microsecond: 3.420 Average number of zones advanced per microsecond per rank: 3.420 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9007 ... 0.9007 ... 0.9007 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2598 0.2598 0.2598 28.85% VisMF::Write(FabArray) 11 0.2005 0.2005 0.2005 22.26% MLCellLinOp::applyBC() 4433 0.07769 0.07769 0.07769 8.63% MLPoisson::Fsmooth() 3280 0.03289 0.03289 0.03289 3.65% FillBoundary_nowait() 4023 0.03145 0.03145 0.03145 3.49% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.96% Castro::normalize_species() 62 0.02137 0.02137 0.02137 2.37% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.34% Castro::computeTemp() 63 0.01632 0.01632 0.01632 1.81% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.68% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.63% FabArray::setVal() 1144 0.01343 0.01343 0.01343 1.49% FabArray::ParallelCopy_nowait() 861 0.01343 0.01343 0.01343 1.49% Castro::enforce_min_density() 62 0.01291 0.01291 0.01291 1.43% StateDataPhysBCFunct::() 41 0.01136 0.01136 0.01136 1.26% MLPoisson::Fapply() 1142 0.01052 0.01052 0.01052 1.17% MLCellLinOp::defineAuxData() 11 0.01024 0.01024 0.01024 1.14% Gravity::fill_multipole_BCs() 11 0.009497 0.009497 0.009497 1.05% FabArray::Saxpy() 813 0.008369 0.008369 0.008369 0.93% FabArray::Xpay() 821 0.008278 0.008278 0.008278 0.92% MLMG::addInterpCorrection() 410 0.006828 0.006828 0.006828 0.76% Castro::estTimeStep() 21 0.006418 0.006418 0.006418 0.71% amrex::average_down 410 0.00612 0.00612 0.00612 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005253 0.005253 0.005253 0.58% Amr::checkPoint() 3 0.004806 0.004806 0.004806 0.53% FabArray::LinComb() 557 0.004624 0.004624 0.004624 0.51% amrex::Add() 164 0.004436 0.004436 0.004436 0.49% BndryData::define() 11 0.003837 0.003837 0.003837 0.43% Castro::construct_new_gravity_source() 10 0.003404 0.003404 0.003404 0.38% Castro::construct_old_gravity_source() 10 0.0029 0.0029 0.0029 0.32% Castro::enforce_speed_limit() 62 0.002574 0.002574 0.002574 0.29% MLCGSolver::bicgstab 82 0.002272 0.002272 0.002272 0.25% Amr::writePlotFile() 2 0.001947 0.001947 0.001947 0.22% check_for_negative_density() 10 0.001814 0.001814 0.001814 0.20% Castro::reset_internal_energy(Fab) 504 0.001763 0.001763 0.001763 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001758 0.001758 0.001758 0.20% Gravity::actual_solve_with_mlmg() 11 0.001525 0.001525 0.001525 0.17% MLCellLinOp::setLevelBC() 11 0.001467 0.001467 0.001467 0.16% Castro::initData() 1 0.001432 0.001432 0.001432 0.16% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.001331 0.001331 0.001331 0.15% MLCellLinOp::prepareForSolve() 11 0.00126 0.00126 0.00126 0.14% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.14% MLCellLinOp::smooth() 1640 0.00112 0.00112 0.00112 0.12% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.12% MLMG::prepareForSolve() 11 0.0009561 0.0009561 0.0009561 0.11% FabArray::FillBoundary() 4023 0.0008038 0.0008038 0.0008038 0.09% FabArrayBase::getCPC() 1323 0.0007715 0.0007715 0.0007715 0.09% FabArrayBase::CPC::define() 454 0.0007198 0.0007198 0.0007198 0.08% FabArrayBase::getFB() 4023 0.0006186 0.0006186 0.0006186 0.07% Gravity::get_new_grav_vector() 11 0.0005937 0.0005937 0.0005937 0.07% Gravity::get_old_grav_vector() 10 0.0004757 0.0004757 0.0004757 0.05% MLCellLinOp::apply() 1142 0.0004679 0.0004679 0.0004679 0.05% Amr::InitAmr() 1 0.0004615 0.0004615 0.0004615 0.05% Amr::coarseTimeStep() 10 0.0004348 0.0004348 0.0004348 0.05% AmrLevel::FillPatch() 41 0.0003345 0.0003345 0.0003345 0.04% MultiFab::max() 11 0.0003275 0.0003275 0.0003275 0.04% main() 1 0.0002927 0.0002927 0.0002927 0.03% MLCGSolver::ParallelAllReduce 1514 0.000292 0.000292 0.000292 0.03% FabArray::ParallelCopy() 861 0.000251 0.000251 0.000251 0.03% MLCellLinOp::correctionResidual() 492 0.0002279 0.0002279 0.0002279 0.03% FillPatchIterator::Initialize 41 0.000225 0.000225 0.000225 0.02% MLCellLinOp::defineBC() 11 0.0002225 0.0002225 0.0002225 0.02% Castro::subcycle_advance_ctu() 10 0.000222 0.000222 0.000222 0.02% MLMG::mgVcycle() 82 0.0001956 0.0001956 0.0001956 0.02% Castro::create_source_corrector() 10 0.0001631 0.0001631 0.0001631 0.02% MLLinOp::defineGrids() 11 0.0001539 0.0001539 0.0001539 0.02% Amr::timeStep() 10 0.0001528 0.0001528 0.0001528 0.02% Gravity::solve_for_phi() 10 0.0001523 0.0001523 0.0001523 0.02% Castro::advance() 10 0.0001301 0.0001301 0.0001301 0.01% Gravity::update_max_rhs() 11 0.0001257 0.0001257 0.0001257 0.01% MLMG:computeResOfCorrection() 410 0.0001171 0.0001171 0.0001171 0.01% StateData::checkPoint() 12 0.0001143 0.0001143 0.0001143 0.01% Castro::Castro() 1 9.809e-05 9.809e-05 9.809e-05 0.01% FabArrayBase::FB::FB() 56 9.511e-05 9.511e-05 9.511e-05 0.01% MLMG::actualBottomSolve() 82 8.688e-05 8.688e-05 8.688e-05 0.01% MLMG::mgVcycle_down::0 82 8.36e-05 8.36e-05 8.36e-05 0.01% MLMG::solve() 11 8.07e-05 8.07e-05 8.07e-05 0.01% Castro::initialize_advance() 10 7.832e-05 7.832e-05 7.832e-05 0.01% Castro::construct_new_source() 50 7.713e-05 7.713e-05 7.713e-05 0.01% MLMG::mgVcycle_down::2 82 7.556e-05 7.556e-05 7.556e-05 0.01% MLMG::mgVcycle_down::1 82 7.498e-05 7.498e-05 7.498e-05 0.01% Castro::enforce_consistent_e() 1 7.254e-05 7.254e-05 7.254e-05 0.01% MLMG::mgVcycle_down::4 82 7.161e-05 7.161e-05 7.161e-05 0.01% MLMG::mgVcycle_down::3 82 6.987e-05 6.987e-05 6.987e-05 0.01% Castro::clean_state() 62 6.916e-05 6.916e-05 6.916e-05 0.01% Castro::finalize_advance() 10 6.759e-05 6.759e-05 6.759e-05 0.01% AmrLevel::checkPoint() 3 6.612e-05 6.612e-05 6.612e-05 0.01% MLMG::mgVcycle_up::4 82 6.41e-05 6.41e-05 6.41e-05 0.01% Castro::initialize_do_advance() 10 5.941e-05 5.941e-05 5.941e-05 0.01% Amr::defBaseLevel() 1 5.626e-05 5.626e-05 5.626e-05 0.01% MLMG::oneIter() 82 5.544e-05 5.544e-05 5.544e-05 0.01% MLMG::mgVcycle_up::0 82 5.183e-05 5.183e-05 5.183e-05 0.01% MLCellLinOp::solutionResidual() 93 5.067e-05 5.067e-05 5.067e-05 0.01% MLMG::mgVcycle_up::3 82 5.051e-05 5.051e-05 5.051e-05 0.01% Castro::do_advance_ctu() 10 4.838e-05 4.838e-05 4.838e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.798e-05 4.798e-05 4.798e-05 0.01% MLMG::mgVcycle_up::1 82 4.785e-05 4.785e-05 4.785e-05 0.01% MLMG::mgVcycle_up::2 82 4.724e-05 4.724e-05 4.724e-05 0.01% Castro::finalize_do_advance() 10 4.244e-05 4.244e-05 4.244e-05 0.00% StateData::define() 4 3.923e-05 3.923e-05 3.923e-05 0.00% Castro::swap_state_time_levels() 10 3.884e-05 3.884e-05 3.884e-05 0.00% MLMG::computeResidual() 82 3.59e-05 3.59e-05 3.59e-05 0.00% FillPatchSingleLevel 41 3.553e-05 3.553e-05 3.553e-05 0.00% MLMG::mgVcycle_bottom 82 3.337e-05 3.337e-05 3.337e-05 0.00% Castro::initMFs() 1 3.142e-05 3.142e-05 3.142e-05 0.00% MLMG::ResNormInf() 93 3.131e-05 3.131e-05 3.131e-05 0.00% Castro::do_old_sources() 10 2.692e-05 2.692e-05 2.692e-05 0.00% makeSFC 55 2.609e-05 2.609e-05 2.609e-05 0.00% Amr::writeSmallPlotFile() 1 2.591e-05 2.591e-05 2.591e-05 0.00% Castro::buildMetrics() 1 2.53e-05 2.53e-05 2.53e-05 0.00% Castro::construct_new_gravity() 10 2.454e-05 2.454e-05 2.454e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.229e-05 2.229e-05 2.229e-05 0.00% MLPoisson::define() 11 2.076e-05 2.076e-05 2.076e-05 0.00% Castro::do_new_sources() 10 1.968e-05 1.968e-05 1.968e-05 0.00% Amr::FinalizeInit() 1 1.905e-05 1.905e-05 1.905e-05 0.00% Castro::construct_old_source() 50 1.844e-05 1.844e-05 1.844e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.778e-05 1.778e-05 1.778e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.759e-05 1.759e-05 1.759e-05 0.00% DistributionMapping::Distribute() 56 1.758e-05 1.758e-05 1.758e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.486e-05 1.486e-05 1.486e-05 0.00% MLLinOp::define() 11 1.392e-05 1.392e-05 1.392e-05 0.00% Castro::check_for_nan() 20 1.288e-05 1.288e-05 1.288e-05 0.00% Castro::apply_source_to_state() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Amr::initSubcycle() 1 1.123e-05 1.123e-05 1.123e-05 0.00% Castro::construct_old_gravity() 10 1.088e-05 1.088e-05 1.088e-05 0.00% Castro::post_init() 1 9.983e-06 9.983e-06 9.983e-06 0.00% Gravity::swapTimeLevels() 10 8.853e-06 8.853e-06 8.853e-06 0.00% MLMG::computeMLResidual() 11 8.576e-06 8.576e-06 8.576e-06 0.00% MLMG::MLRhsNormInf() 11 8.133e-06 8.133e-06 8.133e-06 0.00% Gravity::actual_multilevel_solve() 1 8.013e-06 8.013e-06 8.013e-06 0.00% Castro::post_timestep() 10 7.775e-06 7.775e-06 7.775e-06 0.00% MLPoisson::prepareForSolve() 11 7.552e-06 7.552e-06 7.552e-06 0.00% Castro::computeNewDt() 9 7.429e-06 7.429e-06 7.429e-06 0.00% MLMG::getGradSolution() 11 6.357e-06 6.357e-06 6.357e-06 0.00% AmrLevel::checkPointPost() 3 6.318e-06 6.318e-06 6.318e-06 0.00% Castro::expand_state() 10 5.81e-06 5.81e-06 5.81e-06 0.00% Castro::retry_advance_ctu() 10 4.602e-06 4.602e-06 4.602e-06 0.00% Amr::InitializeInit() 1 4.406e-06 4.406e-06 4.406e-06 0.00% Gravity::set_mass_offset() 11 4.264e-06 4.264e-06 4.264e-06 0.00% MLMG::MLResNormInf() 11 3.414e-06 3.414e-06 3.414e-06 0.00% Castro::computeInitialDt() 2 3.079e-06 3.079e-06 3.079e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.009e-06 3.009e-06 3.009e-06 0.00% Castro::FluxRegCrseInit 10 2.835e-06 2.835e-06 2.835e-06 0.00% Amr::init() 1 2.286e-06 2.286e-06 2.286e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::FluxRegFineAdd() 10 2.114e-06 2.114e-06 2.114e-06 0.00% AmrLevel::checkPointPre() 3 2.085e-06 2.085e-06 2.085e-06 0.00% Castro::post_regrid() 1 1.089e-06 1.089e-06 1.089e-06 0.00% Amr::initialInit() 1 1.007e-06 1.007e-06 1.007e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9007 0.9007 0.9007 100.00% Amr::coarseTimeStep() 10 0.7382 0.7382 0.7382 81.95% Amr::timeStep() 10 0.6346 0.6346 0.6346 70.45% Castro::advance() 10 0.6234 0.6234 0.6234 69.22% Castro::subcycle_advance_ctu() 10 0.6076 0.6076 0.6076 67.46% Castro::do_advance_ctu() 10 0.6074 0.6074 0.6074 67.44% Gravity::solve_phi_with_mlmg() 11 0.2914 0.2914 0.2914 32.35% Gravity::actual_solve_with_mlmg() 11 0.2814 0.2814 0.2814 31.25% Castro::construct_ctu_hydro_source() 10 0.2705 0.2705 0.2705 30.03% Castro::construct_new_gravity() 10 0.2625 0.2625 0.2625 29.14% MLMG::solve() 11 0.2599 0.2599 0.2599 28.85% Gravity::solve_for_phi() 10 0.2468 0.2468 0.2468 27.40% MLMG::oneIter() 82 0.2449 0.2449 0.2449 27.19% MLMG::mgVcycle() 82 0.2413 0.2413 0.2413 26.79% VisMF::Write(FabArray) 11 0.2005 0.2005 0.2005 22.26% Amr::checkPoint() 3 0.1511 0.1511 0.1511 16.77% AmrLevel::checkPoint() 3 0.1463 0.1463 0.1463 16.24% StateData::checkPoint() 12 0.1462 0.1462 0.1462 16.23% Amr::init() 1 0.1336 0.1336 0.1336 14.83% MLCellLinOp::smooth() 1640 0.1183 0.1183 0.1183 13.13% MLCellLinOp::applyBC() 4433 0.1107 0.1107 0.1107 12.29% MLMG::mgVcycle_bottom 82 0.07528 0.07528 0.07528 8.36% MLMG::actualBottomSolve() 82 0.07525 0.07525 0.07525 8.35% MLCGSolver::bicgstab 82 0.07453 0.07453 0.07453 8.27% Castro::clean_state() 62 0.05925 0.05925 0.05925 6.58% Amr::writePlotFile() 2 0.05693 0.05693 0.05693 6.32% Amr::initialInit() 1 0.05306 0.05306 0.05306 5.89% Amr::FinalizeInit() 1 0.04874 0.04874 0.04874 5.41% AmrLevel::FillPatch() 41 0.04791 0.04791 0.04791 5.32% Castro::post_init() 1 0.04745 0.04745 0.04745 5.27% Gravity::multilevel_solve_for_new_phi() 1 0.04505 0.04505 0.04505 5.00% Gravity::actual_multilevel_solve() 1 0.04503 0.04503 0.04503 5.00% FillPatchIterator::Initialize 41 0.04371 0.04371 0.04371 4.85% FillPatchIterator::FillFromLevel0() 41 0.04216 0.04216 0.04216 4.68% FillPatchSingleLevel 41 0.04211 0.04211 0.04211 4.68% StateDataPhysBCFunct::() 41 0.03805 0.03805 0.03805 4.22% MLCellLinOp::apply() 1142 0.03687 0.03687 0.03687 4.09% MLMG::mgVcycle_down::0 82 0.03427 0.03427 0.03427 3.80% FabArray::FillBoundary() 4023 0.03297 0.03297 0.03297 3.66% MLPoisson::Fsmooth() 3280 0.03289 0.03289 0.03289 3.65% FillBoundary_nowait() 4023 0.03216 0.03216 0.03216 3.57% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.96% MLMG::mgVcycle_up::0 82 0.02571 0.02571 0.02571 2.85% Castro::initialize_do_advance() 10 0.02335 0.02335 0.02335 2.59% Castro::computeTemp() 63 0.02334 0.02334 0.02334 2.59% MLCellLinOp::correctionResidual() 492 0.02254 0.02254 0.02254 2.50% Castro::normalize_species() 62 0.02137 0.02137 0.02137 2.37% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.34% MLMG:computeResOfCorrection() 410 0.01982 0.01982 0.01982 2.20% Castro::do_old_sources() 10 0.01922 0.01922 0.01922 2.13% Gravity::get_new_grav_vector() 11 0.01765 0.01765 0.01765 1.96% MLPoisson::define() 11 0.01701 0.01701 0.01701 1.89% MLMG::mgVcycle_down::1 82 0.01614 0.01614 0.01614 1.79% Castro::construct_old_gravity() 10 0.01545 0.01545 0.01545 1.72% Gravity::get_old_grav_vector() 10 0.01544 0.01544 0.01544 1.71% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.68% Castro::initialize_advance() 10 0.01506 0.01506 0.01506 1.67% MLMG::mgVcycle_down::2 82 0.01491 0.01491 0.01491 1.65% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.63% MLMG::mgVcycle_down::3 82 0.01455 0.01455 0.01455 1.62% FabArray::ParallelCopy() 861 0.01447 0.01447 0.01447 1.61% MLMG::mgVcycle_down::4 82 0.01438 0.01438 0.01438 1.60% FabArray::ParallelCopy_nowait() 861 0.01422 0.01422 0.01422 1.58% FabArray::setVal() 1144 0.01343 0.01343 0.01343 1.49% Castro::do_new_sources() 10 0.01309 0.01309 0.01309 1.45% Castro::enforce_min_density() 62 0.01291 0.01291 0.01291 1.43% MLCGSolver::ParallelAllReduce 1514 0.01259 0.01259 0.01259 1.40% Castro::expand_state() 10 0.01212 0.01212 0.01212 1.35% MLMG::addInterpCorrection() 410 0.01199 0.01199 0.01199 1.33% MLCellLinOp::defineAuxData() 11 0.0117 0.0117 0.0117 1.30% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.30% MLMG::mgVcycle_up::4 82 0.01164 0.01164 0.01164 1.29% amrex::average_down 410 0.01141 0.01141 0.01141 1.27% MLMG::mgVcycle_up::2 82 0.01137 0.01137 0.01137 1.26% MLMG::mgVcycle_up::3 82 0.01115 0.01115 0.01115 1.24% Castro::post_timestep() 10 0.01099 0.01099 0.01099 1.22% MLPoisson::Fapply() 1142 0.01052 0.01052 0.01052 1.17% Gravity::fill_multipole_BCs() 11 0.009727 0.009727 0.009727 1.08% FabArray::Saxpy() 813 0.008369 0.008369 0.008369 0.93% FabArray::Xpay() 821 0.008278 0.008278 0.008278 0.92% MLCellLinOp::solutionResidual() 93 0.007476 0.007476 0.007476 0.83% Castro::reset_internal_energy(MultiFab) 63 0.007015 0.007015 0.007015 0.78% Castro::estTimeStep() 21 0.006418 0.006418 0.006418 0.71% MLMG::computeResidual() 82 0.006235 0.006235 0.006235 0.69% MLCellLinOp::defineBC() 11 0.005057 0.005057 0.005057 0.56% MLMG::prepareForSolve() 11 0.004972 0.004972 0.004972 0.55% BndryData::define() 11 0.004834 0.004834 0.004834 0.54% FabArray::LinComb() 557 0.004624 0.004624 0.004624 0.51% amrex::Add() 164 0.004436 0.004436 0.004436 0.49% Amr::InitializeInit() 1 0.004319 0.004319 0.004319 0.48% Amr::defBaseLevel() 1 0.004314 0.004314 0.004314 0.48% Castro::initData() 1 0.003613 0.003613 0.003613 0.40% Castro::construct_new_source() 50 0.003481 0.003481 0.003481 0.39% Castro::construct_new_gravity_source() 10 0.003404 0.003404 0.003404 0.38% Castro::computeNewDt() 9 0.002996 0.002996 0.002996 0.33% Castro::construct_old_source() 50 0.002918 0.002918 0.002918 0.32% Castro::construct_old_gravity_source() 10 0.0029 0.0029 0.0029 0.32% Castro::enforce_speed_limit() 62 0.002574 0.002574 0.002574 0.29% Castro::finalize_do_advance() 10 0.002362 0.002362 0.002362 0.26% MLMG::ResNormInf() 93 0.002161 0.002161 0.002161 0.24% Castro::apply_source_to_state() 20 0.001865 0.001865 0.001865 0.21% check_for_negative_density() 10 0.001814 0.001814 0.001814 0.20% Castro::reset_internal_energy(Fab) 504 0.001763 0.001763 0.001763 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001758 0.001758 0.001758 0.20% MLMG::getGradSolution() 11 0.001538 0.001538 0.001538 0.17% MLCellLinOp::compGrad() 11 0.001531 0.001531 0.001531 0.17% FabArrayBase::getCPC() 1323 0.001491 0.001491 0.001491 0.17% MLCellLinOp::setLevelBC() 11 0.001467 0.001467 0.001467 0.16% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.001331 0.001331 0.001331 0.15% MLMG::computeMLResidual() 11 0.001286 0.001286 0.001286 0.14% Castro::check_for_nan() 20 0.00127 0.00127 0.00127 0.14% MLPoisson::prepareForSolve() 11 0.001268 0.001268 0.001268 0.14% MLCellLinOp::prepareForSolve() 11 0.00126 0.00126 0.00126 0.14% MultiFab::contains_nan() 20 0.001257 0.001257 0.001257 0.14% Castro::computeInitialDt() 2 0.001113 0.001113 0.001113 0.12% Castro::post_regrid() 1 0.0009896 0.0009896 0.0009896 0.11% Gravity::update_max_rhs() 11 0.0009806 0.0009806 0.0009806 0.11% FabArrayBase::CPC::define() 454 0.0007198 0.0007198 0.0007198 0.08% FabArrayBase::getFB() 4023 0.0007137 0.0007137 0.0007137 0.08% Castro::finalize_advance() 10 0.0006039 0.0006039 0.0006039 0.07% Castro::Castro() 1 0.0005835 0.0005835 0.0005835 0.06% Amr::InitAmr() 1 0.0004728 0.0004728 0.0004728 0.05% Gravity::swapTimeLevels() 10 0.0004463 0.0004463 0.0004463 0.05% MLMG::MLResNormInf() 11 0.0003294 0.0003294 0.0003294 0.04% MultiFab::max() 11 0.0003275 0.0003275 0.0003275 0.04% Castro::buildMetrics() 1 0.0002846 0.0002846 0.0002846 0.03% MLLinOp::define() 11 0.0002273 0.0002273 0.0002273 0.03% MLMG::MLRhsNormInf() 11 0.0002251 0.0002251 0.0002251 0.02% MLLinOp::defineGrids() 11 0.0002133 0.0002133 0.0002133 0.02% Castro::create_source_corrector() 10 0.0001631 0.0001631 0.0001631 0.02% FabArrayBase::FB::FB() 56 9.511e-05 9.511e-05 9.511e-05 0.01% Castro::enforce_consistent_e() 1 7.254e-05 7.254e-05 7.254e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.719e-05 5.719e-05 5.719e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.683e-05 5.683e-05 5.683e-05 0.01% makeSFC 55 4.233e-05 4.233e-05 4.233e-05 0.00% StateData::define() 4 3.923e-05 3.923e-05 3.923e-05 0.00% Castro::swap_state_time_levels() 10 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::initMFs() 1 3.142e-05 3.142e-05 3.142e-05 0.00% Amr::writeSmallPlotFile() 1 2.591e-05 2.591e-05 2.591e-05 0.00% DistributionMapping::Distribute() 56 1.758e-05 1.758e-05 1.758e-05 0.00% Amr::initSubcycle() 1 1.123e-05 1.123e-05 1.123e-05 0.00% AmrLevel::checkPointPost() 3 6.318e-06 6.318e-06 6.318e-06 0.00% Castro::retry_advance_ctu() 10 4.602e-06 4.602e-06 4.602e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.354e-06 4.354e-06 4.354e-06 0.00% Gravity::set_mass_offset() 11 4.264e-06 4.264e-06 4.264e-06 0.00% Castro::FluxRegCrseInit 10 2.835e-06 2.835e-06 2.835e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::FluxRegFineAdd() 10 2.114e-06 2.114e-06 2.114e-06 0.00% AmrLevel::checkPointPre() 3 2.085e-06 2.085e-06 2.085e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 134 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 1041 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1780 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3549 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2110 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3477 B 480 KiB VisMF::Write(FabArray) 656 656 3391 B 320 KiB Castro::normalize_species() 62 62 7730 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1139 B 257 KiB amrex::Dot() 1360 1360 3451 B 160 KiB FabArray::norminf() 907 907 2410 B 160 KiB check_for_negative_density() 10 10 307 B 160 KiB Castro::initData() 1 1 54 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3465 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8866 8866 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 365 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 523 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 507 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3465 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 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 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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): 2528 [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.09-9-g078905a16294) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-9-g078905a16294) initialized Starting run at 08:28:18 UTC on 2023-09-15. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-9-g078905a16 Microphysics git describe: 23.09-9-gdfc865b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.496370634 Restart time = 0.050090034 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.053441383 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047998338 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.071395243 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.073935211 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.073545423 [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.029335482 seconds Ending run at 08:28:19 UTC on 2023-09-15. Run time = 0.400763134 Run time without initialization = 0.350065439 Average number of zones advanced per microsecond: 3.744 Average number of zones advanced per microsecond per rank: 3.744 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4008 ... 0.4008 ... 0.4008 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1296 0.1296 0.1296 32.34% VisMF::Read() 3 0.03859 0.03859 0.03859 9.63% MLCellLinOp::applyBC() 1946 0.03359 0.03359 0.03359 8.38% VisMF::Write(FabArray) 1 0.02799 0.02799 0.02799 6.98% MLPoisson::Fsmooth() 1440 0.01421 0.01421 0.01421 3.54% StateData::FillBoundary(geom) 160 0.01325 0.01325 0.01325 3.31% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 3.18% Castro::normalize_species() 30 0.01131 0.01131 0.01131 2.82% amrex::Dot() 484 0.008997 0.008997 0.008997 2.24% amrex::Copy() 463 0.007199 0.007199 0.007199 1.80% Castro::computeTemp() 30 0.006931 0.006931 0.006931 1.73% FabArray::setVal() 537 0.006528 0.006528 0.006528 1.63% FabArray::norminf() 326 0.006401 0.006401 0.006401 1.60% FabArray::ParallelCopy_nowait() 380 0.006034 0.006034 0.006034 1.51% Castro::enforce_min_density() 30 0.005955 0.005955 0.005955 1.49% Gravity::fill_multipole_BCs() 6 0.005643 0.005643 0.005643 1.41% MLCellLinOp::defineAuxData() 6 0.005546 0.005546 0.005546 1.38% StateDataPhysBCFunct::() 20 0.004837 0.004837 0.004837 1.21% Amr::restart() 1 0.004834 0.004834 0.004834 1.21% MLPoisson::Fapply() 500 0.004567 0.004567 0.004567 1.14% FabArray::Saxpy() 355 0.00374 0.00374 0.00374 0.93% FabArray::Xpay() 361 0.003606 0.003606 0.003606 0.90% Castro::estTimeStep() 10 0.003309 0.003309 0.003309 0.83% MLMG::addInterpCorrection() 180 0.003036 0.003036 0.003036 0.76% amrex::average_down 180 0.002687 0.002687 0.002687 0.67% FabArray::LinComb() 242 0.002289 0.002289 0.002289 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002143 0.002143 0.002143 0.53% BndryData::define() 6 0.002069 0.002069 0.002069 0.52% amrex::Add() 72 0.001888 0.001888 0.001888 0.47% Castro::construct_new_gravity_source() 5 0.001718 0.001718 0.001718 0.43% Castro::construct_old_gravity_source() 5 0.001427 0.001427 0.001427 0.36% Amr::writePlotFile() 1 0.001177 0.001177 0.001177 0.29% Castro::enforce_speed_limit() 30 0.001135 0.001135 0.001135 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009553 0.0009553 0.0009553 0.24% MLCGSolver::bicgstab 36 0.0009527 0.0009527 0.0009527 0.24% check_for_negative_density() 5 0.0009421 0.0009421 0.0009421 0.24% Castro::reset_internal_energy(Fab) 240 0.0008442 0.0008442 0.0008442 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008256 0.0008256 0.0008256 0.21% MLCellLinOp::setLevelBC() 6 0.0008032 0.0008032 0.0008032 0.20% MLCellLinOp::prepareForSolve() 6 0.0007091 0.0007091 0.0007091 0.18% FabArray::mult() 22 0.0006893 0.0006893 0.0006893 0.17% FabArray::setDomainBndry() 20 0.0006835 0.0006835 0.0006835 0.17% MultiFab::contains_nan() 10 0.0006488 0.0006488 0.0006488 0.16% MLCellLinOp::compGrad() 6 0.000582 0.000582 0.000582 0.15% MLMG::prepareForSolve() 6 0.0005413 0.0005413 0.0005413 0.14% MLCellLinOp::smooth() 720 0.0004957 0.0004957 0.0004957 0.12% FabArrayBase::CPC::define() 244 0.0004394 0.0004394 0.0004394 0.11% Amr::InitAmr() 1 0.0004215 0.0004215 0.0004215 0.11% FabArrayBase::getCPC() 632 0.0003514 0.0003514 0.0003514 0.09% FabArray::FillBoundary() 1766 0.0003508 0.0003508 0.0003508 0.09% Gravity::get_old_grav_vector() 5 0.0003153 0.0003153 0.0003153 0.08% main() 1 0.0002722 0.0002722 0.0002722 0.07% Gravity::get_new_grav_vector() 5 0.0002691 0.0002691 0.0002691 0.07% FabArrayBase::getFB() 1766 0.0002657 0.0002657 0.0002657 0.07% MultiFab::max() 6 0.0002082 0.0002082 0.0002082 0.05% MLCellLinOp::apply() 500 0.0001985 0.0001985 0.0001985 0.05% Amr::coarseTimeStep() 5 0.0001795 0.0001795 0.0001795 0.04% AmrLevel::FillPatch() 20 0.000162 0.000162 0.000162 0.04% Castro::subcycle_advance_ctu() 5 0.0001256 0.0001256 0.0001256 0.03% MLCGSolver::ParallelAllReduce 659 0.0001206 0.0001206 0.0001206 0.03% MLLinOp::defineGrids() 6 0.0001157 0.0001157 0.0001157 0.03% FabArray::ParallelCopy() 380 0.000112 0.000112 0.000112 0.03% MLCellLinOp::defineBC() 6 0.0001118 0.0001118 0.0001118 0.03% FillPatchIterator::Initialize 20 0.0001041 0.0001041 0.0001041 0.03% Castro::create_source_corrector() 5 0.0001002 0.0001002 0.0001002 0.02% MLCellLinOp::correctionResidual() 216 9.35e-05 9.35e-05 9.35e-05 0.02% MLMG::mgVcycle() 36 8.459e-05 8.459e-05 8.459e-05 0.02% Amr::timeStep() 5 8.012e-05 8.012e-05 8.012e-05 0.02% AmrLevel::restart() 1 7.733e-05 7.733e-05 7.733e-05 0.02% Castro::advance() 5 7.663e-05 7.663e-05 7.663e-05 0.02% Castro::finalize_do_advance() 5 6.352e-05 6.352e-05 6.352e-05 0.02% Gravity::update_max_rhs() 6 6.314e-05 6.314e-05 6.314e-05 0.02% StateData::restartDoit() 4 6.253e-05 6.253e-05 6.253e-05 0.02% Castro::initialize_do_advance() 5 6.169e-05 6.169e-05 6.169e-05 0.02% FabArrayBase::FB::FB() 26 5.991e-05 5.991e-05 5.991e-05 0.01% Gravity::solve_for_phi() 5 5.748e-05 5.748e-05 5.748e-05 0.01% Castro::construct_new_source() 25 5.13e-05 5.13e-05 5.13e-05 0.01% MLMG:computeResOfCorrection() 180 4.942e-05 4.942e-05 4.942e-05 0.01% Castro::do_advance_ctu() 5 4.37e-05 4.37e-05 4.37e-05 0.01% MLMG::actualBottomSolve() 36 3.824e-05 3.824e-05 3.824e-05 0.01% MLMG::mgVcycle_down::2 36 3.703e-05 3.703e-05 3.703e-05 0.01% MLMG::solve() 6 3.676e-05 3.676e-05 3.676e-05 0.01% Castro::initialize_advance() 5 3.664e-05 3.664e-05 3.664e-05 0.01% MLMG::mgVcycle_down::0 36 3.57e-05 3.57e-05 3.57e-05 0.01% MLMG::mgVcycle_down::1 36 3.457e-05 3.457e-05 3.457e-05 0.01% Castro::clean_state() 30 3.293e-05 3.293e-05 3.293e-05 0.01% MLMG::mgVcycle_down::4 36 3.284e-05 3.284e-05 3.284e-05 0.01% MLMG::mgVcycle_down::3 36 3.142e-05 3.142e-05 3.142e-05 0.01% Amr::writeSmallPlotFile() 1 2.957e-05 2.957e-05 2.957e-05 0.01% MLMG::mgVcycle_up::4 36 2.869e-05 2.869e-05 2.869e-05 0.01% Castro::finalize_advance() 5 2.84e-05 2.84e-05 2.84e-05 0.01% Castro::do_new_sources() 5 2.831e-05 2.831e-05 2.831e-05 0.01% Castro::post_restart() 1 2.714e-05 2.714e-05 2.714e-05 0.01% Castro::construct_old_source() 25 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::buildMetrics() 1 2.602e-05 2.602e-05 2.602e-05 0.01% Castro::swap_state_time_levels() 5 2.419e-05 2.419e-05 2.419e-05 0.01% Castro::initMFs() 1 2.355e-05 2.355e-05 2.355e-05 0.01% MLCellLinOp::solutionResidual() 42 2.223e-05 2.223e-05 2.223e-05 0.01% MLMG::oneIter() 36 2.202e-05 2.202e-05 2.202e-05 0.01% MLMG::mgVcycle_up::0 36 2.201e-05 2.201e-05 2.201e-05 0.01% MLMG::mgVcycle_up::3 36 2.184e-05 2.184e-05 2.184e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.169e-05 2.169e-05 2.169e-05 0.01% MLMG::mgVcycle_up::2 36 2.1e-05 2.1e-05 2.1e-05 0.01% MLMG::mgVcycle_up::1 36 2.006e-05 2.006e-05 2.006e-05 0.01% MLMG::ResNormInf() 42 1.635e-05 1.635e-05 1.635e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.62e-05 1.62e-05 1.62e-05 0.00% MLMG::computeResidual() 36 1.582e-05 1.582e-05 1.582e-05 0.00% FillPatchSingleLevel 20 1.545e-05 1.545e-05 1.545e-05 0.00% MLMG::mgVcycle_bottom 36 1.533e-05 1.533e-05 1.533e-05 0.00% makeSFC 30 1.296e-05 1.296e-05 1.296e-05 0.00% MLPoisson::define() 6 1.283e-05 1.283e-05 1.283e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.258e-05 1.258e-05 1.258e-05 0.00% Castro::construct_new_gravity() 5 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::do_old_sources() 5 1.167e-05 1.167e-05 1.167e-05 0.00% Amr::initSubcycle() 1 9.467e-06 9.467e-06 9.467e-06 0.00% MLLinOp::define() 6 9.439e-06 9.439e-06 9.439e-06 0.00% DistributionMapping::Distribute() 31 8.918e-06 8.918e-06 8.918e-06 0.00% MLMG::getGradSolution() 6 8.27e-06 8.27e-06 8.27e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.946e-06 7.946e-06 7.946e-06 0.00% Gravity::actual_multilevel_solve() 1 7.946e-06 7.946e-06 7.946e-06 0.00% Castro::check_for_nan() 10 7.302e-06 7.302e-06 7.302e-06 0.00% Castro::apply_source_to_state() 10 6.167e-06 6.167e-06 6.167e-06 0.00% Castro::construct_old_gravity() 5 5.667e-06 5.667e-06 5.667e-06 0.00% Castro::post_timestep() 5 4.558e-06 4.558e-06 4.558e-06 0.00% MLMG::computeMLResidual() 6 4.169e-06 4.169e-06 4.169e-06 0.00% Castro::computeNewDt() 5 4.16e-06 4.16e-06 4.16e-06 0.00% Gravity::swapTimeLevels() 5 4.134e-06 4.134e-06 4.134e-06 0.00% MLPoisson::prepareForSolve() 6 3.812e-06 3.812e-06 3.812e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.097e-06 3.097e-06 3.097e-06 0.00% Castro::expand_state() 5 2.755e-06 2.755e-06 2.755e-06 0.00% MLMG::MLRhsNormInf() 6 2.47e-06 2.47e-06 2.47e-06 0.00% Castro::retry_advance_ctu() 5 2.364e-06 2.364e-06 2.364e-06 0.00% MLMG::MLResNormInf() 6 2.325e-06 2.325e-06 2.325e-06 0.00% Gravity::set_mass_offset() 6 2.148e-06 2.148e-06 2.148e-06 0.00% Castro::FluxRegCrseInit 5 1.595e-06 1.595e-06 1.595e-06 0.00% Castro::FluxRegFineAdd() 5 1.26e-06 1.26e-06 1.26e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.142e-06 1.142e-06 1.142e-06 0.00% Amr::init() 1 9.56e-07 9.56e-07 9.56e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4008 0.4008 0.4008 100.00% Amr::coarseTimeStep() 5 0.3205 0.3205 0.3205 79.96% Amr::timeStep() 5 0.3183 0.3183 0.3183 79.41% Castro::advance() 5 0.3127 0.3127 0.3127 78.01% Castro::subcycle_advance_ctu() 5 0.3048 0.3048 0.3048 76.04% Castro::do_advance_ctu() 5 0.3046 0.3046 0.3046 76.01% Castro::construct_ctu_hydro_source() 5 0.1359 0.1359 0.1359 33.90% Castro::construct_new_gravity() 5 0.1324 0.1324 0.1324 33.02% Gravity::solve_phi_with_mlmg() 6 0.13 0.13 0.13 32.44% Gravity::solve_for_phi() 5 0.1244 0.1244 0.1244 31.04% Gravity::actual_solve_with_mlmg() 6 0.1241 0.1241 0.1241 30.97% MLMG::solve() 6 0.1124 0.1124 0.1124 28.04% MLMG::oneIter() 36 0.105 0.105 0.105 26.21% MLMG::mgVcycle() 36 0.1035 0.1035 0.1035 25.82% MLCellLinOp::smooth() 720 0.05026 0.05026 0.05026 12.54% Amr::init() 1 0.05014 0.05014 0.05014 12.51% Amr::restart() 1 0.05014 0.05014 0.05014 12.51% MLCellLinOp::applyBC() 1946 0.04701 0.04701 0.04701 11.73% AmrLevel::restart() 1 0.03893 0.03893 0.03893 9.71% StateData::restartDoit() 4 0.03885 0.03885 0.03885 9.69% VisMF::Read() 3 0.03859 0.03859 0.03859 9.63% MLMG::mgVcycle_bottom 36 0.03259 0.03259 0.03259 8.13% MLMG::actualBottomSolve() 36 0.03257 0.03257 0.03257 8.13% MLCGSolver::bicgstab 36 0.03226 0.03226 0.03226 8.05% Amr::writePlotFile() 1 0.02942 0.02942 0.02942 7.34% Castro::clean_state() 30 0.02835 0.02835 0.02835 7.07% VisMF::Write(FabArray) 1 0.02799 0.02799 0.02799 6.98% AmrLevel::FillPatch() 20 0.02301 0.02301 0.02301 5.74% FillPatchIterator::Initialize 20 0.02094 0.02094 0.02094 5.22% FillPatchIterator::FillFromLevel0() 20 0.02015 0.02015 0.02015 5.03% FillPatchSingleLevel 20 0.02013 0.02013 0.02013 5.02% StateDataPhysBCFunct::() 20 0.01809 0.01809 0.01809 4.51% MLCellLinOp::apply() 500 0.01594 0.01594 0.01594 3.98% MLMG::mgVcycle_down::0 36 0.0144 0.0144 0.0144 3.59% MLPoisson::Fsmooth() 1440 0.01421 0.01421 0.01421 3.54% FabArray::FillBoundary() 1766 0.01343 0.01343 0.01343 3.35% StateData::FillBoundary(geom) 160 0.01325 0.01325 0.01325 3.31% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.26% Castro::normalize_species() 30 0.01131 0.01131 0.01131 2.82% Castro::initialize_do_advance() 5 0.01117 0.01117 0.01117 2.79% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 2.70% Castro::computeTemp() 30 0.009919 0.009919 0.009919 2.47% MLCellLinOp::correctionResidual() 216 0.009594 0.009594 0.009594 2.39% Castro::do_old_sources() 5 0.009503 0.009503 0.009503 2.37% MLPoisson::define() 6 0.009242 0.009242 0.009242 2.31% amrex::Dot() 484 0.008997 0.008997 0.008997 2.24% MLMG:computeResOfCorrection() 180 0.00844 0.00844 0.00844 2.11% Gravity::get_new_grav_vector() 5 0.007814 0.007814 0.007814 1.95% Castro::construct_old_gravity() 5 0.007568 0.007568 0.007568 1.89% Gravity::get_old_grav_vector() 5 0.007562 0.007562 0.007562 1.89% Castro::initialize_advance() 5 0.007534 0.007534 0.007534 1.88% amrex::Copy() 463 0.007199 0.007199 0.007199 1.80% MLMG::mgVcycle_down::1 36 0.007006 0.007006 0.007006 1.75% FabArray::ParallelCopy() 380 0.006545 0.006545 0.006545 1.63% FabArray::setVal() 537 0.006528 0.006528 0.006528 1.63% MLMG::mgVcycle_down::2 36 0.006472 0.006472 0.006472 1.61% FabArray::ParallelCopy_nowait() 380 0.006433 0.006433 0.006433 1.61% FabArray::norminf() 326 0.006401 0.006401 0.006401 1.60% Castro::do_new_sources() 5 0.006343 0.006343 0.006343 1.58% MLCellLinOp::defineAuxData() 6 0.006331 0.006331 0.006331 1.58% MLMG::mgVcycle_down::3 36 0.006279 0.006279 0.006279 1.57% Castro::expand_state() 5 0.006231 0.006231 0.006231 1.55% Castro::post_restart() 1 0.006196 0.006196 0.006196 1.55% MLMG::mgVcycle_down::4 36 0.006167 0.006167 0.006167 1.54% Castro::enforce_min_density() 30 0.005955 0.005955 0.005955 1.49% Gravity::multilevel_solve_for_new_phi() 1 0.00583 0.00583 0.00583 1.45% Gravity::actual_multilevel_solve() 1 0.005814 0.005814 0.005814 1.45% Gravity::fill_multipole_BCs() 6 0.005767 0.005767 0.005767 1.44% Castro::post_timestep() 5 0.005498 0.005498 0.005498 1.37% MLCGSolver::ParallelAllReduce 659 0.005439 0.005439 0.005439 1.36% MLMG::addInterpCorrection() 180 0.00527 0.00527 0.00527 1.31% MLMG::mgVcycle_up::4 36 0.005048 0.005048 0.005048 1.26% MLMG::mgVcycle_up::1 36 0.004982 0.004982 0.004982 1.24% amrex::average_down 180 0.004975 0.004975 0.004975 1.24% MLMG::mgVcycle_up::2 36 0.004886 0.004886 0.004886 1.22% MLMG::mgVcycle_up::3 36 0.004773 0.004773 0.004773 1.19% MLPoisson::Fapply() 500 0.004567 0.004567 0.004567 1.14% FabArray::Saxpy() 355 0.00374 0.00374 0.00374 0.93% FabArray::Xpay() 361 0.003606 0.003606 0.003606 0.90% MLCellLinOp::solutionResidual() 42 0.003437 0.003437 0.003437 0.86% Castro::estTimeStep() 10 0.003309 0.003309 0.003309 0.83% Castro::reset_internal_energy(MultiFab) 30 0.002988 0.002988 0.002988 0.75% MLMG::prepareForSolve() 6 0.002756 0.002756 0.002756 0.69% MLCellLinOp::defineBC() 6 0.002743 0.002743 0.002743 0.68% MLMG::computeResidual() 36 0.002689 0.002689 0.002689 0.67% BndryData::define() 6 0.002631 0.002631 0.002631 0.66% FabArray::LinComb() 242 0.002289 0.002289 0.002289 0.57% Castro::computeNewDt() 5 0.002057 0.002057 0.002057 0.51% amrex::Add() 72 0.001888 0.001888 0.001888 0.47% Castro::construct_new_source() 25 0.00177 0.00177 0.00177 0.44% Castro::construct_new_gravity_source() 5 0.001718 0.001718 0.001718 0.43% Castro::construct_old_source() 25 0.001454 0.001454 0.001454 0.36% Castro::construct_old_gravity_source() 5 0.001427 0.001427 0.001427 0.36% Castro::finalize_do_advance() 5 0.00132 0.00132 0.00132 0.33% Castro::enforce_speed_limit() 30 0.001135 0.001135 0.001135 0.28% MLMG::ResNormInf() 42 0.0009913 0.0009913 0.0009913 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009553 0.0009553 0.0009553 0.24% Castro::apply_source_to_state() 10 0.0009549 0.0009549 0.0009549 0.24% check_for_negative_density() 5 0.0009421 0.0009421 0.0009421 0.24% MLMG::getGradSolution() 6 0.0008643 0.0008643 0.0008643 0.22% MLCellLinOp::compGrad() 6 0.0008561 0.0008561 0.0008561 0.21% Castro::reset_internal_energy(Fab) 240 0.0008442 0.0008442 0.0008442 0.21% MLCellLinOp::setLevelBC() 6 0.0008032 0.0008032 0.0008032 0.20% FabArrayBase::getCPC() 632 0.0007908 0.0007908 0.0007908 0.20% MLMG::computeMLResidual() 6 0.0007684 0.0007684 0.0007684 0.19% MLPoisson::prepareForSolve() 6 0.000713 0.000713 0.000713 0.18% MLCellLinOp::prepareForSolve() 6 0.0007091 0.0007091 0.0007091 0.18% Gravity::update_max_rhs() 6 0.0007087 0.0007087 0.0007087 0.18% FabArray::mult() 22 0.0006893 0.0006893 0.0006893 0.17% FabArray::setDomainBndry() 20 0.0006835 0.0006835 0.0006835 0.17% Castro::check_for_nan() 10 0.0006561 0.0006561 0.0006561 0.16% MultiFab::contains_nan() 10 0.0006488 0.0006488 0.0006488 0.16% FabArrayBase::CPC::define() 244 0.0004394 0.0004394 0.0004394 0.11% Amr::InitAmr() 1 0.000431 0.000431 0.000431 0.11% FabArrayBase::getFB() 1766 0.0003256 0.0003256 0.0003256 0.08% Castro::finalize_advance() 5 0.0002971 0.0002971 0.0002971 0.07% Gravity::swapTimeLevels() 5 0.0002298 0.0002298 0.0002298 0.06% MultiFab::max() 6 0.0002082 0.0002082 0.0002082 0.05% MLMG::MLResNormInf() 6 0.0001869 0.0001869 0.0001869 0.05% MLLinOp::define() 6 0.0001548 0.0001548 0.0001548 0.04% Castro::buildMetrics() 1 0.000149 0.000149 0.000149 0.04% MLLinOp::defineGrids() 6 0.0001454 0.0001454 0.0001454 0.04% MLMG::MLRhsNormInf() 6 0.0001192 0.0001192 0.0001192 0.03% Castro::create_source_corrector() 5 0.0001002 0.0001002 0.0001002 0.02% FabArrayBase::FB::FB() 26 5.991e-05 5.991e-05 5.991e-05 0.01% Amr::writeSmallPlotFile() 1 2.957e-05 2.957e-05 2.957e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.856e-05 2.856e-05 2.856e-05 0.01% Castro::swap_state_time_levels() 5 2.419e-05 2.419e-05 2.419e-05 0.01% Castro::initMFs() 1 2.355e-05 2.355e-05 2.355e-05 0.01% makeSFC 30 2.061e-05 2.061e-05 2.061e-05 0.01% Amr::initSubcycle() 1 9.467e-06 9.467e-06 9.467e-06 0.00% DistributionMapping::Distribute() 31 8.918e-06 8.918e-06 8.918e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.364e-06 4.364e-06 4.364e-06 0.00% Castro::retry_advance_ctu() 5 2.364e-06 2.364e-06 2.364e-06 0.00% Gravity::set_mass_offset() 6 2.148e-06 2.148e-06 2.148e-06 0.00% Castro::FluxRegCrseInit 5 1.595e-06 1.595e-06 1.595e-06 0.00% Castro::FluxRegFineAdd() 5 1.26e-06 1.26e-06 1.26e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.142e-06 1.142e-06 1.142e-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 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 143 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1159 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2062 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 6737 KiB 14 MiB MLMG::prepareForSolve() 361 361 3442 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 199 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6723 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3517 B 2048 KiB Gravity::solve_for_phi() 40 40 634 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 203 KiB 671 KiB Castro::estTimeStep() 10 10 3971 B 480 KiB VisMF::Write(FabArray) 112 112 1372 B 320 KiB Castro::normalize_species() 30 30 9194 B 320 KiB amrex::average_down 469 469 1218 B 257 KiB MLMG::addInterpCorrection() 468 468 1133 B 257 KiB amrex::Dot() 592 592 3308 B 160 KiB FabArray::norminf() 398 398 2358 B 160 KiB check_for_negative_density() 5 5 368 B 160 KiB MultiFab::max() 6 6 81 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3337 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 5929 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 117 B 1472 B MLCellLinOp::defineBC() 36 36 356 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1182 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 200 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3337 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5929 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2635 B 3072 B StateData::FillBoundary(geom) 960 960 42 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 525 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 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): 2528 [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.09-9-g078905a16294) finalized