Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-10-g1e2154f614e5) initialized Starting run at 07:38:55 UTC on 2023-05-10. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-10-g1e2154f61 Microphysics git describe: 23.05-4-g0685d31f 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.058654906 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032711609 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047559199 [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.052703688 [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.049615677 [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.049468852 [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.074774614 [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.056564644 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06960047 [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.063923181 [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.061428067 [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.04823754 [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.050054072 [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.056378875 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032617409 seconds Ending run at 07:38:56 UTC on 2023-05-10. Run time = 0.850414378 Run time without initialization = 0.713550097 Average number of zones advanced per microsecond: 3.674 Average number of zones advanced per microsecond per rank: 3.674 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8504 ... 0.8504 ... 0.8504 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2301 0.2301 0.2301 27.06% Castro::construct_ctu_hydro_source() 10 0.1986 0.1986 0.1986 23.35% MLCellLinOp::applyBC() 4379 0.07474 0.07474 0.07474 8.79% FillBoundary_nowait() 3974 0.03154 0.03154 0.03154 3.71% MLPoisson::Fsmooth() 3240 0.03138 0.03138 0.03138 3.69% StateDataPhysBCFunct::() 41 0.03002 0.03002 0.03002 3.53% StateData::FillBoundary(geom) 328 0.02148 0.02148 0.02148 2.53% amrex::Dot() 1100 0.01963 0.01963 0.01963 2.31% Castro::normalize_species() 62 0.01499 0.01499 0.01499 1.76% amrex::Copy() 1019 0.01451 0.01451 0.01451 1.71% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.63% Castro::computeTemp() 63 0.01341 0.01341 0.01341 1.58% FabArray::ParallelCopy_nowait() 851 0.0131 0.0131 0.0131 1.54% FabArray::setVal() 1135 0.01283 0.01283 0.01283 1.51% MLPoisson::Fapply() 1128 0.009988 0.009988 0.009988 1.17% MLCellLinOp::defineAuxData() 11 0.009598 0.009598 0.009598 1.13% Castro::enforce_min_density() 62 0.009247 0.009247 0.009247 1.09% FabArray::Saxpy() 803 0.007915 0.007915 0.007915 0.93% FabArray::Xpay() 811 0.00777 0.00777 0.00777 0.91% MLMG::addInterpCorrection() 405 0.006505 0.006505 0.006505 0.76% Gravity::fill_multipole_BCs() 11 0.006405 0.006405 0.006405 0.75% amrex::average_down 405 0.005922 0.005922 0.005922 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005144 0.005144 0.005144 0.60% Castro::estTimeStep() 21 0.004698 0.004698 0.004698 0.55% FabArray::LinComb() 550 0.004348 0.004348 0.004348 0.51% amrex::Add() 162 0.004312 0.004312 0.004312 0.51% Amr::checkPoint() 3 0.003943 0.003943 0.003943 0.46% BndryData::define() 11 0.003563 0.003563 0.003563 0.42% Castro::construct_new_gravity_source() 10 0.003277 0.003277 0.003277 0.39% Castro::construct_old_gravity_source() 10 0.002752 0.002752 0.002752 0.32% Castro::do_advance_ctu() 10 0.002388 0.002388 0.002388 0.28% Amr::writePlotFile() 2 0.002352 0.002352 0.002352 0.28% MLCGSolver::bicgstab 81 0.002266 0.002266 0.002266 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001684 0.001684 0.001684 0.20% Gravity::actual_solve_with_mlmg() 11 0.001473 0.001473 0.001473 0.17% Castro::reset_internal_energy(Fab) 504 0.001424 0.001424 0.001424 0.17% MLCellLinOp::setLevelBC() 11 0.00137 0.00137 0.00137 0.16% FabArray::mult() 43 0.001321 0.001321 0.001321 0.16% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% Castro::initData() 1 0.001216 0.001216 0.001216 0.14% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.14% Castro::enforce_speed_limit() 62 0.001155 0.001155 0.001155 0.14% MLCellLinOp::prepareForSolve() 11 0.001118 0.001118 0.001118 0.13% MLCellLinOp::smooth() 1620 0.001113 0.001113 0.001113 0.13% MLMG::prepareForSolve() 11 0.0009145 0.0009145 0.0009145 0.11% MLCellLinOp::compGrad() 11 0.0008995 0.0008995 0.0008995 0.11% FabArray::FillBoundary() 3974 0.0008823 0.0008823 0.0008823 0.10% FabArrayBase::getCPC() 1313 0.0007205 0.0007205 0.0007205 0.08% Castro::subcycle_advance_ctu() 10 0.0007161 0.0007161 0.0007161 0.08% FabArrayBase::CPC::define() 454 0.0006655 0.0006655 0.0006655 0.08% Gravity::get_new_grav_vector() 11 0.0006369 0.0006369 0.0006369 0.07% FabArrayBase::getFB() 3974 0.0005611 0.0005611 0.0005611 0.07% Gravity::get_old_grav_vector() 10 0.0005558 0.0005558 0.0005558 0.07% Amr::InitAmr() 1 0.0004602 0.0004602 0.0004602 0.05% MLCellLinOp::apply() 1128 0.0004495 0.0004495 0.0004495 0.05% MLLinOp::defineGrids() 11 0.000356 0.000356 0.000356 0.04% Amr::coarseTimeStep() 10 0.0003426 0.0003426 0.0003426 0.04% MLMG::mgVcycle() 81 0.0003419 0.0003419 0.0003419 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002935 0.0002935 0.0002935 0.03% main() 1 0.0002839 0.0002839 0.0002839 0.03% MultiFab::max() 11 0.0002582 0.0002582 0.0002582 0.03% FillPatchIterator::Initialize 41 0.0002466 0.0002466 0.0002466 0.03% FabArray::ParallelCopy() 851 0.0002422 0.0002422 0.0002422 0.03% MLCellLinOp::correctionResidual() 486 0.0002328 0.0002328 0.0002328 0.03% MLCellLinOp::defineBC() 11 0.000215 0.000215 0.000215 0.03% Amr::timeStep() 10 0.0001631 0.0001631 0.0001631 0.02% Castro::create_source_corrector() 10 0.0001489 0.0001489 0.0001489 0.02% StateData::checkPoint() 12 0.0001389 0.0001389 0.0001389 0.02% Gravity::update_max_rhs() 11 0.0001274 0.0001274 0.0001274 0.01% MLMG:computeResOfCorrection() 405 0.0001183 0.0001183 0.0001183 0.01% Gravity::solve_for_phi() 10 0.000117 0.000117 0.000117 0.01% MLMG::mgVcycle_down::0 81 9.307e-05 9.307e-05 9.307e-05 0.01% FabArrayBase::FB::FB() 56 8.96e-05 8.96e-05 8.96e-05 0.01% MLMG::actualBottomSolve() 81 8.918e-05 8.918e-05 8.918e-05 0.01% MLMG::mgVcycle_down::1 81 8.629e-05 8.629e-05 8.629e-05 0.01% MLMG::mgVcycle_down::2 81 8.529e-05 8.529e-05 8.529e-05 0.01% Castro::Castro() 1 8.391e-05 8.391e-05 8.391e-05 0.01% MLMG::mgVcycle_down::3 81 8.219e-05 8.219e-05 8.219e-05 0.01% MLMG::mgVcycle_down::4 81 8.113e-05 8.113e-05 8.113e-05 0.01% Castro::initialize_advance() 10 8.04e-05 8.04e-05 8.04e-05 0.01% Castro::expand_state() 10 7.797e-05 7.797e-05 7.797e-05 0.01% AmrLevel::checkPoint() 3 7.675e-05 7.675e-05 7.675e-05 0.01% Castro::clean_state() 62 7.561e-05 7.561e-05 7.561e-05 0.01% MLMG::solve() 11 7.494e-05 7.494e-05 7.494e-05 0.01% Castro::finalize_advance() 10 7.136e-05 7.136e-05 7.136e-05 0.01% MLMG::mgVcycle_up::4 81 6.368e-05 6.368e-05 6.368e-05 0.01% MLMG::oneIter() 81 5.592e-05 5.592e-05 5.592e-05 0.01% Castro::initialize_do_advance() 10 5.447e-05 5.447e-05 5.447e-05 0.01% MLMG::mgVcycle_up::1 81 5.338e-05 5.338e-05 5.338e-05 0.01% MLMG::mgVcycle_up::3 81 5.278e-05 5.278e-05 5.278e-05 0.01% MLMG::mgVcycle_up::0 81 5.214e-05 5.214e-05 5.214e-05 0.01% MLMG::mgVcycle_up::2 81 5.212e-05 5.212e-05 5.212e-05 0.01% MLCellLinOp::solutionResidual() 92 5.043e-05 5.043e-05 5.043e-05 0.01% Castro::advance() 10 4.17e-05 4.17e-05 4.17e-05 0.00% Castro::finalize_do_advance() 10 4.143e-05 4.143e-05 4.143e-05 0.00% Castro::swap_state_time_levels() 10 3.74e-05 3.74e-05 3.74e-05 0.00% Castro::post_timestep() 10 3.412e-05 3.412e-05 3.412e-05 0.00% StateData::define() 4 3.295e-05 3.295e-05 3.295e-05 0.00% Castro::enforce_consistent_e() 1 3.247e-05 3.247e-05 3.247e-05 0.00% FillPatchSingleLevel 41 3.186e-05 3.186e-05 3.186e-05 0.00% MLMG::ResNormInf() 92 3.18e-05 3.18e-05 3.18e-05 0.00% MLMG::mgVcycle_bottom 81 3.102e-05 3.102e-05 3.102e-05 0.00% MLMG::computeResidual() 81 2.973e-05 2.973e-05 2.973e-05 0.00% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.00% makeSFC 55 2.384e-05 2.384e-05 2.384e-05 0.00% Amr::writeSmallPlotFile() 1 2.379e-05 2.379e-05 2.379e-05 0.00% Castro::construct_new_gravity() 10 2.32e-05 2.32e-05 2.32e-05 0.00% MLPoisson::define() 11 2.266e-05 2.266e-05 2.266e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.188e-05 2.188e-05 2.188e-05 0.00% Castro::construct_old_source() 50 2.059e-05 2.059e-05 2.059e-05 0.00% Amr::FinalizeInit() 1 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::buildMetrics() 1 1.864e-05 1.864e-05 1.864e-05 0.00% Amr::defBaseLevel() 1 1.861e-05 1.861e-05 1.861e-05 0.00% Castro::construct_new_source() 50 1.845e-05 1.845e-05 1.845e-05 0.00% Castro::do_new_sources() 10 1.648e-05 1.648e-05 1.648e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.634e-05 1.634e-05 1.634e-05 0.00% Castro::do_old_sources() 10 1.631e-05 1.631e-05 1.631e-05 0.00% DistributionMapping::Distribute() 56 1.593e-05 1.593e-05 1.593e-05 0.00% MLMG::computeMLResidual() 11 1.41e-05 1.41e-05 1.41e-05 0.00% MLPoisson::prepareForSolve() 11 1.396e-05 1.396e-05 1.396e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.344e-05 1.344e-05 1.344e-05 0.00% Castro::check_for_nan() 20 1.004e-05 1.004e-05 1.004e-05 0.00% MLLinOp::define() 11 9.915e-06 9.915e-06 9.915e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.859e-06 9.859e-06 9.859e-06 0.00% Castro::apply_source_to_state() 20 9.822e-06 9.822e-06 9.822e-06 0.00% Castro::construct_old_gravity() 10 9.333e-06 9.333e-06 9.333e-06 0.00% Gravity::swapTimeLevels() 10 9.222e-06 9.222e-06 9.222e-06 0.00% Amr::initSubcycle() 1 8.666e-06 8.666e-06 8.666e-06 0.00% Gravity::actual_multilevel_solve() 1 8.192e-06 8.192e-06 8.192e-06 0.00% Castro::computeNewDt() 9 6.724e-06 6.724e-06 6.724e-06 0.00% MLMG::getGradSolution() 11 5.6e-06 5.6e-06 5.6e-06 0.00% AmrLevel::checkPointPost() 3 4.617e-06 4.617e-06 4.617e-06 0.00% Amr::InitializeInit() 1 4.505e-06 4.505e-06 4.505e-06 0.00% Gravity::set_mass_offset() 11 4.318e-06 4.318e-06 4.318e-06 0.00% MLMG::MLResNormInf() 11 3.977e-06 3.977e-06 3.977e-06 0.00% MLMG::MLRhsNormInf() 11 3.859e-06 3.859e-06 3.859e-06 0.00% Castro::retry_advance_ctu() 10 3.699e-06 3.699e-06 3.699e-06 0.00% Castro::post_init() 1 3.564e-06 3.564e-06 3.564e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% Amr::init() 1 2.774e-06 2.774e-06 2.774e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.714e-06 2.714e-06 2.714e-06 0.00% Castro::computeInitialDt() 2 2.681e-06 2.681e-06 2.681e-06 0.00% Castro::FluxRegFineAdd() 10 2.013e-06 2.013e-06 2.013e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.86e-06 1.86e-06 1.86e-06 0.00% AmrLevel::checkPointPre() 3 1.614e-06 1.614e-06 1.614e-06 0.00% Castro::post_regrid() 1 1.611e-06 1.611e-06 1.611e-06 0.00% Amr::initialInit() 1 1.203e-06 1.203e-06 1.203e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8504 0.8504 0.8504 100.00% Amr::coarseTimeStep() 10 0.6807 0.6807 0.6807 80.04% Amr::timeStep() 10 0.5646 0.5646 0.5646 66.39% Castro::advance() 10 0.5576 0.5576 0.5576 65.56% Castro::subcycle_advance_ctu() 10 0.5449 0.5449 0.5449 64.07% Castro::do_advance_ctu() 10 0.5441 0.5441 0.5441 63.98% Gravity::solve_phi_with_mlmg() 11 0.2768 0.2768 0.2768 32.54% Gravity::actual_solve_with_mlmg() 11 0.2699 0.2699 0.2699 31.73% Castro::construct_new_gravity() 10 0.2622 0.2622 0.2622 30.83% MLMG::solve() 11 0.2496 0.2496 0.2496 29.35% Gravity::solve_for_phi() 10 0.2403 0.2403 0.2403 28.25% MLMG::oneIter() 81 0.2354 0.2354 0.2354 27.68% MLMG::mgVcycle() 81 0.2318 0.2318 0.2318 27.25% VisMF::Write(FabArray) 11 0.2301 0.2301 0.2301 27.06% Castro::construct_ctu_hydro_source() 10 0.1986 0.1986 0.1986 23.35% Amr::checkPoint() 3 0.1717 0.1717 0.1717 20.19% AmrLevel::checkPoint() 3 0.1678 0.1678 0.1678 19.73% StateData::checkPoint() 12 0.1677 0.1677 0.1677 19.72% Amr::init() 1 0.1363 0.1363 0.1363 16.02% MLCellLinOp::smooth() 1620 0.1149 0.1149 0.1149 13.51% MLCellLinOp::applyBC() 4379 0.1078 0.1078 0.1078 12.68% MLMG::mgVcycle_bottom 81 0.07081 0.07081 0.07081 8.33% MLMG::actualBottomSolve() 81 0.07078 0.07078 0.07078 8.32% MLCGSolver::bicgstab 81 0.0701 0.0701 0.0701 8.24% Amr::writePlotFile() 2 0.06545 0.06545 0.06545 7.70% FillPatchIterator::Initialize 41 0.05723 0.05723 0.05723 6.73% FillPatchSingleLevel 41 0.05569 0.05569 0.05569 6.55% StateDataPhysBCFunct::() 41 0.0515 0.0515 0.0515 6.06% Amr::initialInit() 1 0.04478 0.04478 0.04478 5.27% Castro::clean_state() 62 0.04461 0.04461 0.04461 5.25% Amr::FinalizeInit() 1 0.04064 0.04064 0.04064 4.78% Castro::post_init() 1 0.03928 0.03928 0.03928 4.62% Gravity::multilevel_solve_for_new_phi() 1 0.03695 0.03695 0.03695 4.34% Gravity::actual_multilevel_solve() 1 0.03693 0.03693 0.03693 4.34% MLCellLinOp::apply() 1128 0.03534 0.03534 0.03534 4.16% MLMG::mgVcycle_down::0 81 0.03369 0.03369 0.03369 3.96% FabArray::FillBoundary() 3974 0.03308 0.03308 0.03308 3.89% FillBoundary_nowait() 3974 0.03219 0.03219 0.03219 3.79% MLPoisson::Fsmooth() 3240 0.03138 0.03138 0.03138 3.69% MLMG::mgVcycle_up::0 81 0.02549 0.02549 0.02549 3.00% Gravity::get_new_grav_vector() 11 0.02395 0.02395 0.02395 2.82% Castro::initialize_do_advance() 10 0.02201 0.02201 0.02201 2.59% MLCellLinOp::correctionResidual() 486 0.02172 0.02172 0.02172 2.55% StateData::FillBoundary(geom) 328 0.02148 0.02148 0.02148 2.53% Castro::computeTemp() 63 0.01998 0.01998 0.01998 2.35% amrex::Dot() 1100 0.01963 0.01963 0.01963 2.31% Castro::construct_old_gravity() 10 0.01946 0.01946 0.01946 2.29% Gravity::get_old_grav_vector() 10 0.01945 0.01945 0.01945 2.29% MLMG:computeResOfCorrection() 405 0.01916 0.01916 0.01916 2.25% MLPoisson::define() 11 0.0161 0.0161 0.0161 1.89% MLMG::mgVcycle_down::1 81 0.01537 0.01537 0.01537 1.81% Castro::normalize_species() 62 0.01499 0.01499 0.01499 1.76% amrex::Copy() 1019 0.01451 0.01451 0.01451 1.71% MLMG::mgVcycle_down::2 81 0.01434 0.01434 0.01434 1.69% FabArray::ParallelCopy() 851 0.01414 0.01414 0.01414 1.66% MLMG::mgVcycle_down::3 81 0.014 0.014 0.014 1.65% FabArray::ParallelCopy_nowait() 851 0.01389 0.01389 0.01389 1.63% MLMG::mgVcycle_down::4 81 0.01383 0.01383 0.01383 1.63% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.63% Castro::expand_state() 10 0.01372 0.01372 0.01372 1.61% FabArray::setVal() 1135 0.01283 0.01283 0.01283 1.51% Castro::initialize_advance() 10 0.01205 0.01205 0.01205 1.42% Castro::do_new_sources() 10 0.01203 0.01203 0.01203 1.41% MLCGSolver::ParallelAllReduce 1495 0.01178 0.01178 0.01178 1.39% MLMG::addInterpCorrection() 405 0.01149 0.01149 0.01149 1.35% MLMG::mgVcycle_up::1 81 0.01124 0.01124 0.01124 1.32% MLMG::mgVcycle_up::4 81 0.01107 0.01107 0.01107 1.30% MLMG::mgVcycle_up::2 81 0.01092 0.01092 0.01092 1.28% amrex::average_down 405 0.01091 0.01091 0.01091 1.28% MLCellLinOp::defineAuxData() 11 0.0109 0.0109 0.0109 1.28% MLMG::mgVcycle_up::3 81 0.01069 0.01069 0.01069 1.26% Castro::do_old_sources() 10 0.0105 0.0105 0.0105 1.23% MLPoisson::Fapply() 1128 0.009988 0.009988 0.009988 1.17% Castro::enforce_min_density() 62 0.009247 0.009247 0.009247 1.09% FabArray::Saxpy() 803 0.007915 0.007915 0.007915 0.93% FabArray::Xpay() 811 0.00777 0.00777 0.00777 0.91% MLCellLinOp::solutionResidual() 92 0.007037 0.007037 0.007037 0.83% Castro::post_timestep() 10 0.006922 0.006922 0.006922 0.81% Gravity::fill_multipole_BCs() 11 0.006676 0.006676 0.006676 0.79% Castro::reset_internal_energy(MultiFab) 63 0.006569 0.006569 0.006569 0.77% MLMG::computeResidual() 81 0.006053 0.006053 0.006053 0.71% MLCellLinOp::defineBC() 11 0.004756 0.004756 0.004756 0.56% Castro::estTimeStep() 21 0.004698 0.004698 0.004698 0.55% MLMG::prepareForSolve() 11 0.004676 0.004676 0.004676 0.55% BndryData::define() 11 0.004541 0.004541 0.004541 0.53% FabArray::LinComb() 550 0.004348 0.004348 0.004348 0.51% amrex::Add() 162 0.004312 0.004312 0.004312 0.51% Amr::InitializeInit() 1 0.004139 0.004139 0.004139 0.49% Amr::defBaseLevel() 1 0.004134 0.004134 0.004134 0.49% Castro::initData() 1 0.003642 0.003642 0.003642 0.43% Castro::construct_new_source() 50 0.003295 0.003295 0.003295 0.39% Castro::construct_new_gravity_source() 10 0.003277 0.003277 0.003277 0.39% Castro::construct_old_source() 50 0.002773 0.002773 0.002773 0.33% Castro::construct_old_gravity_source() 10 0.002752 0.002752 0.002752 0.32% MLMG::ResNormInf() 92 0.002067 0.002067 0.002067 0.24% Castro::computeNewDt() 9 0.002011 0.002011 0.002011 0.24% Castro::apply_source_to_state() 20 0.001814 0.001814 0.001814 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001684 0.001684 0.001684 0.20% Castro::reset_internal_energy(Fab) 504 0.001424 0.001424 0.001424 0.17% FabArrayBase::getCPC() 1313 0.001386 0.001386 0.001386 0.16% MLMG::getGradSolution() 11 0.001375 0.001375 0.001375 0.16% MLCellLinOp::setLevelBC() 11 0.00137 0.00137 0.00137 0.16% MLCellLinOp::compGrad() 11 0.001369 0.001369 0.001369 0.16% FabArray::mult() 43 0.001321 0.001321 0.001321 0.16% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% Castro::check_for_nan() 20 0.001215 0.001215 0.001215 0.14% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.14% Castro::enforce_speed_limit() 62 0.001155 0.001155 0.001155 0.14% MLPoisson::prepareForSolve() 11 0.001132 0.001132 0.001132 0.13% MLCellLinOp::prepareForSolve() 11 0.001118 0.001118 0.001118 0.13% Castro::post_regrid() 1 0.001115 0.001115 0.001115 0.13% MLMG::computeMLResidual() 11 0.001028 0.001028 0.001028 0.12% Castro::computeInitialDt() 2 0.0009181 0.0009181 0.0009181 0.11% Gravity::update_max_rhs() 11 0.0008368 0.0008368 0.0008368 0.10% FabArrayBase::CPC::define() 454 0.0006655 0.0006655 0.0006655 0.08% FabArrayBase::getFB() 3974 0.0006507 0.0006507 0.0006507 0.08% Castro::finalize_advance() 10 0.0005952 0.0005952 0.0005952 0.07% Amr::InitAmr() 1 0.0004689 0.0004689 0.0004689 0.06% Gravity::swapTimeLevels() 10 0.0004316 0.0004316 0.0004316 0.05% Castro::Castro() 1 0.0004266 0.0004266 0.0004266 0.05% MLLinOp::define() 11 0.0004192 0.0004192 0.0004192 0.05% MLLinOp::defineGrids() 11 0.0004093 0.0004093 0.0004093 0.05% MLMG::MLResNormInf() 11 0.0002855 0.0002855 0.0002855 0.03% MultiFab::max() 11 0.0002582 0.0002582 0.0002582 0.03% MLMG::MLRhsNormInf() 11 0.0002211 0.0002211 0.0002211 0.03% Castro::buildMetrics() 1 0.0001593 0.0001593 0.0001593 0.02% Castro::create_source_corrector() 10 0.0001489 0.0001489 0.0001489 0.02% FabArrayBase::FB::FB() 56 8.96e-05 8.96e-05 8.96e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.147e-05 5.147e-05 5.147e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.28e-05 4.28e-05 4.28e-05 0.01% Castro::finalize_do_advance() 10 4.143e-05 4.143e-05 4.143e-05 0.00% makeSFC 55 3.803e-05 3.803e-05 3.803e-05 0.00% Castro::swap_state_time_levels() 10 3.74e-05 3.74e-05 3.74e-05 0.00% StateData::define() 4 3.295e-05 3.295e-05 3.295e-05 0.00% Castro::enforce_consistent_e() 1 3.247e-05 3.247e-05 3.247e-05 0.00% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.00% Amr::writeSmallPlotFile() 1 2.379e-05 2.379e-05 2.379e-05 0.00% DistributionMapping::Distribute() 56 1.593e-05 1.593e-05 1.593e-05 0.00% Amr::initSubcycle() 1 8.666e-06 8.666e-06 8.666e-06 0.00% AmrLevel::checkPointPost() 3 4.617e-06 4.617e-06 4.617e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.453e-06 4.453e-06 4.453e-06 0.00% Gravity::set_mass_offset() 11 4.318e-06 4.318e-06 4.318e-06 0.00% Castro::retry_advance_ctu() 10 3.699e-06 3.699e-06 3.699e-06 0.00% Castro::FluxRegCrseInit 10 2.937e-06 2.937e-06 2.937e-06 0.00% Castro::FluxRegFineAdd() 10 2.013e-06 2.013e-06 2.013e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.86e-06 1.86e-06 1.86e-06 0.00% AmrLevel::checkPointPre() 3 1.614e-06 1.614e-06 1.614e-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 94 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 112 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 1345 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2162 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3610 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 291 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 234 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1875 B 2048 KiB Gravity::solve_for_phi() 80 80 577 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2524 B 480 KiB VisMF::Write(FabArray) 656 656 3454 B 320 KiB Castro::normalize_species() 62 62 5732 B 320 KiB amrex::average_down 1054 1054 1268 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1160 B 257 KiB amrex::Dot() 1343 1343 3403 B 160 KiB FabArray::norminf() 896 896 2407 B 160 KiB Castro::do_advance_ctu() 10 10 426 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3528 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 326 B 9648 B MLCellLinOp::applyBC() 8758 8758 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3853 B 6144 B StateData::FillBoundary(geom) 1992 1992 107 B 4608 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 119 B 1472 B MLCellLinOp::defineBC() 66 66 371 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 637 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 620 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3528 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 46 B 10 KiB FillBoundary_nowait() 751 751 326 B 9648 B MLCellLinOp::applyBC() 4379 4379 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3853 B 6144 B StateData::FillBoundary(geom) 1992 1992 107 B 4608 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 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 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 300 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 896 896 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-10-g1e2154f614e5) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-10-g1e2154f614e5) initialized Starting run at 07:38:57 UTC on 2023-05-10. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-10-g1e2154f61 Microphysics git describe: 23.05-4-g0685d31f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.467559541 Restart time = 0.088674267 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048090239 [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.047890009 [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.047519064 [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.063625859 [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.070422392 [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.032264576 seconds Ending run at 07:38:57 UTC on 2023-05-10. Run time = 0.399440296 Run time without initialization = 0.310212676 Average number of zones advanced per microsecond: 4.225 Average number of zones advanced per microsecond per rank: 4.225 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3995 ... 0.3995 ... 0.3995 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1025 0.1025 0.1025 25.67% Amr::restart() 1 0.04714 0.04714 0.04714 11.80% VisMF::Read() 3 0.03791 0.03791 0.03791 9.49% MLCellLinOp::applyBC() 1946 0.03251 0.03251 0.03251 8.14% VisMF::Write(FabArray) 1 0.03074 0.03074 0.03074 7.70% MLPoisson::Fsmooth() 1440 0.01346 0.01346 0.01346 3.37% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 3.22% StateData::FillBoundary(geom) 160 0.01155 0.01155 0.01155 2.89% amrex::Dot() 484 0.008386 0.008386 0.008386 2.10% amrex::Copy() 463 0.00679 0.00679 0.00679 1.70% Castro::normalize_species() 30 0.00644 0.00644 0.00644 1.61% FabArray::setVal() 537 0.006037 0.006037 0.006037 1.51% FabArray::norminf() 326 0.005992 0.005992 0.005992 1.50% FabArray::ParallelCopy_nowait() 380 0.005869 0.005869 0.005869 1.47% Castro::computeTemp() 30 0.005753 0.005753 0.005753 1.44% StateDataPhysBCFunct::() 20 0.005495 0.005495 0.005495 1.38% MLCellLinOp::defineAuxData() 6 0.00493 0.00493 0.00493 1.23% Castro::enforce_min_density() 30 0.00436 0.00436 0.00436 1.09% MLPoisson::Fapply() 500 0.004287 0.004287 0.004287 1.07% FabArray::Saxpy() 355 0.00353 0.00353 0.00353 0.88% FabArray::Xpay() 361 0.003378 0.003378 0.003378 0.85% Gravity::fill_multipole_BCs() 6 0.003348 0.003348 0.003348 0.84% Castro::estTimeStep() 10 0.003059 0.003059 0.003059 0.77% MLMG::addInterpCorrection() 180 0.00278 0.00278 0.00278 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002545 0.002545 0.002545 0.64% amrex::average_down 180 0.002477 0.002477 0.002477 0.62% BndryData::define() 6 0.001908 0.001908 0.001908 0.48% FabArray::LinComb() 242 0.001841 0.001841 0.001841 0.46% amrex::Add() 72 0.001835 0.001835 0.001835 0.46% Castro::construct_new_gravity_source() 5 0.001705 0.001705 0.001705 0.43% Castro::construct_old_gravity_source() 5 0.001393 0.001393 0.001393 0.35% Amr::writePlotFile() 1 0.001361 0.001361 0.001361 0.34% Castro::do_advance_ctu() 5 0.001264 0.001264 0.001264 0.32% MLCGSolver::bicgstab 36 0.0009192 0.0009192 0.0009192 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008697 0.0008697 0.0008697 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007829 0.0007829 0.0007829 0.20% MLCellLinOp::setLevelBC() 6 0.0007286 0.0007286 0.0007286 0.18% Castro::enforce_speed_limit() 30 0.0006557 0.0006557 0.0006557 0.16% Castro::reset_internal_energy(Fab) 240 0.0006453 0.0006453 0.0006453 0.16% FabArray::mult() 22 0.0006367 0.0006367 0.0006367 0.16% FabArray::setDomainBndry() 20 0.0006221 0.0006221 0.0006221 0.16% MultiFab::contains_nan() 10 0.0005954 0.0005954 0.0005954 0.15% MLCellLinOp::prepareForSolve() 6 0.0005861 0.0005861 0.0005861 0.15% MLCellLinOp::compGrad() 6 0.0004841 0.0004841 0.0004841 0.12% MLMG::prepareForSolve() 6 0.0004694 0.0004694 0.0004694 0.12% MLCellLinOp::smooth() 720 0.0004411 0.0004411 0.0004411 0.11% FabArrayBase::CPC::define() 244 0.000414 0.000414 0.000414 0.10% Amr::InitAmr() 1 0.0003689 0.0003689 0.0003689 0.09% FabArray::FillBoundary() 1766 0.0003418 0.0003418 0.0003418 0.09% FabArrayBase::getCPC() 632 0.00034 0.00034 0.00034 0.09% Gravity::get_old_grav_vector() 5 0.0002968 0.0002968 0.0002968 0.07% main() 1 0.0002807 0.0002807 0.0002807 0.07% Gravity::get_new_grav_vector() 5 0.0002686 0.0002686 0.0002686 0.07% FabArrayBase::getFB() 1766 0.0002408 0.0002408 0.0002408 0.06% MLCellLinOp::apply() 500 0.0001836 0.0001836 0.0001836 0.05% Amr::coarseTimeStep() 5 0.0001623 0.0001623 0.0001623 0.04% MLMG::mgVcycle() 36 0.0001467 0.0001467 0.0001467 0.04% MLLinOp::defineGrids() 6 0.0001443 0.0001443 0.0001443 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.03% MLCGSolver::ParallelAllReduce 659 0.0001213 0.0001213 0.0001213 0.03% MLCellLinOp::defineBC() 6 0.0001194 0.0001194 0.0001194 0.03% FillPatchIterator::Initialize 20 0.0001147 0.0001147 0.0001147 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.03% Castro::subcycle_advance_ctu() 5 0.000104 0.000104 0.000104 0.03% Castro::create_source_corrector() 5 9.802e-05 9.802e-05 9.802e-05 0.02% AmrLevel::restart() 1 9.164e-05 9.164e-05 9.164e-05 0.02% MLCellLinOp::correctionResidual() 216 8.878e-05 8.878e-05 8.878e-05 0.02% Amr::timeStep() 5 8.157e-05 8.157e-05 8.157e-05 0.02% StateData::restartDoit() 4 6.032e-05 6.032e-05 6.032e-05 0.02% Gravity::update_max_rhs() 6 5.865e-05 5.865e-05 5.865e-05 0.01% FabArrayBase::FB::FB() 26 5.695e-05 5.695e-05 5.695e-05 0.01% Gravity::solve_for_phi() 5 5.502e-05 5.502e-05 5.502e-05 0.01% MLMG:computeResOfCorrection() 180 5.014e-05 5.014e-05 5.014e-05 0.01% Castro::expand_state() 5 4.81e-05 4.81e-05 4.81e-05 0.01% MLMG::actualBottomSolve() 36 3.856e-05 3.856e-05 3.856e-05 0.01% MLMG::mgVcycle_down::0 36 3.669e-05 3.669e-05 3.669e-05 0.01% Castro::clean_state() 30 3.527e-05 3.527e-05 3.527e-05 0.01% Castro::construct_new_source() 25 3.514e-05 3.514e-05 3.514e-05 0.01% Castro::initialize_advance() 5 3.368e-05 3.368e-05 3.368e-05 0.01% MLMG::mgVcycle_down::1 36 3.263e-05 3.263e-05 3.263e-05 0.01% MLMG::solve() 6 3.147e-05 3.147e-05 3.147e-05 0.01% MLMG::mgVcycle_down::4 36 3.103e-05 3.103e-05 3.103e-05 0.01% MLMG::mgVcycle_down::2 36 3.101e-05 3.101e-05 3.101e-05 0.01% MLMG::mgVcycle_down::3 36 2.982e-05 2.982e-05 2.982e-05 0.01% Castro::swap_state_time_levels() 5 2.924e-05 2.924e-05 2.924e-05 0.01% MLMG::oneIter() 36 2.812e-05 2.812e-05 2.812e-05 0.01% MLMG::mgVcycle_up::4 36 2.762e-05 2.762e-05 2.762e-05 0.01% Castro::finalize_advance() 5 2.713e-05 2.713e-05 2.713e-05 0.01% Castro::buildMetrics() 1 2.703e-05 2.703e-05 2.703e-05 0.01% Castro::initMFs() 1 2.528e-05 2.528e-05 2.528e-05 0.01% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::initialize_do_advance() 5 2.505e-05 2.505e-05 2.505e-05 0.01% MLMG::mgVcycle_up::0 36 2.144e-05 2.144e-05 2.144e-05 0.01% MLCellLinOp::solutionResidual() 42 2.102e-05 2.102e-05 2.102e-05 0.01% MLMG::mgVcycle_up::3 36 2.098e-05 2.098e-05 2.098e-05 0.01% MLMG::mgVcycle_up::2 36 2.054e-05 2.054e-05 2.054e-05 0.01% Castro::post_restart() 1 1.996e-05 1.996e-05 1.996e-05 0.00% MLMG::mgVcycle_up::1 36 1.976e-05 1.976e-05 1.976e-05 0.00% Castro::finalize_do_advance() 5 1.891e-05 1.891e-05 1.891e-05 0.00% MLMG::ResNormInf() 42 1.718e-05 1.718e-05 1.718e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.564e-05 1.564e-05 1.564e-05 0.00% Castro::advance() 5 1.482e-05 1.482e-05 1.482e-05 0.00% FillPatchSingleLevel 20 1.472e-05 1.472e-05 1.472e-05 0.00% MLMG::mgVcycle_bottom 36 1.431e-05 1.431e-05 1.431e-05 0.00% MLPoisson::define() 6 1.422e-05 1.422e-05 1.422e-05 0.00% MLMG::computeResidual() 36 1.255e-05 1.255e-05 1.255e-05 0.00% makeSFC 30 1.225e-05 1.225e-05 1.225e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.182e-05 1.182e-05 1.182e-05 0.00% Castro::construct_new_gravity() 5 1.146e-05 1.146e-05 1.146e-05 0.00% Castro::construct_old_source() 25 9.726e-06 9.726e-06 9.726e-06 0.00% MLMG::computeMLResidual() 6 9.229e-06 9.229e-06 9.229e-06 0.00% MLPoisson::prepareForSolve() 6 9.139e-06 9.139e-06 9.139e-06 0.00% DistributionMapping::Distribute() 31 8.579e-06 8.579e-06 8.579e-06 0.00% Amr::initSubcycle() 1 8.571e-06 8.571e-06 8.571e-06 0.00% Castro::do_new_sources() 5 8.103e-06 8.103e-06 8.103e-06 0.00% Gravity::actual_multilevel_solve() 1 7.825e-06 7.825e-06 7.825e-06 0.00% Castro::do_old_sources() 5 7.369e-06 7.369e-06 7.369e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.906e-06 6.906e-06 6.906e-06 0.00% Castro::check_for_nan() 10 5.698e-06 5.698e-06 5.698e-06 0.00% MLLinOp::define() 6 5.388e-06 5.388e-06 5.388e-06 0.00% Castro::construct_old_gravity() 5 5.367e-06 5.367e-06 5.367e-06 0.00% Castro::apply_source_to_state() 10 5.244e-06 5.244e-06 5.244e-06 0.00% Castro::post_timestep() 5 4.316e-06 4.316e-06 4.316e-06 0.00% Gravity::swapTimeLevels() 5 3.835e-06 3.835e-06 3.835e-06 0.00% Castro::computeNewDt() 5 3.577e-06 3.577e-06 3.577e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.001e-06 3.001e-06 3.001e-06 0.00% MLMG::getGradSolution() 6 2.905e-06 2.905e-06 2.905e-06 0.00% Castro::FluxRegCrseInit 5 2.527e-06 2.527e-06 2.527e-06 0.00% MLMG::MLResNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% Gravity::set_mass_offset() 6 2.003e-06 2.003e-06 2.003e-06 0.00% MLMG::MLRhsNormInf() 6 1.999e-06 1.999e-06 1.999e-06 0.00% Castro::retry_advance_ctu() 5 1.667e-06 1.667e-06 1.667e-06 0.00% Castro::FluxRegFineAdd() 5 1.081e-06 1.081e-06 1.081e-06 0.00% Amr::init() 1 1.026e-06 1.026e-06 1.026e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.54e-07 9.54e-07 9.54e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3995 0.3995 0.3995 100.00% Amr::coarseTimeStep() 5 0.2777 0.2777 0.2777 69.52% Amr::timeStep() 5 0.2753 0.2753 0.2753 68.91% Castro::advance() 5 0.2725 0.2725 0.2725 68.21% Castro::subcycle_advance_ctu() 5 0.2666 0.2666 0.2666 66.73% Castro::do_advance_ctu() 5 0.2665 0.2665 0.2665 66.70% Castro::construct_new_gravity() 5 0.126 0.126 0.126 31.55% Gravity::solve_phi_with_mlmg() 6 0.1214 0.1214 0.1214 30.38% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 29.64% Gravity::actual_solve_with_mlmg() 6 0.1177 0.1177 0.1177 29.48% MLMG::solve() 6 0.1071 0.1071 0.1071 26.81% Castro::construct_ctu_hydro_source() 5 0.1025 0.1025 0.1025 25.67% MLMG::oneIter() 36 0.1004 0.1004 0.1004 25.14% MLMG::mgVcycle() 36 0.09889 0.09889 0.09889 24.75% Amr::init() 1 0.08872 0.08872 0.08872 22.21% Amr::restart() 1 0.08871 0.08871 0.08871 22.21% MLCellLinOp::smooth() 720 0.04888 0.04888 0.04888 12.24% MLCellLinOp::applyBC() 1946 0.04603 0.04603 0.04603 11.52% AmrLevel::restart() 1 0.03812 0.03812 0.03812 9.54% StateData::restartDoit() 4 0.03802 0.03802 0.03802 9.52% VisMF::Read() 3 0.03791 0.03791 0.03791 9.49% Amr::writePlotFile() 1 0.03235 0.03235 0.03235 8.10% VisMF::Write(FabArray) 1 0.03074 0.03074 0.03074 7.70% MLMG::mgVcycle_bottom 36 0.03034 0.03034 0.03034 7.59% MLMG::actualBottomSolve() 36 0.03032 0.03032 0.03032 7.59% MLCGSolver::bicgstab 36 0.03003 0.03003 0.03003 7.52% Castro::clean_state() 30 0.02043 0.02043 0.02043 5.12% FillPatchIterator::Initialize 20 0.01982 0.01982 0.01982 4.96% FillPatchSingleLevel 20 0.01908 0.01908 0.01908 4.78% StateDataPhysBCFunct::() 20 0.01705 0.01705 0.01705 4.27% MLCellLinOp::apply() 500 0.01526 0.01526 0.01526 3.82% MLMG::mgVcycle_down::0 36 0.0142 0.0142 0.0142 3.56% FabArray::FillBoundary() 1766 0.01352 0.01352 0.01352 3.38% MLPoisson::Fsmooth() 1440 0.01346 0.01346 0.01346 3.37% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.30% StateData::FillBoundary(geom) 160 0.01155 0.01155 0.01155 2.89% MLMG::mgVcycle_up::0 36 0.01067 0.01067 0.01067 2.67% Castro::initialize_do_advance() 5 0.01031 0.01031 0.01031 2.58% MLCellLinOp::correctionResidual() 216 0.009258 0.009258 0.009258 2.32% Castro::computeTemp() 30 0.008943 0.008943 0.008943 2.24% MLPoisson::define() 6 0.008393 0.008393 0.008393 2.10% amrex::Dot() 484 0.008386 0.008386 0.008386 2.10% MLMG:computeResOfCorrection() 180 0.008157 0.008157 0.008157 2.04% Gravity::get_new_grav_vector() 5 0.007514 0.007514 0.007514 1.88% Castro::construct_old_gravity() 5 0.0072 0.0072 0.0072 1.80% Gravity::get_old_grav_vector() 5 0.007194 0.007194 0.007194 1.80% amrex::Copy() 463 0.00679 0.00679 0.00679 1.70% Castro::do_new_sources() 5 0.006731 0.006731 0.006731 1.69% MLMG::mgVcycle_down::1 36 0.006585 0.006585 0.006585 1.65% Castro::normalize_species() 30 0.00644 0.00644 0.00644 1.61% FabArray::ParallelCopy() 380 0.006358 0.006358 0.006358 1.59% FabArray::ParallelCopy_nowait() 380 0.006248 0.006248 0.006248 1.56% MLMG::mgVcycle_down::2 36 0.006157 0.006157 0.006157 1.54% FabArray::setVal() 537 0.006037 0.006037 0.006037 1.51% MLMG::mgVcycle_down::3 36 0.00602 0.00602 0.00602 1.51% FabArray::norminf() 326 0.005992 0.005992 0.005992 1.50% MLMG::mgVcycle_down::4 36 0.005927 0.005927 0.005927 1.48% Castro::expand_state() 5 0.005923 0.005923 0.005923 1.48% MLCellLinOp::defineAuxData() 6 0.005636 0.005636 0.005636 1.41% Castro::initialize_advance() 5 0.005592 0.005592 0.005592 1.40% MLCGSolver::ParallelAllReduce 659 0.005051 0.005051 0.005051 1.26% MLMG::addInterpCorrection() 180 0.004926 0.004926 0.004926 1.23% Castro::do_old_sources() 5 0.004898 0.004898 0.004898 1.23% MLMG::mgVcycle_up::1 36 0.00481 0.00481 0.00481 1.20% MLMG::mgVcycle_up::4 36 0.004744 0.004744 0.004744 1.19% MLMG::mgVcycle_up::2 36 0.004691 0.004691 0.004691 1.17% amrex::average_down 180 0.004671 0.004671 0.004671 1.17% MLMG::mgVcycle_up::3 36 0.004592 0.004592 0.004592 1.15% Castro::enforce_min_density() 30 0.00436 0.00436 0.00436 1.09% MLPoisson::Fapply() 500 0.004287 0.004287 0.004287 1.07% FabArray::Saxpy() 355 0.00353 0.00353 0.00353 0.88% Gravity::fill_multipole_BCs() 6 0.003491 0.003491 0.003491 0.87% FabArray::Xpay() 361 0.003378 0.003378 0.003378 0.85% Castro::post_restart() 1 0.003289 0.003289 0.003289 0.82% Castro::reset_internal_energy(MultiFab) 30 0.00319 0.00319 0.00319 0.80% Gravity::multilevel_solve_for_new_phi() 1 0.003184 0.003184 0.003184 0.80% Gravity::actual_multilevel_solve() 1 0.003168 0.003168 0.003168 0.79% MLCellLinOp::solutionResidual() 42 0.003142 0.003142 0.003142 0.79% Castro::estTimeStep() 10 0.003059 0.003059 0.003059 0.77% Castro::post_timestep() 5 0.002731 0.002731 0.002731 0.68% MLMG::computeResidual() 36 0.002599 0.002599 0.002599 0.65% MLCellLinOp::defineBC() 6 0.002566 0.002566 0.002566 0.64% BndryData::define() 6 0.002446 0.002446 0.002446 0.61% MLMG::prepareForSolve() 6 0.002426 0.002426 0.002426 0.61% Castro::computeNewDt() 5 0.002264 0.002264 0.002264 0.57% FabArray::LinComb() 242 0.001841 0.001841 0.001841 0.46% amrex::Add() 72 0.001835 0.001835 0.001835 0.46% Castro::construct_new_source() 25 0.00174 0.00174 0.00174 0.44% Castro::construct_new_gravity_source() 5 0.001705 0.001705 0.001705 0.43% Castro::construct_old_source() 25 0.001403 0.001403 0.001403 0.35% Castro::construct_old_gravity_source() 5 0.001393 0.001393 0.001393 0.35% Castro::apply_source_to_state() 10 0.0009176 0.0009176 0.0009176 0.23% MLMG::ResNormInf() 42 0.0009117 0.0009117 0.0009117 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008697 0.0008697 0.0008697 0.22% FabArrayBase::getCPC() 632 0.000754 0.000754 0.000754 0.19% MLMG::getGradSolution() 6 0.000746 0.000746 0.000746 0.19% MLCellLinOp::compGrad() 6 0.0007431 0.0007431 0.0007431 0.19% MLCellLinOp::setLevelBC() 6 0.0007286 0.0007286 0.0007286 0.18% Castro::enforce_speed_limit() 30 0.0006557 0.0006557 0.0006557 0.16% Castro::reset_internal_energy(Fab) 240 0.0006453 0.0006453 0.0006453 0.16% FabArray::mult() 22 0.0006367 0.0006367 0.0006367 0.16% FabArray::setDomainBndry() 20 0.0006221 0.0006221 0.0006221 0.16% Castro::check_for_nan() 10 0.0006011 0.0006011 0.0006011 0.15% MultiFab::contains_nan() 10 0.0005954 0.0005954 0.0005954 0.15% MLPoisson::prepareForSolve() 6 0.0005952 0.0005952 0.0005952 0.15% MLCellLinOp::prepareForSolve() 6 0.0005861 0.0005861 0.0005861 0.15% MLMG::computeMLResidual() 6 0.0005649 0.0005649 0.0005649 0.14% Gravity::update_max_rhs() 6 0.0004296 0.0004296 0.0004296 0.11% FabArrayBase::CPC::define() 244 0.000414 0.000414 0.000414 0.10% Amr::InitAmr() 1 0.0003775 0.0003775 0.0003775 0.09% FabArrayBase::getFB() 1766 0.0002978 0.0002978 0.0002978 0.07% Castro::finalize_advance() 5 0.0002851 0.0002851 0.0002851 0.07% Gravity::swapTimeLevels() 5 0.0002234 0.0002234 0.0002234 0.06% MLLinOp::define() 6 0.000177 0.000177 0.000177 0.04% MLLinOp::defineGrids() 6 0.0001716 0.0001716 0.0001716 0.04% MLMG::MLResNormInf() 6 0.0001507 0.0001507 0.0001507 0.04% Castro::buildMetrics() 1 0.0001471 0.0001471 0.0001471 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.03% MLMG::MLRhsNormInf() 6 0.0001154 0.0001154 0.0001154 0.03% Castro::create_source_corrector() 5 9.802e-05 9.802e-05 9.802e-05 0.02% FabArrayBase::FB::FB() 26 5.695e-05 5.695e-05 5.695e-05 0.01% Castro::swap_state_time_levels() 5 2.924e-05 2.924e-05 2.924e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.638e-05 2.638e-05 2.638e-05 0.01% Castro::initMFs() 1 2.528e-05 2.528e-05 2.528e-05 0.01% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.01% makeSFC 30 1.947e-05 1.947e-05 1.947e-05 0.00% Castro::finalize_do_advance() 5 1.891e-05 1.891e-05 1.891e-05 0.00% DistributionMapping::Distribute() 31 8.579e-06 8.579e-06 8.579e-06 0.00% Amr::initSubcycle() 1 8.571e-06 8.571e-06 8.571e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.356e-06 4.356e-06 4.356e-06 0.00% Castro::FluxRegCrseInit 5 2.527e-06 2.527e-06 2.527e-06 0.00% Gravity::set_mass_offset() 6 2.003e-06 2.003e-06 2.003e-06 0.00% Castro::retry_advance_ctu() 5 1.667e-06 1.667e-06 1.667e-06 0.00% Castro::FluxRegFineAdd() 5 1.081e-06 1.081e-06 1.081e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.54e-07 9.54e-07 9.54e-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 203 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 122 MiB 692 MiB Castro::initMFs() 48 48 53 MiB 68 MiB StateData::restartDoit() 32 32 47 MiB 55 MiB Castro::swap_state_time_levels() 32 32 43 MiB 55 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB FillPatchIterator::Initialize 160 160 1099 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2265 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 5944 KiB 14 MiB MLMG::prepareForSolve() 361 361 3293 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5940 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2078 B 2048 KiB Gravity::solve_for_phi() 40 40 605 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3558 B 480 KiB VisMF::Write(FabArray) 112 112 1218 B 320 KiB Castro::normalize_species() 30 30 5238 B 320 KiB amrex::average_down 469 469 1130 B 257 KiB MLMG::addInterpCorrection() 468 468 1059 B 257 KiB amrex::Dot() 592 592 3090 B 160 KiB FabArray::norminf() 398 398 2216 B 160 KiB Castro::do_advance_ctu() 5 5 467 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3203 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 3892 3892 210 B 9344 B amrex::Copy() 56 56 5302 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 109 B 1472 B MLCellLinOp::defineBC() 36 36 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1328 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 110 KiB 8192 KiB VisMF::Write(FabArray) 120 120 236 KiB 3584 KiB VisMF::Read() 24 24 185 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3203 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 1946 1946 208 B 9328 B amrex::Copy() 56 56 5302 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2342 B 3072 B StateData::FillBoundary(geom) 960 960 40 B 2832 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 486 B 1296 B amrex::average_down 37 37 197 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 16 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-10-g1e2154f614e5) finalized