Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-9-ga7f2cd9c90d8) initialized Starting run at 07:50:43 UTC on 2023-08-04. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-9-ga7f2cd9c9 Microphysics git describe: 23.08 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.057213195 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033137822 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.049772937 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051377915 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.075127915 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.07344539 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.059243352 [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.056895032 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.060595986 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.081551347 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.080378059 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.049169365 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054722431 [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.056872597 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03274766 seconds Ending run at 07:50:44 UTC on 2023-08-04. Run time = 0.922234426 Run time without initialization = 0.782551351 Average number of zones advanced per microsecond: 3.350 Average number of zones advanced per microsecond per rank: 3.350 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9223 ... 0.9223 ... 0.9223 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2618 0.2618 0.2618 28.39% VisMF::Write(FabArray) 11 0.23 0.23 0.23 24.94% MLCellLinOp::applyBC() 4433 0.07463 0.07463 0.07463 8.09% MLPoisson::Fsmooth() 3280 0.0313 0.0313 0.0313 3.39% FillBoundary_nowait() 4023 0.03066 0.03066 0.03066 3.32% StateDataPhysBCFunct::() 41 0.03023 0.03023 0.03023 3.28% StateData::FillBoundary(geom) 328 0.02185 0.02185 0.02185 2.37% Castro::normalize_species() 62 0.02012 0.02012 0.02012 2.18% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.15% amrex::Copy() 1029 0.01458 0.01458 0.01458 1.58% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.50% Castro::computeTemp() 63 0.01337 0.01337 0.01337 1.45% FabArray::ParallelCopy_nowait() 861 0.0133 0.0133 0.0133 1.44% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.38% Castro::enforce_min_density() 62 0.01029 0.01029 0.01029 1.12% MLPoisson::Fapply() 1142 0.009985 0.009985 0.009985 1.08% MLCellLinOp::defineAuxData() 11 0.009302 0.009302 0.009302 1.01% FabArray::Saxpy() 813 0.007858 0.007858 0.007858 0.85% FabArray::Xpay() 821 0.007811 0.007811 0.007811 0.85% Gravity::fill_multipole_BCs() 11 0.007222 0.007222 0.007222 0.78% MLMG::addInterpCorrection() 410 0.006656 0.006656 0.006656 0.72% Castro::estTimeStep() 21 0.005871 0.005871 0.005871 0.64% amrex::average_down 410 0.005795 0.005795 0.005795 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005279 0.005279 0.005279 0.57% FabArray::LinComb() 557 0.004336 0.004336 0.004336 0.47% amrex::Add() 164 0.004305 0.004305 0.004305 0.47% Amr::checkPoint() 3 0.003963 0.003963 0.003963 0.43% BndryData::define() 11 0.003513 0.003513 0.003513 0.38% Castro::construct_new_gravity_source() 10 0.003193 0.003193 0.003193 0.35% Castro::enforce_speed_limit() 62 0.003087 0.003087 0.003087 0.33% Castro::construct_old_gravity_source() 10 0.002749 0.002749 0.002749 0.30% Amr::writePlotFile() 2 0.002403 0.002403 0.002403 0.26% MLCGSolver::bicgstab 82 0.002179 0.002179 0.002179 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00162 0.00162 0.00162 0.18% Gravity::actual_solve_with_mlmg() 11 0.001494 0.001494 0.001494 0.16% Castro::reset_internal_energy(Fab) 504 0.001488 0.001488 0.001488 0.16% check_for_negative_density() 10 0.001451 0.001451 0.001451 0.16% MLCellLinOp::setLevelBC() 11 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001302 0.001302 0.001302 0.14% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.14% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.13% Castro::initData() 1 0.001196 0.001196 0.001196 0.13% MLCellLinOp::smooth() 1640 0.00114 0.00114 0.00114 0.12% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% MLCellLinOp::compGrad() 11 0.0008995 0.0008995 0.0008995 0.10% FabArray::FillBoundary() 4023 0.0008592 0.0008592 0.0008592 0.09% MLMG::prepareForSolve() 11 0.0008515 0.0008515 0.0008515 0.09% FabArrayBase::getCPC() 1323 0.0007562 0.0007562 0.0007562 0.08% FabArrayBase::CPC::define() 454 0.0006567 0.0006567 0.0006567 0.07% FabArrayBase::getFB() 4023 0.0006043 0.0006043 0.0006043 0.07% Gravity::get_new_grav_vector() 11 0.0005456 0.0005456 0.0005456 0.06% Gravity::get_old_grav_vector() 10 0.0004972 0.0004972 0.0004972 0.05% Amr::InitAmr() 1 0.0004876 0.0004876 0.0004876 0.05% MLCellLinOp::apply() 1142 0.0004753 0.0004753 0.0004753 0.05% MLLinOp::defineGrids() 11 0.00038 0.00038 0.00038 0.04% Amr::coarseTimeStep() 10 0.0003482 0.0003482 0.0003482 0.04% MLMG::mgVcycle() 82 0.0003381 0.0003381 0.0003381 0.04% AmrLevel::FillPatch() 41 0.0003294 0.0003294 0.0003294 0.04% main() 1 0.0002995 0.0002995 0.0002995 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002937 0.0002937 0.0002937 0.03% MultiFab::max() 11 0.000255 0.000255 0.000255 0.03% FabArray::ParallelCopy() 861 0.0002509 0.0002509 0.0002509 0.03% Castro::subcycle_advance_ctu() 10 0.0002483 0.0002483 0.0002483 0.03% MLCellLinOp::correctionResidual() 492 0.000232 0.000232 0.000232 0.03% MLCellLinOp::defineBC() 11 0.0002133 0.0002133 0.0002133 0.02% FillPatchIterator::Initialize 41 0.0002121 0.0002121 0.0002121 0.02% Castro::create_source_corrector() 10 0.0001707 0.0001707 0.0001707 0.02% Amr::timeStep() 10 0.0001655 0.0001655 0.0001655 0.02% StateData::checkPoint() 12 0.0001403 0.0001403 0.0001403 0.02% Gravity::update_max_rhs() 11 0.0001352 0.0001352 0.0001352 0.01% MLMG:computeResOfCorrection() 410 0.0001218 0.0001218 0.0001218 0.01% Gravity::solve_for_phi() 10 0.0001176 0.0001176 0.0001176 0.01% Castro::advance() 10 0.0001163 0.0001163 0.0001163 0.01% Castro::construct_new_source() 50 0.0001074 0.0001074 0.0001074 0.01% Castro::do_new_sources() 10 9.543e-05 9.543e-05 9.543e-05 0.01% Castro::Castro() 1 9.121e-05 9.121e-05 9.121e-05 0.01% MLMG::actualBottomSolve() 82 9.072e-05 9.072e-05 9.072e-05 0.01% FabArrayBase::FB::FB() 56 8.884e-05 8.884e-05 8.884e-05 0.01% MLMG::mgVcycle_down::0 82 8.733e-05 8.733e-05 8.733e-05 0.01% MLMG::mgVcycle_down::1 82 8.231e-05 8.231e-05 8.231e-05 0.01% MLMG::mgVcycle_down::2 82 7.996e-05 7.996e-05 7.996e-05 0.01% MLMG::mgVcycle_down::4 82 7.648e-05 7.648e-05 7.648e-05 0.01% MLMG::mgVcycle_down::3 82 7.527e-05 7.527e-05 7.527e-05 0.01% AmrLevel::checkPoint() 3 7.504e-05 7.504e-05 7.504e-05 0.01% Castro::initialize_advance() 10 7.331e-05 7.331e-05 7.331e-05 0.01% MLMG::solve() 11 7.212e-05 7.212e-05 7.212e-05 0.01% Castro::clean_state() 62 6.853e-05 6.853e-05 6.853e-05 0.01% Castro::finalize_advance() 10 6.829e-05 6.829e-05 6.829e-05 0.01% Castro::initialize_do_advance() 10 6.263e-05 6.263e-05 6.263e-05 0.01% MLMG::mgVcycle_up::4 82 6.153e-05 6.153e-05 6.153e-05 0.01% MLMG::oneIter() 82 5.296e-05 5.296e-05 5.296e-05 0.01% MLMG::mgVcycle_up::0 82 5.283e-05 5.283e-05 5.283e-05 0.01% MLMG::mgVcycle_up::3 82 5.015e-05 5.015e-05 5.015e-05 0.01% MLMG::mgVcycle_up::1 82 4.957e-05 4.957e-05 4.957e-05 0.01% Castro::do_advance_ctu() 10 4.9e-05 4.9e-05 4.9e-05 0.01% Castro::finalize_do_advance() 10 4.898e-05 4.898e-05 4.898e-05 0.01% MLMG::mgVcycle_up::2 82 4.814e-05 4.814e-05 4.814e-05 0.01% MLCellLinOp::solutionResidual() 93 4.743e-05 4.743e-05 4.743e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.635e-05 4.635e-05 4.635e-05 0.01% MLPoisson::define() 11 4.561e-05 4.561e-05 4.561e-05 0.00% Castro::swap_state_time_levels() 10 3.734e-05 3.734e-05 3.734e-05 0.00% StateData::define() 4 3.531e-05 3.531e-05 3.531e-05 0.00% Castro::enforce_consistent_e() 1 3.361e-05 3.361e-05 3.361e-05 0.00% FillPatchSingleLevel 41 3.319e-05 3.319e-05 3.319e-05 0.00% MLMG::ResNormInf() 93 3.317e-05 3.317e-05 3.317e-05 0.00% MLMG::mgVcycle_bottom 82 3.283e-05 3.283e-05 3.283e-05 0.00% MLMG::computeResidual() 82 3.23e-05 3.23e-05 3.23e-05 0.00% makeSFC 55 2.763e-05 2.763e-05 2.763e-05 0.00% Amr::writeSmallPlotFile() 1 2.759e-05 2.759e-05 2.759e-05 0.00% MLLinOp::define() 11 2.644e-05 2.644e-05 2.644e-05 0.00% Castro::construct_new_gravity() 10 2.59e-05 2.59e-05 2.59e-05 0.00% Castro::initMFs() 1 2.58e-05 2.58e-05 2.58e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.352e-05 2.352e-05 2.352e-05 0.00% Amr::FinalizeInit() 1 2.226e-05 2.226e-05 2.226e-05 0.00% Castro::construct_old_source() 50 2.126e-05 2.126e-05 2.126e-05 0.00% Castro::do_old_sources() 10 2.123e-05 2.123e-05 2.123e-05 0.00% Castro::buildMetrics() 1 1.827e-05 1.827e-05 1.827e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.739e-05 1.739e-05 1.739e-05 0.00% DistributionMapping::Distribute() 56 1.72e-05 1.72e-05 1.72e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.708e-05 1.708e-05 1.708e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.643e-05 1.643e-05 1.643e-05 0.00% Amr::defBaseLevel() 1 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::check_for_nan() 20 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::construct_old_gravity() 10 1.114e-05 1.114e-05 1.114e-05 0.00% Castro::apply_source_to_state() 20 1.095e-05 1.095e-05 1.095e-05 0.00% Gravity::swapTimeLevels() 10 9.917e-06 9.917e-06 9.917e-06 0.00% Amr::initSubcycle() 1 9.101e-06 9.101e-06 9.101e-06 0.00% MLPoisson::prepareForSolve() 11 8.68e-06 8.68e-06 8.68e-06 0.00% Castro::post_timestep() 10 8.66e-06 8.66e-06 8.66e-06 0.00% Gravity::actual_multilevel_solve() 1 7.895e-06 7.895e-06 7.895e-06 0.00% MLMG::computeMLResidual() 11 7.323e-06 7.323e-06 7.323e-06 0.00% Castro::computeNewDt() 9 6.611e-06 6.611e-06 6.611e-06 0.00% Castro::expand_state() 10 6.149e-06 6.149e-06 6.149e-06 0.00% MLMG::getGradSolution() 11 5.76e-06 5.76e-06 5.76e-06 0.00% AmrLevel::checkPointPost() 3 5.37e-06 5.37e-06 5.37e-06 0.00% Amr::InitializeInit() 1 4.969e-06 4.969e-06 4.969e-06 0.00% Castro::retry_advance_ctu() 10 4.4e-06 4.4e-06 4.4e-06 0.00% MLMG::MLRhsNormInf() 11 4.047e-06 4.047e-06 4.047e-06 0.00% Castro::post_init() 1 3.836e-06 3.836e-06 3.836e-06 0.00% Gravity::set_mass_offset() 11 3.754e-06 3.754e-06 3.754e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.378e-06 3.378e-06 3.378e-06 0.00% MLMG::MLResNormInf() 11 3.26e-06 3.26e-06 3.26e-06 0.00% Amr::init() 1 3.199e-06 3.199e-06 3.199e-06 0.00% Castro::FluxRegCrseInit 10 3.148e-06 3.148e-06 3.148e-06 0.00% Castro::computeInitialDt() 2 2.589e-06 2.589e-06 2.589e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.448e-06 2.448e-06 2.448e-06 0.00% Castro::FluxRegFineAdd() 10 2.389e-06 2.389e-06 2.389e-06 0.00% AmrLevel::checkPointPre() 3 1.486e-06 1.486e-06 1.486e-06 0.00% Amr::initialInit() 1 1.003e-06 1.003e-06 1.003e-06 0.00% Castro::post_regrid() 1 9.11e-07 9.11e-07 9.11e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9222 0.9222 0.9222 100.00% Amr::coarseTimeStep() 10 0.7496 0.7496 0.7496 81.27% Amr::timeStep() 10 0.632 0.632 0.632 68.53% Castro::advance() 10 0.6219 0.6219 0.6219 67.43% Castro::subcycle_advance_ctu() 10 0.6076 0.6076 0.6076 65.88% Castro::do_advance_ctu() 10 0.6073 0.6073 0.6073 65.85% Gravity::solve_phi_with_mlmg() 11 0.2764 0.2764 0.2764 29.97% Castro::construct_ctu_hydro_source() 10 0.272 0.272 0.272 29.49% Gravity::actual_solve_with_mlmg() 11 0.2687 0.2687 0.2687 29.14% Castro::construct_new_gravity() 10 0.2576 0.2576 0.2576 27.93% MLMG::solve() 11 0.2487 0.2487 0.2487 26.97% Gravity::solve_for_phi() 10 0.2361 0.2361 0.2361 25.60% MLMG::oneIter() 82 0.2348 0.2348 0.2348 25.46% MLMG::mgVcycle() 82 0.2312 0.2312 0.2312 25.07% VisMF::Write(FabArray) 11 0.23 0.23 0.23 24.94% Amr::checkPoint() 3 0.1711 0.1711 0.1711 18.55% AmrLevel::checkPoint() 3 0.1671 0.1671 0.1671 18.12% StateData::checkPoint() 12 0.1671 0.1671 0.1671 18.11% Amr::init() 1 0.139 0.139 0.139 15.08% MLCellLinOp::smooth() 1640 0.114 0.114 0.114 12.36% MLCellLinOp::applyBC() 4433 0.1068 0.1068 0.1068 11.59% MLMG::mgVcycle_bottom 82 0.07102 0.07102 0.07102 7.70% MLMG::actualBottomSolve() 82 0.07099 0.07099 0.07099 7.70% MLCGSolver::bicgstab 82 0.0703 0.0703 0.0703 7.62% Amr::writePlotFile() 2 0.06602 0.06602 0.06602 7.16% AmrLevel::FillPatch() 41 0.06195 0.06195 0.06195 6.72% FillPatchIterator::Initialize 41 0.05781 0.05781 0.05781 6.27% FillPatchIterator::FillFromLevel0() 41 0.05632 0.05632 0.05632 6.11% FillPatchSingleLevel 41 0.05627 0.05627 0.05627 6.10% Castro::clean_state() 62 0.05286 0.05286 0.05286 5.73% StateDataPhysBCFunct::() 41 0.05208 0.05208 0.05208 5.65% Amr::initialInit() 1 0.04858 0.04858 0.04858 5.27% Amr::FinalizeInit() 1 0.04441 0.04441 0.04441 4.81% Castro::post_init() 1 0.04309 0.04309 0.04309 4.67% Gravity::multilevel_solve_for_new_phi() 1 0.04082 0.04082 0.04082 4.43% Gravity::actual_multilevel_solve() 1 0.0408 0.0408 0.0408 4.42% MLCellLinOp::apply() 1142 0.03527 0.03527 0.03527 3.82% MLMG::mgVcycle_down::0 82 0.03321 0.03321 0.03321 3.60% FabArray::FillBoundary() 4023 0.03221 0.03221 0.03221 3.49% FillBoundary_nowait() 4023 0.03135 0.03135 0.03135 3.40% MLPoisson::Fsmooth() 3280 0.0313 0.0313 0.0313 3.39% MLMG::mgVcycle_up::0 82 0.02525 0.02525 0.02525 2.74% Gravity::get_new_grav_vector() 11 0.02348 0.02348 0.02348 2.55% Castro::initialize_do_advance() 10 0.0233 0.0233 0.0233 2.53% StateData::FillBoundary(geom) 328 0.02185 0.02185 0.02185 2.37% MLCellLinOp::correctionResidual() 492 0.02161 0.02161 0.02161 2.34% Castro::do_old_sources() 10 0.02014 0.02014 0.02014 2.18% Castro::computeTemp() 63 0.02014 0.02014 0.02014 2.18% Castro::normalize_species() 62 0.02012 0.02012 0.02012 2.18% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.15% Castro::construct_old_gravity() 10 0.01947 0.01947 0.01947 2.11% Gravity::get_old_grav_vector() 10 0.01946 0.01946 0.01946 2.11% MLMG:computeResOfCorrection() 410 0.01905 0.01905 0.01905 2.07% MLPoisson::define() 11 0.01577 0.01577 0.01577 1.71% MLMG::mgVcycle_down::1 82 0.0153 0.0153 0.0153 1.66% amrex::Copy() 1029 0.01458 0.01458 0.01458 1.58% FabArray::ParallelCopy() 861 0.01436 0.01436 0.01436 1.56% MLMG::mgVcycle_down::2 82 0.01432 0.01432 0.01432 1.55% FabArray::ParallelCopy_nowait() 861 0.01411 0.01411 0.01411 1.53% MLMG::mgVcycle_down::3 82 0.01395 0.01395 0.01395 1.51% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.50% Castro::expand_state() 10 0.01382 0.01382 0.01382 1.50% MLMG::mgVcycle_down::4 82 0.01381 0.01381 0.01381 1.50% Castro::initialize_advance() 10 0.01361 0.01361 0.01361 1.48% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.38% MLCGSolver::ParallelAllReduce 1514 0.0119 0.0119 0.0119 1.29% MLMG::addInterpCorrection() 410 0.01173 0.01173 0.01173 1.27% Castro::do_new_sources() 10 0.01149 0.01149 0.01149 1.25% MLMG::mgVcycle_up::4 82 0.01118 0.01118 0.01118 1.21% MLMG::mgVcycle_up::1 82 0.01116 0.01116 0.01116 1.21% amrex::average_down 410 0.01092 0.01092 0.01092 1.18% MLMG::mgVcycle_up::2 82 0.01092 0.01092 0.01092 1.18% MLMG::mgVcycle_up::3 82 0.01073 0.01073 0.01073 1.16% MLCellLinOp::defineAuxData() 11 0.01059 0.01059 0.01059 1.15% Castro::enforce_min_density() 62 0.01029 0.01029 0.01029 1.12% MLPoisson::Fapply() 1142 0.009985 0.009985 0.009985 1.08% Castro::post_timestep() 10 0.009948 0.009948 0.009948 1.08% FabArray::Saxpy() 813 0.007858 0.007858 0.007858 0.85% FabArray::Xpay() 821 0.007811 0.007811 0.007811 0.85% Gravity::fill_multipole_BCs() 11 0.007509 0.007509 0.007509 0.81% MLCellLinOp::solutionResidual() 93 0.006992 0.006992 0.006992 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006767 0.006767 0.006767 0.73% MLMG::computeResidual() 82 0.006034 0.006034 0.006034 0.65% Castro::estTimeStep() 21 0.005871 0.005871 0.005871 0.64% MLCellLinOp::defineBC() 11 0.004668 0.004668 0.004668 0.51% MLMG::prepareForSolve() 11 0.004509 0.004509 0.004509 0.49% BndryData::define() 11 0.004455 0.004455 0.004455 0.48% FabArray::LinComb() 557 0.004336 0.004336 0.004336 0.47% amrex::Add() 164 0.004305 0.004305 0.004305 0.47% Amr::InitializeInit() 1 0.004173 0.004173 0.004173 0.45% Amr::defBaseLevel() 1 0.004169 0.004169 0.004169 0.45% Castro::initData() 1 0.00365 0.00365 0.00365 0.40% Castro::construct_new_source() 50 0.0033 0.0033 0.0033 0.36% Castro::construct_new_gravity_source() 10 0.003193 0.003193 0.003193 0.35% Castro::enforce_speed_limit() 62 0.003087 0.003087 0.003087 0.33% Castro::construct_old_source() 50 0.00277 0.00277 0.00277 0.30% Castro::construct_old_gravity_source() 10 0.002749 0.002749 0.002749 0.30% Castro::computeNewDt() 9 0.002667 0.002667 0.002667 0.29% Castro::finalize_do_advance() 10 0.002375 0.002375 0.002375 0.26% MLMG::ResNormInf() 93 0.002097 0.002097 0.002097 0.23% Castro::apply_source_to_state() 20 0.001816 0.001816 0.001816 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00162 0.00162 0.00162 0.18% Castro::reset_internal_energy(Fab) 504 0.001488 0.001488 0.001488 0.16% check_for_negative_density() 10 0.001451 0.001451 0.001451 0.16% FabArrayBase::getCPC() 1323 0.001413 0.001413 0.001413 0.15% MLMG::getGradSolution() 11 0.001367 0.001367 0.001367 0.15% MLCellLinOp::compGrad() 11 0.001361 0.001361 0.001361 0.15% MLCellLinOp::setLevelBC() 11 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001302 0.001302 0.001302 0.14% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.14% Castro::check_for_nan() 20 0.001212 0.001212 0.001212 0.13% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.13% Castro::post_regrid() 1 0.001117 0.001117 0.001117 0.12% MLPoisson::prepareForSolve() 11 0.001099 0.001099 0.001099 0.12% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% MLMG::computeMLResidual() 11 0.0009968 0.0009968 0.0009968 0.11% Castro::computeInitialDt() 2 0.0008863 0.0008863 0.0008863 0.10% Gravity::update_max_rhs() 11 0.0008295 0.0008295 0.0008295 0.09% FabArrayBase::getFB() 4023 0.0006931 0.0006931 0.0006931 0.08% FabArrayBase::CPC::define() 454 0.0006567 0.0006567 0.0006567 0.07% Castro::finalize_advance() 10 0.0005831 0.0005831 0.0005831 0.06% Amr::InitAmr() 1 0.0004967 0.0004967 0.0004967 0.05% MLLinOp::define() 11 0.0004689 0.0004689 0.0004689 0.05% Castro::Castro() 1 0.0004488 0.0004488 0.0004488 0.05% MLLinOp::defineGrids() 11 0.0004425 0.0004425 0.0004425 0.05% Gravity::swapTimeLevels() 10 0.0004297 0.0004297 0.0004297 0.05% MLMG::MLResNormInf() 11 0.0002823 0.0002823 0.0002823 0.03% MultiFab::max() 11 0.000255 0.000255 0.000255 0.03% MLMG::MLRhsNormInf() 11 0.0002161 0.0002161 0.0002161 0.02% Castro::create_source_corrector() 10 0.0001707 0.0001707 0.0001707 0.02% Castro::buildMetrics() 1 0.000158 0.000158 0.000158 0.02% FabArrayBase::FB::FB() 56 8.884e-05 8.884e-05 8.884e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.007e-05 6.007e-05 6.007e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.27e-05 5.27e-05 5.27e-05 0.01% makeSFC 55 4.364e-05 4.364e-05 4.364e-05 0.00% Castro::swap_state_time_levels() 10 3.734e-05 3.734e-05 3.734e-05 0.00% StateData::define() 4 3.531e-05 3.531e-05 3.531e-05 0.00% Castro::enforce_consistent_e() 1 3.361e-05 3.361e-05 3.361e-05 0.00% Amr::writeSmallPlotFile() 1 2.759e-05 2.759e-05 2.759e-05 0.00% Castro::initMFs() 1 2.58e-05 2.58e-05 2.58e-05 0.00% DistributionMapping::Distribute() 56 1.72e-05 1.72e-05 1.72e-05 0.00% Amr::initSubcycle() 1 9.101e-06 9.101e-06 9.101e-06 0.00% AmrLevel::checkPointPost() 3 5.37e-06 5.37e-06 5.37e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.564e-06 4.564e-06 4.564e-06 0.00% Castro::retry_advance_ctu() 10 4.4e-06 4.4e-06 4.4e-06 0.00% Gravity::set_mass_offset() 11 3.754e-06 3.754e-06 3.754e-06 0.00% Castro::FluxRegCrseInit 10 3.148e-06 3.148e-06 3.148e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.448e-06 2.448e-06 2.448e-06 0.00% Castro::FluxRegFineAdd() 10 2.389e-06 2.389e-06 2.389e-06 0.00% AmrLevel::checkPointPre() 3 1.486e-06 1.486e-06 1.486e-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 83 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 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 1264 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2010 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3318 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 263 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 216 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1720 B 2048 KiB Gravity::solve_for_phi() 80 80 523 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 192 KiB 671 KiB Castro::estTimeStep() 21 21 3108 B 480 KiB VisMF::Write(FabArray) 656 656 3191 B 320 KiB Castro::normalize_species() 62 62 7104 B 320 KiB amrex::average_down 1067 1067 1193 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1094 B 257 KiB amrex::Dot() 1360 1360 3164 B 160 KiB FabArray::norminf() 907 907 2226 B 160 KiB check_for_negative_density() 10 10 248 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 42 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3245 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8866 8866 209 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3847 B 6144 B StateData::FillBoundary(geom) 1992 1992 100 B 4384 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 110 B 1472 B MLCellLinOp::defineBC() 66 66 341 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 553 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 575 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3245 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 290 B 9648 B MLCellLinOp::applyBC() 4433 4433 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3847 B 6144 B StateData::FillBoundary(geom) 1992 1992 101 B 4384 B Gravity::get_new_grav_vector() 3 3 2912 B 3072 B Gravity::fill_multipole_BCs() 33 33 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 276 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-9-ga7f2cd9c90d8) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-9-ga7f2cd9c90d8) initialized Starting run at 07:50:45 UTC on 2023-08-04. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-9-ga7f2cd9c9 Microphysics git describe: 23.08 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505558797 Restart time = 0.045919112 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.054164772 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.063077588 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.079791104 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.079197077 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062049804 [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.034813051 seconds Ending run at 07:50:46 UTC on 2023-08-04. Run time = 0.420150128 Run time without initialization = 0.373603299 Average number of zones advanced per microsecond: 3.508 Average number of zones advanced per microsecond per rank: 3.508 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4202 ... 0.4202 ... 0.4202 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1330 0.1330 0.1330 31.64% VisMF::Read() 3 0.03958 0.03958 0.03958 9.42% MLCellLinOp::applyBC() 1946 0.03525 0.03525 0.03525 8.39% VisMF::Write(FabArray) 1 0.03225 0.03225 0.03225 7.67% StateData::FillBoundary(geom) 160 0.02903 0.02903 0.02903 6.91% MLPoisson::Fsmooth() 1440 0.01463 0.01463 0.01463 3.48% FillBoundary_nowait() 1766 0.01279 0.01279 0.01279 3.04% Castro::normalize_species() 30 0.009475 0.009475 0.009475 2.26% amrex::Dot() 484 0.009048 0.009048 0.009048 2.15% amrex::Copy() 463 0.007147 0.007147 0.007147 1.70% FabArray::setVal() 537 0.006528 0.006528 0.006528 1.55% FabArray::ParallelCopy_nowait() 380 0.006384 0.006384 0.006384 1.52% FabArray::norminf() 326 0.006355 0.006355 0.006355 1.51% Castro::computeTemp() 30 0.00588 0.00588 0.00588 1.40% Castro::enforce_min_density() 30 0.00556 0.00556 0.00556 1.32% MLCellLinOp::defineAuxData() 6 0.005536 0.005536 0.005536 1.32% MLPoisson::Fapply() 500 0.004663 0.004663 0.004663 1.11% FabArray::Saxpy() 355 0.003737 0.003737 0.003737 0.89% FabArray::Xpay() 361 0.003594 0.003594 0.003594 0.86% Gravity::fill_multipole_BCs() 6 0.003387 0.003387 0.003387 0.81% Castro::estTimeStep() 10 0.003343 0.003343 0.003343 0.80% MLMG::addInterpCorrection() 180 0.003159 0.003159 0.003159 0.75% amrex::average_down 180 0.002833 0.002833 0.002833 0.67% Amr::restart() 1 0.002514 0.002514 0.002514 0.60% Amr::writePlotFile() 1 0.002434 0.002434 0.002434 0.58% StateDataPhysBCFunct::() 20 0.002428 0.002428 0.002428 0.58% BndryData::define() 6 0.002071 0.002071 0.002071 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002045 0.002045 0.002045 0.49% FabArray::LinComb() 242 0.001977 0.001977 0.001977 0.47% amrex::Add() 72 0.001838 0.001838 0.001838 0.44% Castro::construct_new_gravity_source() 5 0.001605 0.001605 0.001605 0.38% Castro::construct_old_gravity_source() 5 0.001429 0.001429 0.001429 0.34% Castro::enforce_speed_limit() 30 0.001241 0.001241 0.001241 0.30% MLCGSolver::bicgstab 36 0.001151 0.001151 0.001151 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009889 0.0009889 0.0009889 0.24% Castro::reset_internal_energy(Fab) 240 0.0009232 0.0009232 0.0009232 0.22% check_for_negative_density() 5 0.0008139 0.0008139 0.0008139 0.19% Gravity::actual_solve_with_mlmg() 6 0.0007861 0.0007861 0.0007861 0.19% MLCellLinOp::setLevelBC() 6 0.0007611 0.0007611 0.0007611 0.18% MLCellLinOp::smooth() 720 0.0007522 0.0007522 0.0007522 0.18% FabArray::setDomainBndry() 20 0.0006726 0.0006726 0.0006726 0.16% Castro::subcycle_advance_ctu() 5 0.0006712 0.0006712 0.0006712 0.16% MLCellLinOp::prepareForSolve() 6 0.0006657 0.0006657 0.0006657 0.16% FabArray::mult() 22 0.0006563 0.0006563 0.0006563 0.16% MultiFab::contains_nan() 10 0.0006043 0.0006043 0.0006043 0.14% MLMG::prepareForSolve() 6 0.0005351 0.0005351 0.0005351 0.13% MLCellLinOp::compGrad() 6 0.0004983 0.0004983 0.0004983 0.12% FabArray::FillBoundary() 1766 0.0004643 0.0004643 0.0004643 0.11% FabArrayBase::CPC::define() 244 0.0004361 0.0004361 0.0004361 0.10% Amr::InitAmr() 1 0.0004106 0.0004106 0.0004106 0.10% FabArrayBase::getCPC() 632 0.0003927 0.0003927 0.0003927 0.09% main() 1 0.0003529 0.0003529 0.0003529 0.08% MLCellLinOp::apply() 500 0.0002904 0.0002904 0.0002904 0.07% FabArrayBase::getFB() 1766 0.0002756 0.0002756 0.0002756 0.07% Gravity::get_old_grav_vector() 5 0.0002722 0.0002722 0.0002722 0.06% Gravity::get_new_grav_vector() 5 0.0002431 0.0002431 0.0002431 0.06% MLMG::mgVcycle() 36 0.0002247 0.0002247 0.0002247 0.05% MLLinOp::defineGrids() 6 0.0002053 0.0002053 0.0002053 0.05% Amr::coarseTimeStep() 5 0.000198 0.000198 0.000198 0.05% AmrLevel::FillPatch() 20 0.000177 0.000177 0.000177 0.04% MLCGSolver::ParallelAllReduce 659 0.0001531 0.0001531 0.0001531 0.04% MultiFab::max() 6 0.0001395 0.0001395 0.0001395 0.03% Castro::construct_new_source() 25 0.0001379 0.0001379 0.0001379 0.03% FabArray::ParallelCopy() 380 0.0001334 0.0001334 0.0001334 0.03% FillPatchIterator::Initialize 20 0.0001285 0.0001285 0.0001285 0.03% MLCellLinOp::correctionResidual() 216 0.0001184 0.0001184 0.0001184 0.03% MLCellLinOp::defineBC() 6 0.0001163 0.0001163 0.0001163 0.03% Castro::do_new_sources() 5 0.000107 0.000107 0.000107 0.03% Castro::finalize_do_advance() 5 0.0001056 0.0001056 0.0001056 0.03% Amr::timeStep() 5 9.309e-05 9.309e-05 9.309e-05 0.02% Castro::create_source_corrector() 5 8.986e-05 8.986e-05 8.986e-05 0.02% AmrLevel::restart() 1 8.176e-05 8.176e-05 8.176e-05 0.02% Gravity::update_max_rhs() 6 7.106e-05 7.106e-05 7.106e-05 0.02% StateData::restartDoit() 4 6.711e-05 6.711e-05 6.711e-05 0.02% Gravity::solve_for_phi() 5 6.431e-05 6.431e-05 6.431e-05 0.02% FabArrayBase::FB::FB() 26 6.291e-05 6.291e-05 6.291e-05 0.01% Castro::advance() 5 6.243e-05 6.243e-05 6.243e-05 0.01% MLMG:computeResOfCorrection() 180 5.782e-05 5.782e-05 5.782e-05 0.01% Castro::initialize_do_advance() 5 5.661e-05 5.661e-05 5.661e-05 0.01% MLMG::mgVcycle_down::1 36 5.035e-05 5.035e-05 5.035e-05 0.01% MLMG::mgVcycle_down::0 36 4.998e-05 4.998e-05 4.998e-05 0.01% MLMG::mgVcycle_down::4 36 4.892e-05 4.892e-05 4.892e-05 0.01% MLMG::mgVcycle_down::2 36 4.865e-05 4.865e-05 4.865e-05 0.01% MLMG::mgVcycle_down::3 36 4.785e-05 4.785e-05 4.785e-05 0.01% MLMG::actualBottomSolve() 36 4.756e-05 4.756e-05 4.756e-05 0.01% Castro::initialize_advance() 5 4.058e-05 4.058e-05 4.058e-05 0.01% Castro::clean_state() 30 4.024e-05 4.024e-05 4.024e-05 0.01% MLMG::solve() 6 3.947e-05 3.947e-05 3.947e-05 0.01% Castro::do_old_sources() 5 3.74e-05 3.74e-05 3.74e-05 0.01% Castro::post_timestep() 5 3.661e-05 3.661e-05 3.661e-05 0.01% Castro::construct_old_source() 25 3.592e-05 3.592e-05 3.592e-05 0.01% MLMG::mgVcycle_up::4 36 3.414e-05 3.414e-05 3.414e-05 0.01% Castro::finalize_advance() 5 3.159e-05 3.159e-05 3.159e-05 0.01% Castro::do_advance_ctu() 5 3.073e-05 3.073e-05 3.073e-05 0.01% Castro::buildMetrics() 1 2.851e-05 2.851e-05 2.851e-05 0.01% MLMG::mgVcycle_up::3 36 2.844e-05 2.844e-05 2.844e-05 0.01% MLMG::mgVcycle_up::0 36 2.842e-05 2.842e-05 2.842e-05 0.01% MLMG::mgVcycle_up::2 36 2.781e-05 2.781e-05 2.781e-05 0.01% Amr::writeSmallPlotFile() 1 2.777e-05 2.777e-05 2.777e-05 0.01% MLMG::oneIter() 36 2.751e-05 2.751e-05 2.751e-05 0.01% MLMG::mgVcycle_up::1 36 2.75e-05 2.75e-05 2.75e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.63e-05 2.63e-05 2.63e-05 0.01% Castro::initMFs() 1 2.544e-05 2.544e-05 2.544e-05 0.01% Castro::swap_state_time_levels() 5 2.483e-05 2.483e-05 2.483e-05 0.01% MLCellLinOp::solutionResidual() 42 2.448e-05 2.448e-05 2.448e-05 0.01% Castro::post_restart() 1 2.147e-05 2.147e-05 2.147e-05 0.01% MLPoisson::define() 6 2.028e-05 2.028e-05 2.028e-05 0.00% MLMG::ResNormInf() 42 2.02e-05 2.02e-05 2.02e-05 0.00% Castro::construct_new_gravity() 5 1.809e-05 1.809e-05 1.809e-05 0.00% FillPatchSingleLevel 20 1.729e-05 1.729e-05 1.729e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.638e-05 1.638e-05 1.638e-05 0.00% MLMG::mgVcycle_bottom 36 1.592e-05 1.592e-05 1.592e-05 0.00% MLMG::computeResidual() 36 1.498e-05 1.498e-05 1.498e-05 0.00% makeSFC 30 1.337e-05 1.337e-05 1.337e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.286e-05 1.286e-05 1.286e-05 0.00% MLLinOp::define() 6 1.135e-05 1.135e-05 1.135e-05 0.00% Amr::initSubcycle() 1 9.425e-06 9.425e-06 9.425e-06 0.00% DistributionMapping::Distribute() 31 9.016e-06 9.016e-06 9.016e-06 0.00% Gravity::actual_multilevel_solve() 1 7.744e-06 7.744e-06 7.744e-06 0.00% Castro::construct_old_gravity() 5 7.618e-06 7.618e-06 7.618e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.372e-06 7.372e-06 7.372e-06 0.00% Castro::apply_source_to_state() 10 6.274e-06 6.274e-06 6.274e-06 0.00% Castro::check_for_nan() 10 6.179e-06 6.179e-06 6.179e-06 0.00% Gravity::swapTimeLevels() 5 5.2e-06 5.2e-06 5.2e-06 0.00% MLPoisson::prepareForSolve() 6 4.508e-06 4.508e-06 4.508e-06 0.00% MLMG::computeMLResidual() 6 4.199e-06 4.199e-06 4.199e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.895e-06 3.895e-06 3.895e-06 0.00% MLMG::getGradSolution() 6 3.682e-06 3.682e-06 3.682e-06 0.00% Castro::computeNewDt() 5 3.204e-06 3.204e-06 3.204e-06 0.00% MLMG::MLRhsNormInf() 6 2.499e-06 2.499e-06 2.499e-06 0.00% Castro::expand_state() 5 2.469e-06 2.469e-06 2.469e-06 0.00% MLMG::MLResNormInf() 6 2.435e-06 2.435e-06 2.435e-06 0.00% Castro::FluxRegCrseInit 5 2.123e-06 2.123e-06 2.123e-06 0.00% Gravity::set_mass_offset() 6 2.034e-06 2.034e-06 2.034e-06 0.00% Castro::retry_advance_ctu() 5 1.936e-06 1.936e-06 1.936e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.98e-07 9.98e-07 9.98e-07 0.00% Amr::init() 1 8.91e-07 8.91e-07 8.91e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4202 0.4202 0.4202 100.00% Amr::coarseTimeStep() 5 0.3385 0.3385 0.3385 80.55% Amr::timeStep() 5 0.3365 0.3365 0.3365 80.09% Castro::advance() 5 0.3321 0.3321 0.3321 79.05% Castro::subcycle_advance_ctu() 5 0.325 0.325 0.325 77.35% Castro::do_advance_ctu() 5 0.3244 0.3244 0.3244 77.19% Castro::construct_new_gravity() 5 0.1419 0.1419 0.1419 33.78% Castro::construct_ctu_hydro_source() 5 0.1378 0.1378 0.1378 32.79% Gravity::solve_phi_with_mlmg() 6 0.1314 0.1314 0.1314 31.28% Gravity::solve_for_phi() 5 0.1283 0.1283 0.1283 30.54% Gravity::actual_solve_with_mlmg() 6 0.1278 0.1278 0.1278 30.41% MLMG::solve() 6 0.1161 0.1161 0.1161 27.62% MLMG::oneIter() 36 0.1089 0.1089 0.1089 25.91% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 25.55% MLCellLinOp::smooth() 720 0.05232 0.05232 0.05232 12.45% MLCellLinOp::applyBC() 1946 0.04885 0.04885 0.04885 11.63% Amr::init() 1 0.04596 0.04596 0.04596 10.94% Amr::restart() 1 0.04596 0.04596 0.04596 10.94% AmrLevel::restart() 1 0.03979 0.03979 0.03979 9.47% StateData::restartDoit() 4 0.0397 0.0397 0.0397 9.45% VisMF::Read() 3 0.03958 0.03958 0.03958 9.42% AmrLevel::FillPatch() 20 0.0364 0.0364 0.0364 8.66% Amr::writePlotFile() 1 0.03493 0.03493 0.03493 8.31% FillPatchIterator::Initialize 20 0.03431 0.03431 0.03431 8.17% FillPatchIterator::FillFromLevel0() 20 0.03351 0.03351 0.03351 7.98% FillPatchSingleLevel 20 0.03348 0.03348 0.03348 7.97% MLMG::mgVcycle_bottom 36 0.03309 0.03309 0.03309 7.87% MLMG::actualBottomSolve() 36 0.03307 0.03307 0.03307 7.87% MLCGSolver::bicgstab 36 0.03274 0.03274 0.03274 7.79% VisMF::Write(FabArray) 1 0.03225 0.03225 0.03225 7.67% StateDataPhysBCFunct::() 20 0.03146 0.03146 0.03146 7.49% StateData::FillBoundary(geom) 160 0.02903 0.02903 0.02903 6.91% Castro::clean_state() 30 0.02516 0.02516 0.02516 5.99% MLCellLinOp::apply() 500 0.01659 0.01659 0.01659 3.95% MLMG::mgVcycle_down::0 36 0.01472 0.01472 0.01472 3.50% MLPoisson::Fsmooth() 1440 0.01463 0.01463 0.01463 3.48% FabArray::FillBoundary() 1766 0.0136 0.0136 0.0136 3.24% Gravity::get_new_grav_vector() 5 0.01349 0.01349 0.01349 3.21% Castro::construct_old_gravity() 5 0.01342 0.01342 0.01342 3.19% Gravity::get_old_grav_vector() 5 0.01342 0.01342 0.01342 3.19% FillBoundary_nowait() 1766 0.01313 0.01313 0.01313 3.13% Castro::initialize_do_advance() 5 0.01139 0.01139 0.01139 2.71% MLMG::mgVcycle_up::0 36 0.01114 0.01114 0.01114 2.65% Castro::do_old_sources() 5 0.01043 0.01043 0.01043 2.48% MLCellLinOp::correctionResidual() 216 0.009993 0.009993 0.009993 2.38% Castro::normalize_species() 30 0.009475 0.009475 0.009475 2.26% MLPoisson::define() 6 0.009404 0.009404 0.009404 2.24% amrex::Dot() 484 0.009048 0.009048 0.009048 2.15% Castro::computeTemp() 30 0.008848 0.008848 0.008848 2.11% MLMG:computeResOfCorrection() 180 0.008759 0.008759 0.008759 2.08% MLMG::mgVcycle_down::1 36 0.007258 0.007258 0.007258 1.73% Castro::do_new_sources() 5 0.007214 0.007214 0.007214 1.72% amrex::Copy() 463 0.007147 0.007147 0.007147 1.70% FabArray::ParallelCopy() 380 0.006921 0.006921 0.006921 1.65% MLMG::mgVcycle_down::2 36 0.006812 0.006812 0.006812 1.62% FabArray::ParallelCopy_nowait() 380 0.006787 0.006787 0.006787 1.62% Castro::initialize_advance() 5 0.006759 0.006759 0.006759 1.61% MLMG::mgVcycle_down::3 36 0.006676 0.006676 0.006676 1.59% MLMG::mgVcycle_down::4 36 0.006607 0.006607 0.006607 1.57% FabArray::setVal() 537 0.006528 0.006528 0.006528 1.55% FabArray::norminf() 326 0.006355 0.006355 0.006355 1.51% MLCellLinOp::defineAuxData() 6 0.006347 0.006347 0.006347 1.51% Castro::expand_state() 5 0.006283 0.006283 0.006283 1.50% MLMG::addInterpCorrection() 180 0.005604 0.005604 0.005604 1.33% Castro::enforce_min_density() 30 0.00556 0.00556 0.00556 1.32% MLCGSolver::ParallelAllReduce 659 0.005493 0.005493 0.005493 1.31% amrex::average_down 180 0.005303 0.005303 0.005303 1.26% MLMG::mgVcycle_up::1 36 0.005275 0.005275 0.005275 1.26% MLMG::mgVcycle_up::4 36 0.005274 0.005274 0.005274 1.26% MLMG::mgVcycle_up::2 36 0.005178 0.005178 0.005178 1.23% MLMG::mgVcycle_up::3 36 0.005102 0.005102 0.005102 1.21% MLPoisson::Fapply() 500 0.004663 0.004663 0.004663 1.11% Castro::post_timestep() 5 0.004273 0.004273 0.004273 1.02% FabArray::Saxpy() 355 0.003737 0.003737 0.003737 0.89% FabArray::Xpay() 361 0.003594 0.003594 0.003594 0.86% Gravity::fill_multipole_BCs() 6 0.003511 0.003511 0.003511 0.84% Castro::post_restart() 1 0.003481 0.003481 0.003481 0.83% Gravity::multilevel_solve_for_new_phi() 1 0.003353 0.003353 0.003353 0.80% Castro::estTimeStep() 10 0.003343 0.003343 0.003343 0.80% Gravity::actual_multilevel_solve() 1 0.003337 0.003337 0.003337 0.79% MLCellLinOp::solutionResidual() 42 0.003324 0.003324 0.003324 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002968 0.002968 0.002968 0.71% MLCellLinOp::defineBC() 6 0.00279 0.00279 0.00279 0.66% MLMG::computeResidual() 36 0.002723 0.002723 0.002723 0.65% MLMG::prepareForSolve() 6 0.002714 0.002714 0.002714 0.65% BndryData::define() 6 0.002674 0.002674 0.002674 0.64% FabArray::LinComb() 242 0.001977 0.001977 0.001977 0.47% amrex::Add() 72 0.001838 0.001838 0.001838 0.44% Castro::computeNewDt() 5 0.001767 0.001767 0.001767 0.42% Castro::construct_new_source() 25 0.001743 0.001743 0.001743 0.41% Castro::finalize_do_advance() 5 0.001684 0.001684 0.001684 0.40% Castro::construct_new_gravity_source() 5 0.001605 0.001605 0.001605 0.38% Castro::construct_old_source() 25 0.001465 0.001465 0.001465 0.35% Castro::construct_old_gravity_source() 5 0.001429 0.001429 0.001429 0.34% Castro::enforce_speed_limit() 30 0.001241 0.001241 0.001241 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009889 0.0009889 0.0009889 0.24% MLMG::ResNormInf() 42 0.0009638 0.0009638 0.0009638 0.23% Castro::apply_source_to_state() 10 0.0009305 0.0009305 0.0009305 0.22% Castro::reset_internal_energy(Fab) 240 0.0009232 0.0009232 0.0009232 0.22% FabArrayBase::getCPC() 632 0.0008287 0.0008287 0.0008287 0.20% check_for_negative_density() 5 0.0008139 0.0008139 0.0008139 0.19% MLMG::getGradSolution() 6 0.0007749 0.0007749 0.0007749 0.18% MLCellLinOp::compGrad() 6 0.0007712 0.0007712 0.0007712 0.18% MLCellLinOp::setLevelBC() 6 0.0007611 0.0007611 0.0007611 0.18% FabArray::setDomainBndry() 20 0.0006726 0.0006726 0.0006726 0.16% MLPoisson::prepareForSolve() 6 0.0006702 0.0006702 0.0006702 0.16% MLCellLinOp::prepareForSolve() 6 0.0006657 0.0006657 0.0006657 0.16% FabArray::mult() 22 0.0006563 0.0006563 0.0006563 0.16% MLMG::computeMLResidual() 6 0.0006193 0.0006193 0.0006193 0.15% Castro::check_for_nan() 10 0.0006105 0.0006105 0.0006105 0.15% MultiFab::contains_nan() 10 0.0006043 0.0006043 0.0006043 0.14% Gravity::update_max_rhs() 6 0.0004759 0.0004759 0.0004759 0.11% FabArrayBase::CPC::define() 244 0.0004361 0.0004361 0.0004361 0.10% Amr::InitAmr() 1 0.0004201 0.0004201 0.0004201 0.10% FabArrayBase::getFB() 1766 0.0003385 0.0003385 0.0003385 0.08% Castro::finalize_advance() 5 0.000292 0.000292 0.000292 0.07% MLLinOp::define() 6 0.000246 0.000246 0.000246 0.06% Gravity::swapTimeLevels() 5 0.0002351 0.0002351 0.0002351 0.06% MLLinOp::defineGrids() 6 0.0002347 0.0002347 0.0002347 0.06% MLMG::MLResNormInf() 6 0.0001608 0.0001608 0.0001608 0.04% Castro::buildMetrics() 1 0.0001551 0.0001551 0.0001551 0.04% MultiFab::max() 6 0.0001395 0.0001395 0.0001395 0.03% MLMG::MLRhsNormInf() 6 0.0001201 0.0001201 0.0001201 0.03% Castro::create_source_corrector() 5 8.986e-05 8.986e-05 8.986e-05 0.02% FabArrayBase::FB::FB() 26 6.291e-05 6.291e-05 6.291e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.839e-05 2.839e-05 2.839e-05 0.01% Amr::writeSmallPlotFile() 1 2.777e-05 2.777e-05 2.777e-05 0.01% Castro::initMFs() 1 2.544e-05 2.544e-05 2.544e-05 0.01% Castro::swap_state_time_levels() 5 2.483e-05 2.483e-05 2.483e-05 0.01% makeSFC 30 2.102e-05 2.102e-05 2.102e-05 0.01% Amr::initSubcycle() 1 9.425e-06 9.425e-06 9.425e-06 0.00% DistributionMapping::Distribute() 31 9.016e-06 9.016e-06 9.016e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.259e-06 5.259e-06 5.259e-06 0.00% Castro::FluxRegCrseInit 5 2.123e-06 2.123e-06 2.123e-06 0.00% Gravity::set_mass_offset() 6 2.034e-06 2.034e-06 2.034e-06 0.00% Castro::retry_advance_ctu() 5 1.936e-06 1.936e-06 1.936e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.98e-07 9.98e-07 9.98e-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 192 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 138 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1493 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2260 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6796 KiB 14 MiB MLMG::prepareForSolve() 361 361 3390 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 329 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 329 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6792 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2189 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3791 B 480 KiB VisMF::Write(FabArray) 112 112 1230 B 320 KiB Castro::normalize_species() 30 30 7336 B 320 KiB amrex::average_down 469 469 1191 B 257 KiB MLMG::addInterpCorrection() 468 468 1102 B 257 KiB amrex::Dot() 592 592 3150 B 160 KiB FabArray::norminf() 398 398 2217 B 160 KiB check_for_negative_density() 5 5 297 B 160 KiB MultiFab::max() 6 6 50 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3296 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 262 B 9648 B MLCellLinOp::applyBC() 3892 3892 213 B 9344 B amrex::Copy() 56 56 6012 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 25 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 350 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1350 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 103 KiB 8192 KiB VisMF::Write(FabArray) 120 120 228 KiB 3584 KiB VisMF::Read() 24 24 183 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3296 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 262 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 6012 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2688 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 26 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 524 B 1296 B amrex::average_down 37 37 227 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-9-ga7f2cd9c90d8) finalized