Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 07:48:28 UTC on 2023-04-14. Successfully read inputs file ... Castro git describe: 23.04-11-gdc5a63a14 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 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.056645848 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032439533 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046185531 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049114214 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.049371647 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.047873353 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.07031426 [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.055960155 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.070455477 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.065940912 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.060724061 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.04820382 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.049886137 [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.055844298 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03248653 seconds Ending run at 07:48:29 UTC on 2023-04-14. Run time = 0.840548279 Run time without initialization = 0.703013119 Average number of zones advanced per microsecond: 3.729 Average number of zones advanced per microsecond per rank: 3.729 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8406 ... 0.8406 ... 0.8406 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2265 0.2265 0.2265 26.95% Castro::construct_ctu_hydro_source() 10 0.2051 0.2051 0.2051 24.39% MLCellLinOp::applyBC() 4433 0.07615 0.07615 0.07615 9.06% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.77% FillBoundary_nowait() 4023 0.03103 0.03103 0.03103 3.69% StateData::FillBoundary(geom) 328 0.02379 0.02379 0.02379 2.83% amrex::Dot() 1114 0.01998 0.01998 0.01998 2.38% Castro::normalize_species() 62 0.0153 0.0153 0.0153 1.82% amrex::Copy() 1029 0.01469 0.01469 0.01469 1.75% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.66% FabArray::ParallelCopy_nowait() 861 0.01316 0.01316 0.01316 1.57% Castro::computeTemp() 63 0.01305 0.01305 0.01305 1.55% StateDataPhysBCFunct::() 41 0.01294 0.01294 0.01294 1.54% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.53% MLPoisson::Fapply() 1142 0.01014 0.01014 0.01014 1.21% MLCellLinOp::defineAuxData() 11 0.009343 0.009343 0.009343 1.11% Castro::enforce_min_density() 62 0.009096 0.009096 0.009096 1.08% FabArray::Saxpy() 813 0.008041 0.008041 0.008041 0.96% FabArray::Xpay() 821 0.007928 0.007928 0.007928 0.94% MLMG::addInterpCorrection() 410 0.006706 0.006706 0.006706 0.80% Gravity::fill_multipole_BCs() 11 0.006557 0.006557 0.006557 0.78% amrex::average_down 410 0.00588 0.00588 0.00588 0.70% Castro::estTimeStep() 21 0.005345 0.005345 0.005345 0.64% FabArray::LinComb() 557 0.004402 0.004402 0.004402 0.52% amrex::Add() 164 0.004335 0.004335 0.004335 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004284 0.004284 0.004284 0.51% Amr::checkPoint() 3 0.003982 0.003982 0.003982 0.47% BndryData::define() 11 0.003556 0.003556 0.003556 0.42% Castro::construct_new_gravity_source() 10 0.00335 0.00335 0.00335 0.40% Castro::construct_old_gravity_source() 10 0.002732 0.002732 0.002732 0.33% Castro::do_advance_ctu() 10 0.002451 0.002451 0.002451 0.29% Amr::writePlotFile() 2 0.002364 0.002364 0.002364 0.28% MLCGSolver::bicgstab 82 0.00214 0.00214 0.00214 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001653 0.001653 0.001653 0.20% Gravity::actual_solve_with_mlmg() 11 0.001473 0.001473 0.001473 0.18% Castro::reset_internal_energy(Fab) 504 0.001429 0.001429 0.001429 0.17% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.16% FabArray::mult() 43 0.001303 0.001303 0.001303 0.15% FabArray::setDomainBndry() 41 0.001274 0.001274 0.001274 0.15% Castro::initData() 1 0.001214 0.001214 0.001214 0.14% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.14% MLCellLinOp::smooth() 1640 0.001154 0.001154 0.001154 0.14% MLCellLinOp::prepareForSolve() 11 0.001114 0.001114 0.001114 0.13% Castro::enforce_speed_limit() 62 0.001006 0.001006 0.001006 0.12% Castro::subcycle_advance_ctu() 10 0.0009476 0.0009476 0.0009476 0.11% MLCellLinOp::compGrad() 11 0.000895 0.000895 0.000895 0.11% MLMG::prepareForSolve() 11 0.0008649 0.0008649 0.0008649 0.10% FabArray::FillBoundary() 4023 0.0008194 0.0008194 0.0008194 0.10% FabArrayBase::getCPC() 1323 0.0007303 0.0007303 0.0007303 0.09% FabArrayBase::CPC::define() 454 0.0006688 0.0006688 0.0006688 0.08% Gravity::get_new_grav_vector() 11 0.000636 0.000636 0.000636 0.08% FabArrayBase::getFB() 4023 0.0005976 0.0005976 0.0005976 0.07% Gravity::get_old_grav_vector() 10 0.0005595 0.0005595 0.0005595 0.07% Amr::InitAmr() 1 0.0004629 0.0004629 0.0004629 0.06% MLCellLinOp::apply() 1142 0.0004559 0.0004559 0.0004559 0.05% Amr::coarseTimeStep() 10 0.0003701 0.0003701 0.0003701 0.04% MLMG::mgVcycle() 82 0.0003695 0.0003695 0.0003695 0.04% MLLinOp::defineGrids() 11 0.0003395 0.0003395 0.0003395 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003005 0.0003005 0.0003005 0.04% main() 1 0.000282 0.000282 0.000282 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% FabArray::ParallelCopy() 861 0.0002537 0.0002537 0.0002537 0.03% FillPatchIterator::Initialize 41 0.0002293 0.0002293 0.0002293 0.03% MLCellLinOp::correctionResidual() 492 0.0002171 0.0002171 0.0002171 0.03% MLCellLinOp::defineBC() 11 0.0002132 0.0002132 0.0002132 0.03% Amr::timeStep() 10 0.0001578 0.0001578 0.0001578 0.02% StateData::checkPoint() 12 0.0001378 0.0001378 0.0001378 0.02% Gravity::update_max_rhs() 11 0.0001214 0.0001214 0.0001214 0.01% Castro::create_source_corrector() 10 0.0001187 0.0001187 0.0001187 0.01% Gravity::solve_for_phi() 10 0.0001123 0.0001123 0.0001123 0.01% MLMG:computeResOfCorrection() 410 0.000111 0.000111 0.000111 0.01% MLMG::actualBottomSolve() 82 9.16e-05 9.16e-05 9.16e-05 0.01% FabArrayBase::FB::FB() 56 8.935e-05 8.935e-05 8.935e-05 0.01% Castro::Castro() 1 8.402e-05 8.402e-05 8.402e-05 0.01% MLMG::mgVcycle_down::0 82 8.361e-05 8.361e-05 8.361e-05 0.01% MLMG::mgVcycle_down::1 82 8.013e-05 8.013e-05 8.013e-05 0.01% MLMG::mgVcycle_down::2 82 7.826e-05 7.826e-05 7.826e-05 0.01% AmrLevel::checkPoint() 3 7.763e-05 7.763e-05 7.763e-05 0.01% Castro::expand_state() 10 7.685e-05 7.685e-05 7.685e-05 0.01% MLMG::solve() 11 7.573e-05 7.573e-05 7.573e-05 0.01% MLMG::mgVcycle_down::3 82 7.405e-05 7.405e-05 7.405e-05 0.01% Castro::clean_state() 62 7.277e-05 7.277e-05 7.277e-05 0.01% Castro::initialize_advance() 10 7.259e-05 7.259e-05 7.259e-05 0.01% MLMG::mgVcycle_down::4 82 7.212e-05 7.212e-05 7.212e-05 0.01% Castro::finalize_advance() 10 6.909e-05 6.909e-05 6.909e-05 0.01% MLMG::mgVcycle_up::4 82 6.516e-05 6.516e-05 6.516e-05 0.01% MLMG::mgVcycle_up::2 82 6.194e-05 6.194e-05 6.194e-05 0.01% MLMG::mgVcycle_up::0 82 5.425e-05 5.425e-05 5.425e-05 0.01% MLMG::mgVcycle_up::3 82 5.392e-05 5.392e-05 5.392e-05 0.01% MLMG::mgVcycle_up::1 82 5.374e-05 5.374e-05 5.374e-05 0.01% MLMG::oneIter() 82 5.159e-05 5.159e-05 5.159e-05 0.01% Castro::initialize_do_advance() 10 5.019e-05 5.019e-05 5.019e-05 0.01% MLCellLinOp::solutionResidual() 93 4.83e-05 4.83e-05 4.83e-05 0.01% Castro::swap_state_time_levels() 10 3.934e-05 3.934e-05 3.934e-05 0.00% Castro::finalize_do_advance() 10 3.806e-05 3.806e-05 3.806e-05 0.00% StateData::define() 4 3.481e-05 3.481e-05 3.481e-05 0.00% MLMG::ResNormInf() 93 3.422e-05 3.422e-05 3.422e-05 0.00% Castro::enforce_consistent_e() 1 3.264e-05 3.264e-05 3.264e-05 0.00% MLMG::mgVcycle_bottom 82 3.251e-05 3.251e-05 3.251e-05 0.00% Castro::post_timestep() 10 3.102e-05 3.102e-05 3.102e-05 0.00% MLMG::computeResidual() 82 3.008e-05 3.008e-05 3.008e-05 0.00% FillPatchSingleLevel 41 2.975e-05 2.975e-05 2.975e-05 0.00% makeSFC 55 2.969e-05 2.969e-05 2.969e-05 0.00% Castro::initMFs() 1 2.576e-05 2.576e-05 2.576e-05 0.00% Castro::construct_new_gravity() 10 2.413e-05 2.413e-05 2.413e-05 0.00% Amr::writeSmallPlotFile() 1 2.349e-05 2.349e-05 2.349e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.202e-05 2.202e-05 2.202e-05 0.00% MLPoisson::define() 11 2.194e-05 2.194e-05 2.194e-05 0.00% Castro::advance() 10 2.182e-05 2.182e-05 2.182e-05 0.00% Amr::FinalizeInit() 1 2.035e-05 2.035e-05 2.035e-05 0.00% Amr::defBaseLevel() 1 1.992e-05 1.992e-05 1.992e-05 0.00% Castro::construct_old_source() 50 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::construct_new_source() 50 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::buildMetrics() 1 1.816e-05 1.816e-05 1.816e-05 0.00% Castro::do_new_sources() 10 1.737e-05 1.737e-05 1.737e-05 0.00% Castro::do_old_sources() 10 1.55e-05 1.55e-05 1.55e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.541e-05 1.541e-05 1.541e-05 0.00% DistributionMapping::Distribute() 56 1.433e-05 1.433e-05 1.433e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.402e-05 1.402e-05 1.402e-05 0.00% MLMG::computeMLResidual() 11 1.4e-05 1.4e-05 1.4e-05 0.00% MLPoisson::prepareForSolve() 11 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::check_for_nan() 20 1.085e-05 1.085e-05 1.085e-05 0.00% Castro::apply_source_to_state() 20 1.002e-05 1.002e-05 1.002e-05 0.00% MLLinOp::define() 11 9.587e-06 9.587e-06 9.587e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.413e-06 9.413e-06 9.413e-06 0.00% Castro::construct_old_gravity() 10 9.27e-06 9.27e-06 9.27e-06 0.00% Gravity::swapTimeLevels() 10 8.632e-06 8.632e-06 8.632e-06 0.00% Amr::initSubcycle() 1 8.373e-06 8.373e-06 8.373e-06 0.00% Gravity::actual_multilevel_solve() 1 8.14e-06 8.14e-06 8.14e-06 0.00% Castro::computeNewDt() 9 6.95e-06 6.95e-06 6.95e-06 0.00% MLMG::getGradSolution() 11 6.35e-06 6.35e-06 6.35e-06 0.00% AmrLevel::checkPointPost() 3 5.033e-06 5.033e-06 5.033e-06 0.00% Castro::retry_advance_ctu() 10 4.557e-06 4.557e-06 4.557e-06 0.00% Amr::InitializeInit() 1 4.415e-06 4.415e-06 4.415e-06 0.00% Gravity::set_mass_offset() 11 4.318e-06 4.318e-06 4.318e-06 0.00% MLMG::MLRhsNormInf() 11 3.79e-06 3.79e-06 3.79e-06 0.00% Castro::post_init() 1 3.603e-06 3.603e-06 3.603e-06 0.00% MLMG::MLResNormInf() 11 3.575e-06 3.575e-06 3.575e-06 0.00% Amr::init() 1 2.825e-06 2.825e-06 2.825e-06 0.00% Castro::FluxRegCrseInit 10 2.822e-06 2.822e-06 2.822e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.751e-06 2.751e-06 2.751e-06 0.00% Castro::computeInitialDt() 2 2.331e-06 2.331e-06 2.331e-06 0.00% Castro::FluxRegFineAdd() 10 2.331e-06 2.331e-06 2.331e-06 0.00% AmrLevel::checkPointPre() 3 1.914e-06 1.914e-06 1.914e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.818e-06 1.818e-06 1.818e-06 0.00% Amr::initialInit() 1 1.48e-06 1.48e-06 1.48e-06 0.00% Castro::post_regrid() 1 9.28e-07 9.28e-07 9.28e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8406 0.8406 0.8406 100.00% Amr::coarseTimeStep() 10 0.6703 0.6703 0.6703 79.74% Amr::timeStep() 10 0.5544 0.5544 0.5544 65.96% Castro::advance() 10 0.5462 0.5462 0.5462 64.98% Castro::subcycle_advance_ctu() 10 0.5346 0.5346 0.5346 63.60% Castro::do_advance_ctu() 10 0.5337 0.5337 0.5337 63.49% Gravity::solve_phi_with_mlmg() 11 0.2792 0.2792 0.2792 33.21% Gravity::actual_solve_with_mlmg() 11 0.2721 0.2721 0.2721 32.38% Castro::construct_new_gravity() 10 0.2551 0.2551 0.2551 30.35% MLMG::solve() 11 0.2522 0.2522 0.2522 30.00% Gravity::solve_for_phi() 10 0.2395 0.2395 0.2395 28.50% MLMG::oneIter() 82 0.2381 0.2381 0.2381 28.32% MLMG::mgVcycle() 82 0.2344 0.2344 0.2344 27.89% VisMF::Write(FabArray) 11 0.2265 0.2265 0.2265 26.95% Castro::construct_ctu_hydro_source() 10 0.2051 0.2051 0.2051 24.39% Amr::checkPoint() 3 0.1686 0.1686 0.1686 20.06% AmrLevel::checkPoint() 3 0.1646 0.1646 0.1646 19.58% StateData::checkPoint() 12 0.1645 0.1645 0.1645 19.57% Amr::init() 1 0.1369 0.1369 0.1369 16.29% MLCellLinOp::smooth() 1640 0.1158 0.1158 0.1158 13.78% MLCellLinOp::applyBC() 4433 0.1087 0.1087 0.1087 12.93% MLMG::mgVcycle_bottom 82 0.07192 0.07192 0.07192 8.56% MLMG::actualBottomSolve() 82 0.07189 0.07189 0.07189 8.55% MLCGSolver::bicgstab 82 0.0712 0.0712 0.0712 8.47% Amr::writePlotFile() 2 0.06504 0.06504 0.06504 7.74% Amr::initialInit() 1 0.04773 0.04773 0.04773 5.68% Amr::FinalizeInit() 1 0.04356 0.04356 0.04356 5.18% Castro::clean_state() 62 0.04338 0.04338 0.04338 5.16% FillPatchIterator::Initialize 41 0.0423 0.0423 0.0423 5.03% Castro::post_init() 1 0.04214 0.04214 0.04214 5.01% FillPatchSingleLevel 41 0.0408 0.0408 0.0408 4.85% Gravity::multilevel_solve_for_new_phi() 1 0.04007 0.04007 0.04007 4.77% Gravity::actual_multilevel_solve() 1 0.04006 0.04006 0.04006 4.77% StateDataPhysBCFunct::() 41 0.03672 0.03672 0.03672 4.37% MLCellLinOp::apply() 1142 0.0358 0.0358 0.0358 4.26% MLMG::mgVcycle_down::0 82 0.03369 0.03369 0.03369 4.01% FabArray::FillBoundary() 4023 0.03253 0.03253 0.03253 3.87% FillBoundary_nowait() 4023 0.03171 0.03171 0.03171 3.77% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.77% MLMG::mgVcycle_up::0 82 0.02547 0.02547 0.02547 3.03% StateData::FillBoundary(geom) 328 0.02379 0.02379 0.02379 2.83% MLCellLinOp::correctionResidual() 492 0.02196 0.02196 0.02196 2.61% amrex::Dot() 1114 0.01998 0.01998 0.01998 2.38% MLMG:computeResOfCorrection() 410 0.01935 0.01935 0.01935 2.30% Castro::initialize_do_advance() 10 0.01884 0.01884 0.01884 2.24% Castro::computeTemp() 63 0.01876 0.01876 0.01876 2.23% Gravity::get_new_grav_vector() 11 0.01737 0.01737 0.01737 2.07% MLPoisson::define() 11 0.01579 0.01579 0.01579 1.88% MLMG::mgVcycle_down::1 82 0.01559 0.01559 0.01559 1.85% Castro::normalize_species() 62 0.0153 0.0153 0.0153 1.82% Castro::construct_old_gravity() 10 0.0149 0.0149 0.0149 1.77% Gravity::get_old_grav_vector() 10 0.01489 0.01489 0.01489 1.77% amrex::Copy() 1029 0.01469 0.01469 0.01469 1.75% MLMG::mgVcycle_down::2 82 0.01452 0.01452 0.01452 1.73% FabArray::ParallelCopy() 861 0.01423 0.01423 0.01423 1.69% MLMG::mgVcycle_down::3 82 0.01414 0.01414 0.01414 1.68% FabArray::norminf() 743 0.01398 0.01398 0.01398 1.66% FabArray::ParallelCopy_nowait() 861 0.01397 0.01397 0.01397 1.66% MLMG::mgVcycle_down::4 82 0.01395 0.01395 0.01395 1.66% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.53% MLCGSolver::ParallelAllReduce 1514 0.01203 0.01203 0.01203 1.43% MLMG::addInterpCorrection() 410 0.0118 0.0118 0.0118 1.40% Castro::do_new_sources() 10 0.01172 0.01172 0.01172 1.39% Castro::expand_state() 10 0.01148 0.01148 0.01148 1.37% MLMG::mgVcycle_up::4 82 0.01139 0.01139 0.01139 1.35% MLMG::mgVcycle_up::1 82 0.01138 0.01138 0.01138 1.35% MLMG::mgVcycle_up::2 82 0.01111 0.01111 0.01111 1.32% amrex::average_down 410 0.01097 0.01097 0.01097 1.31% Castro::initialize_advance() 10 0.01096 0.01096 0.01096 1.30% MLMG::mgVcycle_up::3 82 0.01089 0.01089 0.01089 1.30% MLCellLinOp::defineAuxData() 11 0.01063 0.01063 0.01063 1.26% Castro::do_old_sources() 10 0.01053 0.01053 0.01053 1.25% MLPoisson::Fapply() 1142 0.01014 0.01014 0.01014 1.21% Castro::enforce_min_density() 62 0.009096 0.009096 0.009096 1.08% Castro::post_timestep() 10 0.008071 0.008071 0.008071 0.96% FabArray::Saxpy() 813 0.008041 0.008041 0.008041 0.96% FabArray::Xpay() 821 0.007928 0.007928 0.007928 0.94% MLCellLinOp::solutionResidual() 93 0.007069 0.007069 0.007069 0.84% Gravity::fill_multipole_BCs() 11 0.006837 0.006837 0.006837 0.81% MLMG::computeResidual() 82 0.006099 0.006099 0.006099 0.73% Castro::reset_internal_energy(MultiFab) 63 0.005713 0.005713 0.005713 0.68% Castro::estTimeStep() 21 0.005345 0.005345 0.005345 0.64% MLCellLinOp::defineBC() 11 0.004725 0.004725 0.004725 0.56% MLMG::prepareForSolve() 11 0.004589 0.004589 0.004589 0.55% BndryData::define() 11 0.004512 0.004512 0.004512 0.54% FabArray::LinComb() 557 0.004402 0.004402 0.004402 0.52% amrex::Add() 164 0.004335 0.004335 0.004335 0.52% Amr::InitializeInit() 1 0.004173 0.004173 0.004173 0.50% Amr::defBaseLevel() 1 0.004169 0.004169 0.004169 0.50% Castro::initData() 1 0.003669 0.003669 0.003669 0.44% Castro::construct_new_source() 50 0.003369 0.003369 0.003369 0.40% Castro::construct_new_gravity_source() 10 0.00335 0.00335 0.00335 0.40% Castro::computeNewDt() 9 0.002942 0.002942 0.002942 0.35% Castro::construct_old_source() 50 0.002751 0.002751 0.002751 0.33% Castro::construct_old_gravity_source() 10 0.002732 0.002732 0.002732 0.33% MLMG::ResNormInf() 93 0.002068 0.002068 0.002068 0.25% Castro::apply_source_to_state() 20 0.001807 0.001807 0.001807 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001653 0.001653 0.001653 0.20% Castro::reset_internal_energy(Fab) 504 0.001429 0.001429 0.001429 0.17% FabArrayBase::getCPC() 1323 0.001399 0.001399 0.001399 0.17% MLMG::getGradSolution() 11 0.001376 0.001376 0.001376 0.16% MLCellLinOp::compGrad() 11 0.00137 0.00137 0.00137 0.16% MLCellLinOp::setLevelBC() 11 0.001356 0.001356 0.001356 0.16% FabArray::mult() 43 0.001303 0.001303 0.001303 0.15% FabArray::setDomainBndry() 41 0.001274 0.001274 0.001274 0.15% Castro::check_for_nan() 20 0.001209 0.001209 0.001209 0.14% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.14% Castro::post_regrid() 1 0.001155 0.001155 0.001155 0.14% MLPoisson::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% MLCellLinOp::prepareForSolve() 11 0.001114 0.001114 0.001114 0.13% MLMG::computeMLResidual() 11 0.001015 0.001015 0.001015 0.12% Castro::enforce_speed_limit() 62 0.001006 0.001006 0.001006 0.12% Castro::computeInitialDt() 2 0.0009422 0.0009422 0.0009422 0.11% Gravity::update_max_rhs() 11 0.0008243 0.0008243 0.0008243 0.10% FabArrayBase::getFB() 4023 0.0006869 0.0006869 0.0006869 0.08% FabArrayBase::CPC::define() 454 0.0006688 0.0006688 0.0006688 0.08% Castro::finalize_advance() 10 0.0005919 0.0005919 0.0005919 0.07% Amr::InitAmr() 1 0.0004713 0.0004713 0.0004713 0.06% Gravity::swapTimeLevels() 10 0.0004339 0.0004339 0.0004339 0.05% Castro::Castro() 1 0.0004316 0.0004316 0.0004316 0.05% MLLinOp::define() 11 0.0004078 0.0004078 0.0004078 0.05% MLLinOp::defineGrids() 11 0.0003982 0.0003982 0.0003982 0.05% MLMG::MLResNormInf() 11 0.0002861 0.0002861 0.0002861 0.03% MultiFab::max() 11 0.0002557 0.0002557 0.0002557 0.03% MLMG::MLRhsNormInf() 11 0.0002174 0.0002174 0.0002174 0.03% Castro::buildMetrics() 1 0.0001615 0.0001615 0.0001615 0.02% Castro::create_source_corrector() 10 0.0001187 0.0001187 0.0001187 0.01% FabArrayBase::FB::FB() 56 8.935e-05 8.935e-05 8.935e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.692e-05 5.692e-05 5.692e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.422e-05 4.422e-05 4.422e-05 0.01% makeSFC 55 4.29e-05 4.29e-05 4.29e-05 0.01% Castro::swap_state_time_levels() 10 3.934e-05 3.934e-05 3.934e-05 0.00% Castro::finalize_do_advance() 10 3.806e-05 3.806e-05 3.806e-05 0.00% StateData::define() 4 3.481e-05 3.481e-05 3.481e-05 0.00% Castro::enforce_consistent_e() 1 3.264e-05 3.264e-05 3.264e-05 0.00% Castro::initMFs() 1 2.576e-05 2.576e-05 2.576e-05 0.00% Amr::writeSmallPlotFile() 1 2.349e-05 2.349e-05 2.349e-05 0.00% DistributionMapping::Distribute() 56 1.433e-05 1.433e-05 1.433e-05 0.00% Amr::initSubcycle() 1 8.373e-06 8.373e-06 8.373e-06 0.00% AmrLevel::checkPointPost() 3 5.033e-06 5.033e-06 5.033e-06 0.00% Castro::retry_advance_ctu() 10 4.557e-06 4.557e-06 4.557e-06 0.00% Gravity::set_mass_offset() 11 4.318e-06 4.318e-06 4.318e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.868e-06 3.868e-06 3.868e-06 0.00% Castro::FluxRegCrseInit 10 2.822e-06 2.822e-06 2.822e-06 0.00% Castro::FluxRegFineAdd() 10 2.331e-06 2.331e-06 2.331e-06 0.00% AmrLevel::checkPointPre() 3 1.914e-06 1.914e-06 1.914e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.818e-06 1.818e-06 1.818e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 117 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1075 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2173 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3690 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 214 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1878 B 2048 KiB Gravity::solve_for_phi() 80 80 582 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 2596 B 480 KiB VisMF::Write(FabArray) 656 656 3498 B 320 KiB Castro::normalize_species() 62 62 5927 B 320 KiB amrex::average_down 1067 1067 1299 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1203 B 257 KiB amrex::Dot() 1360 1360 3507 B 160 KiB FabArray::norminf() 907 907 2462 B 160 KiB Castro::do_advance_ctu() 10 10 430 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3609 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 324 B 9648 B MLCellLinOp::applyBC() 8866 8866 234 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 379 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 604 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 624 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3609 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 4433 4433 232 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3858 B 6144 B Gravity::get_new_grav_vector() 3 3 2899 B 3072 B StateData::FillBoundary(geom) 1992 1992 51 B 2880 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-24-g27ef4ea56945) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 07:48:30 UTC on 2023-04-14. Successfully read inputs file ... Castro git describe: 23.04-11-gdc5a63a14 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.456398852 Restart time = 0.046248649 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.056822898 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.051837125 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.061386245 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.068454495 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069669278 [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.032370515 seconds Ending run at 07:48:30 UTC on 2023-04-14. Run time = 0.387851492 Run time without initialization = 0.341005129 Average number of zones advanced per microsecond: 3.844 Average number of zones advanced per microsecond per rank: 3.844 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3879 ... 0.3879 ... 0.3879 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1030 0.1030 0.1030 26.56% VisMF::Read() 3 0.03979 0.03979 0.03979 10.26% MLCellLinOp::applyBC() 1946 0.03531 0.03531 0.03531 9.10% VisMF::Write(FabArray) 1 0.03076 0.03076 0.03076 7.93% StateData::FillBoundary(geom) 160 0.02952 0.02952 0.02952 7.61% MLPoisson::Fsmooth() 1440 0.01476 0.01476 0.01476 3.81% FillBoundary_nowait() 1766 0.01286 0.01286 0.01286 3.31% amrex::Dot() 484 0.009041 0.009041 0.009041 2.33% Castro::normalize_species() 30 0.00891 0.00891 0.00891 2.30% amrex::Copy() 463 0.00716 0.00716 0.00716 1.85% FabArray::setVal() 537 0.00652 0.00652 0.00652 1.68% FabArray::ParallelCopy_nowait() 380 0.006472 0.006472 0.006472 1.67% FabArray::norminf() 326 0.00635 0.00635 0.00635 1.64% Castro::enforce_min_density() 30 0.00599 0.00599 0.00599 1.54% Castro::computeTemp() 30 0.005897 0.005897 0.005897 1.52% MLCellLinOp::defineAuxData() 6 0.005573 0.005573 0.005573 1.44% MLPoisson::Fapply() 500 0.004671 0.004671 0.004671 1.20% FabArray::Saxpy() 355 0.003835 0.003835 0.003835 0.99% FabArray::Xpay() 361 0.003614 0.003614 0.003614 0.93% MLMG::addInterpCorrection() 180 0.003161 0.003161 0.003161 0.81% amrex::average_down 180 0.002821 0.002821 0.002821 0.73% Gravity::fill_multipole_BCs() 6 0.002562 0.002562 0.002562 0.66% Amr::restart() 1 0.002498 0.002498 0.002498 0.64% Castro::estTimeStep() 10 0.002421 0.002421 0.002421 0.62% StateDataPhysBCFunct::() 20 0.002237 0.002237 0.002237 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002156 0.002156 0.002156 0.56% BndryData::define() 6 0.002084 0.002084 0.002084 0.54% FabArray::LinComb() 242 0.001999 0.001999 0.001999 0.52% Castro::construct_new_gravity_source() 5 0.001864 0.001864 0.001864 0.48% amrex::Add() 72 0.001857 0.001857 0.001857 0.48% Castro::enforce_speed_limit() 30 0.00172 0.00172 0.00172 0.44% Castro::do_advance_ctu() 5 0.001539 0.001539 0.001539 0.40% Castro::construct_old_gravity_source() 5 0.001508 0.001508 0.001508 0.39% Amr::writePlotFile() 1 0.001433 0.001433 0.001433 0.37% MLCGSolver::bicgstab 36 0.001174 0.001174 0.001174 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009992 0.0009992 0.0009992 0.26% Castro::reset_internal_energy(Fab) 240 0.0009092 0.0009092 0.0009092 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007964 0.0007964 0.0007964 0.21% MLCellLinOp::setLevelBC() 6 0.0007587 0.0007587 0.0007587 0.20% MLCellLinOp::smooth() 720 0.0007475 0.0007475 0.0007475 0.19% MLCellLinOp::prepareForSolve() 6 0.0006666 0.0006666 0.0006666 0.17% FabArray::mult() 22 0.0006641 0.0006641 0.0006641 0.17% FabArray::setDomainBndry() 20 0.0006441 0.0006441 0.0006441 0.17% MultiFab::contains_nan() 10 0.0006028 0.0006028 0.0006028 0.16% MLMG::prepareForSolve() 6 0.0005408 0.0005408 0.0005408 0.14% MLCellLinOp::compGrad() 6 0.0004933 0.0004933 0.0004933 0.13% FabArrayBase::CPC::define() 244 0.0004461 0.0004461 0.0004461 0.12% FabArray::FillBoundary() 1766 0.0004288 0.0004288 0.0004288 0.11% Amr::InitAmr() 1 0.0003986 0.0003986 0.0003986 0.10% FabArrayBase::getCPC() 632 0.0003848 0.0003848 0.0003848 0.10% Gravity::get_old_grav_vector() 5 0.0003246 0.0003246 0.0003246 0.08% main() 1 0.0002922 0.0002922 0.0002922 0.08% FabArrayBase::getFB() 1766 0.0002854 0.0002854 0.0002854 0.07% Gravity::get_new_grav_vector() 5 0.0002806 0.0002806 0.0002806 0.07% MLCellLinOp::apply() 500 0.0002702 0.0002702 0.0002702 0.07% MLMG::mgVcycle() 36 0.0002291 0.0002291 0.0002291 0.06% Amr::coarseTimeStep() 5 0.000226 0.000226 0.000226 0.06% MLLinOp::defineGrids() 6 0.0001963 0.0001963 0.0001963 0.05% Castro::construct_new_source() 25 0.0001701 0.0001701 0.0001701 0.04% MLCGSolver::ParallelAllReduce 659 0.0001503 0.0001503 0.0001503 0.04% Castro::create_source_corrector() 5 0.0001495 0.0001495 0.0001495 0.04% MultiFab::max() 6 0.0001413 0.0001413 0.0001413 0.04% FabArray::ParallelCopy() 380 0.0001328 0.0001328 0.0001328 0.03% FillPatchIterator::Initialize 20 0.0001306 0.0001306 0.0001306 0.03% MLCellLinOp::correctionResidual() 216 0.0001262 0.0001262 0.0001262 0.03% MLCellLinOp::defineBC() 6 0.0001159 0.0001159 0.0001159 0.03% Castro::post_timestep() 5 0.0001059 0.0001059 0.0001059 0.03% Castro::initialize_do_advance() 5 9.005e-05 9.005e-05 9.005e-05 0.02% Amr::timeStep() 5 8.939e-05 8.939e-05 8.939e-05 0.02% AmrLevel::restart() 1 7.842e-05 7.842e-05 7.842e-05 0.02% Castro::construct_old_source() 25 7.731e-05 7.731e-05 7.731e-05 0.02% Castro::subcycle_advance_ctu() 5 7.315e-05 7.315e-05 7.315e-05 0.02% StateData::restartDoit() 4 6.95e-05 6.95e-05 6.95e-05 0.02% Gravity::update_max_rhs() 6 6.578e-05 6.578e-05 6.578e-05 0.02% FabArrayBase::FB::FB() 26 6.411e-05 6.411e-05 6.411e-05 0.02% Castro::construct_old_gravity() 5 5.944e-05 5.944e-05 5.944e-05 0.02% MLMG:computeResOfCorrection() 180 5.757e-05 5.757e-05 5.757e-05 0.01% Gravity::solve_for_phi() 5 5.577e-05 5.577e-05 5.577e-05 0.01% Castro::expand_state() 5 5.389e-05 5.389e-05 5.389e-05 0.01% MLMG::mgVcycle_down::1 36 4.979e-05 4.979e-05 4.979e-05 0.01% MLMG::mgVcycle_down::0 36 4.893e-05 4.893e-05 4.893e-05 0.01% MLMG::mgVcycle_down::4 36 4.863e-05 4.863e-05 4.863e-05 0.01% MLMG::mgVcycle_down::2 36 4.803e-05 4.803e-05 4.803e-05 0.01% MLMG::mgVcycle_down::3 36 4.754e-05 4.754e-05 4.754e-05 0.01% Castro::advance() 5 4.714e-05 4.714e-05 4.714e-05 0.01% MLMG::actualBottomSolve() 36 4.61e-05 4.61e-05 4.61e-05 0.01% Castro::clean_state() 30 4.486e-05 4.486e-05 4.486e-05 0.01% Castro::initialize_advance() 5 4.04e-05 4.04e-05 4.04e-05 0.01% MLMG::solve() 6 4.014e-05 4.014e-05 4.014e-05 0.01% MLMG::mgVcycle_up::4 36 3.682e-05 3.682e-05 3.682e-05 0.01% MLMG::mgVcycle_up::3 36 3.194e-05 3.194e-05 3.194e-05 0.01% MLMG::mgVcycle_up::2 36 3.126e-05 3.126e-05 3.126e-05 0.01% MLMG::mgVcycle_up::0 36 3.104e-05 3.104e-05 3.104e-05 0.01% Castro::finalize_advance() 5 3.092e-05 3.092e-05 3.092e-05 0.01% MLMG::mgVcycle_up::1 36 3.054e-05 3.054e-05 3.054e-05 0.01% Castro::buildMetrics() 1 2.971e-05 2.971e-05 2.971e-05 0.01% MLMG::oneIter() 36 2.749e-05 2.749e-05 2.749e-05 0.01% Castro::initMFs() 1 2.748e-05 2.748e-05 2.748e-05 0.01% MLCellLinOp::solutionResidual() 42 2.623e-05 2.623e-05 2.623e-05 0.01% Amr::writeSmallPlotFile() 1 2.562e-05 2.562e-05 2.562e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::post_restart() 1 2.065e-05 2.065e-05 2.065e-05 0.01% Castro::finalize_do_advance() 5 2.055e-05 2.055e-05 2.055e-05 0.01% FillPatchSingleLevel 20 1.886e-05 1.886e-05 1.886e-05 0.00% MLMG::ResNormInf() 42 1.859e-05 1.859e-05 1.859e-05 0.00% Castro::construct_new_gravity() 5 1.569e-05 1.569e-05 1.569e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.563e-05 1.563e-05 1.563e-05 0.00% MLMG::mgVcycle_bottom 36 1.526e-05 1.526e-05 1.526e-05 0.00% MLPoisson::define() 6 1.462e-05 1.462e-05 1.462e-05 0.00% MLMG::computeResidual() 36 1.436e-05 1.436e-05 1.436e-05 0.00% makeSFC 30 1.315e-05 1.315e-05 1.315e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.314e-05 1.314e-05 1.314e-05 0.00% Castro::do_new_sources() 5 1.12e-05 1.12e-05 1.12e-05 0.00% MLPoisson::prepareForSolve() 6 1.036e-05 1.036e-05 1.036e-05 0.00% Castro::do_old_sources() 5 1.03e-05 1.03e-05 1.03e-05 0.00% MLMG::computeMLResidual() 6 1e-05 1e-05 1e-05 0.00% Amr::initSubcycle() 1 8.975e-06 8.975e-06 8.975e-06 0.00% DistributionMapping::Distribute() 31 8.835e-06 8.835e-06 8.835e-06 0.00% Gravity::actual_multilevel_solve() 1 8.522e-06 8.522e-06 8.522e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.401e-06 7.401e-06 7.401e-06 0.00% Castro::apply_source_to_state() 10 7.167e-06 7.167e-06 7.167e-06 0.00% Castro::check_for_nan() 10 6.26e-06 6.26e-06 6.26e-06 0.00% MLLinOp::define() 6 5.686e-06 5.686e-06 5.686e-06 0.00% Gravity::swapTimeLevels() 5 5.194e-06 5.194e-06 5.194e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.285e-06 4.285e-06 4.285e-06 0.00% Castro::computeNewDt() 5 4.03e-06 4.03e-06 4.03e-06 0.00% MLMG::getGradSolution() 6 3.551e-06 3.551e-06 3.551e-06 0.00% Gravity::set_mass_offset() 6 2.502e-06 2.502e-06 2.502e-06 0.00% MLMG::MLResNormInf() 6 2.498e-06 2.498e-06 2.498e-06 0.00% MLMG::MLRhsNormInf() 6 2.377e-06 2.377e-06 2.377e-06 0.00% Castro::retry_advance_ctu() 5 1.79e-06 1.79e-06 1.79e-06 0.00% Castro::FluxRegCrseInit 5 1.635e-06 1.635e-06 1.635e-06 0.00% Castro::FluxRegFineAdd() 5 1.136e-06 1.136e-06 1.136e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.58e-07 9.58e-07 9.58e-07 0.00% Amr::init() 1 9.12e-07 9.12e-07 9.12e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3879 0.3879 0.3879 100.00% Amr::coarseTimeStep() 5 0.3084 0.3084 0.3084 79.51% Amr::timeStep() 5 0.3065 0.3065 0.3065 79.01% Castro::advance() 5 0.3008 0.3008 0.3008 77.55% Castro::subcycle_advance_ctu() 5 0.2935 0.2935 0.2935 75.68% Castro::do_advance_ctu() 5 0.2935 0.2935 0.2935 75.66% Castro::construct_new_gravity() 5 0.1416 0.1416 0.1416 36.49% Gravity::solve_phi_with_mlmg() 6 0.1311 0.1311 0.1311 33.80% Gravity::actual_solve_with_mlmg() 6 0.1283 0.1283 0.1283 33.08% Gravity::solve_for_phi() 5 0.1279 0.1279 0.1279 32.96% MLMG::solve() 6 0.1165 0.1165 0.1165 30.04% MLMG::oneIter() 36 0.1093 0.1093 0.1093 28.18% MLMG::mgVcycle() 36 0.1078 0.1078 0.1078 27.78% Castro::construct_ctu_hydro_source() 5 0.103 0.103 0.103 26.56% MLCellLinOp::smooth() 720 0.05251 0.05251 0.05251 13.54% MLCellLinOp::applyBC() 1946 0.04894 0.04894 0.04894 12.62% Amr::init() 1 0.0463 0.0463 0.0463 11.94% Amr::restart() 1 0.04629 0.04629 0.04629 11.94% AmrLevel::restart() 1 0.04 0.04 0.04 10.31% StateData::restartDoit() 4 0.03991 0.03991 0.03991 10.29% VisMF::Read() 3 0.03979 0.03979 0.03979 10.26% FillPatchIterator::Initialize 20 0.03458 0.03458 0.03458 8.91% FillPatchSingleLevel 20 0.0338 0.0338 0.0338 8.72% MLMG::mgVcycle_bottom 36 0.03323 0.03323 0.03323 8.57% MLMG::actualBottomSolve() 36 0.03322 0.03322 0.03322 8.56% MLCGSolver::bicgstab 36 0.03289 0.03289 0.03289 8.48% Amr::writePlotFile() 1 0.03245 0.03245 0.03245 8.37% StateDataPhysBCFunct::() 20 0.03176 0.03176 0.03176 8.19% VisMF::Write(FabArray) 1 0.03076 0.03076 0.03076 7.93% StateData::FillBoundary(geom) 160 0.02952 0.02952 0.02952 7.61% Castro::clean_state() 30 0.02563 0.02563 0.02563 6.61% MLCellLinOp::apply() 500 0.01661 0.01661 0.01661 4.28% MLPoisson::Fsmooth() 1440 0.01476 0.01476 0.01476 3.81% MLMG::mgVcycle_down::0 36 0.01476 0.01476 0.01476 3.81% FabArray::FillBoundary() 1766 0.01364 0.01364 0.01364 3.52% Castro::construct_old_gravity() 5 0.01363 0.01363 0.01363 3.51% Gravity::get_old_grav_vector() 5 0.01357 0.01357 0.01357 3.50% Gravity::get_new_grav_vector() 5 0.01356 0.01356 0.01356 3.50% FillBoundary_nowait() 1766 0.01321 0.01321 0.01321 3.41% MLMG::mgVcycle_up::0 36 0.01118 0.01118 0.01118 2.88% Castro::initialize_do_advance() 5 0.01101 0.01101 0.01101 2.84% MLCellLinOp::correctionResidual() 216 0.01 0.01 0.01 2.58% MLPoisson::define() 6 0.009446 0.009446 0.009446 2.44% amrex::Dot() 484 0.009041 0.009041 0.009041 2.33% Castro::computeTemp() 30 0.008962 0.008962 0.008962 2.31% Castro::normalize_species() 30 0.00891 0.00891 0.00891 2.30% MLMG:computeResOfCorrection() 180 0.008765 0.008765 0.008765 2.26% Castro::do_new_sources() 5 0.00729 0.00729 0.00729 1.88% MLMG::mgVcycle_down::1 36 0.007279 0.007279 0.007279 1.88% amrex::Copy() 463 0.00716 0.00716 0.00716 1.85% FabArray::ParallelCopy() 380 0.007007 0.007007 0.007007 1.81% Castro::initialize_advance() 5 0.006909 0.006909 0.006909 1.78% FabArray::ParallelCopy_nowait() 380 0.006874 0.006874 0.006874 1.77% MLMG::mgVcycle_down::2 36 0.006817 0.006817 0.006817 1.76% MLMG::mgVcycle_down::3 36 0.006685 0.006685 0.006685 1.72% MLMG::mgVcycle_down::4 36 0.006629 0.006629 0.006629 1.71% FabArray::setVal() 537 0.00652 0.00652 0.00652 1.68% Castro::expand_state() 5 0.006448 0.006448 0.006448 1.66% MLCellLinOp::defineAuxData() 6 0.006382 0.006382 0.006382 1.65% FabArray::norminf() 326 0.00635 0.00635 0.00635 1.64% Castro::enforce_min_density() 30 0.00599 0.00599 0.00599 1.54% MLMG::addInterpCorrection() 180 0.005644 0.005644 0.005644 1.45% Castro::post_timestep() 5 0.005588 0.005588 0.005588 1.44% Castro::do_old_sources() 5 0.005563 0.005563 0.005563 1.43% MLCGSolver::ParallelAllReduce 659 0.005476 0.005476 0.005476 1.41% MLMG::mgVcycle_up::4 36 0.005326 0.005326 0.005326 1.37% amrex::average_down 180 0.005319 0.005319 0.005319 1.37% MLMG::mgVcycle_up::1 36 0.005296 0.005296 0.005296 1.37% MLMG::mgVcycle_up::2 36 0.005212 0.005212 0.005212 1.34% MLMG::mgVcycle_up::3 36 0.005123 0.005123 0.005123 1.32% MLPoisson::Fapply() 500 0.004671 0.004671 0.004671 1.20% FabArray::Saxpy() 355 0.003835 0.003835 0.003835 0.99% FabArray::Xpay() 361 0.003614 0.003614 0.003614 0.93% Castro::post_restart() 1 0.00361 0.00361 0.00361 0.93% Gravity::multilevel_solve_for_new_phi() 1 0.003497 0.003497 0.003497 0.90% Gravity::actual_multilevel_solve() 1 0.003482 0.003482 0.003482 0.90% MLCellLinOp::solutionResidual() 42 0.003377 0.003377 0.003377 0.87% Castro::reset_internal_energy(MultiFab) 30 0.003065 0.003065 0.003065 0.79% MLCellLinOp::defineBC() 6 0.002818 0.002818 0.002818 0.73% MLMG::computeResidual() 36 0.002773 0.002773 0.002773 0.71% MLMG::prepareForSolve() 6 0.002719 0.002719 0.002719 0.70% BndryData::define() 6 0.002702 0.002702 0.002702 0.70% Gravity::fill_multipole_BCs() 6 0.00269 0.00269 0.00269 0.69% Castro::estTimeStep() 10 0.002421 0.002421 0.002421 0.62% Castro::construct_new_source() 25 0.002034 0.002034 0.002034 0.52% FabArray::LinComb() 242 0.001999 0.001999 0.001999 0.52% Castro::construct_new_gravity_source() 5 0.001864 0.001864 0.001864 0.48% amrex::Add() 72 0.001857 0.001857 0.001857 0.48% Castro::enforce_speed_limit() 30 0.00172 0.00172 0.00172 0.44% Castro::computeNewDt() 5 0.001686 0.001686 0.001686 0.43% Castro::construct_old_source() 25 0.001586 0.001586 0.001586 0.41% Castro::construct_old_gravity_source() 5 0.001508 0.001508 0.001508 0.39% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009992 0.0009992 0.0009992 0.26% MLMG::ResNormInf() 42 0.0009386 0.0009386 0.0009386 0.24% Castro::apply_source_to_state() 10 0.000936 0.000936 0.000936 0.24% Castro::reset_internal_energy(Fab) 240 0.0009092 0.0009092 0.0009092 0.23% FabArrayBase::getCPC() 632 0.0008309 0.0008309 0.0008309 0.21% MLMG::getGradSolution() 6 0.0007746 0.0007746 0.0007746 0.20% MLCellLinOp::compGrad() 6 0.000771 0.000771 0.000771 0.20% MLCellLinOp::setLevelBC() 6 0.0007587 0.0007587 0.0007587 0.20% MLPoisson::prepareForSolve() 6 0.000677 0.000677 0.000677 0.17% MLCellLinOp::prepareForSolve() 6 0.0006666 0.0006666 0.0006666 0.17% FabArray::mult() 22 0.0006641 0.0006641 0.0006641 0.17% FabArray::setDomainBndry() 20 0.0006441 0.0006441 0.0006441 0.17% MLMG::computeMLResidual() 6 0.0006291 0.0006291 0.0006291 0.16% Castro::check_for_nan() 10 0.000609 0.000609 0.000609 0.16% MultiFab::contains_nan() 10 0.0006028 0.0006028 0.0006028 0.16% Gravity::update_max_rhs() 6 0.0004783 0.0004783 0.0004783 0.12% FabArrayBase::CPC::define() 244 0.0004461 0.0004461 0.0004461 0.12% Amr::InitAmr() 1 0.0004076 0.0004076 0.0004076 0.11% FabArrayBase::getFB() 1766 0.0003495 0.0003495 0.0003495 0.09% Castro::finalize_advance() 5 0.000298 0.000298 0.000298 0.08% Gravity::swapTimeLevels() 5 0.000233 0.000233 0.000233 0.06% MLLinOp::define() 6 0.0002309 0.0002309 0.0002309 0.06% MLLinOp::defineGrids() 6 0.0002252 0.0002252 0.0002252 0.06% Castro::buildMetrics() 1 0.0001614 0.0001614 0.0001614 0.04% MLMG::MLResNormInf() 6 0.0001553 0.0001553 0.0001553 0.04% Castro::create_source_corrector() 5 0.0001495 0.0001495 0.0001495 0.04% MultiFab::max() 6 0.0001413 0.0001413 0.0001413 0.04% MLMG::MLRhsNormInf() 6 0.0001197 0.0001197 0.0001197 0.03% FabArrayBase::FB::FB() 26 6.411e-05 6.411e-05 6.411e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.797e-05 2.797e-05 2.797e-05 0.01% Castro::initMFs() 1 2.748e-05 2.748e-05 2.748e-05 0.01% Amr::writeSmallPlotFile() 1 2.562e-05 2.562e-05 2.562e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% makeSFC 30 2.057e-05 2.057e-05 2.057e-05 0.01% Castro::finalize_do_advance() 5 2.055e-05 2.055e-05 2.055e-05 0.01% Amr::initSubcycle() 1 8.975e-06 8.975e-06 8.975e-06 0.00% DistributionMapping::Distribute() 31 8.835e-06 8.835e-06 8.835e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.706e-06 5.706e-06 5.706e-06 0.00% Gravity::set_mass_offset() 6 2.502e-06 2.502e-06 2.502e-06 0.00% Castro::retry_advance_ctu() 5 1.79e-06 1.79e-06 1.79e-06 0.00% Castro::FluxRegCrseInit 5 1.635e-06 1.635e-06 1.635e-06 0.00% Castro::FluxRegFineAdd() 5 1.136e-06 1.136e-06 1.136e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.58e-07 9.58e-07 9.58e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 115 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1633 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2340 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 6729 KiB 14 MiB MLMG::prepareForSolve() 361 361 3687 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 361 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 358 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6724 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9736 B 2053 KiB Gravity::update_max_rhs() 48 48 2379 B 2048 KiB Gravity::solve_for_phi() 40 40 673 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 217 KiB 671 KiB Castro::estTimeStep() 10 10 2869 B 480 KiB VisMF::Write(FabArray) 112 112 1297 B 320 KiB Castro::normalize_species() 30 30 7468 B 320 KiB amrex::average_down 469 469 1288 B 257 KiB MLMG::addInterpCorrection() 468 468 1198 B 257 KiB amrex::Dot() 592 592 3415 B 160 KiB FabArray::norminf() 398 398 2406 B 160 KiB Castro::do_advance_ctu() 5 5 523 B 160 KiB MultiFab::max() 6 6 55 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3585 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 51 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3892 3892 232 B 9344 B amrex::Copy() 56 56 5963 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 31 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 123 B 1472 B MLCellLinOp::defineBC() 36 36 381 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1402 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 244 KiB 3584 KiB VisMF::Read() 24 24 199 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3585 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 1946 1946 229 B 9328 B amrex::Copy() 56 56 5963 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2652 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 31 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 547 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-24-g27ef4ea56945) finalized