Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-19-ge7d3d5a4fad6) initialized Starting run at 08:35:43 UTC on 2023-08-07. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-19-ge7d3d5a4f Microphysics git describe: 23.08-3-g3d2714f8 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.058000379 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033216627 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.047566786 [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.052020579 [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.073075425 [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.06924546 [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.054535757 [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.057555421 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.050637871 [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.077985483 [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.077114579 [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.058225971 [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.059791677 [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.057658588 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033139865 seconds Ending run at 08:35:44 UTC on 2023-08-07. Run time = 0.908406092 Run time without initialization = 0.769203107 Average number of zones advanced per microsecond: 3.408 Average number of zones advanced per microsecond per rank: 3.408 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9084 ... 0.9084 ... 0.9084 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2533 0.2533 0.2533 27.89% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 25.62% MLCellLinOp::applyBC() 4433 0.07514 0.07514 0.07514 8.27% FillBoundary_nowait() 4023 0.03143 0.03143 0.03143 3.46% MLPoisson::Fsmooth() 3280 0.03137 0.03137 0.03137 3.45% StateDataPhysBCFunct::() 41 0.02597 0.02597 0.02597 2.86% StateData::FillBoundary(geom) 328 0.02309 0.02309 0.02309 2.54% amrex::Dot() 1114 0.0198 0.0198 0.0198 2.18% Castro::normalize_species() 62 0.0189 0.0189 0.0189 2.08% amrex::Copy() 1029 0.01456 0.01456 0.01456 1.60% Castro::computeTemp() 63 0.01445 0.01445 0.01445 1.59% FabArray::norminf() 743 0.01391 0.01391 0.01391 1.53% FabArray::ParallelCopy_nowait() 861 0.01311 0.01311 0.01311 1.44% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.40% MLPoisson::Fapply() 1142 0.01001 0.01001 0.01001 1.10% Castro::enforce_min_density() 62 0.009811 0.009811 0.009811 1.08% MLCellLinOp::defineAuxData() 11 0.009622 0.009622 0.009622 1.06% FabArray::Saxpy() 813 0.007939 0.007939 0.007939 0.87% FabArray::Xpay() 821 0.007827 0.007827 0.007827 0.86% MLMG::addInterpCorrection() 410 0.00652 0.00652 0.00652 0.72% amrex::average_down 410 0.005755 0.005755 0.005755 0.63% Gravity::fill_multipole_BCs() 11 0.00548 0.00548 0.00548 0.60% Castro::reset_internal_energy(MultiFab) 63 0.004796 0.004796 0.004796 0.53% Castro::estTimeStep() 21 0.004778 0.004778 0.004778 0.53% FabArray::LinComb() 557 0.004359 0.004359 0.004359 0.48% amrex::Add() 164 0.004305 0.004305 0.004305 0.47% Amr::checkPoint() 3 0.003982 0.003982 0.003982 0.44% BndryData::define() 11 0.003523 0.003523 0.003523 0.39% Castro::construct_new_gravity_source() 10 0.002656 0.002656 0.002656 0.29% Amr::writePlotFile() 2 0.002378 0.002378 0.002378 0.26% Castro::enforce_speed_limit() 62 0.002328 0.002328 0.002328 0.26% Castro::construct_old_gravity_source() 10 0.002095 0.002095 0.002095 0.23% MLCGSolver::bicgstab 82 0.002084 0.002084 0.002084 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001638 0.001638 0.001638 0.18% Castro::reset_internal_energy(Fab) 504 0.00153 0.00153 0.00153 0.17% Gravity::actual_solve_with_mlmg() 11 0.001484 0.001484 0.001484 0.16% MLCellLinOp::setLevelBC() 11 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001314 0.001314 0.001314 0.14% FabArray::setDomainBndry() 41 0.001276 0.001276 0.001276 0.14% check_for_negative_density() 10 0.001268 0.001268 0.001268 0.14% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.13% MLCellLinOp::smooth() 1640 0.00116 0.00116 0.00116 0.13% Castro::initData() 1 0.001157 0.001157 0.001157 0.13% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.12% MLCellLinOp::compGrad() 11 0.000894 0.000894 0.000894 0.10% MLMG::prepareForSolve() 11 0.0008531 0.0008531 0.0008531 0.09% FabArray::FillBoundary() 4023 0.0008333 0.0008333 0.0008333 0.09% FabArrayBase::getCPC() 1323 0.0007553 0.0007553 0.0007553 0.08% FabArrayBase::CPC::define() 454 0.0006626 0.0006626 0.0006626 0.07% FabArrayBase::getFB() 4023 0.000595 0.000595 0.000595 0.07% Gravity::get_new_grav_vector() 11 0.0005457 0.0005457 0.0005457 0.06% Amr::InitAmr() 1 0.000496 0.000496 0.000496 0.05% Gravity::get_old_grav_vector() 10 0.0004749 0.0004749 0.0004749 0.05% MLCellLinOp::apply() 1142 0.0004534 0.0004534 0.0004534 0.05% MLLinOp::defineGrids() 11 0.0004096 0.0004096 0.0004096 0.05% Amr::coarseTimeStep() 10 0.0003734 0.0003734 0.0003734 0.04% MLMG::mgVcycle() 82 0.0003348 0.0003348 0.0003348 0.04% AmrLevel::FillPatch() 41 0.0003316 0.0003316 0.0003316 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003177 0.0003177 0.0003177 0.03% main() 1 0.0002842 0.0002842 0.0002842 0.03% MultiFab::max() 11 0.000263 0.000263 0.000263 0.03% FabArray::ParallelCopy() 861 0.0002404 0.0002404 0.0002404 0.03% MLCellLinOp::correctionResidual() 492 0.0002187 0.0002187 0.0002187 0.02% FillPatchIterator::Initialize 41 0.0002075 0.0002075 0.0002075 0.02% MLCellLinOp::defineBC() 11 0.0002058 0.0002058 0.0002058 0.02% Castro::subcycle_advance_ctu() 10 0.0001709 0.0001709 0.0001709 0.02% Amr::timeStep() 10 0.000163 0.000163 0.000163 0.02% StateData::checkPoint() 12 0.0001395 0.0001395 0.0001395 0.02% Castro::create_source_corrector() 10 0.0001387 0.0001387 0.0001387 0.02% MLMG:computeResOfCorrection() 410 0.0001316 0.0001316 0.0001316 0.01% Gravity::update_max_rhs() 11 0.0001291 0.0001291 0.0001291 0.01% Gravity::solve_for_phi() 10 0.0001104 0.0001104 0.0001104 0.01% MLMG::actualBottomSolve() 82 9.567e-05 9.567e-05 9.567e-05 0.01% FabArrayBase::FB::FB() 56 9.134e-05 9.134e-05 9.134e-05 0.01% MLMG::mgVcycle_down::0 82 8.596e-05 8.596e-05 8.596e-05 0.01% Castro::Castro() 1 8.52e-05 8.52e-05 8.52e-05 0.01% MLMG::mgVcycle_down::1 82 8.28e-05 8.28e-05 8.28e-05 0.01% MLMG::mgVcycle_down::2 82 8.171e-05 8.171e-05 8.171e-05 0.01% MLMG::mgVcycle_down::4 82 8.033e-05 8.033e-05 8.033e-05 0.01% MLMG::mgVcycle_down::3 82 7.739e-05 7.739e-05 7.739e-05 0.01% AmrLevel::checkPoint() 3 7.622e-05 7.622e-05 7.622e-05 0.01% Castro::initialize_advance() 10 7.129e-05 7.129e-05 7.129e-05 0.01% MLMG::solve() 11 7.111e-05 7.111e-05 7.111e-05 0.01% Castro::post_timestep() 10 7.021e-05 7.021e-05 7.021e-05 0.01% Castro::advance() 10 6.819e-05 6.819e-05 6.819e-05 0.01% Castro::clean_state() 62 6.631e-05 6.631e-05 6.631e-05 0.01% Castro::finalize_advance() 10 6.487e-05 6.487e-05 6.487e-05 0.01% MLMG::mgVcycle_up::4 82 5.923e-05 5.923e-05 5.923e-05 0.01% MLMG::oneIter() 82 5.738e-05 5.738e-05 5.738e-05 0.01% Castro::initialize_do_advance() 10 5.615e-05 5.615e-05 5.615e-05 0.01% MLMG::mgVcycle_up::0 82 5.382e-05 5.382e-05 5.382e-05 0.01% MLMG::mgVcycle_up::3 82 5.102e-05 5.102e-05 5.102e-05 0.01% MLMG::mgVcycle_up::1 82 5.067e-05 5.067e-05 5.067e-05 0.01% Castro::do_advance_ctu() 10 5.013e-05 5.013e-05 5.013e-05 0.01% MLMG::mgVcycle_up::2 82 4.897e-05 4.897e-05 4.897e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.789e-05 4.789e-05 4.789e-05 0.01% MLCellLinOp::solutionResidual() 93 4.747e-05 4.747e-05 4.747e-05 0.01% Castro::finalize_do_advance() 10 4.647e-05 4.647e-05 4.647e-05 0.01% Castro::swap_state_time_levels() 10 3.977e-05 3.977e-05 3.977e-05 0.00% MLMG::ResNormInf() 93 3.887e-05 3.887e-05 3.887e-05 0.00% MLMG::mgVcycle_bottom 82 3.616e-05 3.616e-05 3.616e-05 0.00% StateData::define() 4 3.482e-05 3.482e-05 3.482e-05 0.00% MLMG::computeResidual() 82 3.408e-05 3.408e-05 3.408e-05 0.00% Castro::enforce_consistent_e() 1 3.279e-05 3.279e-05 3.279e-05 0.00% FillPatchSingleLevel 41 3.277e-05 3.277e-05 3.277e-05 0.00% MLPoisson::define() 11 2.646e-05 2.646e-05 2.646e-05 0.00% Amr::writeSmallPlotFile() 1 2.602e-05 2.602e-05 2.602e-05 0.00% Castro::construct_new_gravity() 10 2.522e-05 2.522e-05 2.522e-05 0.00% makeSFC 55 2.495e-05 2.495e-05 2.495e-05 0.00% Castro::initMFs() 1 2.411e-05 2.411e-05 2.411e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.392e-05 2.392e-05 2.392e-05 0.00% Castro::do_old_sources() 10 2.083e-05 2.083e-05 2.083e-05 0.00% Amr::FinalizeInit() 1 2.075e-05 2.075e-05 2.075e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.803e-05 1.803e-05 1.803e-05 0.00% Castro::buildMetrics() 1 1.746e-05 1.746e-05 1.746e-05 0.00% Castro::construct_new_source() 50 1.738e-05 1.738e-05 1.738e-05 0.00% MLLinOp::define() 11 1.71e-05 1.71e-05 1.71e-05 0.00% Castro::construct_old_source() 50 1.674e-05 1.674e-05 1.674e-05 0.00% Castro::do_new_sources() 10 1.646e-05 1.646e-05 1.646e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.605e-05 1.605e-05 1.605e-05 0.00% DistributionMapping::Distribute() 56 1.566e-05 1.566e-05 1.566e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.367e-05 1.367e-05 1.367e-05 0.00% Amr::defBaseLevel() 1 1.32e-05 1.32e-05 1.32e-05 0.00% Castro::construct_old_gravity() 10 1.219e-05 1.219e-05 1.219e-05 0.00% Castro::check_for_nan() 20 1.182e-05 1.182e-05 1.182e-05 0.00% Castro::apply_source_to_state() 20 1.097e-05 1.097e-05 1.097e-05 0.00% MLPoisson::prepareForSolve() 11 9.803e-06 9.803e-06 9.803e-06 0.00% Amr::initSubcycle() 1 9.111e-06 9.111e-06 9.111e-06 0.00% Gravity::swapTimeLevels() 10 8.767e-06 8.767e-06 8.767e-06 0.00% MLMG::computeMLResidual() 11 8.098e-06 8.098e-06 8.098e-06 0.00% Gravity::actual_multilevel_solve() 1 8.081e-06 8.081e-06 8.081e-06 0.00% Castro::computeNewDt() 9 6.977e-06 6.977e-06 6.977e-06 0.00% MLMG::getGradSolution() 11 6.497e-06 6.497e-06 6.497e-06 0.00% Castro::expand_state() 10 5.549e-06 5.549e-06 5.549e-06 0.00% AmrLevel::checkPointPost() 3 5.361e-06 5.361e-06 5.361e-06 0.00% Castro::retry_advance_ctu() 10 4.991e-06 4.991e-06 4.991e-06 0.00% Amr::InitializeInit() 1 4.885e-06 4.885e-06 4.885e-06 0.00% Castro::post_init() 1 3.976e-06 3.976e-06 3.976e-06 0.00% MLMG::MLRhsNormInf() 11 3.94e-06 3.94e-06 3.94e-06 0.00% Gravity::set_mass_offset() 11 3.847e-06 3.847e-06 3.847e-06 0.00% MLMG::MLResNormInf() 11 3.556e-06 3.556e-06 3.556e-06 0.00% Castro::computeInitialDt() 2 2.913e-06 2.913e-06 2.913e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.849e-06 2.849e-06 2.849e-06 0.00% Castro::FluxRegCrseInit 10 2.82e-06 2.82e-06 2.82e-06 0.00% Amr::init() 1 2.784e-06 2.784e-06 2.784e-06 0.00% Castro::FluxRegFineAdd() 10 2.141e-06 2.141e-06 2.141e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-06 0.00% AmrLevel::checkPointPre() 3 1.794e-06 1.794e-06 1.794e-06 0.00% Amr::initialInit() 1 1.571e-06 1.571e-06 1.571e-06 0.00% Castro::post_regrid() 1 9.92e-07 9.92e-07 9.92e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9084 0.9084 0.9084 100.00% Amr::coarseTimeStep() 10 0.7358 0.7358 0.7358 81.00% Amr::timeStep() 10 0.6177 0.6177 0.6177 67.99% Castro::advance() 10 0.6065 0.6065 0.6065 66.76% Castro::subcycle_advance_ctu() 10 0.5933 0.5933 0.5933 65.31% Castro::do_advance_ctu() 10 0.5931 0.5931 0.5931 65.29% Gravity::solve_phi_with_mlmg() 11 0.2761 0.2761 0.2761 30.39% Gravity::actual_solve_with_mlmg() 11 0.2701 0.2701 0.2701 29.74% Castro::construct_ctu_hydro_source() 10 0.2616 0.2616 0.2616 28.79% Castro::construct_new_gravity() 10 0.2574 0.2574 0.2574 28.33% MLMG::solve() 11 0.2498 0.2498 0.2498 27.50% Gravity::solve_for_phi() 10 0.2368 0.2368 0.2368 26.06% MLMG::oneIter() 82 0.2358 0.2358 0.2358 25.96% VisMF::Write(FabArray) 11 0.2327 0.2327 0.2327 25.62% MLMG::mgVcycle() 82 0.2322 0.2322 0.2322 25.56% Amr::checkPoint() 3 0.1733 0.1733 0.1733 19.08% AmrLevel::checkPoint() 3 0.1693 0.1693 0.1693 18.64% StateData::checkPoint() 12 0.1693 0.1693 0.1693 18.63% Amr::init() 1 0.1386 0.1386 0.1386 15.25% MLCellLinOp::smooth() 1640 0.1152 0.1152 0.1152 12.68% MLCellLinOp::applyBC() 4433 0.1081 0.1081 0.1081 11.90% MLMG::mgVcycle_bottom 82 0.07113 0.07113 0.07113 7.83% MLMG::actualBottomSolve() 82 0.0711 0.0711 0.0711 7.83% MLCGSolver::bicgstab 82 0.07042 0.07042 0.07042 7.75% Amr::writePlotFile() 2 0.06648 0.06648 0.06648 7.32% AmrLevel::FillPatch() 41 0.05893 0.05893 0.05893 6.49% FillPatchIterator::Initialize 41 0.05478 0.05478 0.05478 6.03% FillPatchIterator::FillFromLevel0() 41 0.05329 0.05329 0.05329 5.87% FillPatchSingleLevel 41 0.05324 0.05324 0.05324 5.86% Castro::clean_state() 62 0.05126 0.05126 0.05126 5.64% StateDataPhysBCFunct::() 41 0.04906 0.04906 0.04906 5.40% Amr::initialInit() 1 0.04723 0.04723 0.04723 5.20% Amr::FinalizeInit() 1 0.04336 0.04336 0.04336 4.77% Castro::post_init() 1 0.04204 0.04204 0.04204 4.63% Gravity::multilevel_solve_for_new_phi() 1 0.03973 0.03973 0.03973 4.37% Gravity::actual_multilevel_solve() 1 0.03972 0.03972 0.03972 4.37% MLCellLinOp::apply() 1142 0.03546 0.03546 0.03546 3.90% MLMG::mgVcycle_down::0 82 0.03364 0.03364 0.03364 3.70% FabArray::FillBoundary() 4023 0.03295 0.03295 0.03295 3.63% FillBoundary_nowait() 4023 0.03211 0.03211 0.03211 3.54% MLPoisson::Fsmooth() 3280 0.03137 0.03137 0.03137 3.45% MLMG::mgVcycle_up::0 82 0.02557 0.02557 0.02557 2.81% StateData::FillBoundary(geom) 328 0.02309 0.02309 0.02309 2.54% Gravity::get_new_grav_vector() 11 0.02261 0.02261 0.02261 2.49% MLCellLinOp::correctionResidual() 492 0.02174 0.02174 0.02174 2.39% Castro::initialize_do_advance() 10 0.02107 0.02107 0.02107 2.32% Castro::computeTemp() 63 0.02077 0.02077 0.02077 2.29% amrex::Dot() 1114 0.0198 0.0198 0.0198 2.18% MLMG:computeResOfCorrection() 410 0.01918 0.01918 0.01918 2.11% Castro::normalize_species() 62 0.0189 0.0189 0.0189 2.08% Castro::construct_old_gravity() 10 0.01887 0.01887 0.01887 2.08% Gravity::get_old_grav_vector() 10 0.01886 0.01886 0.01886 2.08% Castro::do_old_sources() 10 0.01864 0.01864 0.01864 2.05% MLPoisson::define() 11 0.01611 0.01611 0.01611 1.77% MLMG::mgVcycle_down::1 82 0.01536 0.01536 0.01536 1.69% amrex::Copy() 1029 0.01456 0.01456 0.01456 1.60% MLMG::mgVcycle_down::2 82 0.01431 0.01431 0.01431 1.57% FabArray::ParallelCopy() 861 0.01415 0.01415 0.01415 1.56% MLMG::mgVcycle_down::3 82 0.01402 0.01402 0.01402 1.54% FabArray::ParallelCopy_nowait() 861 0.01391 0.01391 0.01391 1.53% FabArray::norminf() 743 0.01391 0.01391 0.01391 1.53% MLMG::mgVcycle_down::4 82 0.01383 0.01383 0.01383 1.52% Castro::expand_state() 10 0.0128 0.0128 0.0128 1.41% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.40% Castro::initialize_advance() 10 0.01251 0.01251 0.01251 1.38% Castro::do_new_sources() 10 0.0125 0.0125 0.0125 1.38% MLCGSolver::ParallelAllReduce 1514 0.01191 0.01191 0.01191 1.31% MLMG::addInterpCorrection() 410 0.0115 0.0115 0.0115 1.27% MLMG::mgVcycle_up::4 82 0.01118 0.01118 0.01118 1.23% MLMG::mgVcycle_up::1 82 0.01117 0.01117 0.01117 1.23% Castro::post_timestep() 10 0.01104 0.01104 0.01104 1.21% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.20% MLMG::mgVcycle_up::2 82 0.01089 0.01089 0.01089 1.20% amrex::average_down 410 0.01079 0.01079 0.01079 1.19% MLMG::mgVcycle_up::3 82 0.01075 0.01075 0.01075 1.18% MLPoisson::Fapply() 1142 0.01001 0.01001 0.01001 1.10% Castro::enforce_min_density() 62 0.009811 0.009811 0.009811 1.08% FabArray::Saxpy() 813 0.007939 0.007939 0.007939 0.87% FabArray::Xpay() 821 0.007827 0.007827 0.007827 0.86% MLCellLinOp::solutionResidual() 93 0.006988 0.006988 0.006988 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006326 0.006326 0.006326 0.70% MLMG::computeResidual() 82 0.006028 0.006028 0.006028 0.66% Gravity::fill_multipole_BCs() 11 0.005716 0.005716 0.005716 0.63% Castro::estTimeStep() 21 0.004778 0.004778 0.004778 0.53% MLCellLinOp::defineBC() 11 0.004671 0.004671 0.004671 0.51% MLMG::prepareForSolve() 11 0.00453 0.00453 0.00453 0.50% BndryData::define() 11 0.004465 0.004465 0.004465 0.49% FabArray::LinComb() 557 0.004359 0.004359 0.004359 0.48% amrex::Add() 164 0.004305 0.004305 0.004305 0.47% Amr::InitializeInit() 1 0.00387 0.00387 0.00387 0.43% Amr::defBaseLevel() 1 0.003865 0.003865 0.003865 0.43% Castro::initData() 1 0.003376 0.003376 0.003376 0.37% Castro::construct_new_source() 50 0.002674 0.002674 0.002674 0.29% Castro::construct_new_gravity_source() 10 0.002656 0.002656 0.002656 0.29% Castro::enforce_speed_limit() 62 0.002328 0.002328 0.002328 0.26% Castro::finalize_do_advance() 10 0.002172 0.002172 0.002172 0.24% MLMG::ResNormInf() 93 0.002132 0.002132 0.002132 0.23% Castro::construct_old_source() 50 0.002112 0.002112 0.002112 0.23% Castro::computeNewDt() 9 0.002099 0.002099 0.002099 0.23% Castro::construct_old_gravity_source() 10 0.002095 0.002095 0.002095 0.23% Castro::apply_source_to_state() 20 0.001804 0.001804 0.001804 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001638 0.001638 0.001638 0.18% Castro::reset_internal_energy(Fab) 504 0.00153 0.00153 0.00153 0.17% FabArrayBase::getCPC() 1323 0.001418 0.001418 0.001418 0.16% MLMG::getGradSolution() 11 0.001363 0.001363 0.001363 0.15% MLCellLinOp::compGrad() 11 0.001357 0.001357 0.001357 0.15% MLCellLinOp::setLevelBC() 11 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001314 0.001314 0.001314 0.14% FabArray::setDomainBndry() 41 0.001276 0.001276 0.001276 0.14% check_for_negative_density() 10 0.001268 0.001268 0.001268 0.14% Castro::check_for_nan() 20 0.001197 0.001197 0.001197 0.13% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.13% Castro::post_regrid() 1 0.001143 0.001143 0.001143 0.13% MLPoisson::prepareForSolve() 11 0.001102 0.001102 0.001102 0.12% MLCellLinOp::prepareForSolve() 11 0.001092 0.001092 0.001092 0.12% MLMG::computeMLResidual() 11 0.001002 0.001002 0.001002 0.11% Gravity::update_max_rhs() 11 0.0008372 0.0008372 0.0008372 0.09% FabArrayBase::getFB() 4023 0.0006863 0.0006863 0.0006863 0.08% FabArrayBase::CPC::define() 454 0.0006626 0.0006626 0.0006626 0.07% Castro::finalize_advance() 10 0.0005771 0.0005771 0.0005771 0.06% Castro::computeInitialDt() 2 0.0005635 0.0005635 0.0005635 0.06% Amr::InitAmr() 1 0.0005051 0.0005051 0.0005051 0.06% MLLinOp::define() 11 0.0004817 0.0004817 0.0004817 0.05% MLLinOp::defineGrids() 11 0.0004646 0.0004646 0.0004646 0.05% Gravity::swapTimeLevels() 10 0.0004312 0.0004312 0.0004312 0.05% Castro::Castro() 1 0.0004211 0.0004211 0.0004211 0.05% MLMG::MLResNormInf() 11 0.0002848 0.0002848 0.0002848 0.03% MultiFab::max() 11 0.000263 0.000263 0.000263 0.03% MLMG::MLRhsNormInf() 11 0.000216 0.000216 0.000216 0.02% Castro::buildMetrics() 1 0.0001524 0.0001524 0.0001524 0.02% Castro::create_source_corrector() 10 0.0001387 0.0001387 0.0001387 0.02% FabArrayBase::FB::FB() 56 9.134e-05 9.134e-05 9.134e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.314e-05 5.314e-05 5.314e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.086e-05 5.086e-05 5.086e-05 0.01% Castro::swap_state_time_levels() 10 3.977e-05 3.977e-05 3.977e-05 0.00% makeSFC 55 3.947e-05 3.947e-05 3.947e-05 0.00% StateData::define() 4 3.482e-05 3.482e-05 3.482e-05 0.00% Castro::enforce_consistent_e() 1 3.279e-05 3.279e-05 3.279e-05 0.00% Amr::writeSmallPlotFile() 1 2.602e-05 2.602e-05 2.602e-05 0.00% Castro::initMFs() 1 2.411e-05 2.411e-05 2.411e-05 0.00% DistributionMapping::Distribute() 56 1.566e-05 1.566e-05 1.566e-05 0.00% Amr::initSubcycle() 1 9.111e-06 9.111e-06 9.111e-06 0.00% AmrLevel::checkPointPost() 3 5.361e-06 5.361e-06 5.361e-06 0.00% Castro::retry_advance_ctu() 10 4.991e-06 4.991e-06 4.991e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.99e-06 3.99e-06 3.99e-06 0.00% Gravity::set_mass_offset() 11 3.847e-06 3.847e-06 3.847e-06 0.00% Castro::FluxRegCrseInit 10 2.82e-06 2.82e-06 2.82e-06 0.00% Castro::FluxRegFineAdd() 10 2.141e-06 2.141e-06 2.141e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-06 0.00% AmrLevel::checkPointPre() 3 1.794e-06 1.794e-06 1.794e-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 84 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 130 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 1208 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2056 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3384 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 258 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 212 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 10 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1764 B 2048 KiB Gravity::solve_for_phi() 80 80 533 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 2564 B 480 KiB VisMF::Write(FabArray) 656 656 3271 B 320 KiB Castro::normalize_species() 62 62 6781 B 320 KiB amrex::average_down 1067 1067 1198 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1102 B 257 KiB amrex::Dot() 1360 1360 3209 B 160 KiB FabArray::norminf() 907 907 2263 B 160 KiB check_for_negative_density() 10 10 219 B 160 KiB Castro::initData() 1 1 25 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 3309 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 91 B 4192 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 348 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 590 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 590 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3309 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 4433 4433 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 92 B 4192 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 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 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 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): 2422 [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.08-19-ge7d3d5a4fad6) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-19-ge7d3d5a4fad6) initialized Starting run at 08:35:45 UTC on 2023-08-07. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-19-ge7d3d5a4f Microphysics git describe: 23.08-3-g3d2714f8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.493222388 Restart time = 0.046084003 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.048754045 [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.055725978 [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.077108108 [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.078268764 [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.056022267 [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.032980935 seconds Ending run at 08:35:45 UTC on 2023-08-07. Run time = 0.396014499 Run time without initialization = 0.349334249 Average number of zones advanced per microsecond: 3.752 Average number of zones advanced per microsecond per rank: 3.752 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.396 ... 0.396 ... 0.396 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1354 0.1354 0.1354 34.18% VisMF::Read() 3 0.03993 0.03993 0.03993 10.08% MLCellLinOp::applyBC() 1946 0.0329 0.0329 0.0329 8.31% VisMF::Write(FabArray) 1 0.03136 0.03136 0.03136 7.92% MLPoisson::Fsmooth() 1440 0.0136 0.0136 0.0136 3.43% FillBoundary_nowait() 1766 0.01274 0.01274 0.01274 3.22% StateData::FillBoundary(geom) 160 0.01207 0.01207 0.01207 3.05% Castro::normalize_species() 30 0.009485 0.009485 0.009485 2.39% amrex::Dot() 484 0.008539 0.008539 0.008539 2.16% amrex::Copy() 463 0.00684 0.00684 0.00684 1.73% FabArray::setVal() 537 0.00608 0.00608 0.00608 1.54% FabArray::norminf() 326 0.006045 0.006045 0.006045 1.53% Castro::computeTemp() 30 0.006007 0.006007 0.006007 1.52% FabArray::ParallelCopy_nowait() 380 0.005927 0.005927 0.005927 1.50% Castro::enforce_min_density() 30 0.005263 0.005263 0.005263 1.33% MLCellLinOp::defineAuxData() 6 0.005256 0.005256 0.005256 1.33% StateDataPhysBCFunct::() 20 0.004568 0.004568 0.004568 1.15% MLPoisson::Fapply() 500 0.00432 0.00432 0.00432 1.09% Castro::estTimeStep() 10 0.003616 0.003616 0.003616 0.91% FabArray::Saxpy() 355 0.003534 0.003534 0.003534 0.89% FabArray::Xpay() 361 0.003406 0.003406 0.003406 0.86% Gravity::fill_multipole_BCs() 6 0.003098 0.003098 0.003098 0.78% MLMG::addInterpCorrection() 180 0.002872 0.002872 0.002872 0.73% amrex::average_down 180 0.002527 0.002527 0.002527 0.64% Amr::restart() 1 0.002524 0.002524 0.002524 0.64% BndryData::define() 6 0.001966 0.001966 0.001966 0.50% Castro::reset_internal_energy(MultiFab) 30 0.00187 0.00187 0.00187 0.47% FabArray::LinComb() 242 0.00186 0.00186 0.00186 0.47% amrex::Add() 72 0.001823 0.001823 0.001823 0.46% Amr::writePlotFile() 1 0.001458 0.001458 0.001458 0.37% Castro::construct_new_gravity_source() 5 0.001316 0.001316 0.001316 0.33% Castro::construct_old_gravity_source() 5 0.00121 0.00121 0.00121 0.31% MLCGSolver::bicgstab 36 0.001006 0.001006 0.001006 0.25% Castro::enforce_speed_limit() 30 0.0009485 0.0009485 0.0009485 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008942 0.0008942 0.0008942 0.23% Castro::reset_internal_energy(Fab) 240 0.000828 0.000828 0.000828 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007826 0.0007826 0.0007826 0.20% MLCellLinOp::setLevelBC() 6 0.0007305 0.0007305 0.0007305 0.18% check_for_negative_density() 5 0.0007255 0.0007255 0.0007255 0.18% FabArray::mult() 22 0.0006505 0.0006505 0.0006505 0.16% FabArray::setDomainBndry() 20 0.0006347 0.0006347 0.0006347 0.16% MLCellLinOp::prepareForSolve() 6 0.0006044 0.0006044 0.0006044 0.15% Castro::do_old_sources() 5 0.0006029 0.0006029 0.0006029 0.15% MultiFab::contains_nan() 10 0.0005929 0.0005929 0.0005929 0.15% MLCellLinOp::smooth() 720 0.0005767 0.0005767 0.0005767 0.15% MLCellLinOp::compGrad() 6 0.0004773 0.0004773 0.0004773 0.12% MLMG::prepareForSolve() 6 0.0004735 0.0004735 0.0004735 0.12% FabArrayBase::CPC::define() 244 0.0004249 0.0004249 0.0004249 0.11% Amr::InitAmr() 1 0.0003981 0.0003981 0.0003981 0.10% FabArray::FillBoundary() 1766 0.0003661 0.0003661 0.0003661 0.09% FabArrayBase::getCPC() 632 0.0003545 0.0003545 0.0003545 0.09% Gravity::get_old_grav_vector() 5 0.0002758 0.0002758 0.0002758 0.07% main() 1 0.0002744 0.0002744 0.0002744 0.07% FabArrayBase::getFB() 1766 0.0002495 0.0002495 0.0002495 0.06% Gravity::get_new_grav_vector() 5 0.0002338 0.0002338 0.0002338 0.06% MLCellLinOp::apply() 500 0.0002129 0.0002129 0.0002129 0.05% Amr::coarseTimeStep() 5 0.000212 0.000212 0.000212 0.05% MLLinOp::defineGrids() 6 0.0001677 0.0001677 0.0001677 0.04% AmrLevel::FillPatch() 20 0.0001651 0.0001651 0.0001651 0.04% MLMG::mgVcycle() 36 0.0001499 0.0001499 0.0001499 0.04% MLCGSolver::ParallelAllReduce 659 0.0001334 0.0001334 0.0001334 0.03% MultiFab::max() 6 0.0001318 0.0001318 0.0001318 0.03% FabArray::ParallelCopy() 380 0.0001148 0.0001148 0.0001148 0.03% MLCellLinOp::defineBC() 6 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.000105 0.000105 0.000105 0.03% MLCellLinOp::correctionResidual() 216 0.0001035 0.0001035 0.0001035 0.03% Castro::construct_new_source() 25 0.0001033 0.0001033 0.0001033 0.03% Castro::do_new_sources() 5 0.0001031 0.0001031 0.0001031 0.03% Amr::timeStep() 5 8.301e-05 8.301e-05 8.301e-05 0.02% Castro::subcycle_advance_ctu() 5 7.448e-05 7.448e-05 7.448e-05 0.02% AmrLevel::restart() 1 7.418e-05 7.418e-05 7.418e-05 0.02% StateData::restartDoit() 4 6.339e-05 6.339e-05 6.339e-05 0.02% Gravity::update_max_rhs() 6 6.274e-05 6.274e-05 6.274e-05 0.02% Castro::create_source_corrector() 5 6.147e-05 6.147e-05 6.147e-05 0.02% Gravity::solve_for_phi() 5 6.032e-05 6.032e-05 6.032e-05 0.02% FabArrayBase::FB::FB() 26 5.878e-05 5.878e-05 5.878e-05 0.01% Castro::finalize_do_advance() 5 5.822e-05 5.822e-05 5.822e-05 0.01% Castro::advance() 5 5.73e-05 5.73e-05 5.73e-05 0.01% MLMG:computeResOfCorrection() 180 5.328e-05 5.328e-05 5.328e-05 0.01% MLMG::actualBottomSolve() 36 4.759e-05 4.759e-05 4.759e-05 0.01% MLMG::mgVcycle_down::0 36 4.306e-05 4.306e-05 4.306e-05 0.01% MLMG::mgVcycle_down::1 36 4.12e-05 4.12e-05 4.12e-05 0.01% MLMG::mgVcycle_down::4 36 3.876e-05 3.876e-05 3.876e-05 0.01% MLMG::mgVcycle_down::2 36 3.85e-05 3.85e-05 3.85e-05 0.01% MLMG::mgVcycle_down::3 36 3.75e-05 3.75e-05 3.75e-05 0.01% MLMG::solve() 6 3.566e-05 3.566e-05 3.566e-05 0.01% Castro::initialize_advance() 5 3.379e-05 3.379e-05 3.379e-05 0.01% Castro::clean_state() 30 3.219e-05 3.219e-05 3.219e-05 0.01% Castro::construct_old_source() 25 3.179e-05 3.179e-05 3.179e-05 0.01% MLMG::mgVcycle_up::4 36 2.976e-05 2.976e-05 2.976e-05 0.01% Castro::finalize_advance() 5 2.876e-05 2.876e-05 2.876e-05 0.01% Castro::initialize_do_advance() 5 2.865e-05 2.865e-05 2.865e-05 0.01% Amr::writeSmallPlotFile() 1 2.798e-05 2.798e-05 2.798e-05 0.01% Castro::buildMetrics() 1 2.752e-05 2.752e-05 2.752e-05 0.01% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.01% Castro::do_advance_ctu() 5 2.489e-05 2.489e-05 2.489e-05 0.01% MLMG::oneIter() 36 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::swap_state_time_levels() 5 2.412e-05 2.412e-05 2.412e-05 0.01% MLMG::mgVcycle_up::3 36 2.347e-05 2.347e-05 2.347e-05 0.01% MLMG::mgVcycle_up::0 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLCellLinOp::solutionResidual() 42 2.329e-05 2.329e-05 2.329e-05 0.01% MLMG::mgVcycle_up::2 36 2.285e-05 2.285e-05 2.285e-05 0.01% MLMG::mgVcycle_up::1 36 2.25e-05 2.25e-05 2.25e-05 0.01% MLMG::ResNormInf() 42 2.142e-05 2.142e-05 2.142e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.122e-05 2.122e-05 2.122e-05 0.01% Castro::post_restart() 1 2.104e-05 2.104e-05 2.104e-05 0.01% MLPoisson::define() 6 1.894e-05 1.894e-05 1.894e-05 0.00% MLMG::mgVcycle_bottom 36 1.573e-05 1.573e-05 1.573e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.55e-05 1.55e-05 1.55e-05 0.00% FillPatchSingleLevel 20 1.527e-05 1.527e-05 1.527e-05 0.00% MLMG::computeResidual() 36 1.396e-05 1.396e-05 1.396e-05 0.00% makeSFC 30 1.32e-05 1.32e-05 1.32e-05 0.00% Castro::construct_new_gravity() 5 1.275e-05 1.275e-05 1.275e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.251e-05 1.251e-05 1.251e-05 0.00% MLLinOp::define() 6 1.14e-05 1.14e-05 1.14e-05 0.00% Amr::initSubcycle() 1 9.062e-06 9.062e-06 9.062e-06 0.00% DistributionMapping::Distribute() 31 8.659e-06 8.659e-06 8.659e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.68e-06 7.68e-06 7.68e-06 0.00% Gravity::actual_multilevel_solve() 1 7.311e-06 7.311e-06 7.311e-06 0.00% Castro::construct_old_gravity() 5 6.671e-06 6.671e-06 6.671e-06 0.00% Castro::apply_source_to_state() 10 6.144e-06 6.144e-06 6.144e-06 0.00% Castro::check_for_nan() 10 5.58e-06 5.58e-06 5.58e-06 0.00% Castro::post_timestep() 5 4.858e-06 4.858e-06 4.858e-06 0.00% MLPoisson::prepareForSolve() 6 4.466e-06 4.466e-06 4.466e-06 0.00% Gravity::swapTimeLevels() 5 4.327e-06 4.327e-06 4.327e-06 0.00% Castro::computeNewDt() 5 3.836e-06 3.836e-06 3.836e-06 0.00% MLMG::computeMLResidual() 6 3.594e-06 3.594e-06 3.594e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.419e-06 3.419e-06 3.419e-06 0.00% MLMG::getGradSolution() 6 3.374e-06 3.374e-06 3.374e-06 0.00% Castro::expand_state() 5 2.725e-06 2.725e-06 2.725e-06 0.00% Gravity::set_mass_offset() 6 2.583e-06 2.583e-06 2.583e-06 0.00% MLMG::MLResNormInf() 6 2.203e-06 2.203e-06 2.203e-06 0.00% Castro::retry_advance_ctu() 5 2.068e-06 2.068e-06 2.068e-06 0.00% MLMG::MLRhsNormInf() 6 1.94e-06 1.94e-06 1.94e-06 0.00% Castro::FluxRegCrseInit 5 1.587e-06 1.587e-06 1.587e-06 0.00% Castro::FluxRegFineAdd() 5 1.097e-06 1.097e-06 1.097e-06 0.00% Amr::init() 1 1.03e-06 1.03e-06 1.03e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.396 0.396 0.396 100.00% Amr::coarseTimeStep() 5 0.3161 0.3161 0.3161 79.81% Amr::timeStep() 5 0.3139 0.3139 0.3139 79.25% Castro::advance() 5 0.3086 0.3086 0.3086 77.92% Castro::subcycle_advance_ctu() 5 0.3021 0.3021 0.3021 76.27% Castro::do_advance_ctu() 5 0.302 0.302 0.302 76.25% Castro::construct_ctu_hydro_source() 5 0.1397 0.1397 0.1397 35.29% Castro::construct_new_gravity() 5 0.1275 0.1275 0.1275 32.19% Gravity::solve_phi_with_mlmg() 6 0.1229 0.1229 0.1229 31.03% Gravity::solve_for_phi() 5 0.1199 0.1199 0.1199 30.27% Gravity::actual_solve_with_mlmg() 6 0.1195 0.1195 0.1195 30.18% MLMG::solve() 6 0.1084 0.1084 0.1084 27.38% MLMG::oneIter() 36 0.1017 0.1017 0.1017 25.68% MLMG::mgVcycle() 36 0.1002 0.1002 0.1002 25.29% MLCellLinOp::smooth() 720 0.04938 0.04938 0.04938 12.47% MLCellLinOp::applyBC() 1946 0.04631 0.04631 0.04631 11.69% Amr::init() 1 0.04614 0.04614 0.04614 11.65% Amr::restart() 1 0.04614 0.04614 0.04614 11.65% AmrLevel::restart() 1 0.04013 0.04013 0.04013 10.13% StateData::restartDoit() 4 0.04005 0.04005 0.04005 10.11% VisMF::Read() 3 0.03993 0.03993 0.03993 10.08% Amr::writePlotFile() 1 0.03309 0.03309 0.03309 8.35% VisMF::Write(FabArray) 1 0.03136 0.03136 0.03136 7.92% MLMG::mgVcycle_bottom 36 0.03075 0.03075 0.03075 7.76% MLMG::actualBottomSolve() 36 0.03074 0.03074 0.03074 7.76% MLCGSolver::bicgstab 36 0.03044 0.03044 0.03044 7.68% Castro::clean_state() 30 0.02443 0.02443 0.02443 6.17% AmrLevel::FillPatch() 20 0.02148 0.02148 0.02148 5.42% FillPatchIterator::Initialize 20 0.01944 0.01944 0.01944 4.91% FillPatchIterator::FillFromLevel0() 20 0.0187 0.0187 0.0187 4.72% FillPatchSingleLevel 20 0.01868 0.01868 0.01868 4.72% StateDataPhysBCFunct::() 20 0.01664 0.01664 0.01664 4.20% MLCellLinOp::apply() 500 0.01538 0.01538 0.01538 3.88% MLMG::mgVcycle_down::0 36 0.0142 0.0142 0.0142 3.59% MLPoisson::Fsmooth() 1440 0.0136 0.0136 0.0136 3.43% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.39% FillBoundary_nowait() 1766 0.01305 0.01305 0.01305 3.29% StateData::FillBoundary(geom) 160 0.01207 0.01207 0.01207 3.05% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.71% Castro::initialize_do_advance() 5 0.009744 0.009744 0.009744 2.46% Castro::normalize_species() 30 0.009485 0.009485 0.009485 2.39% MLCellLinOp::correctionResidual() 216 0.009358 0.009358 0.009358 2.36% MLPoisson::define() 6 0.00885 0.00885 0.00885 2.23% Castro::do_old_sources() 5 0.008834 0.008834 0.008834 2.23% Castro::computeTemp() 30 0.008704 0.008704 0.008704 2.20% amrex::Dot() 484 0.008539 0.008539 0.008539 2.16% MLMG:computeResOfCorrection() 180 0.008239 0.008239 0.008239 2.08% Gravity::get_new_grav_vector() 5 0.007479 0.007479 0.007479 1.89% Castro::construct_old_gravity() 5 0.007466 0.007466 0.007466 1.89% Gravity::get_old_grav_vector() 5 0.007459 0.007459 0.007459 1.88% amrex::Copy() 463 0.00684 0.00684 0.00684 1.73% MLMG::mgVcycle_down::1 36 0.006712 0.006712 0.006712 1.69% Castro::do_new_sources() 5 0.006558 0.006558 0.006558 1.66% FabArray::ParallelCopy() 380 0.006425 0.006425 0.006425 1.62% FabArray::ParallelCopy_nowait() 380 0.00631 0.00631 0.00631 1.59% MLMG::mgVcycle_down::2 36 0.006243 0.006243 0.006243 1.58% Castro::initialize_advance() 5 0.006181 0.006181 0.006181 1.56% MLMG::mgVcycle_down::3 36 0.006108 0.006108 0.006108 1.54% FabArray::setVal() 537 0.00608 0.00608 0.00608 1.54% MLMG::mgVcycle_down::4 36 0.006046 0.006046 0.006046 1.53% FabArray::norminf() 326 0.006045 0.006045 0.006045 1.53% MLCellLinOp::defineAuxData() 6 0.005996 0.005996 0.005996 1.51% Castro::enforce_min_density() 30 0.005263 0.005263 0.005263 1.33% Castro::post_timestep() 5 0.00517 0.00517 0.00517 1.31% MLCGSolver::ParallelAllReduce 659 0.005162 0.005162 0.005162 1.30% Castro::expand_state() 5 0.005119 0.005119 0.005119 1.29% MLMG::addInterpCorrection() 180 0.005051 0.005051 0.005051 1.28% MLMG::mgVcycle_up::1 36 0.004879 0.004879 0.004879 1.23% MLMG::mgVcycle_up::4 36 0.004871 0.004871 0.004871 1.23% MLMG::mgVcycle_up::2 36 0.004771 0.004771 0.004771 1.20% amrex::average_down 180 0.00475 0.00475 0.00475 1.20% MLMG::mgVcycle_up::3 36 0.004689 0.004689 0.004689 1.18% MLPoisson::Fapply() 500 0.00432 0.00432 0.00432 1.09% Castro::estTimeStep() 10 0.003616 0.003616 0.003616 0.91% FabArray::Saxpy() 355 0.003534 0.003534 0.003534 0.89% FabArray::Xpay() 361 0.003406 0.003406 0.003406 0.86% Castro::post_restart() 1 0.003322 0.003322 0.003322 0.84% Gravity::fill_multipole_BCs() 6 0.00323 0.00323 0.00323 0.82% Gravity::multilevel_solve_for_new_phi() 1 0.00321 0.00321 0.00321 0.81% Gravity::actual_multilevel_solve() 1 0.003194 0.003194 0.003194 0.81% MLCellLinOp::solutionResidual() 42 0.003148 0.003148 0.003148 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002698 0.002698 0.002698 0.68% MLCellLinOp::defineBC() 6 0.002627 0.002627 0.002627 0.66% MLMG::computeResidual() 36 0.002604 0.002604 0.002604 0.66% BndryData::define() 6 0.002517 0.002517 0.002517 0.64% MLMG::prepareForSolve() 6 0.002463 0.002463 0.002463 0.62% Castro::computeNewDt() 5 0.002011 0.002011 0.002011 0.51% FabArray::LinComb() 242 0.00186 0.00186 0.00186 0.47% amrex::Add() 72 0.001823 0.001823 0.001823 0.46% Castro::finalize_do_advance() 5 0.001667 0.001667 0.001667 0.42% Castro::construct_new_source() 25 0.001419 0.001419 0.001419 0.36% Castro::construct_new_gravity_source() 5 0.001316 0.001316 0.001316 0.33% Castro::construct_old_source() 25 0.001242 0.001242 0.001242 0.31% Castro::construct_old_gravity_source() 5 0.00121 0.00121 0.00121 0.31% MLMG::ResNormInf() 42 0.0009511 0.0009511 0.0009511 0.24% Castro::enforce_speed_limit() 30 0.0009485 0.0009485 0.0009485 0.24% Castro::apply_source_to_state() 10 0.0009207 0.0009207 0.0009207 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008942 0.0008942 0.0008942 0.23% Castro::reset_internal_energy(Fab) 240 0.000828 0.000828 0.000828 0.21% FabArrayBase::getCPC() 632 0.0007794 0.0007794 0.0007794 0.20% MLMG::getGradSolution() 6 0.000739 0.000739 0.000739 0.19% MLCellLinOp::compGrad() 6 0.0007356 0.0007356 0.0007356 0.19% MLCellLinOp::setLevelBC() 6 0.0007305 0.0007305 0.0007305 0.18% check_for_negative_density() 5 0.0007255 0.0007255 0.0007255 0.18% FabArray::mult() 22 0.0006505 0.0006505 0.0006505 0.16% FabArray::setDomainBndry() 20 0.0006347 0.0006347 0.0006347 0.16% MLPoisson::prepareForSolve() 6 0.0006089 0.0006089 0.0006089 0.15% MLCellLinOp::prepareForSolve() 6 0.0006044 0.0006044 0.0006044 0.15% Castro::check_for_nan() 10 0.0005985 0.0005985 0.0005985 0.15% MultiFab::contains_nan() 10 0.0005929 0.0005929 0.0005929 0.15% MLMG::computeMLResidual() 6 0.0005609 0.0005609 0.0005609 0.14% Gravity::update_max_rhs() 6 0.0004373 0.0004373 0.0004373 0.11% FabArrayBase::CPC::define() 244 0.0004249 0.0004249 0.0004249 0.11% Amr::InitAmr() 1 0.0004072 0.0004072 0.0004072 0.10% FabArrayBase::getFB() 1766 0.0003083 0.0003083 0.0003083 0.08% Castro::finalize_advance() 5 0.0002925 0.0002925 0.0002925 0.07% Gravity::swapTimeLevels() 5 0.0002282 0.0002282 0.0002282 0.06% MLLinOp::define() 6 0.0002084 0.0002084 0.0002084 0.05% MLLinOp::defineGrids() 6 0.000197 0.000197 0.000197 0.05% MLMG::MLResNormInf() 6 0.0001548 0.0001548 0.0001548 0.04% Castro::buildMetrics() 1 0.0001453 0.0001453 0.0001453 0.04% MultiFab::max() 6 0.0001318 0.0001318 0.0001318 0.03% MLMG::MLRhsNormInf() 6 0.0001158 0.0001158 0.0001158 0.03% Castro::create_source_corrector() 5 6.147e-05 6.147e-05 6.147e-05 0.02% FabArrayBase::FB::FB() 26 5.878e-05 5.878e-05 5.878e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.827e-05 2.827e-05 2.827e-05 0.01% Amr::writeSmallPlotFile() 1 2.798e-05 2.798e-05 2.798e-05 0.01% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.01% Castro::swap_state_time_levels() 5 2.412e-05 2.412e-05 2.412e-05 0.01% makeSFC 30 2.059e-05 2.059e-05 2.059e-05 0.01% Amr::initSubcycle() 1 9.062e-06 9.062e-06 9.062e-06 0.00% DistributionMapping::Distribute() 31 8.659e-06 8.659e-06 8.659e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.686e-06 4.686e-06 4.686e-06 0.00% Gravity::set_mass_offset() 6 2.583e-06 2.583e-06 2.583e-06 0.00% Castro::retry_advance_ctu() 5 2.068e-06 2.068e-06 2.068e-06 0.00% Castro::FluxRegCrseInit 5 1.587e-06 1.587e-06 1.587e-06 0.00% Castro::FluxRegFineAdd() 5 1.097e-06 1.097e-06 1.097e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-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 148 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 1047 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2337 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 6744 KiB 14 MiB MLMG::prepareForSolve() 361 361 3362 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6740 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 12 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2141 B 2048 KiB Gravity::solve_for_phi() 40 40 618 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 4351 B 480 KiB VisMF::Write(FabArray) 112 112 1227 B 320 KiB Castro::normalize_species() 30 30 7795 B 320 KiB amrex::average_down 469 469 1176 B 257 KiB MLMG::addInterpCorrection() 468 468 1101 B 257 KiB amrex::Dot() 592 592 3165 B 160 KiB FabArray::norminf() 398 398 2252 B 160 KiB check_for_negative_density() 5 5 287 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3270 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5981 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 347 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1344 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 111 KiB 8192 KiB VisMF::Write(FabArray) 120 120 243 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3270 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 1946 1946 213 B 9328 B amrex::Copy() 56 56 5981 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2669 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 44 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 520 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): 2422 [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.08-19-ge7d3d5a4fad6) finalized