Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-30-g07f87b0a9047) initialized Starting run at 08:12:03 UTC on 2023-05-30. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-30-g07f87b0a9 Microphysics git describe: 23.05-13-gbf803460 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.059968996 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034544897 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.051164127 [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.048161 [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.060511195 [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.0707 [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.0681524 [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.068507414 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.072813449 [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.055676751 [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.055306783 [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.071213645 [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.068865624 [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.059390527 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034024293 seconds Ending run at 08:12:04 UTC on 2023-05-30. Run time = 0.928478104 Run time without initialization = 0.785217417 Average number of zones advanced per microsecond: 3.338 Average number of zones advanced per microsecond per rank: 3.338 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9285 ... 0.9285 ... 0.9285 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2493 0.2493 0.2493 26.85% Castro::construct_ctu_hydro_source() 10 0.2311 0.2311 0.2311 24.89% MLCellLinOp::applyBC() 4433 0.08242 0.08242 0.08242 8.88% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.67% FillBoundary_nowait() 4023 0.03191 0.03191 0.03191 3.44% StateData::FillBoundary(geom) 328 0.02827 0.02827 0.02827 3.04% amrex::Dot() 1114 0.02175 0.02175 0.02175 2.34% Castro::normalize_species() 62 0.01561 0.01561 0.01561 1.68% amrex::Copy() 1029 0.01545 0.01545 0.01545 1.66% Castro::computeTemp() 63 0.01529 0.01529 0.01529 1.65% FabArray::norminf() 743 0.01518 0.01518 0.01518 1.64% Castro::enforce_min_density() 62 0.01438 0.01438 0.01438 1.55% FabArray::ParallelCopy_nowait() 861 0.0143 0.0143 0.0143 1.54% StateDataPhysBCFunct::() 41 0.01379 0.01379 0.01379 1.49% FabArray::setVal() 1144 0.01365 0.01365 0.01365 1.47% MLPoisson::Fapply() 1142 0.01097 0.01097 0.01097 1.18% MLCellLinOp::defineAuxData() 11 0.0109 0.0109 0.0109 1.17% FabArray::Saxpy() 813 0.008559 0.008559 0.008559 0.92% FabArray::Xpay() 821 0.008465 0.008465 0.008465 0.91% MLMG::addInterpCorrection() 410 0.007171 0.007171 0.007171 0.77% Gravity::fill_multipole_BCs() 11 0.00678 0.00678 0.00678 0.73% amrex::average_down 410 0.00642 0.00642 0.00642 0.69% Castro::estTimeStep() 21 0.005844 0.005844 0.005844 0.63% FabArray::LinComb() 557 0.004911 0.004911 0.004911 0.53% amrex::Add() 164 0.004448 0.004448 0.004448 0.48% Amr::checkPoint() 3 0.004203 0.004203 0.004203 0.45% BndryData::define() 11 0.004167 0.004167 0.004167 0.45% Castro::reset_internal_energy(MultiFab) 63 0.004081 0.004081 0.004081 0.44% Castro::do_advance_ctu() 10 0.003706 0.003706 0.003706 0.40% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.35% Castro::construct_old_gravity_source() 10 0.002687 0.002687 0.002687 0.29% MLCGSolver::bicgstab 82 0.002423 0.002423 0.002423 0.26% Amr::writePlotFile() 2 0.002423 0.002423 0.002423 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001863 0.001863 0.001863 0.20% Gravity::actual_solve_with_mlmg() 11 0.001803 0.001803 0.001803 0.19% Castro::reset_internal_energy(Fab) 504 0.001755 0.001755 0.001755 0.19% MLCellLinOp::setLevelBC() 11 0.001537 0.001537 0.001537 0.17% FabArray::setDomainBndry() 41 0.001395 0.001395 0.001395 0.15% FabArray::mult() 43 0.001378 0.001378 0.001378 0.15% MLCellLinOp::prepareForSolve() 11 0.001246 0.001246 0.001246 0.13% MultiFab::contains_nan() 20 0.001236 0.001236 0.001236 0.13% Castro::initData() 1 0.001162 0.001162 0.001162 0.13% MLCellLinOp::smooth() 1640 0.001155 0.001155 0.001155 0.12% Castro::enforce_speed_limit() 62 0.001123 0.001123 0.001123 0.12% MLMG::prepareForSolve() 11 0.001001 0.001001 0.001001 0.11% MLCellLinOp::compGrad() 11 0.0009807 0.0009807 0.0009807 0.11% FabArray::FillBoundary() 4023 0.0008989 0.0008989 0.0008989 0.10% FabArrayBase::getCPC() 1323 0.0008618 0.0008618 0.0008618 0.09% FabArrayBase::CPC::define() 454 0.0007788 0.0007788 0.0007788 0.08% FabArrayBase::getFB() 4023 0.0007057 0.0007057 0.0007057 0.08% Gravity::get_new_grav_vector() 11 0.0006661 0.0006661 0.0006661 0.07% Gravity::get_old_grav_vector() 10 0.000594 0.000594 0.000594 0.06% MLCellLinOp::apply() 1142 0.0005107 0.0005107 0.0005107 0.05% Amr::InitAmr() 1 0.0004792 0.0004792 0.0004792 0.05% MLLinOp::defineGrids() 11 0.0004742 0.0004742 0.0004742 0.05% Amr::coarseTimeStep() 10 0.0004278 0.0004278 0.0004278 0.05% MLMG::mgVcycle() 82 0.0004122 0.0004122 0.0004122 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003418 0.0003418 0.0003418 0.04% main() 1 0.0003021 0.0003021 0.0003021 0.03% FillPatchIterator::Initialize 41 0.0002874 0.0002874 0.0002874 0.03% FabArray::ParallelCopy() 861 0.0002772 0.0002772 0.0002772 0.03% MultiFab::max() 11 0.0002605 0.0002605 0.0002605 0.03% MLCellLinOp::defineBC() 11 0.0002583 0.0002583 0.0002583 0.03% Amr::timeStep() 10 0.0002496 0.0002496 0.0002496 0.03% MLCellLinOp::correctionResidual() 492 0.0002407 0.0002407 0.0002407 0.03% Castro::create_source_corrector() 10 0.0002308 0.0002308 0.0002308 0.02% Castro::subcycle_advance_ctu() 10 0.0001834 0.0001834 0.0001834 0.02% StateData::checkPoint() 12 0.000171 0.000171 0.000171 0.02% Castro::construct_new_source() 50 0.0001631 0.0001631 0.0001631 0.02% Gravity::solve_for_phi() 10 0.0001584 0.0001584 0.0001584 0.02% Gravity::update_max_rhs() 11 0.0001491 0.0001491 0.0001491 0.02% MLMG:computeResOfCorrection() 410 0.000131 0.000131 0.000131 0.01% Castro::advance() 10 0.0001094 0.0001094 0.0001094 0.01% MLMG::actualBottomSolve() 82 0.0001051 0.0001051 0.0001051 0.01% MLMG::mgVcycle_down::0 82 9.866e-05 9.866e-05 9.866e-05 0.01% FabArrayBase::FB::FB() 56 9.47e-05 9.47e-05 9.47e-05 0.01% Castro::expand_state() 10 9.27e-05 9.27e-05 9.27e-05 0.01% MLMG::mgVcycle_down::1 82 9.074e-05 9.074e-05 9.074e-05 0.01% Castro::clean_state() 62 8.879e-05 8.879e-05 8.879e-05 0.01% Castro::Castro() 1 8.775e-05 8.775e-05 8.775e-05 0.01% Castro::initialize_advance() 10 8.703e-05 8.703e-05 8.703e-05 0.01% AmrLevel::checkPoint() 3 8.545e-05 8.545e-05 8.545e-05 0.01% MLMG::mgVcycle_down::2 82 8.126e-05 8.126e-05 8.126e-05 0.01% MLMG::solve() 11 8.035e-05 8.035e-05 8.035e-05 0.01% MLMG::mgVcycle_down::3 82 7.476e-05 7.476e-05 7.476e-05 0.01% Castro::finalize_advance() 10 7.335e-05 7.335e-05 7.335e-05 0.01% MLMG::mgVcycle_down::4 82 7.26e-05 7.26e-05 7.26e-05 0.01% Castro::initialize_do_advance() 10 7.25e-05 7.25e-05 7.25e-05 0.01% MLMG::mgVcycle_up::4 82 6.196e-05 6.196e-05 6.196e-05 0.01% MLMG::mgVcycle_up::0 82 5.729e-05 5.729e-05 5.729e-05 0.01% MLMG::mgVcycle_up::1 82 5.635e-05 5.635e-05 5.635e-05 0.01% MLMG::mgVcycle_up::2 82 5.634e-05 5.634e-05 5.634e-05 0.01% MLCellLinOp::solutionResidual() 93 5.37e-05 5.37e-05 5.37e-05 0.01% MLMG::mgVcycle_up::3 82 5.288e-05 5.288e-05 5.288e-05 0.01% MLMG::oneIter() 82 5.101e-05 5.101e-05 5.101e-05 0.01% MLMG::ResNormInf() 93 4.465e-05 4.465e-05 4.465e-05 0.00% Castro::swap_state_time_levels() 10 4.236e-05 4.236e-05 4.236e-05 0.00% Castro::finalize_do_advance() 10 4.228e-05 4.228e-05 4.228e-05 0.00% FillPatchSingleLevel 41 4.072e-05 4.072e-05 4.072e-05 0.00% MLMG::mgVcycle_bottom 82 3.98e-05 3.98e-05 3.98e-05 0.00% StateData::define() 4 3.886e-05 3.886e-05 3.886e-05 0.00% Castro::enforce_consistent_e() 1 3.612e-05 3.612e-05 3.612e-05 0.00% Castro::construct_new_gravity() 10 3.565e-05 3.565e-05 3.565e-05 0.00% MLMG::computeResidual() 82 3.367e-05 3.367e-05 3.367e-05 0.00% makeSFC 55 3.125e-05 3.125e-05 3.125e-05 0.00% MLPoisson::define() 11 3.114e-05 3.114e-05 3.114e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.844e-05 2.844e-05 2.844e-05 0.00% Castro::do_new_sources() 10 2.635e-05 2.635e-05 2.635e-05 0.00% Amr::writeSmallPlotFile() 1 2.444e-05 2.444e-05 2.444e-05 0.00% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.00% DistributionMapping::Distribute() 56 2.105e-05 2.105e-05 2.105e-05 0.00% Amr::FinalizeInit() 1 2.093e-05 2.093e-05 2.093e-05 0.00% Castro::construct_old_source() 50 2.022e-05 2.022e-05 2.022e-05 0.00% Castro::do_old_sources() 10 1.969e-05 1.969e-05 1.969e-05 0.00% MLLinOp::define() 11 1.929e-05 1.929e-05 1.929e-05 0.00% Amr::defBaseLevel() 1 1.923e-05 1.923e-05 1.923e-05 0.00% Castro::buildMetrics() 1 1.768e-05 1.768e-05 1.768e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.712e-05 1.712e-05 1.712e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.687e-05 1.687e-05 1.687e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.573e-05 1.573e-05 1.573e-05 0.00% Castro::computeNewDt() 9 1.428e-05 1.428e-05 1.428e-05 0.00% Castro::check_for_nan() 20 1.377e-05 1.377e-05 1.377e-05 0.00% Castro::apply_source_to_state() 20 1.283e-05 1.283e-05 1.283e-05 0.00% Castro::construct_old_gravity() 10 1.143e-05 1.143e-05 1.143e-05 0.00% Castro::post_timestep() 10 1.142e-05 1.142e-05 1.142e-05 0.00% Gravity::swapTimeLevels() 10 1.137e-05 1.137e-05 1.137e-05 0.00% MLPoisson::prepareForSolve() 11 1.134e-05 1.134e-05 1.134e-05 0.00% MLMG::getGradSolution() 11 1.001e-05 1.001e-05 1.001e-05 0.00% MLMG::computeMLResidual() 11 9.324e-06 9.324e-06 9.324e-06 0.00% Amr::initSubcycle() 1 8.327e-06 8.327e-06 8.327e-06 0.00% Gravity::actual_multilevel_solve() 1 8.082e-06 8.082e-06 8.082e-06 0.00% Castro::retry_advance_ctu() 10 5.656e-06 5.656e-06 5.656e-06 0.00% Gravity::set_mass_offset() 11 5.414e-06 5.414e-06 5.414e-06 0.00% MLMG::MLRhsNormInf() 11 5.374e-06 5.374e-06 5.374e-06 0.00% Castro::FluxRegCrseInit 10 4.914e-06 4.914e-06 4.914e-06 0.00% AmrLevel::checkPointPost() 3 4.853e-06 4.853e-06 4.853e-06 0.00% Amr::InitializeInit() 1 4.591e-06 4.591e-06 4.591e-06 0.00% Castro::post_init() 1 4.232e-06 4.232e-06 4.232e-06 0.00% Castro::FluxRegFineAdd() 10 3.673e-06 3.673e-06 3.673e-06 0.00% MLMG::MLResNormInf() 11 3.482e-06 3.482e-06 3.482e-06 0.00% Castro::computeInitialDt() 2 3.078e-06 3.078e-06 3.078e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.651e-06 2.651e-06 2.651e-06 0.00% Amr::init() 1 2.507e-06 2.507e-06 2.507e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.788e-06 1.788e-06 1.788e-06 0.00% AmrLevel::checkPointPre() 3 1.713e-06 1.713e-06 1.713e-06 0.00% Amr::initialInit() 1 1.225e-06 1.225e-06 1.225e-06 0.00% Castro::post_regrid() 1 9.63e-07 9.63e-07 9.63e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9285 0.9285 0.9285 100.00% Amr::coarseTimeStep() 10 0.751 0.751 0.751 80.88% Amr::timeStep() 10 0.6187 0.6187 0.6187 66.63% Castro::advance() 10 0.6107 0.6107 0.6107 65.78% Castro::subcycle_advance_ctu() 10 0.5981 0.5981 0.5981 64.41% Castro::do_advance_ctu() 10 0.5979 0.5979 0.5979 64.39% Gravity::solve_phi_with_mlmg() 11 0.3021 0.3021 0.3021 32.54% Gravity::actual_solve_with_mlmg() 11 0.2948 0.2948 0.2948 31.75% Castro::construct_new_gravity() 10 0.2794 0.2794 0.2794 30.09% MLMG::solve() 11 0.2715 0.2715 0.2715 29.24% Gravity::solve_for_phi() 10 0.2618 0.2618 0.2618 28.19% MLMG::oneIter() 82 0.2564 0.2564 0.2564 27.61% MLMG::mgVcycle() 82 0.2526 0.2526 0.2526 27.21% VisMF::Write(FabArray) 11 0.2493 0.2493 0.2493 26.85% Castro::construct_ctu_hydro_source() 10 0.2311 0.2311 0.2311 24.89% Amr::checkPoint() 3 0.188 0.188 0.188 20.25% AmrLevel::checkPoint() 3 0.1838 0.1838 0.1838 19.79% StateData::checkPoint() 12 0.1837 0.1837 0.1837 19.79% Amr::init() 1 0.1426 0.1426 0.1426 15.36% MLCellLinOp::smooth() 1640 0.1236 0.1236 0.1236 13.31% MLCellLinOp::applyBC() 4433 0.116 0.116 0.116 12.50% MLMG::mgVcycle_bottom 82 0.07867 0.07867 0.07867 8.47% MLMG::actualBottomSolve() 82 0.07864 0.07864 0.07864 8.47% MLCGSolver::bicgstab 82 0.07789 0.07789 0.07789 8.39% Amr::writePlotFile() 2 0.06869 0.06869 0.06869 7.40% Castro::clean_state() 62 0.05156 0.05156 0.05156 5.55% FillPatchIterator::Initialize 41 0.04801 0.04801 0.04801 5.17% Amr::initialInit() 1 0.04801 0.04801 0.04801 5.17% FillPatchSingleLevel 41 0.04633 0.04633 0.04633 4.99% Amr::FinalizeInit() 1 0.04421 0.04421 0.04421 4.76% Castro::post_init() 1 0.04285 0.04285 0.04285 4.62% StateDataPhysBCFunct::() 41 0.04206 0.04206 0.04206 4.53% Gravity::multilevel_solve_for_new_phi() 1 0.04085 0.04085 0.04085 4.40% Gravity::actual_multilevel_solve() 1 0.04083 0.04083 0.04083 4.40% MLCellLinOp::apply() 1142 0.03864 0.03864 0.03864 4.16% MLMG::mgVcycle_down::0 82 0.03551 0.03551 0.03551 3.82% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.67% FabArray::FillBoundary() 4023 0.03361 0.03361 0.03361 3.62% FillBoundary_nowait() 4023 0.03271 0.03271 0.03271 3.52% StateData::FillBoundary(geom) 328 0.02827 0.02827 0.02827 3.04% MLMG::mgVcycle_up::0 82 0.02688 0.02688 0.02688 2.90% MLCellLinOp::correctionResidual() 492 0.02341 0.02341 0.02341 2.52% amrex::Dot() 1114 0.02175 0.02175 0.02175 2.34% Castro::initialize_do_advance() 10 0.02166 0.02166 0.02166 2.33% Castro::computeTemp() 63 0.02113 0.02113 0.02113 2.28% MLMG:computeResOfCorrection() 410 0.02057 0.02057 0.02057 2.22% Gravity::get_new_grav_vector() 11 0.01933 0.01933 0.01933 2.08% MLPoisson::define() 11 0.0185 0.0185 0.0185 1.99% Castro::construct_old_gravity() 10 0.01698 0.01698 0.01698 1.83% Gravity::get_old_grav_vector() 10 0.01697 0.01697 0.01697 1.83% MLMG::mgVcycle_down::1 82 0.01677 0.01677 0.01677 1.81% MLMG::mgVcycle_down::2 82 0.01566 0.01566 0.01566 1.69% Castro::normalize_species() 62 0.01561 0.01561 0.01561 1.68% FabArray::ParallelCopy() 861 0.01551 0.01551 0.01551 1.67% amrex::Copy() 1029 0.01545 0.01545 0.01545 1.66% MLMG::mgVcycle_down::3 82 0.01539 0.01539 0.01539 1.66% FabArray::ParallelCopy_nowait() 861 0.01523 0.01523 0.01523 1.64% FabArray::norminf() 743 0.01518 0.01518 0.01518 1.64% MLMG::mgVcycle_down::4 82 0.01503 0.01503 0.01503 1.62% Castro::enforce_min_density() 62 0.01438 0.01438 0.01438 1.55% FabArray::setVal() 1144 0.01365 0.01365 0.01365 1.47% Castro::do_new_sources() 10 0.01341 0.01341 0.01341 1.44% MLCGSolver::ParallelAllReduce 1514 0.01308 0.01308 0.01308 1.41% MLMG::addInterpCorrection() 410 0.01281 0.01281 0.01281 1.38% MLCellLinOp::defineAuxData() 11 0.01242 0.01242 0.01242 1.34% MLMG::mgVcycle_up::4 82 0.01237 0.01237 0.01237 1.33% MLMG::mgVcycle_up::1 82 0.01228 0.01228 0.01228 1.32% Castro::expand_state() 10 0.01221 0.01221 0.01221 1.32% amrex::average_down 410 0.01207 0.01207 0.01207 1.30% MLMG::mgVcycle_up::2 82 0.01201 0.01201 0.01201 1.29% Castro::initialize_advance() 10 0.01196 0.01196 0.01196 1.29% MLMG::mgVcycle_up::3 82 0.01167 0.01167 0.01167 1.26% Castro::do_old_sources() 10 0.01137 0.01137 0.01137 1.22% MLPoisson::Fapply() 1142 0.01097 0.01097 0.01097 1.18% FabArray::Saxpy() 813 0.008559 0.008559 0.008559 0.92% FabArray::Xpay() 821 0.008465 0.008465 0.008465 0.91% Castro::post_timestep() 10 0.007684 0.007684 0.007684 0.83% MLCellLinOp::solutionResidual() 93 0.007581 0.007581 0.007581 0.82% Gravity::fill_multipole_BCs() 11 0.007016 0.007016 0.007016 0.76% MLMG::computeResidual() 82 0.006511 0.006511 0.006511 0.70% Castro::estTimeStep() 21 0.005844 0.005844 0.005844 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005836 0.005836 0.005836 0.63% MLCellLinOp::defineBC() 11 0.005479 0.005479 0.005479 0.59% BndryData::define() 11 0.005221 0.005221 0.005221 0.56% MLMG::prepareForSolve() 11 0.005041 0.005041 0.005041 0.54% FabArray::LinComb() 557 0.004911 0.004911 0.004911 0.53% amrex::Add() 164 0.004448 0.004448 0.004448 0.48% Amr::InitializeInit() 1 0.003792 0.003792 0.003792 0.41% Amr::defBaseLevel() 1 0.003787 0.003787 0.003787 0.41% Castro::construct_new_source() 50 0.003452 0.003452 0.003452 0.37% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.35% Castro::initData() 1 0.003269 0.003269 0.003269 0.35% Castro::computeNewDt() 9 0.003098 0.003098 0.003098 0.33% Castro::construct_old_source() 50 0.002708 0.002708 0.002708 0.29% Castro::construct_old_gravity_source() 10 0.002687 0.002687 0.002687 0.29% MLMG::ResNormInf() 93 0.002161 0.002161 0.002161 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001863 0.001863 0.001863 0.20% Castro::apply_source_to_state() 20 0.001835 0.001835 0.001835 0.20% Castro::reset_internal_energy(Fab) 504 0.001755 0.001755 0.001755 0.19% FabArrayBase::getCPC() 1323 0.001641 0.001641 0.001641 0.18% MLCellLinOp::setLevelBC() 11 0.001537 0.001537 0.001537 0.17% MLMG::getGradSolution() 11 0.001495 0.001495 0.001495 0.16% MLCellLinOp::compGrad() 11 0.001485 0.001485 0.001485 0.16% FabArray::setDomainBndry() 41 0.001395 0.001395 0.001395 0.15% FabArray::mult() 43 0.001378 0.001378 0.001378 0.15% MLPoisson::prepareForSolve() 11 0.001258 0.001258 0.001258 0.14% Castro::check_for_nan() 20 0.00125 0.00125 0.00125 0.13% MLCellLinOp::prepareForSolve() 11 0.001246 0.001246 0.001246 0.13% MultiFab::contains_nan() 20 0.001236 0.001236 0.001236 0.13% Castro::enforce_speed_limit() 62 0.001123 0.001123 0.001123 0.12% MLMG::computeMLResidual() 11 0.001113 0.001113 0.001113 0.12% Castro::post_regrid() 1 0.00111 0.00111 0.00111 0.12% Castro::computeInitialDt() 2 0.0009936 0.0009936 0.0009936 0.11% Gravity::update_max_rhs() 11 0.0008845 0.0008845 0.0008845 0.10% FabArrayBase::getFB() 4023 0.0008004 0.0008004 0.0008004 0.09% FabArrayBase::CPC::define() 454 0.0007788 0.0007788 0.0007788 0.08% Castro::finalize_advance() 10 0.0006149 0.0006149 0.0006149 0.07% MLLinOp::define() 11 0.0005636 0.0005636 0.0005636 0.06% MLLinOp::defineGrids() 11 0.0005443 0.0005443 0.0005443 0.06% Amr::InitAmr() 1 0.0004876 0.0004876 0.0004876 0.05% Gravity::swapTimeLevels() 10 0.0004715 0.0004715 0.0004715 0.05% Castro::Castro() 1 0.0004412 0.0004412 0.0004412 0.05% MLMG::MLResNormInf() 11 0.0003028 0.0003028 0.0003028 0.03% MultiFab::max() 11 0.0002605 0.0002605 0.0002605 0.03% Castro::create_source_corrector() 10 0.0002308 0.0002308 0.0002308 0.02% MLMG::MLRhsNormInf() 11 0.0002276 0.0002276 0.0002276 0.02% Castro::buildMetrics() 1 0.0001656 0.0001656 0.0001656 0.02% FabArrayBase::FB::FB() 56 9.47e-05 9.47e-05 9.47e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.824e-05 6.824e-05 6.824e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.46e-05 5.46e-05 5.46e-05 0.01% makeSFC 55 5.113e-05 5.113e-05 5.113e-05 0.01% Castro::swap_state_time_levels() 10 4.236e-05 4.236e-05 4.236e-05 0.00% Castro::finalize_do_advance() 10 4.228e-05 4.228e-05 4.228e-05 0.00% StateData::define() 4 3.886e-05 3.886e-05 3.886e-05 0.00% Castro::enforce_consistent_e() 1 3.612e-05 3.612e-05 3.612e-05 0.00% Amr::writeSmallPlotFile() 1 2.444e-05 2.444e-05 2.444e-05 0.00% Castro::initMFs() 1 2.436e-05 2.436e-05 2.436e-05 0.00% DistributionMapping::Distribute() 56 2.105e-05 2.105e-05 2.105e-05 0.00% Amr::initSubcycle() 1 8.327e-06 8.327e-06 8.327e-06 0.00% Castro::retry_advance_ctu() 10 5.656e-06 5.656e-06 5.656e-06 0.00% Gravity::set_mass_offset() 11 5.414e-06 5.414e-06 5.414e-06 0.00% Castro::FluxRegCrseInit 10 4.914e-06 4.914e-06 4.914e-06 0.00% AmrLevel::checkPointPost() 3 4.853e-06 4.853e-06 4.853e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.815e-06 3.815e-06 3.815e-06 0.00% Castro::FluxRegFineAdd() 10 3.673e-06 3.673e-06 3.673e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.788e-06 1.788e-06 1.788e-06 0.00% AmrLevel::checkPointPre() 3 1.713e-06 1.713e-06 1.713e-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 87 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 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1077 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2079 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3597 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1784 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2574 B 480 KiB VisMF::Write(FabArray) 656 656 3271 B 320 KiB Castro::normalize_species() 62 62 5467 B 320 KiB amrex::average_down 1067 1067 1303 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1178 B 257 KiB amrex::Dot() 1360 1360 3438 B 160 KiB FabArray::norminf() 907 907 2408 B 160 KiB Castro::do_advance_ctu() 10 10 593 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3517 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8866 8866 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3875 B 6144 B StateData::FillBoundary(geom) 1992 1992 53 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 575 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 46 KiB 8192 KiB VisMF::Write(FabArray) 744 744 626 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3517 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4433 4433 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3875 B 6144 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 53 B 2688 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B 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): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-30-g07f87b0a9047) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-30-g07f87b0a9047) initialized Starting run at 08:12:05 UTC on 2023-05-30. Successfully read inputs file ... Castro git describe: 23.05-30-g283f15d69 AMReX git describe: 23.05-30-g07f87b0a9 Microphysics git describe: 23.05-13-gbf803460 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510455047 Restart time = 0.044995653 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.052049062 [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.060284195 [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.072132182 [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.067159448 [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.071663762 [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.06443358 seconds Ending run at 08:12:06 UTC on 2023-05-30. Run time = 0.433763111 Run time without initialization = 0.388157777 Average number of zones advanced per microsecond: 3.377 Average number of zones advanced per microsecond per rank: 3.377 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4338 ... 0.4338 ... 0.4338 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1337 0.1337 0.1337 30.82% VisMF::Write(FabArray) 1 0.04515 0.04515 0.04515 10.41% VisMF::Read() 3 0.03872 0.03872 0.03872 8.93% MLCellLinOp::applyBC() 1946 0.03344 0.03344 0.03344 7.71% Amr::writePlotFile() 1 0.01912 0.01912 0.01912 4.41% MLPoisson::Fsmooth() 1440 0.01392 0.01392 0.01392 3.21% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 2.96% StateData::FillBoundary(geom) 160 0.01224 0.01224 0.01224 2.82% Castro::normalize_species() 30 0.01012 0.01012 0.01012 2.33% amrex::Dot() 484 0.008796 0.008796 0.008796 2.03% Castro::enforce_min_density() 30 0.007968 0.007968 0.007968 1.84% amrex::Copy() 463 0.007009 0.007009 0.007009 1.62% Castro::computeTemp() 30 0.006877 0.006877 0.006877 1.59% FabArray::norminf() 326 0.006263 0.006263 0.006263 1.44% FabArray::setVal() 537 0.00623 0.00623 0.00623 1.44% FabArray::ParallelCopy_nowait() 380 0.006057 0.006057 0.006057 1.40% MLCellLinOp::defineAuxData() 6 0.005302 0.005302 0.005302 1.22% StateDataPhysBCFunct::() 20 0.004873 0.004873 0.004873 1.12% MLPoisson::Fapply() 500 0.004481 0.004481 0.004481 1.03% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 0.84% FabArray::Xpay() 361 0.003496 0.003496 0.003496 0.81% Gravity::fill_multipole_BCs() 6 0.003004 0.003004 0.003004 0.69% Castro::estTimeStep() 10 0.002983 0.002983 0.002983 0.69% MLMG::addInterpCorrection() 180 0.002903 0.002903 0.002903 0.67% Castro::do_advance_ctu() 5 0.002707 0.002707 0.002707 0.62% amrex::average_down 180 0.002597 0.002597 0.002597 0.60% Amr::restart() 1 0.002554 0.002554 0.002554 0.59% BndryData::define() 6 0.002056 0.002056 0.002056 0.47% Castro::reset_internal_energy(MultiFab) 30 0.00202 0.00202 0.00202 0.47% FabArray::LinComb() 242 0.001955 0.001955 0.001955 0.45% amrex::Add() 72 0.001847 0.001847 0.001847 0.43% Castro::construct_new_gravity_source() 5 0.001692 0.001692 0.001692 0.39% Castro::construct_old_gravity_source() 5 0.001477 0.001477 0.001477 0.34% Castro::enforce_speed_limit() 30 0.001281 0.001281 0.001281 0.30% MLCGSolver::bicgstab 36 0.000961 0.000961 0.000961 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000943 0.000943 0.000943 0.22% Castro::reset_internal_energy(Fab) 240 0.0008104 0.0008104 0.0008104 0.19% Gravity::actual_solve_with_mlmg() 6 0.0007953 0.0007953 0.0007953 0.18% MLCellLinOp::setLevelBC() 6 0.0007475 0.0007475 0.0007475 0.17% FabArray::mult() 22 0.0006433 0.0006433 0.0006433 0.15% FabArray::setDomainBndry() 20 0.0006348 0.0006348 0.0006348 0.15% MLCellLinOp::prepareForSolve() 6 0.0006085 0.0006085 0.0006085 0.14% MultiFab::contains_nan() 10 0.0005911 0.0005911 0.0005911 0.14% MLMG::prepareForSolve() 6 0.0004887 0.0004887 0.0004887 0.11% MLCellLinOp::smooth() 720 0.0004882 0.0004882 0.0004882 0.11% MLCellLinOp::compGrad() 6 0.0004841 0.0004841 0.0004841 0.11% FabArrayBase::CPC::define() 244 0.0004242 0.0004242 0.0004242 0.10% Amr::InitAmr() 1 0.0003959 0.0003959 0.0003959 0.09% FabArray::FillBoundary() 1766 0.000391 0.000391 0.000391 0.09% FabArrayBase::getCPC() 632 0.0003641 0.0003641 0.0003641 0.08% Gravity::get_old_grav_vector() 5 0.0003035 0.0003035 0.0003035 0.07% main() 1 0.0002934 0.0002934 0.0002934 0.07% Gravity::get_new_grav_vector() 5 0.0002718 0.0002718 0.0002718 0.06% FabArrayBase::getFB() 1766 0.0002684 0.0002684 0.0002684 0.06% MLCellLinOp::apply() 500 0.0002078 0.0002078 0.0002078 0.05% MLMG::mgVcycle() 36 0.000196 0.000196 0.000196 0.05% Amr::coarseTimeStep() 5 0.0001937 0.0001937 0.0001937 0.04% MLLinOp::defineGrids() 6 0.0001624 0.0001624 0.0001624 0.04% Castro::create_source_corrector() 5 0.0001385 0.0001385 0.0001385 0.03% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLCGSolver::ParallelAllReduce 659 0.0001271 0.0001271 0.0001271 0.03% Castro::construct_new_source() 25 0.000126 0.000126 0.000126 0.03% FillPatchIterator::Initialize 20 0.0001158 0.0001158 0.0001158 0.03% MLCellLinOp::defineBC() 6 0.0001121 0.0001121 0.0001121 0.03% FabArray::ParallelCopy() 380 0.0001073 0.0001073 0.0001073 0.02% Amr::timeStep() 5 0.0001021 0.0001021 0.0001021 0.02% Castro::post_timestep() 5 9.937e-05 9.937e-05 9.937e-05 0.02% MLCellLinOp::correctionResidual() 216 9.309e-05 9.309e-05 9.309e-05 0.02% Gravity::solve_for_phi() 5 8.281e-05 8.281e-05 8.281e-05 0.02% AmrLevel::restart() 1 8.174e-05 8.174e-05 8.174e-05 0.02% Gravity::update_max_rhs() 6 7.165e-05 7.165e-05 7.165e-05 0.02% Castro::initialize_do_advance() 5 7.095e-05 7.095e-05 7.095e-05 0.02% StateData::restartDoit() 4 6.902e-05 6.902e-05 6.902e-05 0.02% Castro::construct_old_source() 25 6.153e-05 6.153e-05 6.153e-05 0.01% FabArrayBase::FB::FB() 26 5.92e-05 5.92e-05 5.92e-05 0.01% MLMG:computeResOfCorrection() 180 4.752e-05 4.752e-05 4.752e-05 0.01% Castro::construct_old_gravity() 5 4.567e-05 4.567e-05 4.567e-05 0.01% Castro::expand_state() 5 4.164e-05 4.164e-05 4.164e-05 0.01% MLMG::actualBottomSolve() 36 4.136e-05 4.136e-05 4.136e-05 0.01% MLMG::mgVcycle_down::0 36 4.102e-05 4.102e-05 4.102e-05 0.01% Castro::advance() 5 3.981e-05 3.981e-05 3.981e-05 0.01% Castro::finalize_advance() 5 3.861e-05 3.861e-05 3.861e-05 0.01% Castro::initialize_advance() 5 3.651e-05 3.651e-05 3.651e-05 0.01% MLMG::mgVcycle_down::1 36 3.618e-05 3.618e-05 3.618e-05 0.01% Castro::clean_state() 30 3.495e-05 3.495e-05 3.495e-05 0.01% Castro::initMFs() 1 3.371e-05 3.371e-05 3.371e-05 0.01% MLMG::mgVcycle_down::2 36 3.323e-05 3.323e-05 3.323e-05 0.01% MLMG::solve() 6 3.319e-05 3.319e-05 3.319e-05 0.01% Castro::subcycle_advance_ctu() 5 3.318e-05 3.318e-05 3.318e-05 0.01% MLMG::mgVcycle_down::4 36 3.195e-05 3.195e-05 3.195e-05 0.01% MLMG::mgVcycle_down::3 36 3.082e-05 3.082e-05 3.082e-05 0.01% MLMG::mgVcycle_up::4 36 2.804e-05 2.804e-05 2.804e-05 0.01% Castro::finalize_do_advance() 5 2.794e-05 2.794e-05 2.794e-05 0.01% Castro::buildMetrics() 1 2.706e-05 2.706e-05 2.706e-05 0.01% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.01% Castro::swap_state_time_levels() 5 2.446e-05 2.446e-05 2.446e-05 0.01% Castro::computeNewDt() 5 2.402e-05 2.402e-05 2.402e-05 0.01% MLMG::oneIter() 36 2.289e-05 2.289e-05 2.289e-05 0.01% MLMG::mgVcycle_up::0 36 2.233e-05 2.233e-05 2.233e-05 0.01% MLMG::mgVcycle_up::2 36 2.213e-05 2.213e-05 2.213e-05 0.01% MLMG::mgVcycle_up::3 36 2.194e-05 2.194e-05 2.194e-05 0.01% MLCellLinOp::solutionResidual() 42 2.094e-05 2.094e-05 2.094e-05 0.00% MLMG::mgVcycle_up::1 36 2.086e-05 2.086e-05 2.086e-05 0.00% Castro::post_restart() 1 1.845e-05 1.845e-05 1.845e-05 0.00% MLPoisson::define() 6 1.827e-05 1.827e-05 1.827e-05 0.00% MLMG::ResNormInf() 42 1.806e-05 1.806e-05 1.806e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.767e-05 1.767e-05 1.767e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.598e-05 1.598e-05 1.598e-05 0.00% MLMG::mgVcycle_bottom 36 1.471e-05 1.471e-05 1.471e-05 0.00% MLMG::computeResidual() 36 1.341e-05 1.341e-05 1.341e-05 0.00% FillPatchSingleLevel 20 1.311e-05 1.311e-05 1.311e-05 0.00% makeSFC 30 1.267e-05 1.267e-05 1.267e-05 0.00% Castro::construct_new_gravity() 5 1.266e-05 1.266e-05 1.266e-05 0.00% MLLinOp::define() 6 1.111e-05 1.111e-05 1.111e-05 0.00% Castro::do_new_sources() 5 9.234e-06 9.234e-06 9.234e-06 0.00% DistributionMapping::Distribute() 31 8.696e-06 8.696e-06 8.696e-06 0.00% Amr::initSubcycle() 1 8.664e-06 8.664e-06 8.664e-06 0.00% Castro::do_old_sources() 5 8.597e-06 8.597e-06 8.597e-06 0.00% Gravity::actual_multilevel_solve() 1 7.287e-06 7.287e-06 7.287e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.232e-06 7.232e-06 7.232e-06 0.00% Castro::apply_source_to_state() 10 5.815e-06 5.815e-06 5.815e-06 0.00% Castro::check_for_nan() 10 5.789e-06 5.789e-06 5.789e-06 0.00% MLPoisson::prepareForSolve() 6 4.337e-06 4.337e-06 4.337e-06 0.00% Gravity::swapTimeLevels() 5 4.187e-06 4.187e-06 4.187e-06 0.00% MLMG::computeMLResidual() 6 3.947e-06 3.947e-06 3.947e-06 0.00% Castro::retry_advance_ctu() 5 3.308e-06 3.308e-06 3.308e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.148e-06 3.148e-06 3.148e-06 0.00% MLMG::getGradSolution() 6 3.066e-06 3.066e-06 3.066e-06 0.00% Gravity::set_mass_offset() 6 2.385e-06 2.385e-06 2.385e-06 0.00% MLMG::MLResNormInf() 6 2.195e-06 2.195e-06 2.195e-06 0.00% Castro::FluxRegCrseInit 5 2.123e-06 2.123e-06 2.123e-06 0.00% MLMG::MLRhsNormInf() 6 2.094e-06 2.094e-06 2.094e-06 0.00% Castro::FluxRegFineAdd() 5 1.443e-06 1.443e-06 1.443e-06 0.00% Amr::init() 1 1.222e-06 1.222e-06 1.222e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.69e-07 9.69e-07 9.69e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4338 0.4338 0.4338 100.00% Amr::coarseTimeStep() 5 0.3235 0.3235 0.3235 74.57% Amr::timeStep() 5 0.3212 0.3212 0.3212 74.04% Castro::advance() 5 0.3156 0.3156 0.3156 72.75% Castro::subcycle_advance_ctu() 5 0.3085 0.3085 0.3085 71.12% Castro::do_advance_ctu() 5 0.3085 0.3085 0.3085 71.11% Castro::construct_ctu_hydro_source() 5 0.1337 0.1337 0.1337 30.82% Castro::construct_new_gravity() 5 0.13 0.13 0.13 29.98% Gravity::solve_phi_with_mlmg() 6 0.1253 0.1253 0.1253 28.89% Gravity::solve_for_phi() 5 0.1223 0.1223 0.1223 28.19% Gravity::actual_solve_with_mlmg() 6 0.122 0.122 0.122 28.14% MLMG::solve() 6 0.1107 0.1107 0.1107 25.53% MLMG::oneIter() 36 0.1039 0.1039 0.1039 23.95% MLMG::mgVcycle() 36 0.1023 0.1023 0.1023 23.59% Amr::writePlotFile() 1 0.06452 0.06452 0.06452 14.87% MLCellLinOp::smooth() 720 0.05006 0.05006 0.05006 11.54% MLCellLinOp::applyBC() 1946 0.04699 0.04699 0.04699 10.83% VisMF::Write(FabArray) 1 0.04515 0.04515 0.04515 10.41% Amr::init() 1 0.04505 0.04505 0.04505 10.39% Amr::restart() 1 0.04505 0.04505 0.04505 10.39% AmrLevel::restart() 1 0.03893 0.03893 0.03893 8.97% StateData::restartDoit() 4 0.03884 0.03884 0.03884 8.95% VisMF::Read() 3 0.03872 0.03872 0.03872 8.93% MLMG::mgVcycle_bottom 36 0.03181 0.03181 0.03181 7.33% MLMG::actualBottomSolve() 36 0.03179 0.03179 0.03179 7.33% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 7.26% Castro::clean_state() 30 0.02911 0.02911 0.02911 6.71% FillPatchIterator::Initialize 20 0.01989 0.01989 0.01989 4.59% FillPatchSingleLevel 20 0.01914 0.01914 0.01914 4.41% StateDataPhysBCFunct::() 20 0.01711 0.01711 0.01711 3.95% MLCellLinOp::apply() 500 0.01576 0.01576 0.01576 3.63% MLMG::mgVcycle_down::0 36 0.0144 0.0144 0.0144 3.32% MLPoisson::Fsmooth() 1440 0.01392 0.01392 0.01392 3.21% FabArray::FillBoundary() 1766 0.01356 0.01356 0.01356 3.13% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.03% StateData::FillBoundary(geom) 160 0.01224 0.01224 0.01224 2.82% Castro::initialize_do_advance() 5 0.01184 0.01184 0.01184 2.73% MLMG::mgVcycle_up::0 36 0.01076 0.01076 0.01076 2.48% Castro::normalize_species() 30 0.01012 0.01012 0.01012 2.33% Castro::computeTemp() 30 0.009707 0.009707 0.009707 2.24% MLCellLinOp::correctionResidual() 216 0.009552 0.009552 0.009552 2.20% MLPoisson::define() 6 0.009023 0.009023 0.009023 2.08% amrex::Dot() 484 0.008796 0.008796 0.008796 2.03% MLMG:computeResOfCorrection() 180 0.008395 0.008395 0.008395 1.94% Castro::enforce_min_density() 30 0.007968 0.007968 0.007968 1.84% Castro::do_new_sources() 5 0.007674 0.007674 0.007674 1.77% Gravity::get_new_grav_vector() 5 0.00763 0.00763 0.00763 1.76% Castro::construct_old_gravity() 5 0.007434 0.007434 0.007434 1.71% Gravity::get_old_grav_vector() 5 0.007389 0.007389 0.007389 1.70% amrex::Copy() 463 0.007009 0.007009 0.007009 1.62% MLMG::mgVcycle_down::1 36 0.006826 0.006826 0.006826 1.57% Castro::initialize_advance() 5 0.006696 0.006696 0.006696 1.54% FabArray::ParallelCopy() 380 0.006562 0.006562 0.006562 1.51% FabArray::ParallelCopy_nowait() 380 0.006455 0.006455 0.006455 1.49% MLMG::mgVcycle_down::2 36 0.006375 0.006375 0.006375 1.47% FabArray::norminf() 326 0.006263 0.006263 0.006263 1.44% FabArray::setVal() 537 0.00623 0.00623 0.00623 1.44% MLMG::mgVcycle_down::3 36 0.006212 0.006212 0.006212 1.43% Castro::do_old_sources() 5 0.006205 0.006205 0.006205 1.43% MLMG::mgVcycle_down::4 36 0.006175 0.006175 0.006175 1.42% MLCellLinOp::defineAuxData() 6 0.006041 0.006041 0.006041 1.39% Castro::expand_state() 5 0.005636 0.005636 0.005636 1.30% Castro::post_timestep() 5 0.005518 0.005518 0.005518 1.27% MLCGSolver::ParallelAllReduce 659 0.005305 0.005305 0.005305 1.22% MLMG::addInterpCorrection() 180 0.005176 0.005176 0.005176 1.19% MLMG::mgVcycle_up::4 36 0.004981 0.004981 0.004981 1.15% MLMG::mgVcycle_up::1 36 0.004958 0.004958 0.004958 1.14% amrex::average_down 180 0.004874 0.004874 0.004874 1.12% MLMG::mgVcycle_up::2 36 0.004863 0.004863 0.004863 1.12% MLMG::mgVcycle_up::3 36 0.004794 0.004794 0.004794 1.11% MLPoisson::Fapply() 500 0.004481 0.004481 0.004481 1.03% FabArray::Saxpy() 355 0.003648 0.003648 0.003648 0.84% FabArray::Xpay() 361 0.003496 0.003496 0.003496 0.81% Castro::post_restart() 1 0.00339 0.00339 0.00339 0.78% Gravity::multilevel_solve_for_new_phi() 1 0.003283 0.003283 0.003283 0.76% Gravity::actual_multilevel_solve() 1 0.003267 0.003267 0.003267 0.75% MLCellLinOp::solutionResidual() 42 0.003211 0.003211 0.003211 0.74% Gravity::fill_multipole_BCs() 6 0.003158 0.003158 0.003158 0.73% Castro::estTimeStep() 10 0.002983 0.002983 0.002983 0.69% Castro::reset_internal_energy(MultiFab) 30 0.00283 0.00283 0.00283 0.65% MLCellLinOp::defineBC() 6 0.002762 0.002762 0.002762 0.64% MLMG::computeResidual() 36 0.002658 0.002658 0.002658 0.61% BndryData::define() 6 0.00265 0.00265 0.00265 0.61% MLMG::prepareForSolve() 6 0.002526 0.002526 0.002526 0.58% Castro::computeNewDt() 5 0.002096 0.002096 0.002096 0.48% FabArray::LinComb() 242 0.001955 0.001955 0.001955 0.45% amrex::Add() 72 0.001847 0.001847 0.001847 0.43% Castro::construct_new_source() 25 0.001818 0.001818 0.001818 0.42% Castro::construct_new_gravity_source() 5 0.001692 0.001692 0.001692 0.39% Castro::construct_old_source() 25 0.001538 0.001538 0.001538 0.35% Castro::construct_old_gravity_source() 5 0.001477 0.001477 0.001477 0.34% Castro::enforce_speed_limit() 30 0.001281 0.001281 0.001281 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000943 0.000943 0.000943 0.22% MLMG::ResNormInf() 42 0.0009271 0.0009271 0.0009271 0.21% Castro::apply_source_to_state() 10 0.0009231 0.0009231 0.0009231 0.21% Castro::reset_internal_energy(Fab) 240 0.0008104 0.0008104 0.0008104 0.19% FabArrayBase::getCPC() 632 0.0007883 0.0007883 0.0007883 0.18% MLMG::getGradSolution() 6 0.000749 0.000749 0.000749 0.17% MLCellLinOp::setLevelBC() 6 0.0007475 0.0007475 0.0007475 0.17% MLCellLinOp::compGrad() 6 0.000746 0.000746 0.000746 0.17% FabArray::mult() 22 0.0006433 0.0006433 0.0006433 0.15% FabArray::setDomainBndry() 20 0.0006348 0.0006348 0.0006348 0.15% MLPoisson::prepareForSolve() 6 0.0006128 0.0006128 0.0006128 0.14% MLCellLinOp::prepareForSolve() 6 0.0006085 0.0006085 0.0006085 0.14% Castro::check_for_nan() 10 0.0005969 0.0005969 0.0005969 0.14% MultiFab::contains_nan() 10 0.0005911 0.0005911 0.0005911 0.14% MLMG::computeMLResidual() 6 0.0005709 0.0005709 0.0005709 0.13% Gravity::update_max_rhs() 6 0.0004681 0.0004681 0.0004681 0.11% FabArrayBase::CPC::define() 244 0.0004242 0.0004242 0.0004242 0.10% Amr::InitAmr() 1 0.0004046 0.0004046 0.0004046 0.09% FabArrayBase::getFB() 1766 0.0003276 0.0003276 0.0003276 0.08% Castro::finalize_advance() 5 0.0003114 0.0003114 0.0003114 0.07% Gravity::swapTimeLevels() 5 0.0002239 0.0002239 0.0002239 0.05% MLLinOp::define() 6 0.0002018 0.0002018 0.0002018 0.05% MLLinOp::defineGrids() 6 0.0001907 0.0001907 0.0001907 0.04% MLMG::MLResNormInf() 6 0.0001523 0.0001523 0.0001523 0.04% Castro::buildMetrics() 1 0.0001464 0.0001464 0.0001464 0.03% Castro::create_source_corrector() 5 0.0001385 0.0001385 0.0001385 0.03% MultiFab::max() 6 0.0001354 0.0001354 0.0001354 0.03% MLMG::MLRhsNormInf() 6 0.0001167 0.0001167 0.0001167 0.03% FabArrayBase::FB::FB() 26 5.92e-05 5.92e-05 5.92e-05 0.01% Castro::initMFs() 1 3.371e-05 3.371e-05 3.371e-05 0.01% Castro::finalize_do_advance() 5 2.794e-05 2.794e-05 2.794e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.728e-05 2.728e-05 2.728e-05 0.01% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.01% Castro::swap_state_time_levels() 5 2.446e-05 2.446e-05 2.446e-05 0.01% makeSFC 30 2.005e-05 2.005e-05 2.005e-05 0.00% DistributionMapping::Distribute() 31 8.696e-06 8.696e-06 8.696e-06 0.00% Amr::initSubcycle() 1 8.664e-06 8.664e-06 8.664e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.467e-06 4.467e-06 4.467e-06 0.00% Castro::retry_advance_ctu() 5 3.308e-06 3.308e-06 3.308e-06 0.00% Gravity::set_mass_offset() 6 2.385e-06 2.385e-06 2.385e-06 0.00% Castro::FluxRegCrseInit 5 2.123e-06 2.123e-06 2.123e-06 0.00% Castro::FluxRegFineAdd() 5 1.443e-06 1.443e-06 1.443e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.69e-07 9.69e-07 9.69e-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 182 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 140 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB FillPatchIterator::Initialize 160 160 998 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 3042 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6837 KiB 14 MiB MLMG::prepareForSolve() 361 361 3135 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 176 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6833 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2060 B 2048 KiB Gravity::solve_for_phi() 40 40 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 288 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 185 KiB 671 KiB Castro::estTimeStep() 10 10 2341 B 480 KiB VisMF::Write(FabArray) 112 112 1133 B 320 KiB Castro::normalize_species() 30 30 7592 B 320 KiB amrex::average_down 469 469 1122 B 257 KiB MLMG::addInterpCorrection() 468 468 1013 B 257 KiB amrex::Dot() 592 592 2986 B 160 KiB FabArray::norminf() 398 398 2130 B 160 KiB Castro::do_advance_ctu() 5 5 574 B 160 KiB MultiFab::max() 6 6 47 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 3049 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 3892 3892 199 B 9344 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 105 B 1472 B MLCellLinOp::defineBC() 36 36 324 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1205 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 100 KiB 8192 KiB VisMF::Write(FabArray) 120 120 226 KiB 3584 KiB VisMF::Read() 24 24 174 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3049 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 1946 1946 198 B 9328 B amrex::Copy() 56 56 5983 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2707 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 505 B 1296 B amrex::average_down 37 37 229 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 398 398 15 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): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-30-g07f87b0a9047) finalized